From: Joey Schulze Date: Mon, 26 Nov 2007 18:46:04 +0000 (+0000) Subject: Print the title X-Git-Url: https://git.infodrom.org/?p=infodrom.org%2Foldenburg.linux.de;a=commitdiff_plain;h=fb8191d1c19dbb4622aa2e6c075a5786eaa0ab2e Print the title --- diff --git a/src/Termine/index.wml b/src/Termine/index.wml index 8b20713..fd554e2 100644 --- a/src/Termine/index.wml +++ b/src/Termine/index.wml @@ -64,9 +64,14 @@ function display_dates() printf($layout_head, strftime("%B %Y", $when)); $cmon = true; } + if (strlen($match[7])) + $title = '' . $match[5] . ''; + else + $title = $match[5]; + if ($when == $today) $color = 'ffff00'; - printf($layout_row, $color, $match[3], strftime("%A", $when), $match[5], $match[6], $match[4]); + printf($layout_row, $color, $match[3], strftime("%A", $when), $title, $match[6], $match[4]); $color = $color == 'ffffff'?'d7d7d7':'ffffff'; } }