aboutsummaryrefslogtreecommitdiffstats
path: root/month.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-05-19 03:45:07 +0000
committerChad Little <clittle@users.sourceforge.net>2004-05-19 03:45:07 +0000
commit0696d5967469f46c14bf1cdbc8c9ed0ad3fe3aff (patch)
tree47101492ee8db3d9f6c1c0128783e8a5734fd307 /month.php
parentafcfa0c4ab39291d30ded5e111c5537698e7c84e (diff)
downloadphpicalendar-0696d5967469f46c14bf1cdbc8c9ed0ad3fe3aff.tar.gz
phpicalendar-0696d5967469f46c14bf1cdbc8c9ed0ad3fe3aff.tar.bz2
phpicalendar-0696d5967469f46c14bf1cdbc8c9ed0ad3fe3aff.zip
Code optimization: Specifically replace each language variable instead of
looking for any.
Diffstat (limited to 'month.php')
-rw-r--r--month.php19
1 files changed, 17 insertions, 2 deletions
diff --git a/month.php b/month.php
index c45eb78..45b15ea 100644
--- a/month.php
+++ b/month.php
@@ -48,7 +48,6 @@ $list_jumps = list_jumps();
$list_calcolors = list_calcolors();
$page = new Page(BASE.'templates/'.$template.'/month.tpl');
-
$page->replace_tags(array(
'header' => BASE.'templates/'.$template.'/header.tpl',
'footer' => BASE.'templates/'.$template.'/footer.tpl',
@@ -76,7 +75,23 @@ $page->replace_tags(array(
'list_weeks' => $list_weeks,
'legend' => $list_calcolors,
'current_view' => $current_view,
- 'style_select' => $style_select
+ 'style_select' => $style_select,
+ 'l_goprint' => $lang['l_goprint'],
+ 'l_preferences' => $lang['l_preferences'],
+ 'l_calendar' => $lang['l_calendar'],
+ 'l_legend' => $lang['l_legend'],
+ 'l_tomorrows' => $lang['l_tomorrows'],
+ 'l_jump' => $lang['l_jump'],
+ 'l_todo' => $lang['l_todo'],
+ 'l_day' => $lang['l_day'],
+ 'l_week' => $lang['l_week'],
+ 'l_month' => $lang['l_month'],
+ 'l_year' => $lang['l_year'],
+ 'l_subscribe' => $lang['l_subscribe'],
+ 'l_download' => $lang['l_download'],
+ 'l_this_months' => $lang['l_this_months'],
+ 'l_powered_by' => $lang['l_powered_by'],
+ 'l_this_site_is' => $lang['l_this_site_is']
));
$page->monthbottom($this->page);

© 2014-2024 Faster IT GmbH | imprint | privacy policy