cleaned timetable format

master
Fabien Benetou 14 years ago committed by utopiah
parent 64fae2208d
commit 954b8d97ed
  1. 4
      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)

Loading…
Cancel
Save