From: <var...@us...> - 2014-06-12 15:59:00
|
Revision: 8898 http://sourceforge.net/p/phpwiki/code/8898 Author: vargenau Date: 2014-06-12 15:58:52 +0000 (Thu, 12 Jun 2014) Log Message: ----------- Use CSS Modified Paths: -------------- trunk/lib/plugin/Calendar.php Modified: trunk/lib/plugin/Calendar.php =================================================================== --- trunk/lib/plugin/Calendar.php 2014-06-12 15:58:17 UTC (rev 8897) +++ trunk/lib/plugin/Calendar.php 2014-06-12 15:58:52 UTC (rev 8898) @@ -92,15 +92,15 @@ 'title' => _("Next Month")), '>'); - $row = HTML::tr(HTML::td(array('align' => 'left'), $prev), - HTML::td(array('align' => 'center'), + $row = HTML::tr(HTML::td(array('class' => 'align-left'), $prev), + HTML::td(array('class' => 'align-center'), HTML::strong(array('class' => 'cal-header'), strftime($args['month_format'], $time))), - HTML::td(array('align' => 'right'), $next)); + HTML::td(array('class' => 'align-right'), $next)); return HTML::tr(HTML::td(array('colspan' => $args['display_weeknum'] ? 8 : 7, - 'align' => 'center'), + 'class' => 'align-center'), HTML::table(array('class' => 'cal-header fullwidth'), $row))); } @@ -117,12 +117,10 @@ $row = HTML::tr(); $row->setattr('class', 'cal-dayname'); if ($this->args['display_weeknum']) - $row->pushContent(HTML::td(array('class' => 'cal-dayname', - 'align' => 'center'), + $row->pushContent(HTML::td(array('class' => 'cal-dayname align-center'), _("Wk"))); for ($i = 0; $i < 7; $i++) { - $row->pushContent(HTML::td(array('class' => 'cal-dayname', - 'align' => 'center'), + $row->pushContent(HTML::td(array('class' => 'cal-dayname align-center'), strftime($fs, $time))); $time += SECONDS_PER_DAY; } @@ -137,7 +135,7 @@ $time); $t = localtime($time, 1); - $td = HTML::td(array('align' => 'center')); + $td = HTML::td(array('class' => 'align-center')); $mday = $t['tm_mday']; if ($mday == $this->_today) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |