aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-29 08:20:52 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-29 08:20:52 +0000
commit980dbb40bb2cb239f127f8718cd9502ac0498e8b (patch)
tree54df3d058dc857645d4648800f222b3f3d8f2cc9
parent49cfa70058fc7fab9e3007b93e12139604223958 (diff)
downloadphpicalendar-980dbb40bb2cb239f127f8718cd9502ac0498e8b.tar.gz
phpicalendar-980dbb40bb2cb239f127f8718cd9502ac0498e8b.tar.bz2
phpicalendar-980dbb40bb2cb239f127f8718cd9502ac0498e8b.zip
change version for release
-rw-r--r--calendars/US Holidays.ics2
-rw-r--r--default_config.php2
-rw-r--r--functions/template.php2
-rw-r--r--templates/default/month_medium.tpl8
-rw-r--r--templates/default/rss_index.tpl8
-rw-r--r--templates/green/day.tpl2
-rw-r--r--templates/green/month.tpl2
-rw-r--r--templates/grey/day.tpl2
-rw-r--r--templates/grey/month.tpl2
-rw-r--r--templates/red/day.tpl2
-rw-r--r--templates/red/month.tpl2
-rw-r--r--templates/tan/day.tpl2
-rw-r--r--templates/tan/month.tpl2
-rw-r--r--year.php2
14 files changed, 20 insertions, 20 deletions
diff --git a/calendars/US Holidays.ics b/calendars/US Holidays.ics
index f9e20bc..d800f6e 100644
--- a/calendars/US Holidays.ics
+++ b/calendars/US Holidays.ics
@@ -355,7 +355,7 @@ TRANSP:OPAQUE
UID:862A217C-131B-41C8-944D-442B97D2AF3D
DTSTART;VALUE=DATE:19970120
DTSTAMP:20050930T230748Z
-SUMMARY:Martin Luther King\, Jr's Davy
+SUMMARY:Martin Luther King\, Jr's Day
CREATED:20081223T190054Z
DTEND;VALUE=DATE:19970121
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=1;BYDAY=3MO
diff --git a/default_config.php b/default_config.php
index 397443c..4eeadc4 100644
--- a/default_config.php
+++ b/default_config.php
@@ -2,7 +2,7 @@
class Configs{
private static $instance;
private function __construct(){
- $this->phpicalendar_version = '2.3rc1.7';
+ $this->phpicalendar_version = '2.3';
// Configuration file for PHP iCalendar 2.25rc1
//
// To set values, change the text between the single quotes
diff --git a/functions/template.php b/functions/template.php
index 62bd9e4..dc43af2 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -978,7 +978,7 @@ class Page {
$switch['ALLDAY'] .= (isset($val['location']) && $val['location'] != '') ? $val['location']."<br />" : '';
$switch['ALLDAY'] .= '</div>';
} else {
- $switch['ALLDAY'] .= '<img src="templates/'.$phpiCal_config->template.'/images/allday_dot.gif" alt=" " width="11" height="10" border="0" />';
+ $switch['ALLDAY'] = '<img src="templates/'.$phpiCal_config->template.'/images/allday_dot.gif" alt=" " width="11" height="10" border="0" />';
}
} else {
$start2 = date($timeFormat_small, $val['start_unixtime']);
diff --git a/templates/default/month_medium.tpl b/templates/default/month_medium.tpl
index 96e8e6b..8088a0e 100644
--- a/templates/default/month_medium.tpl
+++ b/templates/default/month_medium.tpl
@@ -22,8 +22,8 @@
<td class="yearon">
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
<div align="center">
- {ALLDAY}
- {EVENT}
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{ALLDAY}</a>
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{EVENT}</a>
</div>
</td>
<!-- switch istoday off -->
@@ -31,8 +31,8 @@
<td class="yearreg">
<a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
<div align="center">
- {ALLDAY}
- {EVENT}
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{ALLDAY}</a>
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{EVENT}</a>
</div>
</td>
<!-- switch ismonth off -->
diff --git a/templates/default/rss_index.tpl b/templates/default/rss_index.tpl
index fac312f..3f76e96 100644
--- a/templates/default/rss_index.tpl
+++ b/templates/default/rss_index.tpl
@@ -13,10 +13,10 @@
<div style="padding-top: 3px;">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
- <td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
- <td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
+ <td><a class="psf" href="../day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="../week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="../month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="../year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="../templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
</div>
diff --git a/templates/green/day.tpl b/templates/green/day.tpl
index d0bcef2..a1db506 100644
--- a/templates/green/day.tpl
+++ b/templates/green/day.tpl
@@ -13,7 +13,7 @@
<div style="padding-top: 3px;">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
<td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
diff --git a/templates/green/month.tpl b/templates/green/month.tpl
index 6b64f1a..7dcff53 100644
--- a/templates/green/month.tpl
+++ b/templates/green/month.tpl
@@ -12,7 +12,7 @@
<tr valign="top">
<td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
diff --git a/templates/grey/day.tpl b/templates/grey/day.tpl
index d0bcef2..a1db506 100644
--- a/templates/grey/day.tpl
+++ b/templates/grey/day.tpl
@@ -13,7 +13,7 @@
<div style="padding-top: 3px;">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
<td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
diff --git a/templates/grey/month.tpl b/templates/grey/month.tpl
index 6b64f1a..7dcff53 100644
--- a/templates/grey/month.tpl
+++ b/templates/grey/month.tpl
@@ -12,7 +12,7 @@
<tr valign="top">
<td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
diff --git a/templates/red/day.tpl b/templates/red/day.tpl
index d0bcef2..a1db506 100644
--- a/templates/red/day.tpl
+++ b/templates/red/day.tpl
@@ -13,7 +13,7 @@
<div style="padding-top: 3px;">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
<td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
diff --git a/templates/red/month.tpl b/templates/red/month.tpl
index 6b64f1a..7dcff53 100644
--- a/templates/red/month.tpl
+++ b/templates/red/month.tpl
@@ -12,7 +12,7 @@
<tr valign="top">
<td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
diff --git a/templates/tan/day.tpl b/templates/tan/day.tpl
index d0bcef2..a1db506 100644
--- a/templates/tan/day.tpl
+++ b/templates/tan/day.tpl
@@ -13,7 +13,7 @@
<div style="padding-top: 3px;">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
<td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
diff --git a/templates/tan/month.tpl b/templates/tan/month.tpl
index 6b64f1a..7dcff53 100644
--- a/templates/tan/month.tpl
+++ b/templates/tan/month.tpl
@@ -12,7 +12,7 @@
<tr valign="top">
<td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
+ <td><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
diff --git a/year.php b/year.php
index 6a0a6d0..9d5564d 100644
--- a/year.php
+++ b/year.php
@@ -4,7 +4,6 @@ $current_view = 'year';
require_once(BASE.'functions/ical_parser.php');
require_once(BASE.'functions/list_functions.php');
require_once(BASE.'functions/template.php');
-header("Content-Type: text/html; charset=$phpiCal_config->charset");
ereg ("([0-9]{4})([0-9]{2})([0-9]{2})", $getdate, $day_array2);
$this_day = $day_array2[3];
@@ -46,6 +45,7 @@ $page = new Page(BASE.'templates/'.$template.'/year.tpl');
$page->replace_files(array(
'header' => BASE.'templates/'.$template.'/header.tpl',
+ 'event_js' => BASE.'functions/event.js',
'footer' => BASE.'templates/'.$template.'/footer.tpl',
'sidebar' => BASE.'templates/'.$template.'/sidebar_year.tpl',
'search_box' => BASE.'templates/'.$template.'/search_box.tpl'

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