Posted on: 09/09/02 12:14pm
By: Anonymous (Anonymous)
This code changes past events to bold so you know you can delete them.
In your |geek_log|/public_html/admin/event.php .. search for:
$event_templates->set_var('event_title', $A['title']);
and replace it with:
$eventformat = $A['dateend'] . ' ' . $A['timeend'];
$eventtime = strtotime($eventformat);
$currenttime = strtotime(date('Y-m-d H:i:s'));
if ($eventtime < $currenttime) {
$event_templates->set_var('event_title', '<b>' . $A['title'] . '</b>');
} else {
$event_templates->set_var('event_title', $A['title']);
}
that's it....
Bold Past Events in Event Admin.
Posted on: 09/09/02 02:56pm
By: Anonymous (CodaX)
oops sorry forgot to login when posting that . . . .