# HG changeset patch # User Matti Hamalainen # Date 1409168262 -10800 # Node ID 36fb1ce941d58c014e7693619bbff688ff753e53 # Parent 26d266a685edaeaf07b9a990a895900e5a7d04f8 Add more information as a title attribute. diff -r 26d266a685ed -r 36fb1ce941d5 index.php --- a/index.php Wed Aug 27 21:31:29 2014 +0300 +++ b/index.php Wed Aug 27 22:37:42 2014 +0300 @@ -151,6 +151,16 @@ } +function lukClassGetHourStr($start, $end) +{ + global $classHourTimes; + return + lukGetHourStamp($classHourTimes[$start]["start"]). + " - ". + lukGetHourStamp($classHourTimes[$end]["end"]); +} + + function lukMatchCourse($id) { global $cache, $cacheDirty, $pageCharset, $pageLang, $mobileMode; @@ -354,7 +364,8 @@ $currTime >= $classHourTimes[$class["start"]]["start"] && $currTime < $classHourTimes[$class["start"] + $class["hours"] - 1]["end"]; - $out .= " ".