aboutsummaryrefslogtreecommitdiffstats
path: root/functions/list_functions.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:33:14 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-20 00:33:14 +0000
commit9cc4b1667897ac0e9db28044d96e7b96a7ac38e5 (patch)
tree9ba349e112a4a242a04b895ea69ab7b349018402 /functions/list_functions.php
parentedd9a9fd1a3451f7868400fcf9d2ebe0cf563c51 (diff)
downloadphpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.tar.gz
phpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.tar.bz2
phpicalendar-9cc4b1667897ac0e9db28044d96e7b96a7ac38e5.zip
misc minor fixes
Diffstat (limited to 'functions/list_functions.php')
-rw-r--r--functions/list_functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/list_functions.php b/functions/list_functions.php
index 0ec2474..2775059 100644
--- a/functions/list_functions.php
+++ b/functions/list_functions.php
@@ -1,9 +1,9 @@
<?php
function list_jumps() {
- global $second_offset, $lang, $cal;
+ global $phpiCal_config, $lang, $cal;
$calName = join(',', array_map("getCalendarName", split(',', $cal)));
- $today = date('Ymd', time() + $second_offset);
+ $today = date('Ymd', time() + $phpiCal_config->second_offset);
$return = '<option value="#">'.$lang['l_jump'].'</option>';
$return .= '<option value="day.php?cal='.$calName.'&amp;getdate='.$today.'">'.$lang['l_goday'].'</option>';
$return .= '<option value="week.php?cal='.$calName.'&amp;getdate='.$today.'">'.$lang['l_goweek'].'</option>';

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