From 954b8d97edd1e29246659fc56f5fde55717b1910 Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Tue, 21 Jun 2011 09:19:49 +0200 Subject: [PATCH] cleaned timetable format --- cookbook/pim_functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cookbook/pim_functions.php b/cookbook/pim_functions.php index 296afa5..65cb0d2 100644 --- a/cookbook/pim_functions.php +++ b/cookbook/pim_functions.php @@ -39,7 +39,9 @@ function GetCurrentTask(){ Markup("timetable", "fulltext", "/\(:timetable:\)/", "\n||border=1\n||!Time ||!Action ||\n" - .preg_replace("/.* (\d+) (\d+).* \/(.*)/","||$1:$2||$3||",file_get_contents("/home/utopiah/.irssi/cron.save")) + .preg_replace("/echo -level HILIGHT -window 1 /","", + preg_replace("/.* (\d+) (\d+).* \/(.*)/","||$1:$2||$3||",file_get_contents("/home/utopiah/.irssi/cron.save")) + ) .""); //load a dedicated edition page for the admin (shouldn't be hard coded but I dont use Auth)