aboutsummaryrefslogtreecommitdiffstats
path: root/functions/list_functions.php
diff options
context:
space:
mode:
authorWesley Miaw <josuah@users.sourceforge.net>2005-12-15 03:26:31 +0000
committerWesley Miaw <josuah@users.sourceforge.net>2005-12-15 03:26:31 +0000
commit99509f3f2327133a94e2f279ca6350a5213d2192 (patch)
tree5b5bbf0817a388dea34d1324be5a3d41b6479b27 /functions/list_functions.php
parentc4d545cc025c75e30a2208d7cf2140ab9032d6b9 (diff)
downloadphpicalendar-99509f3f2327133a94e2f279ca6350a5213d2192.tar.gz
phpicalendar-99509f3f2327133a94e2f279ca6350a5213d2192.tar.bz2
phpicalendar-99509f3f2327133a94e2f279ca6350a5213d2192.zip
Fixed getCalendarName() return value so it removes .ics and not the last
four characters arbitrarily. Fixed the list_jumps() method so it only passes in one calendar at a time to getCalendarName.
Diffstat (limited to 'functions/list_functions.php')
-rw-r--r--functions/list_functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/list_functions.php b/functions/list_functions.php
index a14f5f6..875a44b 100644
--- a/functions/list_functions.php
+++ b/functions/list_functions.php
@@ -2,7 +2,7 @@
function list_jumps() {
global $second_offset, $lang, $cal;
- $calName = getCalendarName($cal);
+ $calName = join(',', array_map("getCalendarName", split(',', $cal)));
$today = date('Ymd', time() + $second_offset);
$return = '<option value="#">'.$lang['l_jump'].'</option>';
$return .= '<option value="day.php?cal='.$calName.'&amp;getdate='.$today.'">'.$lang['l_goday'].'</option>';

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