diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | day.php | 1 | ||||
-rw-r--r-- | error.php | 1 | ||||
-rw-r--r-- | functions/init.inc.php | 2 | ||||
-rw-r--r-- | month.php | 1 | ||||
-rw-r--r-- | preferences.php | 1 | ||||
-rw-r--r-- | print.php | 2 | ||||
-rw-r--r-- | rss/index.php | 1 | ||||
-rw-r--r-- | search.php | 1 | ||||
-rw-r--r-- | templates/default/footer.tpl | 2 | ||||
-rw-r--r-- | week.php | 1 | ||||
-rw-r--r-- | year.php | 1 |
12 files changed, 14 insertions, 4 deletions
@@ -82,7 +82,9 @@ COPYING for more information about our license. Changes: -------- cvs -2.22rc3 +2.22 + template.php will look in templates/default if a file is missing from templates/$template + add support for WKST and BYPOS tags change popup to not require reparsing cal files differentiate cookie names for different installs on the same host allow image tags in events @@ -53,6 +53,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'charset' => $charset, 'default_path' => '', 'template' => $template, @@ -35,6 +35,7 @@ function error($error_msg='There was an error processing the request.', $file='N )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'default_path' => $default_path.'/', 'template' => $template, 'cal' => $cal, diff --git a/functions/init.inc.php b/functions/init.inc.php index cebeda5..a1641f6 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -1,5 +1,5 @@ <?php - +$phpicalendar_version = '2.22'; // uncomment when developing, comment for shipping version //error_reporting (E_ERROR | E_WARNING | E_PARSE); error_reporting(0); @@ -61,6 +61,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'charset' => $charset, 'template' => $template, 'cal' => $cal, diff --git a/preferences.php b/preferences.php index 1bc5bd3..edd67e7 100644 --- a/preferences.php +++ b/preferences.php @@ -154,6 +154,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'charset' => $charset, 'template' => $template, 'default_path' => '', @@ -7,7 +7,6 @@ $current_view ='print'; $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $parse_month = date ("Ym", strtotime($getdate)); -$cal_displayname = str_replace("32", " ", $cal); $events_week = 0; $unix_time = strtotime($getdate); $printview = 'month'; @@ -55,6 +54,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'event_js' => '', 'charset' => $charset, 'default_path' => '', diff --git a/rss/index.php b/rss/index.php index 8d733ca..be435b1 100644 --- a/rss/index.php +++ b/rss/index.php @@ -74,6 +74,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'default_path' => $default_path.'/', 'template' => $template, 'cal' => $cal, @@ -291,6 +291,7 @@ $page->replace_files(array( $page->replace_tags(array( + 'version' => $phpicalendar_version, 'formatted_search' => $formatted_search, 'l_results' => $lang['l_results'], 'l_query' => $lang['l_query'], diff --git a/templates/default/footer.tpl b/templates/default/footer.tpl index 0ed0958..7d2ccab 100644 --- a/templates/default/footer.tpl +++ b/templates/default/footer.tpl @@ -1,4 +1,4 @@ -<center class="V9"><br />{L_POWERED_BY} <a class="psf" href="http://phpicalendar.net/">PHP iCalendar 2.22rc3</a><br /> +<center class="V9"><br />{L_POWERED_BY} <a class="psf" href="http://phpicalendar.net/">PHP iCalendar {VERSION}</a><br /> <!-- switch rss_valid on --> <p> <a style="color:gray" href="http://feeds.archive.org/validator/check?url={FOOTER_CHECK}"> @@ -55,6 +55,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'charset' => $charset, 'default_path' => '', 'template' => $template, @@ -53,6 +53,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'version' => $phpicalendar_version, 'event_js' => '', 'current_view' => $current_view, 'template' => $template, |