aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2005-09-07 03:41:18 +0000
committerJim Hu <jimhu@users.sourceforge.net>2005-09-07 03:41:18 +0000
commit790fddc214d1639e9b3e528614b15abf4a8e21a9 (patch)
treebb01f711a86c1fc22b91ce7455bdf60388cdb40d
parent7bd872209cb4068de5467ebeff9be69a1a0ce1aa (diff)
downloadphpicalendar-790fddc214d1639e9b3e528614b15abf4a8e21a9.tar.gz
phpicalendar-790fddc214d1639e9b3e528614b15abf4a8e21a9.tar.bz2
phpicalendar-790fddc214d1639e9b3e528614b15abf4a8e21a9.zip
Fix [ 1283135 ] Link on Results partly broken by adding line to template.php; add cpath to other files
-rw-r--r--functions/template.php1
-rw-r--r--preferences.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/functions/template.php b/functions/template.php
index c4a4856..6ecae12 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -213,6 +213,7 @@ class Page {
$events_tmp = $loop_event;
+ $some_events = str_replace('{KEY}', $val['date'], $some_events);
$some_events = str_replace('{DAYOFMONTH}', $dayofmonth, $some_events);
$final .= $day_tmp.$some_events;
unset ($day_tmp, $some_events);
diff --git a/preferences.php b/preferences.php
index c3f75a1..c865e76 100644
--- a/preferences.php
+++ b/preferences.php
@@ -15,7 +15,7 @@ if ($cookie_uri == '') {
}
$current_view = "preferences";
-$back_page = BASE.$default_view.'.php?cal='.$cal.'&amp;getdate='.$getdate;
+$back_page = BASE.$default_view.'.php?cal='.$cal.'&amp;getdate='.$getdate.'&amp;cpath='.$cpath;
if ($allow_preferences == 'no') header("Location: $back_page");
if (isset($_GET['action'])) {

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