aboutsummaryrefslogtreecommitdiffstats
path: root/functions/list_functions.php
diff options
context:
space:
mode:
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