From: <sy...@us...> - 2003-09-16 12:58:39
|
Update of /cvsroot/tikiwiki/tiki/templates/modules In directory sc8-pr-cvs1:/tmp/cvs-serv20539/templates/modules Modified Files: Tag: release_eta_carinea_rc1 mod-calendar.tpl Log Message: head merge Index: mod-calendar.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/modules/mod-calendar.tpl,v retrieving revision 1.19.2.1 retrieving revision 1.19.2.2 diff -u -d -r1.19.2.1 -r1.19.2.2 --- mod-calendar.tpl 5 Sep 2003 19:56:13 -0000 1.19.2.1 +++ mod-calendar.tpl 16 Sep 2003 12:58:36 -0000 1.19.2.2 @@ -28,7 +28,7 @@ // Calculate number of days in month // The format is S M T W T F S $c = new Calendar("en"); -$v = utf8Substr($c->nameOfMonth($mon),0,3); +$v = mb_substr($c->nameOfMonth($mon),0,3); $dayofweek = $c->dayOfWeekStr($day,$mon,$year); @@ -101,7 +101,7 @@ {php} for ($i=0;$i<7;$i++) { $dayW = $c->dayOfWeekStrFromNo($i+1); - $dayp = utf8Substr($dayW,0,1); + $dayp = mb_substr($dayW,0,1); print("<td class=\"date\" align=\"center\">$dayp</td>"); } {/php} |