[svn r21087] Minor - Fixed the width in events in agenda general FS#4232

skala
Arthur Portugal 16 years ago
parent 68022e88b9
commit fe578f08fb
  1. 4
      main/calendar/myagenda.inc.php

@ -191,11 +191,11 @@ function display_mymonthcalendar($agendaitems, $month, $year, $weekdaynames=arra
$curday = 1; $curday = 1;
} }
if (($curday > 0) && ($curday <= $numberofdays[$month])) { if (($curday > 0) && ($curday <= $numberofdays[$month])) {
$bgcolor = $ii < 5 ? $class = "class=\"days_week\"" : $class = "class=\"days_weekend\""; $bgcolor = $ii < 5 ? $class = "class=\"days_week\" style=\"width:10%;\"" : $class = "class=\"days_weekend\" style=\"width:10%;\"";
$dayheader = "<b>$curday</b><br />"; $dayheader = "<b>$curday</b><br />";
if (($curday == $today['mday']) && ($year == $today['year']) && ($month == $today['mon'])) { if (($curday == $today['mday']) && ($year == $today['year']) && ($month == $today['mon'])) {
$dayheader = "<b>$curday - ".get_lang("Today")."</b><br />"; $dayheader = "<b>$curday - ".get_lang("Today")."</b><br />";
$class = "class=\"days_today\""; $class = "class=\"days_today\" style=\"width:10%;\"";
} }
echo "<td ".$class.">", "".$dayheader; echo "<td ".$class.">", "".$dayheader;
if (!empty($agendaitems[$curday])) { if (!empty($agendaitems[$curday])) {

Loading…
Cancel
Save