06-13-2011, 03:32 PM
Hey there,
You can have the functionality of expired status by modifying the line 429 in Core/inc.ClassDocument.php like this:
and line 434 :
This makes the entire expire system work.
To make the status display properly in search results, modify op/op.Search.php :
change
to:
Regards,
Mak.
You can have the functionality of expired status by modifying the line 429 in Core/inc.ClassDocument.php like this:
Code:
$lc->setStatus(S_EXPIRED,"",$this->getOwner());
and line 434 :
Code:
$lc->verifyStatus(true,$this->getOwner());
This makes the entire expire system work.
To make the status display properly in search results, modify op/op.Search.php :
change
Code:
print "<td>".getOverallStatusText($lc->getStatus()). "</td>";
Code:
$display_status=$lc->getStatus();
print "<td>".getOverallStatusText($display_status["status"]). "</td>";
Regards,
Mak.