From: <sy...@us...> - 2003-08-10 14:13:18
|
Update of /cvsroot/tikiwiki/tiki/templates/modules In directory sc8-pr-cvs1:/tmp/cvs-serv13181/templates/modules Modified Files: mod-calendar.tpl Log Message: change in the menu calendar to mini calendar to avoid confusion (as it is the page title) I didn't do it in the style (moreneat,mose,neat) as I feel the themes are personnal features Index: mod-calendar.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/modules/mod-calendar.tpl,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- mod-calendar.tpl 7 Aug 2003 20:56:53 -0000 1.21 +++ mod-calendar.tpl 10 Aug 2003 14:13:12 -0000 1.22 @@ -30,7 +30,8 @@ // Calculate number of days in month // The format is S M T W T F S $c = new Calendar("en"); -$v = substr(tra($c->nameOfMonth($mon)),0,4); +if (function_exists(mb_substr)) $v = mb_substr(tra($c->nameOfMonth($mon)),0,3, "UTF-8"); +else $v = substr(tra($c->nameOfMonth($mon)),0,4); $dayofweek = tra($c->dayOfWeekStr($day,$mon,$year)); |