From: <cl...@us...> - 2004-08-11 23:49:20
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17752 Modified Files: month.php week.php Log Message: Added login langs to week and month, a fix for evolution. Index: month.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/month.php,v retrieving revision 1.119 retrieving revision 1.120 diff -C2 -d -r1.119 -r1.120 *** month.php 19 May 2004 03:45:08 -0000 1.119 --- month.php 11 Aug 2004 23:49:12 -0000 1.120 *************** *** 95,99 **** )); ! $page->monthbottom($this->page); $page->draw_subscribe($this->page); --- 95,112 ---- )); ! if ($allow_login == 'yes') { ! $page->replace_tags(array( ! 'l_invalid_login' => $lang['l_invalid_login'], ! 'l_password' => $lang['l_password'], ! 'l_username' => $lang['l_username'], ! 'l_login' => $lang['l_login'], ! 'l_logout' => $lang['l_logout'] ! )); ! } ! ! ! if ($this_months_events == 'yes') { ! $page->monthbottom($this->page); ! } $page->draw_subscribe($this->page); Index: week.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v retrieving revision 1.113 retrieving revision 1.114 diff -C2 -d -r1.113 -r1.114 *** week.php 19 May 2004 03:45:08 -0000 1.113 --- week.php 11 Aug 2004 23:49:12 -0000 1.114 *************** *** 98,101 **** --- 98,111 ---- )); + if ($allow_login == 'yes') { + $page->replace_tags(array( + 'l_invalid_login' => $lang['l_invalid_login'], + 'l_password' => $lang['l_password'], + 'l_username' => $lang['l_username'], + 'l_login' => $lang['l_login'], + 'l_logout' => $lang['l_logout'] + )); + } + $page->draw_week($this->page); $page->tomorrows_events($this->page); |