aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2007-05-18 19:00:16 +0000
committerJim Hu <jimhu@users.sourceforge.net>2007-05-18 19:00:16 +0000
commit73b224f34b3aa5892c0d9ac79d34c1a95155166e (patch)
tree1df79666d27132480d574ace176eec348e47b977 /templates
parent5309c9a17a0b0de6d2603a1269ce14f1014595e3 (diff)
downloadphpicalendar-73b224f34b3aa5892c0d9ac79d34c1a95155166e.tar.gz
phpicalendar-73b224f34b3aa5892c0d9ac79d34c1a95155166e.tar.bz2
phpicalendar-73b224f34b3aa5892c0d9ac79d34c1a95155166e.zip
month and year location display bugs
Diffstat (limited to 'templates')
-rw-r--r--templates/green/admin.tpl132
-rw-r--r--templates/green/calendar_nav.tpl113
-rw-r--r--templates/green/day.tpl104
-rw-r--r--templates/green/default.css161
-rw-r--r--templates/green/error.tpl43
-rw-r--r--templates/green/event.tpl43
-rw-r--r--templates/green/footer.tpl15
-rw-r--r--templates/green/header.tpl20
-rw-r--r--templates/green/month.tpl88
-rw-r--r--templates/green/month_large.tpl45
-rw-r--r--templates/green/month_medium.tpl45
-rw-r--r--templates/green/month_small.tpl38
-rw-r--r--templates/green/preferences.tpl102
-rw-r--r--templates/green/print.tpl80
-rw-r--r--templates/green/rss_index.tpl61
-rw-r--r--templates/green/search.tpl115
-rw-r--r--templates/green/search_box.tpl9
-rw-r--r--templates/green/seminar.tpl43
-rw-r--r--templates/green/sidebar.tpl225
-rw-r--r--templates/green/todo.tpl42
-rw-r--r--templates/green/week.tpl117
-rw-r--r--templates/green/year.tpl132
-rw-r--r--templates/grey/admin.tpl132
-rw-r--r--templates/grey/calendar_nav.tpl113
-rw-r--r--templates/grey/day.tpl104
-rw-r--r--templates/grey/default.css139
-rw-r--r--templates/grey/error.tpl43
-rw-r--r--templates/grey/event.tpl43
-rw-r--r--templates/grey/footer.tpl15
-rw-r--r--templates/grey/header.tpl20
-rw-r--r--templates/grey/month.tpl88
-rw-r--r--templates/grey/month_large.tpl45
-rw-r--r--templates/grey/month_medium.tpl45
-rw-r--r--templates/grey/month_small.tpl38
-rw-r--r--templates/grey/preferences.tpl102
-rw-r--r--templates/grey/print.tpl80
-rw-r--r--templates/grey/rss_index.tpl61
-rw-r--r--templates/grey/search.tpl115
-rw-r--r--templates/grey/search_box.tpl9
-rw-r--r--templates/grey/seminar.tpl43
-rw-r--r--templates/grey/sidebar.tpl225
-rw-r--r--templates/grey/todo.tpl42
-rw-r--r--templates/grey/week.tpl117
-rw-r--r--templates/grey/year.tpl132
-rw-r--r--templates/red/admin.tpl132
-rw-r--r--templates/red/calendar_nav.tpl113
-rw-r--r--templates/red/day.tpl104
-rw-r--r--templates/red/default.css138
-rw-r--r--templates/red/error.tpl43
-rw-r--r--templates/red/event.tpl43
-rw-r--r--templates/red/footer.tpl15
-rw-r--r--templates/red/header.tpl20
-rw-r--r--templates/red/month.tpl88
-rw-r--r--templates/red/month_large.tpl45
-rw-r--r--templates/red/month_medium.tpl45
-rw-r--r--templates/red/month_small.tpl38
-rw-r--r--templates/red/preferences.tpl102
-rw-r--r--templates/red/print.tpl80
-rw-r--r--templates/red/rss_index.tpl61
-rw-r--r--templates/red/search.tpl115
-rw-r--r--templates/red/search_box.tpl9
-rw-r--r--templates/red/sidebar.tpl225
-rw-r--r--templates/red/sidebar_year.tpl196
-rw-r--r--templates/red/todo.tpl42
-rw-r--r--templates/red/week.tpl117
-rw-r--r--templates/red/year.tpl132
-rw-r--r--templates/tan/admin.tpl132
-rw-r--r--templates/tan/calendar_nav.tpl113
-rw-r--r--templates/tan/day.tpl104
-rw-r--r--templates/tan/default.css158
-rw-r--r--templates/tan/error.tpl43
-rw-r--r--templates/tan/event.tpl43
-rw-r--r--templates/tan/footer.tpl15
-rw-r--r--templates/tan/header.tpl20
-rw-r--r--templates/tan/month.tpl88
-rw-r--r--templates/tan/month_large.tpl45
-rw-r--r--templates/tan/month_medium.tpl45
-rw-r--r--templates/tan/month_small.tpl38
-rw-r--r--templates/tan/preferences.tpl102
-rw-r--r--templates/tan/print.tpl80
-rw-r--r--templates/tan/rss_index.tpl61
-rw-r--r--templates/tan/search.tpl115
-rw-r--r--templates/tan/search_box.tpl9
-rw-r--r--templates/tan/seminar.tpl43
-rw-r--r--templates/tan/sidebar.tpl225
-rw-r--r--templates/tan/todo.tpl42
-rw-r--r--templates/tan/week.tpl117
-rw-r--r--templates/tan/year.tpl132
88 files changed, 7197 insertions, 0 deletions
diff --git a/templates/green/admin.tpl b/templates/green/admin.tpl
new file mode 100644
index 0000000..b83860b
--- /dev/null
+++ b/templates/green/admin.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+<table border="0" width="600" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_ADMIN_HEADER}</h1><span class="V9G">{L_ADMIN_SUBHEAD}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td align="right">
+ <!-- switch logged_in2 on -->
+ <a href="index.php?action=logout">{L_LOGOUT}</a>&nbsp;
+ <!-- switch logged_in2 off -->
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <!-- switch login_error on -->
+ <font color="red">{L_INVALID_LOGIN}</font><br /><br />
+ <!-- switch login_error off -->
+
+ <!-- switch display_login on -->
+ <form action="index.php?action=login" method="post">
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td nowrap>{L_USERNAME}: </td>
+ <td align="left"><input type="text" name="username"></td>
+ </tr>
+ <tr>
+ <td>{L_PASSWORD}: </td>
+ <td align="left"><input type="password" name="password"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align="left"><input type="submit" value="{L_LOGIN}"></td>
+ </tr>
+ <!--
+ <tr>
+ <td align="center" colspan="3">{LOGIN_ERROR}&nbsp;</td>
+ </tr>
+ -->
+ </table>
+ </form>
+ <!-- switch display_login off -->
+
+
+ <!-- switch logged_in on -->
+ <b>{L_ADDUPDATE_CAL}</b><br />
+ {L_ADDUPDATE_DESC}<br /><br />
+ <form action="index.php" method="post" enctype="multipart/form-data">
+ <input type="hidden" name="action" value="addupdate">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ <tr>
+ <td nowrap>{L_CAL_FILE} 1: </td>
+ <td><input type="file" name="calfile[1]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 2: </td>
+ <td><input type="file" name="calfile[2]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 3: </td>
+ <td><input type="file" name="calfile[3]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 4: </td>
+ <td><input type="file" name="calfile[4]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 5: </td>
+ <td><input type="file" name="calfile[5]"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="submit" value="{L_SUBMIT}"></td>
+ </tr>
+ <tr>
+ <td align="center" colspan="2">{ADDUPDATE_MSG} &nbsp;</td>
+ </tr>
+ </table>
+ </form>
+
+ <b>{L_DELETE_CAL}</b>
+ <form action="index.php" method="post">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ {DELETE_TABLE}
+ </table>
+ <input type="hidden" name="action" value="delete">
+ <p><input type="submit" value="{L_DELETE}"></p>
+ <p>{DELETE_MSG} &nbsp;</p>
+ </form>
+
+ <!-- switch logged_in off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="600" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+{FOOTER}
+
+
diff --git a/templates/green/calendar_nav.tpl b/templates/green/calendar_nav.tpl
new file mode 100644
index 0000000..111fa35
--- /dev/null
+++ b/templates/green/calendar_nav.tpl
@@ -0,0 +1,113 @@
+<table border="0" width="737" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="1%" valign="top" align="right">
+ {MONTH_SMALL|-1}
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="98%" valign="top" align="center">
+ <table border="0" width="330" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{L_JUMP}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{URL_CAL}"/>
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day"/>
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{SIDEBAR_DATE}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding-left: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{SCRIPT_NAME}?{QUERYS}">Logout {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td width="1%" valign="top" align="left">
+ {MONTH_SMALL|+1}
+ <table width="170" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/green/day.tpl b/templates/green/day.tpl
new file mode 100644
index 0000000..ae7598c
--- /dev/null
+++ b/templates/green/day.tpl
@@ -0,0 +1,104 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2">
+ <tr>
+ <td align="left" valign="top" width="20" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}">&laquo;</a></span>
+ </td>
+ <!-- loop daysofweek on -->
+ <td width="14%" align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <span class="V9BOLD"><a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a></span>
+ </td>
+ <!-- loop daysofweek off -->
+ <td align="right" valign="top" width="20" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}">&raquo;</a></span>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr id="allday">
+ <td>
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ </div>
+ <!-- loop allday off -->
+ </td>
+ </tr>
+ <tr>
+ <td align="center" valign="top" colspan="3">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b> - {EVENT_END}</div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10"><img src="images/spacer.gif" width="10" height="1" alt=" " /></td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER}
+
diff --git a/templates/green/default.css b/templates/green/default.css
new file mode 100644
index 0000000..9626f6e
--- /dev/null
+++ b/templates/green/default.css
@@ -0,0 +1,161 @@
+/* Style sheet for the green calendar */
+
+table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
+
+/* Background images for tables */
+.tbll {background: url(images/shadow_l.gif) no-repeat; width:8px}
+.tblbot {background: url(images/shadow_m.gif) repeat-x; width:100%}
+.tblr {background: url(images/shadow_r.gif) no-repeat; width:8px}
+
+.alldaybg_1 {background: url(images/allday_1.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_2 {background: url(images/allday_2.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_3 {background: url(images/allday_3.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_4 {background: url(images/allday_4.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_5 {background: url(images/allday_5.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_6 {background: url(images/allday_6.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_7 {background: url(images/allday_7.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+
+.rowOn { background-color: #cfc; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOn2 { background-color: #cfc; border-top: 1px solid #fff; }
+.rowOff { background-color: #E1E8F1; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOff2 { background-color: #E1E8F1; border-top: 1px solid #fff; }
+.rowToday { background-color: #cff; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+
+.padd { padding: 2px; }
+
+/* Styles for day and week events */
+.eventbg_1 { background-color: #00790c; padding: 2px;}
+.eventbg_2 { background-color: #00c400; padding: 2px;}
+.eventbg_3 { background-color: #005050; padding: 2px;}
+.eventbg_4 { background-color: #5abf04; padding: 2px;}
+.eventbg_5 { background-color: #506000; padding: 2px;}
+.eventbg_6 { background-color: #ac9200; padding: 2px;}
+.eventbg_7 { background-color: #00a28f; padding: 2px;}
+
+#allday a { font-size: 9px; color: #fff; font-weight: 900; text-decoration:none;}
+#allday a:hover { text-decoration:underline;}
+
+.eventbg2_1 { background-color: #00992c; border: 1px solid #00790c; }
+.eventbg2_2 { background-color: #00e400; border: 1px solid #00c400; }
+.eventbg2_3 { background-color: #007070; border: 1px solid #005050; }
+.eventbg2_4 { background-color: #7adf24; border: 1px solid #5abf04; }
+.eventbg2_5 { background-color: #708000; border: 1px solid #506000; }
+.eventbg2_6 { background-color: #ccb21f; border: 1px solid #ac9200; }
+.eventbg2_7 { background-color: #12c2af; border: 1px solid #00a28f; }
+
+.alldaybg_8 {background: url(images/allday_8.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_8 { background-color: #008888; padding: 2px;}
+.eventbg2_8 { background-color: #00AAAA; border: 1px solid #73738C; }
+
+.alldaybg_9 {background: url(images/allday_9.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_9 { background-color: #DDDD00; padding: 2px;}
+.eventbg2_9 { background-color: #FFFF00; border: 1px solid #73738C; }
+
+.alldaybg_10 {background: url(images/allday_10.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_10 { background-color: #000068; padding: 2px;}
+.eventbg2_10 { background-color: #000089; border: 1px solid #73738C; }
+
+.alldaybg_11 {background: url(images/allday_11.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_11 { background-color: #009A78; padding: 2px;}
+.eventbg2_11 { background-color: #00AA88; border: 1px solid #73738C; }
+
+
+.dayborder { background-color: #fff; border-top: 1px solid #A1A5A9; }
+.dayborder2 { background-color: #fff; border-top: 1px dashed #ccc; }
+
+.title { background-image: url(images/time_bg.gif); padding: 5px; }
+.title h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000; margin: 0px;}
+
+/* Month View */
+
+.monthback { background-color: #A1A5A9; }
+.monthreg { background-color: #fff; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthoff { background-color: #F2F2F2; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthon { background-color: #F2F9FF; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.montheventtop { background-image: url(images/side_bg.gif); border-top: 1px solid #A1A5A9; }
+.montheventline { border-right: 1px dotted #A1A5A9; }
+
+/* Year View */
+
+.medtitle { background-image: url(images/side_bg.gif); height: 20px; margin-top: 3px; font-weight: 900; }
+.yearreg { background-color: #fff; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearoff { background-color: #F2F2F2; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearon { background-color: #F2F9FF; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearmonth { background-color: #ccc; }
+.yearweek { background-color: #eee; width: 30px; font-size: 9px; font-weight: 900; text-align: center; height: 15px; }
+
+
+/* older styles */
+
+/*.eventborder { background-image: url(images/day_title.gif); border: 1px #006699 solid; }*/
+.eventborder { background-color: #006600; border: 1px #003300 solid; }
+
+.eventbg { background-color: #339933; }
+
+.calborder { background-color: #ffffff; border: 1px #A1A5A9 solid; }
+
+.dateback { background-color: #eee; }
+.weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; }
+.weekborder2 { border-right: 1px solid #A1A5A9; }
+.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(images/time_bg.gif); }
+.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(images/time_bg.gif); }
+.navback { background-image: url(images/time_bg.gif); }
+.sideback { background-image: url(images/side_bg.gif); }
+
+
+/* Link colors and attributes */
+/* This is the main link style */
+a.psf { text-decoration: none; }
+a.psf:link { color: #009900; }
+a.psf:visited { color: #009900; }
+a.psf:active { color: #009900; }
+a.psf:hover { color: #003300; text-decoration: underline; }
+
+/* This is the link style for the mini-cals */
+a.ps2 { text-decoration: underline; }
+a.ps2:link { color: #009900; }
+a.ps2:visited { color: #009900; }
+a.ps2:active { color: #33CC66; }
+a.ps2:hover { color: #003300; }
+
+/* This is the link style for year months */
+a.ps3 { text-decoration: none; }
+a.ps3:link { color: #000; }
+a.ps3:visited { color: #000; }
+a.ps3:active { color: #000; }
+a.ps3:hover { color: #000; text-decoration: underline; }
+
+/* This is the link style for events */
+a.ps { text-decoration: none; }
+a.ps:link { color: #fff; }
+a.ps:visited { color: #fff; }
+a.ps:active { color: #fff; }
+a.ps:hover { color: #fff; text-decoration: underline; }
+
+/* Body attributes */
+
+body { background-image: url(images/background.gif); }
+
+/* CSS definitions for fonts */
+
+.V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; }
+.V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none;}
+.V9W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #FFFFFF; text-decoration: none;}
+.V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; }
+.V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; }
+.V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; }
+.V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; }
+.G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; }
+.G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; }
+.G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; }
+.G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; }
+.V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; }
+/*h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; }*/
+.eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; }
+
+
+/* Length of the form drop downs */
+
+.query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; }
+.search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; }
+.login_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 80px; margin-bottom: 0; }
diff --git a/templates/green/error.tpl b/templates/green/error.tpl
new file mode 100644
index 0000000..061812e
--- /dev/null
+++ b/templates/green/error.tpl
@@ -0,0 +1,43 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top" align="center">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
+ <td align="center" valign="middle" width="98%" class="sideback"><b>{L_ERROR_WINDOW}</b></td>
+ <td class="sideback" width="1%"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="10" class="G10B">
+ <tr>
+ <td align="center" valign="top" class="V12">
+ {ERROR_MSG}<br />
+ [<span class="G10"><a href="http://phpicalendar.net/documentation/index.php?title=Error_message_meanings">What does this mean?</a></span>]
+ <br />
+ <br />
+ {ERROR_CALENDAR}
+ <br />
+ <br />
+ {L_ERROR_BACK}
+ <br />
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/green/event.tpl b/templates/green/event.tpl
new file mode 100644
index 0000000..43c2db2
--- /dev/null
+++ b/templates/green/event.tpl
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{EVENT_TEXT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch organizer on -->
+ <b>{L_ORGANIZER}</b>: {ORGANIZER}<br />
+ <!-- switch organizer off -->
+ <!-- switch attendee on -->
+ <b>{L_ATTENDEE}</b>: {ATTENDEE}<br />
+ <!-- switch attendee off -->
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch location on -->
+ <b>{L_LOCATION}</b>: {LOCATION}<br />
+ <!-- switch location off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
+
diff --git a/templates/green/footer.tpl b/templates/green/footer.tpl
new file mode 100644
index 0000000..7d2ccab
--- /dev/null
+++ b/templates/green/footer.tpl
@@ -0,0 +1,15 @@
+<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}">
+<img src="{BASE}images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" /></a>
+</p>
+<!-- switch rss_valid off -->
+<!-- switch rss_powered on -->
+{L_THIS_SITE_IS} <a class="psf" href="{BASE}rss/index.php?cal={CAL}&amp;getdate={GETDATE}">RSS-Enabled</a><br />
+<!-- switch rss_powered off -->
+<!--Page generated in {GENERATED1} seconds.<br />
+Template generated in {GENERATED2} seconds.-->
+</center>
+</body>
+</html>
diff --git a/templates/green/header.tpl b/templates/green/header.tpl
new file mode 100644
index 0000000..07837a9
--- /dev/null
+++ b/templates/green/header.tpl
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+ <title>{CALENDAR_NAME} - {DISPLAY_DATE}</title>
+ <link rel="stylesheet" type="text/css" href="{DEFAULT_PATH}templates/{TEMPLATE}/default.css" />
+ <!-- switch rss_available on -->
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_PATH}/rss/rss.php?cal={CAL}&amp;rssview={CURRENT_VIEW}">
+ <!-- switch rss_available off -->
+ {EVENT_JS}
+</head>
+<body>
+<form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;">
+ <input type="hidden" name="date" id="date" value="" />
+ <input type="hidden" name="time" id="time" value="" />
+ <input type="hidden" name="uid" id="uid" value="" />
+ <input type="hidden" name="cpath" id="cpath" value="" />
+ <input type="hidden" name="event_data" id="event_data" value="" />
+</form>
diff --git a/templates/green/month.tpl b/templates/green/month.tpl
new file mode 100644
index 0000000..8466d7a
--- /dev/null
+++ b/templates/green/month.tpl
@@ -0,0 +1,88 @@
+{HEADER}
+<center>
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="615" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ {MONTH_LARGE|+0}
+ <table width="735" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <br />
+ {CALENDAR_NAV}
+ <!-- switch showbottom on -->
+ <br />
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={PREV_MONTH}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="{L_PREV}" border="0" align="right" /></a></td>
+ <td align="center" width="20%" class="title" nowrap="nowrap" valign="middle"><h1>{L_THIS_MONTHS}</h1></td>
+ <td align="left" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={NEXT_MONTH}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="{L_NEXT}" border="0" align="left" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" cellspacing="1" cellpadding="4" border="0">
+ <!-- loop showbottomevents_odd on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td>
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_odd off -->
+ <!-- loop showbottomevents_even on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap" bgcolor="#EEEEEE">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td bgcolor="#EEEEEE">
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_even off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="737" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <!-- switch showbottom off -->
+</center>
+{FOOTER}
diff --git a/templates/green/month_large.tpl b/templates/green/month_large.tpl
new file mode 100644
index 0000000..ff65ceb
--- /dev/null
+++ b/templates/green/month_large.tpl
@@ -0,0 +1,45 @@
+<table width="735" border="0" cellspacing="1" cellpadding="2" class="monthback">
+ <tr>
+ <!-- loop weekday on -->
+ <td valign="top" width="105" height="12" class="dateback">
+ <center class="V9BOLD">{LOOP_WEEKDAY}</center>
+ </td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="monthoff">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="monthon">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="monthreg">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+</table>
diff --git a/templates/green/month_medium.tpl b/templates/green/month_medium.tpl
new file mode 100644
index 0000000..96e8e6b
--- /dev/null
+++ b/templates/green/month_medium.tpl
@@ -0,0 +1,45 @@
+<table border="0" width="210" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="medtitle">{MONTH_TITLE}</td>
+ </tr>
+ <tr>
+ <td>
+ <table border="0" width="210" cellspacing="1" cellpadding="0" class="yearmonth">
+ <tr>
+ <!-- loop weekday on -->
+ <td class="yearweek">{LOOP_WEEKDAY}</td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="yearoff">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="yearon">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="yearreg">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/green/month_small.tpl b/templates/green/month_small.tpl
new file mode 100644
index 0000000..ef6aa6b
--- /dev/null
+++ b/templates/green/month_small.tpl
@@ -0,0 +1,38 @@
+<table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{MONTH_TITLE}</b></div></td>
+ </tr>
+ <tr>
+ <td align="center">
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr align="center">
+ <!-- loop weekday on -->
+ <td width="22"><b>{LOOP_WEEKDAY}</b></td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr align="center">
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="G10G">{DAY}</span></a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td>
+ <a class="ps2" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ <img src="images/spacer.gif" width="1" height="3" alt=" " /><br />
+ </td>
+ </tr>
+</table> \ No newline at end of file
diff --git a/templates/green/preferences.tpl b/templates/green/preferences.tpl
new file mode 100644
index 0000000..9b395f8
--- /dev/null
+++ b/templates/green/preferences.tpl
@@ -0,0 +1,102 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_PREFERENCES}</h1><span class="V9G">{L_PREFS_SUBHEAD}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <!-- switch message on -->
+ <tr>
+ <td colspan="2" align="center"><font class="G10BOLD">{MESSAGE}</font></td>
+ </tr>
+ <!-- switch message off -->
+ <tr>
+ <td valign="top" align="left">
+ <form action="preferences.php?action=setcookie" method="post">
+ <table border="0" width="100%" cellspacing="2" cellpadding="2" align="center">
+ <tr align="left" valign="top">
+ <td width="80%" nowrap="nowrap">{L_SELECT_LANG}:</td>
+ <td width="10%"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td width="10%"><select name="cookie_language" class="query_style">{LANGUAGE_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_CAL}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_calendar" class="query_style">{CALENDAR_SELECT}</select>
+ <input type="hidden" name="cpath" value="{CPATH}"/></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_VIEW}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_view" class="query_style">{VIEW_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_TIME}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_time" class="query_style">{TIME_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_DAY}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_startday" class="query_style">{STARTDAY_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_STYLE}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_style" class="query_style">{STYLE_SELECT}</select></td>
+ </tr>
+ <!-- switch cookie_already_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_UNSET_PREFS}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="checkbox" name="unset" value="true" /></td>
+ </tr>
+ <!-- switch cookie_already_set off -->
+ <!-- switch cookie_not_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">&nbsp;</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="submit" name="set" value="{L_SET_PREFS}" /></td>
+ </tr>
+ <!-- switch cookie_not_set off -->
+ </table>
+ </form>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+
+</center>
+{FOOTER}
diff --git a/templates/green/print.tpl b/templates/green/print.tpl
new file mode 100644
index 0000000..dfc773b
--- /dev/null
+++ b/templates/green/print.tpl
@@ -0,0 +1,80 @@
+{HEADER}
+<center>
+<table border="0" width="650" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <div style="padding-top: 3px;">
+ <table width="90" border="0" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=day"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=week"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=month"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=year"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <table border="0" cellspacing="0" cellpadding="5" width="100%">
+ <tr>
+ <td align="left" valign="top">
+ <!-- switch some_events on -->
+ <div class="V12"><b>{DAYOFMONTH}</b></div>
+ <!-- loop events on -->
+ <div style="padding: 6px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr>
+ <!-- switch location_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_LOCATION}:</td>
+ <td valign="top" align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <!-- switch location_events off -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch description_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description_events off -->
+ </table>
+ </div>
+ <!-- loop events off -->
+ <!-- switch some_events off -->
+
+ <!-- switch no_events on -->
+ <div class="V12"><b>{L_NO_RESULTS}</b></div>
+ <!-- switch no_events off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="650" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/green/rss_index.tpl b/templates/green/rss_index.tpl
new file mode 100644
index 0000000..7d61389
--- /dev/null
+++ b/templates/green/rss_index.tpl
@@ -0,0 +1,61 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="700" valign="top" align="center">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RSS_INFO}</h1><span class="V9G">{L_RSS_SUBHEAD}</span></div></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="../images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <br />
+ <br />
+ <br />
+ {RSS_LIST}
+ <br />
+ <p>{RSS_DOCINFO}</p>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="700" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER} \ No newline at end of file
diff --git a/templates/green/search.tpl b/templates/green/search.tpl
new file mode 100644
index 0000000..dfb83e3
--- /dev/null
+++ b/templates/green/search.tpl
@@ -0,0 +1,115 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RESULTS}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" "></td>
+ </tr>
+ <tr>
+ <td align="left">
+ <div style="padding: 10px;">
+ <div><p class="V12">{L_QUERY}: {FORMATTED_SEARCH}</p></div>
+ <!-- switch results on -->
+ <font class="V12"><b><a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></b></font><br />
+ <div style="margin-left: 10px; margin-bottom: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="120" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr><tr>
+ <td width="120" class="G10BOLD">{L_LOCATION}:</td>
+ <td align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch recur on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="G10B">{RECUR}</td>
+ </tr>
+ <!-- switch recur off -->
+ <!-- switch description on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description off -->
+ </table>
+ </div>
+ <!-- switch exceptions on -->
+ <font class="V10"><i>{L_EXCEPTION}</i>: <a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></font><br />
+ <div style="margin-left: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="V10">{L_TIME}:</td>
+ <td align="left" class="V10">{EVENT_START}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="V10">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="V10">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch except_recur on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_RECUR}</td>
+ </tr>
+ <!-- switch except_recur off -->
+ <!-- switch except_description on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_DESCRIPTION}</td>
+ </tr>
+ <!-- switch except_description off -->
+ </table>
+ </div>
+ <!-- switch exceptions off -->
+ <br />
+ <!-- switch results off -->
+
+ <!-- switch no_results on -->
+ <div align="center">
+ <p class="V12">{L_NO_RESULTS}</p>
+ </div>
+ <!-- switch no_results off -->
+
+ <div align="center">
+ {SEARCH_BOX}
+ </div>
+ <br />
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER}
+
diff --git a/templates/green/search_box.tpl b/templates/green/search_box.tpl
new file mode 100644
index 0000000..9c442d3
--- /dev/null
+++ b/templates/green/search_box.tpl
@@ -0,0 +1,9 @@
+<hr />
+<div class = 'G10BOLD'>{L_SEARCH}:</div>
+<form action="search.php" method="GET">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{CAL}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="text" size="15" name="query" value=""/>
+ <input type="image" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
+</form> \ No newline at end of file
diff --git a/templates/green/seminar.tpl b/templates/green/seminar.tpl
new file mode 100644
index 0000000..defaa57
--- /dev/null
+++ b/templates/green/seminar.tpl
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{EVENT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch organizer on --
+ <b>{L_ORGANIZER}</b>: {ORGANIZER}<br />
+ -- switch organizer off -->
+ <!-- switch attendee on -->
+ <b>Host:</b>: {ATTENDEE}<br />
+ <!-- switch attendee off -->
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch location on -->
+ <b>{L_LOCATION}</b>: {LOCATION}<br />
+ <!-- switch location off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
+
diff --git a/templates/green/sidebar.tpl b/templates/green/sidebar.tpl
new file mode 100644
index 0000000..ba6ccd8
--- /dev/null
+++ b/templates/green/sidebar.tpl
@@ -0,0 +1,225 @@
+<!-- switch show_user_login on -->
+<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php?{LOGIN_QUERYS}" method="post">
+<input type="hidden" name="action" value="login" />
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td colspan="2" align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_LOGIN}</div></td>
+ </tr>
+ <!-- switch invalid_login on -->
+ <tr>
+ <td colspan="2" bgcolor="#FFFFFF" align="left">
+ <div style="padding-left: 5px; padding-top: 5px; padding-right: 5px;">
+ <font color="red">{L_INVALID_LOGIN}</font>
+ </div>
+ </td>
+ </tr>
+ <!-- switch invalid_login off -->
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-top: 5px;">{L_USERNAME}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-top: 5px;"><input type="text" name="username" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-bottom: 5px;">{L_PASSWORD}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-bottom: 5px;"><input type="password" name="password" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="center" valign="middle" colspan="2"><div style=padding-left: 5px; padding-bottom: 5px;"><input type="submit" value="{L_LOGIN}" /></div></td>
+ </tr>
+</table>
+</form>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+<!-- switch show_user_login off -->
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{L_PREV}" width="16" height="20" border="0" align="left" /></a></td>
+ <td align="center" width="112" class="sideback"><font class="G10BOLD">{SIDEBAR_DATE}</font></td>
+ <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{L_NEXT}" width="16" height="20" border="0" align="right" /></a></td>
+ </tr>
+ <tr>
+ <td colspan="3" bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{CURRENT_VIEW}.php?{LOGOUT_QUERYS}">{L_LOGOUT} {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_JUMP}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get">
+ <input type="hidden" name="cal" value="{URL_CAL}">
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day">
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TOMORROWS}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <!-- switch t_allday on -->
+ {T_ALLDAY}<br />
+ <!-- switch t_allday off -->
+ <!-- switch t_event on -->
+ &bull; {T_EVENT}<br />
+ <!-- switch t_event off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events off -->
+
+<!-- switch vtodo on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" width="98%" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TODO}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <!-- switch show_completed on -->
+ <tr>
+ <td><img src="images/completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><s><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></s></td>
+ </tr>
+ <!-- switch show_completed off -->
+ <!-- switch show_important on -->
+ <tr>
+ <td><img src="images/important.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_important off -->
+ <!-- switch show_normal on -->
+ <tr>
+ <td><img src="images/not_completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_normal off -->
+ </table>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+
+<!-- switch vtodo off -->
+
+{MONTH_SMALL|-1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+0}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
diff --git a/templates/green/todo.tpl b/templates/green/todo.tpl
new file mode 100644
index 0000000..2aa5d11
--- /dev/null
+++ b/templates/green/todo.tpl
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{VTODO_TEXT}</p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch priority on -->
+ <b>{L_PRIORITY}</b>: {PRIORITY}<br />
+ <!-- switch priority off -->
+ <!-- switch start_date on -->
+ <b>{L_CREATED}</b>: {START_DATE}<br />
+ <!-- switch start_date off -->
+ <!-- switch due_date on -->
+ <b>{L_DUE}</b>: {DUE_DATE}<br />
+ <!-- switch due_date off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
diff --git a/templates/green/week.tpl b/templates/green/week.tpl
new file mode 100644
index 0000000..d3f7a70
--- /dev/null
+++ b/templates/green/week.tpl
@@ -0,0 +1,117 @@
+{HEADER}
+<center>
+ <table border="0" width="770" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="610" valign="top">
+ <table width="610" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="490" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="center" valign="top">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" valign="top" width="15" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_WEEK}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_WEEK}">&laquo;</a></div>
+ </td>
+ <td align="left" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_DAY}">&lsaquo;</a></div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_DAY}">&rsaquo;</a>&nbsp;</div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_WEEK}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_WEEK}">&raquo;</a>&nbsp;</div>
+ </td>
+ <td width="1"></td>
+ <!-- loop daysofweek on -->
+ <td width="80" {COLSPAN} align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a>
+ </td>
+ <!-- loop daysofweek off -->
+ </tr>
+ <tr valign="top" id="allday">
+ <td width="60" class="rowOff2" colspan="4"><img src="images/spacer.gif" width="60" height="1" alt=" " /></td>
+ <td width="1"></td>
+ <!-- loop alldaysofweek on -->
+ <td width="80" {COLSPAN} class="rowOff">
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ <img src="images/spacer.gif" width="80" height="1" alt=" " />
+ </div>
+ <!-- loop allday off -->
+ </td>
+ <!-- loop alldaysofweek off -->
+ </tr>
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b></div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10">
+ <img src="images/spacer.gif" width="10" height="1" alt=" " />
+ </td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}
diff --git a/templates/green/year.tpl b/templates/green/year.tpl
new file mode 100644
index 0000000..eb89065
--- /dev/null
+++ b/templates/green/year.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+ <table width="676" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" width="120" class="navback">
+ &nbsp;
+ </td>
+ <td class="navback">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={PREV_YEAR}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="[Previous Year]" border="0" align="right" /></a>
+ </td>
+ <td align="center" width="10%" class="title" nowrap="nowrap" valign="middle">
+ <h1>{THIS_YEAR}</h1>
+ </td>
+ <td align="left" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={NEXT_YEAR}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="[Next Year]" border="0" align="left" /></a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td align="right" width="120" class="navback">
+ <table width="120" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <br />
+ <table border="0" width="670" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|01}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|02}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|03}
+ </td>
+ <td width="20" rowspan='8'>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td rowspan='8' valign='top'>{SIDEBAR}</td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|04}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|05}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|06}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|07}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|08}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|09}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|10}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|11}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|12}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}
diff --git a/templates/grey/admin.tpl b/templates/grey/admin.tpl
new file mode 100644
index 0000000..b83860b
--- /dev/null
+++ b/templates/grey/admin.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+<table border="0" width="600" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_ADMIN_HEADER}</h1><span class="V9G">{L_ADMIN_SUBHEAD}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td align="right">
+ <!-- switch logged_in2 on -->
+ <a href="index.php?action=logout">{L_LOGOUT}</a>&nbsp;
+ <!-- switch logged_in2 off -->
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <!-- switch login_error on -->
+ <font color="red">{L_INVALID_LOGIN}</font><br /><br />
+ <!-- switch login_error off -->
+
+ <!-- switch display_login on -->
+ <form action="index.php?action=login" method="post">
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td nowrap>{L_USERNAME}: </td>
+ <td align="left"><input type="text" name="username"></td>
+ </tr>
+ <tr>
+ <td>{L_PASSWORD}: </td>
+ <td align="left"><input type="password" name="password"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align="left"><input type="submit" value="{L_LOGIN}"></td>
+ </tr>
+ <!--
+ <tr>
+ <td align="center" colspan="3">{LOGIN_ERROR}&nbsp;</td>
+ </tr>
+ -->
+ </table>
+ </form>
+ <!-- switch display_login off -->
+
+
+ <!-- switch logged_in on -->
+ <b>{L_ADDUPDATE_CAL}</b><br />
+ {L_ADDUPDATE_DESC}<br /><br />
+ <form action="index.php" method="post" enctype="multipart/form-data">
+ <input type="hidden" name="action" value="addupdate">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ <tr>
+ <td nowrap>{L_CAL_FILE} 1: </td>
+ <td><input type="file" name="calfile[1]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 2: </td>
+ <td><input type="file" name="calfile[2]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 3: </td>
+ <td><input type="file" name="calfile[3]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 4: </td>
+ <td><input type="file" name="calfile[4]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 5: </td>
+ <td><input type="file" name="calfile[5]"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="submit" value="{L_SUBMIT}"></td>
+ </tr>
+ <tr>
+ <td align="center" colspan="2">{ADDUPDATE_MSG} &nbsp;</td>
+ </tr>
+ </table>
+ </form>
+
+ <b>{L_DELETE_CAL}</b>
+ <form action="index.php" method="post">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ {DELETE_TABLE}
+ </table>
+ <input type="hidden" name="action" value="delete">
+ <p><input type="submit" value="{L_DELETE}"></p>
+ <p>{DELETE_MSG} &nbsp;</p>
+ </form>
+
+ <!-- switch logged_in off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="600" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+{FOOTER}
+
+
diff --git a/templates/grey/calendar_nav.tpl b/templates/grey/calendar_nav.tpl
new file mode 100644
index 0000000..111fa35
--- /dev/null
+++ b/templates/grey/calendar_nav.tpl
@@ -0,0 +1,113 @@
+<table border="0" width="737" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="1%" valign="top" align="right">
+ {MONTH_SMALL|-1}
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="98%" valign="top" align="center">
+ <table border="0" width="330" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{L_JUMP}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{URL_CAL}"/>
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day"/>
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{SIDEBAR_DATE}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding-left: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{SCRIPT_NAME}?{QUERYS}">Logout {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td width="1%" valign="top" align="left">
+ {MONTH_SMALL|+1}
+ <table width="170" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/grey/day.tpl b/templates/grey/day.tpl
new file mode 100644
index 0000000..ae7598c
--- /dev/null
+++ b/templates/grey/day.tpl
@@ -0,0 +1,104 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2">
+ <tr>
+ <td align="left" valign="top" width="20" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}">&laquo;</a></span>
+ </td>
+ <!-- loop daysofweek on -->
+ <td width="14%" align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <span class="V9BOLD"><a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a></span>
+ </td>
+ <!-- loop daysofweek off -->
+ <td align="right" valign="top" width="20" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}">&raquo;</a></span>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr id="allday">
+ <td>
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ </div>
+ <!-- loop allday off -->
+ </td>
+ </tr>
+ <tr>
+ <td align="center" valign="top" colspan="3">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b> - {EVENT_END}</div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10"><img src="images/spacer.gif" width="10" height="1" alt=" " /></td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER}
+
diff --git a/templates/grey/default.css b/templates/grey/default.css
new file mode 100644
index 0000000..fd37358
--- /dev/null
+++ b/templates/grey/default.css
@@ -0,0 +1,139 @@
+/* Style sheet for the grey calendar */
+
+table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
+
+/* Background images for tables */
+.tbll {background: url(images/shadow_l.gif) no-repeat; width:8px}
+.tblbot {background: url(images/shadow_m.gif) repeat-x; width:100%}
+.tblr {background: url(images/shadow_r.gif) no-repeat; width:8px}
+
+.alldaybg_1 {background: url(images/allday_1.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_2 {background: url(images/allday_2.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_3 {background: url(images/allday_3.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_4 {background: url(images/allday_4.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_5 {background: url(images/allday_5.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_6 {background: url(images/allday_6.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_7 {background: url(images/allday_7.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+
+.rowOn { background-color: #cfc; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOn2 { background-color: #cfc; border-top: 1px solid #fff; }
+.rowOff { background-color: #E1E8F1; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOff2 { background-color: #E1E8F1; border-top: 1px solid #fff; }
+.rowToday { background-color: #cff; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+
+.padd { padding: 2px; }
+
+/* Styles for day and week events (varies)*/
+.eventbg_1 { background-color: #303030; padding: 2px;}
+.eventbg_2 { background-color: #707060; padding: 2px;}
+.eventbg_3 { background-color: #505060; padding: 2px;}
+.eventbg_4 { background-color: #606060; padding: 2px;}
+.eventbg_5 { background-color: #705f60; padding: 2px;}
+.eventbg_6 { background-color: #608060; padding: 2px;}
+.eventbg_7 { background-color: #a0a090; padding: 2px;}
+
+
+.eventbg2_1 { background-color: #505050; border: 1px solid #303030; }
+.eventbg2_2 { background-color: #909080; border: 1px solid #707060; }
+.eventbg2_3 { background-color: #707080; border: 1px solid #505060; }
+.eventbg2_4 { background-color: #808080; border: 1px solid #606060; }
+.eventbg2_5 { background-color: #907f80; border: 1px solid #705f60; }
+.eventbg2_6 { background-color: #80a080; border: 1px solid #608060; }
+.eventbg2_7 { background-color: #c0c0b0; border: 1px solid #a0a090; }
+
+.dayborder { background-color: #fff; border-top: 1px solid #A1A5A9; }
+.dayborder2 { background-color: #fff; border-top: 1px dashed #ccc; }
+
+.title { background-image: url(images/time_bg.gif); padding: 5px; }
+.title h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000; margin: 0px;}
+
+/* Month View */
+
+.monthback { background-color: #A1A5A9; }
+.monthreg { background-color: #fff; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthoff { background-color: #F2F2F2; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthon { background-color: #F2F9FF; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.montheventtop { background-image: url(images/side_bg.gif); border-top: 1px solid #A1A5A9; }
+.montheventline { border-right: 1px dotted #A1A5A9; }
+
+/* Year View */
+
+.medtitle { background-image: url(images/side_bg.gif); height: 20px; margin-top: 3px; font-weight: 900; }
+.yearreg { background-color: #fff; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearoff { background-color: #F2F2F2; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearon { background-color: #F2F9FF; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearmonth { background-color: #ccc; }
+.yearweek { background-color: #eee; width: 30px; font-size: 9px; font-weight: 900; text-align: center; height: 15px; }
+
+
+/* older styles */
+
+.eventborder { background-image: url(images/day_title.gif); border: 1px #006699 solid; }
+.eventbg { background-color: #6699CC; }
+
+.calborder { background-color: #fff; border: 1px #A1A5A9 solid; }
+.dateback { background-color: #eee; }
+.weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; }
+.weekborder2 { border-right: 1px solid #A1A5A9; }
+.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(images/time_bg.gif); }
+.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(images/time_bg.gif); }
+.navback { background-image: url(images/time_bg.gif); }
+.sideback { background-image: url(images/side_bg.gif); }
+
+
+/* Link colors and attributes */
+/* This is the main link style (varies) */
+a.psf { text-decoration: none; }
+a.psf:link { color: #666; }
+a.psf:visited { color: #888; }
+a.psf:active { color: #666; }
+a.psf:hover { color: #333; text-decoration: underline; }
+
+/* This is the link style for the mini-cals (varies)*/
+a.ps2 { text-decoration: underline; }
+a.ps2:link { color: #0066FF; }
+a.ps2:visited { color: #0066FF; }
+a.ps2:active { color: #3366CC; }
+a.ps2:hover { color: #000099; }
+
+/* This is the link style for year months */
+a.ps3 { text-decoration: none; }
+a.ps3:link { color: #000; }
+a.ps3:visited { color: #000; }
+a.ps3:active { color: #000; }
+a.ps3:hover { color: #000; text-decoration: underline; }
+
+/* This is the link style for events */
+a.ps { text-decoration: none; }
+a.ps:link { color: #fff; }
+a.ps:visited { color: #fff; }
+a.ps:active { color: #fff; }
+a.ps:hover { color: #fff; text-decoration: underline; }
+
+/* Body attributes */
+
+body { background-image: url(images/background.gif); }
+
+/* CSS definitions for fonts */
+
+.V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; }
+.V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none;}
+.V9W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #FFFFFF; text-decoration: none;}
+.V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; }
+.V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; }
+.V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; }
+.V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; }
+.G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; }
+.G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; }
+.G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; }
+.G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; }
+.V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; }
+/*h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; }*/
+.eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; }
+
+
+/* Length of the form drop downs */
+
+.query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; }
+.search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; }
+.login_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 80px; margin-bottom: 0; }
diff --git a/templates/grey/error.tpl b/templates/grey/error.tpl
new file mode 100644
index 0000000..061812e
--- /dev/null
+++ b/templates/grey/error.tpl
@@ -0,0 +1,43 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top" align="center">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
+ <td align="center" valign="middle" width="98%" class="sideback"><b>{L_ERROR_WINDOW}</b></td>
+ <td class="sideback" width="1%"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="10" class="G10B">
+ <tr>
+ <td align="center" valign="top" class="V12">
+ {ERROR_MSG}<br />
+ [<span class="G10"><a href="http://phpicalendar.net/documentation/index.php?title=Error_message_meanings">What does this mean?</a></span>]
+ <br />
+ <br />
+ {ERROR_CALENDAR}
+ <br />
+ <br />
+ {L_ERROR_BACK}
+ <br />
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/grey/event.tpl b/templates/grey/event.tpl
new file mode 100644
index 0000000..43c2db2
--- /dev/null
+++ b/templates/grey/event.tpl
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{EVENT_TEXT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch organizer on -->
+ <b>{L_ORGANIZER}</b>: {ORGANIZER}<br />
+ <!-- switch organizer off -->
+ <!-- switch attendee on -->
+ <b>{L_ATTENDEE}</b>: {ATTENDEE}<br />
+ <!-- switch attendee off -->
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch location on -->
+ <b>{L_LOCATION}</b>: {LOCATION}<br />
+ <!-- switch location off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
+
diff --git a/templates/grey/footer.tpl b/templates/grey/footer.tpl
new file mode 100644
index 0000000..7d2ccab
--- /dev/null
+++ b/templates/grey/footer.tpl
@@ -0,0 +1,15 @@
+<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}">
+<img src="{BASE}images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" /></a>
+</p>
+<!-- switch rss_valid off -->
+<!-- switch rss_powered on -->
+{L_THIS_SITE_IS} <a class="psf" href="{BASE}rss/index.php?cal={CAL}&amp;getdate={GETDATE}">RSS-Enabled</a><br />
+<!-- switch rss_powered off -->
+<!--Page generated in {GENERATED1} seconds.<br />
+Template generated in {GENERATED2} seconds.-->
+</center>
+</body>
+</html>
diff --git a/templates/grey/header.tpl b/templates/grey/header.tpl
new file mode 100644
index 0000000..07837a9
--- /dev/null
+++ b/templates/grey/header.tpl
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+ <title>{CALENDAR_NAME} - {DISPLAY_DATE}</title>
+ <link rel="stylesheet" type="text/css" href="{DEFAULT_PATH}templates/{TEMPLATE}/default.css" />
+ <!-- switch rss_available on -->
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_PATH}/rss/rss.php?cal={CAL}&amp;rssview={CURRENT_VIEW}">
+ <!-- switch rss_available off -->
+ {EVENT_JS}
+</head>
+<body>
+<form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;">
+ <input type="hidden" name="date" id="date" value="" />
+ <input type="hidden" name="time" id="time" value="" />
+ <input type="hidden" name="uid" id="uid" value="" />
+ <input type="hidden" name="cpath" id="cpath" value="" />
+ <input type="hidden" name="event_data" id="event_data" value="" />
+</form>
diff --git a/templates/grey/month.tpl b/templates/grey/month.tpl
new file mode 100644
index 0000000..8466d7a
--- /dev/null
+++ b/templates/grey/month.tpl
@@ -0,0 +1,88 @@
+{HEADER}
+<center>
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="615" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ {MONTH_LARGE|+0}
+ <table width="735" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <br />
+ {CALENDAR_NAV}
+ <!-- switch showbottom on -->
+ <br />
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={PREV_MONTH}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="{L_PREV}" border="0" align="right" /></a></td>
+ <td align="center" width="20%" class="title" nowrap="nowrap" valign="middle"><h1>{L_THIS_MONTHS}</h1></td>
+ <td align="left" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={NEXT_MONTH}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="{L_NEXT}" border="0" align="left" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" cellspacing="1" cellpadding="4" border="0">
+ <!-- loop showbottomevents_odd on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td>
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_odd off -->
+ <!-- loop showbottomevents_even on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap" bgcolor="#EEEEEE">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td bgcolor="#EEEEEE">
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_even off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="737" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <!-- switch showbottom off -->
+</center>
+{FOOTER}
diff --git a/templates/grey/month_large.tpl b/templates/grey/month_large.tpl
new file mode 100644
index 0000000..ff65ceb
--- /dev/null
+++ b/templates/grey/month_large.tpl
@@ -0,0 +1,45 @@
+<table width="735" border="0" cellspacing="1" cellpadding="2" class="monthback">
+ <tr>
+ <!-- loop weekday on -->
+ <td valign="top" width="105" height="12" class="dateback">
+ <center class="V9BOLD">{LOOP_WEEKDAY}</center>
+ </td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="monthoff">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="monthon">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="monthreg">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+</table>
diff --git a/templates/grey/month_medium.tpl b/templates/grey/month_medium.tpl
new file mode 100644
index 0000000..96e8e6b
--- /dev/null
+++ b/templates/grey/month_medium.tpl
@@ -0,0 +1,45 @@
+<table border="0" width="210" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="medtitle">{MONTH_TITLE}</td>
+ </tr>
+ <tr>
+ <td>
+ <table border="0" width="210" cellspacing="1" cellpadding="0" class="yearmonth">
+ <tr>
+ <!-- loop weekday on -->
+ <td class="yearweek">{LOOP_WEEKDAY}</td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="yearoff">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="yearon">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="yearreg">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/grey/month_small.tpl b/templates/grey/month_small.tpl
new file mode 100644
index 0000000..ef6aa6b
--- /dev/null
+++ b/templates/grey/month_small.tpl
@@ -0,0 +1,38 @@
+<table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{MONTH_TITLE}</b></div></td>
+ </tr>
+ <tr>
+ <td align="center">
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr align="center">
+ <!-- loop weekday on -->
+ <td width="22"><b>{LOOP_WEEKDAY}</b></td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr align="center">
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="G10G">{DAY}</span></a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td>
+ <a class="ps2" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ <img src="images/spacer.gif" width="1" height="3" alt=" " /><br />
+ </td>
+ </tr>
+</table> \ No newline at end of file
diff --git a/templates/grey/preferences.tpl b/templates/grey/preferences.tpl
new file mode 100644
index 0000000..9b395f8
--- /dev/null
+++ b/templates/grey/preferences.tpl
@@ -0,0 +1,102 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_PREFERENCES}</h1><span class="V9G">{L_PREFS_SUBHEAD}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <!-- switch message on -->
+ <tr>
+ <td colspan="2" align="center"><font class="G10BOLD">{MESSAGE}</font></td>
+ </tr>
+ <!-- switch message off -->
+ <tr>
+ <td valign="top" align="left">
+ <form action="preferences.php?action=setcookie" method="post">
+ <table border="0" width="100%" cellspacing="2" cellpadding="2" align="center">
+ <tr align="left" valign="top">
+ <td width="80%" nowrap="nowrap">{L_SELECT_LANG}:</td>
+ <td width="10%"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td width="10%"><select name="cookie_language" class="query_style">{LANGUAGE_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_CAL}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_calendar" class="query_style">{CALENDAR_SELECT}</select>
+ <input type="hidden" name="cpath" value="{CPATH}"/></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_VIEW}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_view" class="query_style">{VIEW_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_TIME}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_time" class="query_style">{TIME_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_DAY}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_startday" class="query_style">{STARTDAY_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_STYLE}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_style" class="query_style">{STYLE_SELECT}</select></td>
+ </tr>
+ <!-- switch cookie_already_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_UNSET_PREFS}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="checkbox" name="unset" value="true" /></td>
+ </tr>
+ <!-- switch cookie_already_set off -->
+ <!-- switch cookie_not_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">&nbsp;</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="submit" name="set" value="{L_SET_PREFS}" /></td>
+ </tr>
+ <!-- switch cookie_not_set off -->
+ </table>
+ </form>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+
+</center>
+{FOOTER}
diff --git a/templates/grey/print.tpl b/templates/grey/print.tpl
new file mode 100644
index 0000000..dfc773b
--- /dev/null
+++ b/templates/grey/print.tpl
@@ -0,0 +1,80 @@
+{HEADER}
+<center>
+<table border="0" width="650" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <div style="padding-top: 3px;">
+ <table width="90" border="0" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=day"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=week"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=month"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=year"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <table border="0" cellspacing="0" cellpadding="5" width="100%">
+ <tr>
+ <td align="left" valign="top">
+ <!-- switch some_events on -->
+ <div class="V12"><b>{DAYOFMONTH}</b></div>
+ <!-- loop events on -->
+ <div style="padding: 6px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr>
+ <!-- switch location_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_LOCATION}:</td>
+ <td valign="top" align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <!-- switch location_events off -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch description_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description_events off -->
+ </table>
+ </div>
+ <!-- loop events off -->
+ <!-- switch some_events off -->
+
+ <!-- switch no_events on -->
+ <div class="V12"><b>{L_NO_RESULTS}</b></div>
+ <!-- switch no_events off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="650" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/grey/rss_index.tpl b/templates/grey/rss_index.tpl
new file mode 100644
index 0000000..7d61389
--- /dev/null
+++ b/templates/grey/rss_index.tpl
@@ -0,0 +1,61 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="700" valign="top" align="center">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RSS_INFO}</h1><span class="V9G">{L_RSS_SUBHEAD}</span></div></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="../images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <br />
+ <br />
+ <br />
+ {RSS_LIST}
+ <br />
+ <p>{RSS_DOCINFO}</p>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="700" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER} \ No newline at end of file
diff --git a/templates/grey/search.tpl b/templates/grey/search.tpl
new file mode 100644
index 0000000..dfb83e3
--- /dev/null
+++ b/templates/grey/search.tpl
@@ -0,0 +1,115 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RESULTS}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" "></td>
+ </tr>
+ <tr>
+ <td align="left">
+ <div style="padding: 10px;">
+ <div><p class="V12">{L_QUERY}: {FORMATTED_SEARCH}</p></div>
+ <!-- switch results on -->
+ <font class="V12"><b><a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></b></font><br />
+ <div style="margin-left: 10px; margin-bottom: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="120" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr><tr>
+ <td width="120" class="G10BOLD">{L_LOCATION}:</td>
+ <td align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch recur on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="G10B">{RECUR}</td>
+ </tr>
+ <!-- switch recur off -->
+ <!-- switch description on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description off -->
+ </table>
+ </div>
+ <!-- switch exceptions on -->
+ <font class="V10"><i>{L_EXCEPTION}</i>: <a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></font><br />
+ <div style="margin-left: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="V10">{L_TIME}:</td>
+ <td align="left" class="V10">{EVENT_START}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="V10">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="V10">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch except_recur on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_RECUR}</td>
+ </tr>
+ <!-- switch except_recur off -->
+ <!-- switch except_description on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_DESCRIPTION}</td>
+ </tr>
+ <!-- switch except_description off -->
+ </table>
+ </div>
+ <!-- switch exceptions off -->
+ <br />
+ <!-- switch results off -->
+
+ <!-- switch no_results on -->
+ <div align="center">
+ <p class="V12">{L_NO_RESULTS}</p>
+ </div>
+ <!-- switch no_results off -->
+
+ <div align="center">
+ {SEARCH_BOX}
+ </div>
+ <br />
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER}
+
diff --git a/templates/grey/search_box.tpl b/templates/grey/search_box.tpl
new file mode 100644
index 0000000..9c442d3
--- /dev/null
+++ b/templates/grey/search_box.tpl
@@ -0,0 +1,9 @@
+<hr />
+<div class = 'G10BOLD'>{L_SEARCH}:</div>
+<form action="search.php" method="GET">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{CAL}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="text" size="15" name="query" value=""/>
+ <input type="image" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
+</form> \ No newline at end of file
diff --git a/templates/grey/seminar.tpl b/templates/grey/seminar.tpl
new file mode 100644
index 0000000..defaa57
--- /dev/null
+++ b/templates/grey/seminar.tpl
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{EVENT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch organizer on --
+ <b>{L_ORGANIZER}</b>: {ORGANIZER}<br />
+ -- switch organizer off -->
+ <!-- switch attendee on -->
+ <b>Host:</b>: {ATTENDEE}<br />
+ <!-- switch attendee off -->
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch location on -->
+ <b>{L_LOCATION}</b>: {LOCATION}<br />
+ <!-- switch location off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
+
diff --git a/templates/grey/sidebar.tpl b/templates/grey/sidebar.tpl
new file mode 100644
index 0000000..ba6ccd8
--- /dev/null
+++ b/templates/grey/sidebar.tpl
@@ -0,0 +1,225 @@
+<!-- switch show_user_login on -->
+<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php?{LOGIN_QUERYS}" method="post">
+<input type="hidden" name="action" value="login" />
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td colspan="2" align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_LOGIN}</div></td>
+ </tr>
+ <!-- switch invalid_login on -->
+ <tr>
+ <td colspan="2" bgcolor="#FFFFFF" align="left">
+ <div style="padding-left: 5px; padding-top: 5px; padding-right: 5px;">
+ <font color="red">{L_INVALID_LOGIN}</font>
+ </div>
+ </td>
+ </tr>
+ <!-- switch invalid_login off -->
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-top: 5px;">{L_USERNAME}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-top: 5px;"><input type="text" name="username" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-bottom: 5px;">{L_PASSWORD}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-bottom: 5px;"><input type="password" name="password" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="center" valign="middle" colspan="2"><div style=padding-left: 5px; padding-bottom: 5px;"><input type="submit" value="{L_LOGIN}" /></div></td>
+ </tr>
+</table>
+</form>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+<!-- switch show_user_login off -->
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{L_PREV}" width="16" height="20" border="0" align="left" /></a></td>
+ <td align="center" width="112" class="sideback"><font class="G10BOLD">{SIDEBAR_DATE}</font></td>
+ <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{L_NEXT}" width="16" height="20" border="0" align="right" /></a></td>
+ </tr>
+ <tr>
+ <td colspan="3" bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{CURRENT_VIEW}.php?{LOGOUT_QUERYS}">{L_LOGOUT} {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_JUMP}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get">
+ <input type="hidden" name="cal" value="{URL_CAL}">
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day">
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TOMORROWS}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <!-- switch t_allday on -->
+ {T_ALLDAY}<br />
+ <!-- switch t_allday off -->
+ <!-- switch t_event on -->
+ &bull; {T_EVENT}<br />
+ <!-- switch t_event off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events off -->
+
+<!-- switch vtodo on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" width="98%" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TODO}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <!-- switch show_completed on -->
+ <tr>
+ <td><img src="images/completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><s><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></s></td>
+ </tr>
+ <!-- switch show_completed off -->
+ <!-- switch show_important on -->
+ <tr>
+ <td><img src="images/important.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_important off -->
+ <!-- switch show_normal on -->
+ <tr>
+ <td><img src="images/not_completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_normal off -->
+ </table>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+
+<!-- switch vtodo off -->
+
+{MONTH_SMALL|-1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+0}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
diff --git a/templates/grey/todo.tpl b/templates/grey/todo.tpl
new file mode 100644
index 0000000..2aa5d11
--- /dev/null
+++ b/templates/grey/todo.tpl
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{VTODO_TEXT}</p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch priority on -->
+ <b>{L_PRIORITY}</b>: {PRIORITY}<br />
+ <!-- switch priority off -->
+ <!-- switch start_date on -->
+ <b>{L_CREATED}</b>: {START_DATE}<br />
+ <!-- switch start_date off -->
+ <!-- switch due_date on -->
+ <b>{L_DUE}</b>: {DUE_DATE}<br />
+ <!-- switch due_date off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
diff --git a/templates/grey/week.tpl b/templates/grey/week.tpl
new file mode 100644
index 0000000..d3f7a70
--- /dev/null
+++ b/templates/grey/week.tpl
@@ -0,0 +1,117 @@
+{HEADER}
+<center>
+ <table border="0" width="770" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="610" valign="top">
+ <table width="610" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="490" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="center" valign="top">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" valign="top" width="15" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_WEEK}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_WEEK}">&laquo;</a></div>
+ </td>
+ <td align="left" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_DAY}">&lsaquo;</a></div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_DAY}">&rsaquo;</a>&nbsp;</div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_WEEK}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_WEEK}">&raquo;</a>&nbsp;</div>
+ </td>
+ <td width="1"></td>
+ <!-- loop daysofweek on -->
+ <td width="80" {COLSPAN} align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a>
+ </td>
+ <!-- loop daysofweek off -->
+ </tr>
+ <tr valign="top" id="allday">
+ <td width="60" class="rowOff2" colspan="4"><img src="images/spacer.gif" width="60" height="1" alt=" " /></td>
+ <td width="1"></td>
+ <!-- loop alldaysofweek on -->
+ <td width="80" {COLSPAN} class="rowOff">
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ <img src="images/spacer.gif" width="80" height="1" alt=" " />
+ </div>
+ <!-- loop allday off -->
+ </td>
+ <!-- loop alldaysofweek off -->
+ </tr>
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b></div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10">
+ <img src="images/spacer.gif" width="10" height="1" alt=" " />
+ </td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}
diff --git a/templates/grey/year.tpl b/templates/grey/year.tpl
new file mode 100644
index 0000000..eb89065
--- /dev/null
+++ b/templates/grey/year.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+ <table width="676" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" width="120" class="navback">
+ &nbsp;
+ </td>
+ <td class="navback">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={PREV_YEAR}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="[Previous Year]" border="0" align="right" /></a>
+ </td>
+ <td align="center" width="10%" class="title" nowrap="nowrap" valign="middle">
+ <h1>{THIS_YEAR}</h1>
+ </td>
+ <td align="left" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={NEXT_YEAR}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="[Next Year]" border="0" align="left" /></a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td align="right" width="120" class="navback">
+ <table width="120" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <br />
+ <table border="0" width="670" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|01}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|02}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|03}
+ </td>
+ <td width="20" rowspan='8'>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td rowspan='8' valign='top'>{SIDEBAR}</td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|04}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|05}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|06}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|07}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|08}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|09}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|10}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|11}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|12}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}
diff --git a/templates/red/admin.tpl b/templates/red/admin.tpl
new file mode 100644
index 0000000..b83860b
--- /dev/null
+++ b/templates/red/admin.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+<table border="0" width="600" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_ADMIN_HEADER}</h1><span class="V9G">{L_ADMIN_SUBHEAD}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td align="right">
+ <!-- switch logged_in2 on -->
+ <a href="index.php?action=logout">{L_LOGOUT}</a>&nbsp;
+ <!-- switch logged_in2 off -->
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <!-- switch login_error on -->
+ <font color="red">{L_INVALID_LOGIN}</font><br /><br />
+ <!-- switch login_error off -->
+
+ <!-- switch display_login on -->
+ <form action="index.php?action=login" method="post">
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td nowrap>{L_USERNAME}: </td>
+ <td align="left"><input type="text" name="username"></td>
+ </tr>
+ <tr>
+ <td>{L_PASSWORD}: </td>
+ <td align="left"><input type="password" name="password"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align="left"><input type="submit" value="{L_LOGIN}"></td>
+ </tr>
+ <!--
+ <tr>
+ <td align="center" colspan="3">{LOGIN_ERROR}&nbsp;</td>
+ </tr>
+ -->
+ </table>
+ </form>
+ <!-- switch display_login off -->
+
+
+ <!-- switch logged_in on -->
+ <b>{L_ADDUPDATE_CAL}</b><br />
+ {L_ADDUPDATE_DESC}<br /><br />
+ <form action="index.php" method="post" enctype="multipart/form-data">
+ <input type="hidden" name="action" value="addupdate">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ <tr>
+ <td nowrap>{L_CAL_FILE} 1: </td>
+ <td><input type="file" name="calfile[1]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 2: </td>
+ <td><input type="file" name="calfile[2]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 3: </td>
+ <td><input type="file" name="calfile[3]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 4: </td>
+ <td><input type="file" name="calfile[4]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 5: </td>
+ <td><input type="file" name="calfile[5]"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="submit" value="{L_SUBMIT}"></td>
+ </tr>
+ <tr>
+ <td align="center" colspan="2">{ADDUPDATE_MSG} &nbsp;</td>
+ </tr>
+ </table>
+ </form>
+
+ <b>{L_DELETE_CAL}</b>
+ <form action="index.php" method="post">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ {DELETE_TABLE}
+ </table>
+ <input type="hidden" name="action" value="delete">
+ <p><input type="submit" value="{L_DELETE}"></p>
+ <p>{DELETE_MSG} &nbsp;</p>
+ </form>
+
+ <!-- switch logged_in off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="600" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+{FOOTER}
+
+
diff --git a/templates/red/calendar_nav.tpl b/templates/red/calendar_nav.tpl
new file mode 100644
index 0000000..111fa35
--- /dev/null
+++ b/templates/red/calendar_nav.tpl
@@ -0,0 +1,113 @@
+<table border="0" width="737" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="1%" valign="top" align="right">
+ {MONTH_SMALL|-1}
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="98%" valign="top" align="center">
+ <table border="0" width="330" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{L_JUMP}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{URL_CAL}"/>
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day"/>
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{SIDEBAR_DATE}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding-left: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{SCRIPT_NAME}?{QUERYS}">Logout {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td width="1%" valign="top" align="left">
+ {MONTH_SMALL|+1}
+ <table width="170" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/red/day.tpl b/templates/red/day.tpl
new file mode 100644
index 0000000..ae7598c
--- /dev/null
+++ b/templates/red/day.tpl
@@ -0,0 +1,104 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2">
+ <tr>
+ <td align="left" valign="top" width="20" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}">&laquo;</a></span>
+ </td>
+ <!-- loop daysofweek on -->
+ <td width="14%" align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <span class="V9BOLD"><a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a></span>
+ </td>
+ <!-- loop daysofweek off -->
+ <td align="right" valign="top" width="20" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}">&raquo;</a></span>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr id="allday">
+ <td>
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ </div>
+ <!-- loop allday off -->
+ </td>
+ </tr>
+ <tr>
+ <td align="center" valign="top" colspan="3">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b> - {EVENT_END}</div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10"><img src="images/spacer.gif" width="10" height="1" alt=" " /></td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER}
+
diff --git a/templates/red/default.css b/templates/red/default.css
new file mode 100644
index 0000000..931460b
--- /dev/null
+++ b/templates/red/default.css
@@ -0,0 +1,138 @@
+/* Style sheet for the silver calendar (default) */
+
+table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
+
+/* Background images for tables */
+.tbll {background: url(images/shadow_l.gif) no-repeat; width:8px}
+.tblbot {background: url(images/shadow_m.gif) repeat-x; width:100%}
+.tblr {background: url(images/shadow_r.gif) no-repeat; width:8px}
+
+.alldaybg_1 {background: url(images/allday_1.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_2 {background: url(images/allday_2.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_3 {background: url(images/allday_3.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_4 {background: url(images/allday_4.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_5 {background: url(images/allday_5.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_6 {background: url(images/allday_6.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_7 {background: url(images/allday_7.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+
+.rowOn { background-color: #cfc; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOn2 { background-color: #cfc; border-top: 1px solid #fff; }
+.rowOff { background-color: #E1E8F1; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOff2 { background-color: #E1E8F1; border-top: 1px solid #fff; }
+.rowToday { background-color: #cff; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+
+.padd { padding: 2px; }
+
+/* Styles for day and week events */
+.eventbg_1 { background-color: #a01010; padding: 2px;}
+.eventbg_2 { background-color: #ab6c00; padding: 2px;}
+.eventbg_3 { background-color: #df903c; padding: 2px;}
+.eventbg_4 { background-color: #ab7848; padding: 2px;}
+.eventbg_5 { background-color: #bc4700; padding: 2px;}
+.eventbg_6 { background-color: #df2c6c; padding: 2px;}
+.eventbg_7 { background-color: #ac4848; padding: 2px;}
+
+
+.eventbg2_1 { background-color: #c03030; border: 1px solid #a01010; }
+.eventbg2_2 { background-color: #cb8c00; border: 1px solid #ab6c00; }
+.eventbg2_3 { background-color: #ffb05c; border: 1px solid #df903c; }
+.eventbg2_4 { background-color: #cb9868; border: 1px solid #ab7848; }
+.eventbg2_5 { background-color: #dc6700; border: 1px solid #bc4700; }
+.eventbg2_6 { background-color: #ff4c8c; border: 1px solid #df2c6c; }
+.eventbg2_7 { background-color: #cc6868; border: 1px solid #ac4848; }
+.dayborder { background-color: #fff; border-top: 1px solid #A1A5A9; }
+.dayborder2 { background-color: #fff; border-top: 1px dashed #ccc; }
+
+.title { background-image: url(images/time_bg.gif); padding: 5px; }
+.title h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000; margin: 0px;}
+
+/* Month View */
+
+.monthback { background-color: #A1A5A9; }
+.monthreg { background-color: #fff; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthoff { background-color: #F2F2F2; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthon { background-color: #F2F9FF; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.montheventtop { background-image: url(images/side_bg.gif); border-top: 1px solid #A1A5A9; }
+.montheventline { border-right: 1px dotted #A1A5A9; }
+
+/* Year View */
+
+.medtitle { background-image: url(images/side_bg.gif); height: 20px; margin-top: 3px; font-weight: 900; }
+.yearreg { background-color: #fff; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearoff { background-color: #F2F2F2; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearon { background-color: #F2F9FF; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearmonth { background-color: #ccc; }
+.yearweek { background-color: #eee; width: 30px; font-size: 9px; font-weight: 900; text-align: center; height: 15px; }
+
+
+/* older styles */
+
+.eventborder { background-image: url(images/day_title.gif); border: 1px #006699 solid; }
+.eventbg { background-color: #6699CC; }
+
+.calborder { background-color: #fff; border: 1px #A1A5A9 solid; }
+.dateback { background-color: #eee; }
+.weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; }
+.weekborder2 { border-right: 1px solid #A1A5A9; }
+.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(images/time_bg.gif); }
+.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(images/time_bg.gif); }
+.navback { background-image: url(images/time_bg.gif); }
+.sideback { background-image: url(images/side_bg.gif); }
+
+
+/* Link colors and attributes */
+/* This is the main link style */
+a.psf { text-decoration: none; }
+a.psf:link { color: #a01010; }
+a.psf:visited { color: #a01010; }
+a.psf:active { color: #3366CC; }
+a.psf:hover { color: #000099; text-decoration: underline; }
+
+/* This is the link style for the mini-cals */
+a.ps2 { text-decoration: underline; }
+a.ps2:link { color: #a01010; }
+a.ps2:visited { color: #a01010; }
+a.ps2:active { color: #3366CC; }
+a.ps2:hover { color: #000099; }
+
+/* This is the link style for year months */
+a.ps3 { text-decoration: none; }
+a.ps3:link { color: #000; }
+a.ps3:visited { color: #000; }
+a.ps3:active { color: #000; }
+a.ps3:hover { color: #000; text-decoration: underline; }
+
+/* This is the link style for events */
+a.ps { text-decoration: none; }
+a.ps:link { color: #fff; }
+a.ps:visited { color: #fff; }
+a.ps:active { color: #fff; }
+a.ps:hover { color: #fff; text-decoration: underline; }
+
+/* Body attributes */
+
+body { background-color: #ffd0e0; }
+
+/* CSS definitions for fonts */
+
+.V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; }
+.V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none;}
+.V9W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #FFFFFF; text-decoration: none;}
+.V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; }
+.V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; }
+.V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; }
+.V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; }
+.G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; }
+.G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; }
+.G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; }
+.G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; }
+.V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; }
+/*h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; }*/
+.eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; }
+
+
+/* Length of the form drop downs */
+
+.query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; }
+.search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; }
+.login_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 80px; margin-bottom: 0; }
diff --git a/templates/red/error.tpl b/templates/red/error.tpl
new file mode 100644
index 0000000..061812e
--- /dev/null
+++ b/templates/red/error.tpl
@@ -0,0 +1,43 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top" align="center">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
+ <td align="center" valign="middle" width="98%" class="sideback"><b>{L_ERROR_WINDOW}</b></td>
+ <td class="sideback" width="1%"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="10" class="G10B">
+ <tr>
+ <td align="center" valign="top" class="V12">
+ {ERROR_MSG}<br />
+ [<span class="G10"><a href="http://phpicalendar.net/documentation/index.php?title=Error_message_meanings">What does this mean?</a></span>]
+ <br />
+ <br />
+ {ERROR_CALENDAR}
+ <br />
+ <br />
+ {L_ERROR_BACK}
+ <br />
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/red/event.tpl b/templates/red/event.tpl
new file mode 100644
index 0000000..43c2db2
--- /dev/null
+++ b/templates/red/event.tpl
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{EVENT_TEXT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch organizer on -->
+ <b>{L_ORGANIZER}</b>: {ORGANIZER}<br />
+ <!-- switch organizer off -->
+ <!-- switch attendee on -->
+ <b>{L_ATTENDEE}</b>: {ATTENDEE}<br />
+ <!-- switch attendee off -->
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch location on -->
+ <b>{L_LOCATION}</b>: {LOCATION}<br />
+ <!-- switch location off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
+
diff --git a/templates/red/footer.tpl b/templates/red/footer.tpl
new file mode 100644
index 0000000..7d2ccab
--- /dev/null
+++ b/templates/red/footer.tpl
@@ -0,0 +1,15 @@
+<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}">
+<img src="{BASE}images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" /></a>
+</p>
+<!-- switch rss_valid off -->
+<!-- switch rss_powered on -->
+{L_THIS_SITE_IS} <a class="psf" href="{BASE}rss/index.php?cal={CAL}&amp;getdate={GETDATE}">RSS-Enabled</a><br />
+<!-- switch rss_powered off -->
+<!--Page generated in {GENERATED1} seconds.<br />
+Template generated in {GENERATED2} seconds.-->
+</center>
+</body>
+</html>
diff --git a/templates/red/header.tpl b/templates/red/header.tpl
new file mode 100644
index 0000000..07837a9
--- /dev/null
+++ b/templates/red/header.tpl
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+ <title>{CALENDAR_NAME} - {DISPLAY_DATE}</title>
+ <link rel="stylesheet" type="text/css" href="{DEFAULT_PATH}templates/{TEMPLATE}/default.css" />
+ <!-- switch rss_available on -->
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_PATH}/rss/rss.php?cal={CAL}&amp;rssview={CURRENT_VIEW}">
+ <!-- switch rss_available off -->
+ {EVENT_JS}
+</head>
+<body>
+<form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;">
+ <input type="hidden" name="date" id="date" value="" />
+ <input type="hidden" name="time" id="time" value="" />
+ <input type="hidden" name="uid" id="uid" value="" />
+ <input type="hidden" name="cpath" id="cpath" value="" />
+ <input type="hidden" name="event_data" id="event_data" value="" />
+</form>
diff --git a/templates/red/month.tpl b/templates/red/month.tpl
new file mode 100644
index 0000000..8466d7a
--- /dev/null
+++ b/templates/red/month.tpl
@@ -0,0 +1,88 @@
+{HEADER}
+<center>
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="615" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ {MONTH_LARGE|+0}
+ <table width="735" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <br />
+ {CALENDAR_NAV}
+ <!-- switch showbottom on -->
+ <br />
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={PREV_MONTH}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="{L_PREV}" border="0" align="right" /></a></td>
+ <td align="center" width="20%" class="title" nowrap="nowrap" valign="middle"><h1>{L_THIS_MONTHS}</h1></td>
+ <td align="left" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={NEXT_MONTH}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="{L_NEXT}" border="0" align="left" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" cellspacing="1" cellpadding="4" border="0">
+ <!-- loop showbottomevents_odd on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td>
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_odd off -->
+ <!-- loop showbottomevents_even on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap" bgcolor="#EEEEEE">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td bgcolor="#EEEEEE">
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_even off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="737" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <!-- switch showbottom off -->
+</center>
+{FOOTER}
diff --git a/templates/red/month_large.tpl b/templates/red/month_large.tpl
new file mode 100644
index 0000000..ff65ceb
--- /dev/null
+++ b/templates/red/month_large.tpl
@@ -0,0 +1,45 @@
+<table width="735" border="0" cellspacing="1" cellpadding="2" class="monthback">
+ <tr>
+ <!-- loop weekday on -->
+ <td valign="top" width="105" height="12" class="dateback">
+ <center class="V9BOLD">{LOOP_WEEKDAY}</center>
+ </td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="monthoff">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="monthon">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="monthreg">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+</table>
diff --git a/templates/red/month_medium.tpl b/templates/red/month_medium.tpl
new file mode 100644
index 0000000..96e8e6b
--- /dev/null
+++ b/templates/red/month_medium.tpl
@@ -0,0 +1,45 @@
+<table border="0" width="210" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="medtitle">{MONTH_TITLE}</td>
+ </tr>
+ <tr>
+ <td>
+ <table border="0" width="210" cellspacing="1" cellpadding="0" class="yearmonth">
+ <tr>
+ <!-- loop weekday on -->
+ <td class="yearweek">{LOOP_WEEKDAY}</td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="yearoff">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="yearon">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="yearreg">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/red/month_small.tpl b/templates/red/month_small.tpl
new file mode 100644
index 0000000..ef6aa6b
--- /dev/null
+++ b/templates/red/month_small.tpl
@@ -0,0 +1,38 @@
+<table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{MONTH_TITLE}</b></div></td>
+ </tr>
+ <tr>
+ <td align="center">
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr align="center">
+ <!-- loop weekday on -->
+ <td width="22"><b>{LOOP_WEEKDAY}</b></td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr align="center">
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="G10G">{DAY}</span></a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td>
+ <a class="ps2" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ <img src="images/spacer.gif" width="1" height="3" alt=" " /><br />
+ </td>
+ </tr>
+</table> \ No newline at end of file
diff --git a/templates/red/preferences.tpl b/templates/red/preferences.tpl
new file mode 100644
index 0000000..9b395f8
--- /dev/null
+++ b/templates/red/preferences.tpl
@@ -0,0 +1,102 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_PREFERENCES}</h1><span class="V9G">{L_PREFS_SUBHEAD}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <!-- switch message on -->
+ <tr>
+ <td colspan="2" align="center"><font class="G10BOLD">{MESSAGE}</font></td>
+ </tr>
+ <!-- switch message off -->
+ <tr>
+ <td valign="top" align="left">
+ <form action="preferences.php?action=setcookie" method="post">
+ <table border="0" width="100%" cellspacing="2" cellpadding="2" align="center">
+ <tr align="left" valign="top">
+ <td width="80%" nowrap="nowrap">{L_SELECT_LANG}:</td>
+ <td width="10%"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td width="10%"><select name="cookie_language" class="query_style">{LANGUAGE_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_CAL}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_calendar" class="query_style">{CALENDAR_SELECT}</select>
+ <input type="hidden" name="cpath" value="{CPATH}"/></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_VIEW}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_view" class="query_style">{VIEW_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_TIME}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_time" class="query_style">{TIME_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_DAY}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_startday" class="query_style">{STARTDAY_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_STYLE}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_style" class="query_style">{STYLE_SELECT}</select></td>
+ </tr>
+ <!-- switch cookie_already_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_UNSET_PREFS}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="checkbox" name="unset" value="true" /></td>
+ </tr>
+ <!-- switch cookie_already_set off -->
+ <!-- switch cookie_not_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">&nbsp;</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="submit" name="set" value="{L_SET_PREFS}" /></td>
+ </tr>
+ <!-- switch cookie_not_set off -->
+ </table>
+ </form>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+
+</center>
+{FOOTER}
diff --git a/templates/red/print.tpl b/templates/red/print.tpl
new file mode 100644
index 0000000..dfc773b
--- /dev/null
+++ b/templates/red/print.tpl
@@ -0,0 +1,80 @@
+{HEADER}
+<center>
+<table border="0" width="650" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <div style="padding-top: 3px;">
+ <table width="90" border="0" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=day"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=week"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=month"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=year"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <table border="0" cellspacing="0" cellpadding="5" width="100%">
+ <tr>
+ <td align="left" valign="top">
+ <!-- switch some_events on -->
+ <div class="V12"><b>{DAYOFMONTH}</b></div>
+ <!-- loop events on -->
+ <div style="padding: 6px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr>
+ <!-- switch location_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_LOCATION}:</td>
+ <td valign="top" align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <!-- switch location_events off -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch description_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description_events off -->
+ </table>
+ </div>
+ <!-- loop events off -->
+ <!-- switch some_events off -->
+
+ <!-- switch no_events on -->
+ <div class="V12"><b>{L_NO_RESULTS}</b></div>
+ <!-- switch no_events off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="650" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/red/rss_index.tpl b/templates/red/rss_index.tpl
new file mode 100644
index 0000000..7d61389
--- /dev/null
+++ b/templates/red/rss_index.tpl
@@ -0,0 +1,61 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="700" valign="top" align="center">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RSS_INFO}</h1><span class="V9G">{L_RSS_SUBHEAD}</span></div></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="../images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <br />
+ <br />
+ <br />
+ {RSS_LIST}
+ <br />
+ <p>{RSS_DOCINFO}</p>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="700" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER} \ No newline at end of file
diff --git a/templates/red/search.tpl b/templates/red/search.tpl
new file mode 100644
index 0000000..dfb83e3
--- /dev/null
+++ b/templates/red/search.tpl
@@ -0,0 +1,115 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RESULTS}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" "></td>
+ </tr>
+ <tr>
+ <td align="left">
+ <div style="padding: 10px;">
+ <div><p class="V12">{L_QUERY}: {FORMATTED_SEARCH}</p></div>
+ <!-- switch results on -->
+ <font class="V12"><b><a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></b></font><br />
+ <div style="margin-left: 10px; margin-bottom: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="120" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr><tr>
+ <td width="120" class="G10BOLD">{L_LOCATION}:</td>
+ <td align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch recur on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="G10B">{RECUR}</td>
+ </tr>
+ <!-- switch recur off -->
+ <!-- switch description on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description off -->
+ </table>
+ </div>
+ <!-- switch exceptions on -->
+ <font class="V10"><i>{L_EXCEPTION}</i>: <a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></font><br />
+ <div style="margin-left: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="V10">{L_TIME}:</td>
+ <td align="left" class="V10">{EVENT_START}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="V10">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="V10">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch except_recur on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_RECUR}</td>
+ </tr>
+ <!-- switch except_recur off -->
+ <!-- switch except_description on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_DESCRIPTION}</td>
+ </tr>
+ <!-- switch except_description off -->
+ </table>
+ </div>
+ <!-- switch exceptions off -->
+ <br />
+ <!-- switch results off -->
+
+ <!-- switch no_results on -->
+ <div align="center">
+ <p class="V12">{L_NO_RESULTS}</p>
+ </div>
+ <!-- switch no_results off -->
+
+ <div align="center">
+ {SEARCH_BOX}
+ </div>
+ <br />
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER}
+
diff --git a/templates/red/search_box.tpl b/templates/red/search_box.tpl
new file mode 100644
index 0000000..9c442d3
--- /dev/null
+++ b/templates/red/search_box.tpl
@@ -0,0 +1,9 @@
+<hr />
+<div class = 'G10BOLD'>{L_SEARCH}:</div>
+<form action="search.php" method="GET">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{CAL}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="text" size="15" name="query" value=""/>
+ <input type="image" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
+</form> \ No newline at end of file
diff --git a/templates/red/sidebar.tpl b/templates/red/sidebar.tpl
new file mode 100644
index 0000000..ba6ccd8
--- /dev/null
+++ b/templates/red/sidebar.tpl
@@ -0,0 +1,225 @@
+<!-- switch show_user_login on -->
+<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php?{LOGIN_QUERYS}" method="post">
+<input type="hidden" name="action" value="login" />
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td colspan="2" align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_LOGIN}</div></td>
+ </tr>
+ <!-- switch invalid_login on -->
+ <tr>
+ <td colspan="2" bgcolor="#FFFFFF" align="left">
+ <div style="padding-left: 5px; padding-top: 5px; padding-right: 5px;">
+ <font color="red">{L_INVALID_LOGIN}</font>
+ </div>
+ </td>
+ </tr>
+ <!-- switch invalid_login off -->
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-top: 5px;">{L_USERNAME}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-top: 5px;"><input type="text" name="username" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-bottom: 5px;">{L_PASSWORD}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-bottom: 5px;"><input type="password" name="password" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="center" valign="middle" colspan="2"><div style=padding-left: 5px; padding-bottom: 5px;"><input type="submit" value="{L_LOGIN}" /></div></td>
+ </tr>
+</table>
+</form>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+<!-- switch show_user_login off -->
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{L_PREV}" width="16" height="20" border="0" align="left" /></a></td>
+ <td align="center" width="112" class="sideback"><font class="G10BOLD">{SIDEBAR_DATE}</font></td>
+ <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{L_NEXT}" width="16" height="20" border="0" align="right" /></a></td>
+ </tr>
+ <tr>
+ <td colspan="3" bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{CURRENT_VIEW}.php?{LOGOUT_QUERYS}">{L_LOGOUT} {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_JUMP}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get">
+ <input type="hidden" name="cal" value="{URL_CAL}">
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day">
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TOMORROWS}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <!-- switch t_allday on -->
+ {T_ALLDAY}<br />
+ <!-- switch t_allday off -->
+ <!-- switch t_event on -->
+ &bull; {T_EVENT}<br />
+ <!-- switch t_event off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events off -->
+
+<!-- switch vtodo on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" width="98%" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TODO}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <!-- switch show_completed on -->
+ <tr>
+ <td><img src="images/completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><s><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></s></td>
+ </tr>
+ <!-- switch show_completed off -->
+ <!-- switch show_important on -->
+ <tr>
+ <td><img src="images/important.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_important off -->
+ <!-- switch show_normal on -->
+ <tr>
+ <td><img src="images/not_completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_normal off -->
+ </table>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+
+<!-- switch vtodo off -->
+
+{MONTH_SMALL|-1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+0}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
diff --git a/templates/red/sidebar_year.tpl b/templates/red/sidebar_year.tpl
new file mode 100644
index 0000000..a34da93
--- /dev/null
+++ b/templates/red/sidebar_year.tpl
@@ -0,0 +1,196 @@
+<!-- switch show_user_login on -->
+<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php?{LOGIN_QUERYS}" method="post">
+<input type="hidden" name="action" value="login" />
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td colspan="2" align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_LOGIN}</div></td>
+ </tr>
+ <!-- switch invalid_login on -->
+ <tr>
+ <td colspan="2" bgcolor="#FFFFFF" align="left">
+ <div style="padding-left: 5px; padding-top: 5px; padding-right: 5px;">
+ <font color="red">{L_INVALID_LOGIN}</font>
+ </div>
+ </td>
+ </tr>
+ <!-- switch invalid_login off -->
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-top: 5px;">{L_USERNAME}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-top: 5px;"><input type="text" name="username" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-bottom: 5px;">{L_PASSWORD}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-bottom: 5px;"><input type="password" name="password" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="center" valign="middle" colspan="2"><div style=padding-left: 5px; padding-bottom: 5px;"><input type="submit" value="{L_LOGIN}" /></div></td>
+ </tr>
+</table>
+</form>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+<!-- switch show_user_login off -->
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{L_PREV}" width="16" height="20" border="0" align="left" /></a></td>
+ <td align="center" width="112" class="sideback"><font class="G10BOLD">{SIDEBAR_DATE}</font></td>
+ <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{L_NEXT}" width="16" height="20" border="0" align="right" /></a></td>
+ </tr>
+ <tr>
+ <td colspan="3" bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{CURRENT_VIEW}.php?{LOGOUT_QUERYS}">{L_LOGOUT} {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_JUMP}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get">
+ <input type="hidden" name="cal" value="{URL_CAL}">
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day">
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TOMORROWS}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <!-- switch t_allday on -->
+ {T_ALLDAY}<br />
+ <!-- switch t_allday off -->
+ <!-- switch t_event on -->
+ &bull; {T_EVENT}<br />
+ <!-- switch t_event off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events off -->
+
+<!-- switch vtodo on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" width="98%" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TODO}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <!-- switch show_completed on -->
+ <tr>
+ <td><img src="images/completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><s><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></s></td>
+ </tr>
+ <!-- switch show_completed off -->
+ <!-- switch show_important on -->
+ <tr>
+ <td><img src="images/important.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_important off -->
+ <!-- switch show_normal on -->
+ <tr>
+ <td><img src="images/not_completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_normal off -->
+ </table>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+
+<!-- switch vtodo off -->
diff --git a/templates/red/todo.tpl b/templates/red/todo.tpl
new file mode 100644
index 0000000..2aa5d11
--- /dev/null
+++ b/templates/red/todo.tpl
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{VTODO_TEXT}</p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch priority on -->
+ <b>{L_PRIORITY}</b>: {PRIORITY}<br />
+ <!-- switch priority off -->
+ <!-- switch start_date on -->
+ <b>{L_CREATED}</b>: {START_DATE}<br />
+ <!-- switch start_date off -->
+ <!-- switch due_date on -->
+ <b>{L_DUE}</b>: {DUE_DATE}<br />
+ <!-- switch due_date off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
diff --git a/templates/red/week.tpl b/templates/red/week.tpl
new file mode 100644
index 0000000..d3f7a70
--- /dev/null
+++ b/templates/red/week.tpl
@@ -0,0 +1,117 @@
+{HEADER}
+<center>
+ <table border="0" width="770" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="610" valign="top">
+ <table width="610" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="490" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="center" valign="top">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" valign="top" width="15" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_WEEK}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_WEEK}">&laquo;</a></div>
+ </td>
+ <td align="left" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_DAY}">&lsaquo;</a></div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_DAY}">&rsaquo;</a>&nbsp;</div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_WEEK}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_WEEK}">&raquo;</a>&nbsp;</div>
+ </td>
+ <td width="1"></td>
+ <!-- loop daysofweek on -->
+ <td width="80" {COLSPAN} align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a>
+ </td>
+ <!-- loop daysofweek off -->
+ </tr>
+ <tr valign="top" id="allday">
+ <td width="60" class="rowOff2" colspan="4"><img src="images/spacer.gif" width="60" height="1" alt=" " /></td>
+ <td width="1"></td>
+ <!-- loop alldaysofweek on -->
+ <td width="80" {COLSPAN} class="rowOff">
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ <img src="images/spacer.gif" width="80" height="1" alt=" " />
+ </div>
+ <!-- loop allday off -->
+ </td>
+ <!-- loop alldaysofweek off -->
+ </tr>
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b></div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10">
+ <img src="images/spacer.gif" width="10" height="1" alt=" " />
+ </td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}
diff --git a/templates/red/year.tpl b/templates/red/year.tpl
new file mode 100644
index 0000000..eb89065
--- /dev/null
+++ b/templates/red/year.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+ <table width="676" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" width="120" class="navback">
+ &nbsp;
+ </td>
+ <td class="navback">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={PREV_YEAR}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="[Previous Year]" border="0" align="right" /></a>
+ </td>
+ <td align="center" width="10%" class="title" nowrap="nowrap" valign="middle">
+ <h1>{THIS_YEAR}</h1>
+ </td>
+ <td align="left" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={NEXT_YEAR}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="[Next Year]" border="0" align="left" /></a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td align="right" width="120" class="navback">
+ <table width="120" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <br />
+ <table border="0" width="670" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|01}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|02}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|03}
+ </td>
+ <td width="20" rowspan='8'>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td rowspan='8' valign='top'>{SIDEBAR}</td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|04}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|05}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|06}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|07}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|08}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|09}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|10}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|11}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|12}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}
diff --git a/templates/tan/admin.tpl b/templates/tan/admin.tpl
new file mode 100644
index 0000000..b83860b
--- /dev/null
+++ b/templates/tan/admin.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+<table border="0" width="600" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_ADMIN_HEADER}</h1><span class="V9G">{L_ADMIN_SUBHEAD}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td align="right">
+ <!-- switch logged_in2 on -->
+ <a href="index.php?action=logout">{L_LOGOUT}</a>&nbsp;
+ <!-- switch logged_in2 off -->
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <!-- switch login_error on -->
+ <font color="red">{L_INVALID_LOGIN}</font><br /><br />
+ <!-- switch login_error off -->
+
+ <!-- switch display_login on -->
+ <form action="index.php?action=login" method="post">
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td nowrap>{L_USERNAME}: </td>
+ <td align="left"><input type="text" name="username"></td>
+ </tr>
+ <tr>
+ <td>{L_PASSWORD}: </td>
+ <td align="left"><input type="password" name="password"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td align="left"><input type="submit" value="{L_LOGIN}"></td>
+ </tr>
+ <!--
+ <tr>
+ <td align="center" colspan="3">{LOGIN_ERROR}&nbsp;</td>
+ </tr>
+ -->
+ </table>
+ </form>
+ <!-- switch display_login off -->
+
+
+ <!-- switch logged_in on -->
+ <b>{L_ADDUPDATE_CAL}</b><br />
+ {L_ADDUPDATE_DESC}<br /><br />
+ <form action="index.php" method="post" enctype="multipart/form-data">
+ <input type="hidden" name="action" value="addupdate">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ <tr>
+ <td nowrap>{L_CAL_FILE} 1: </td>
+ <td><input type="file" name="calfile[1]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 2: </td>
+ <td><input type="file" name="calfile[2]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 3: </td>
+ <td><input type="file" name="calfile[3]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 4: </td>
+ <td><input type="file" name="calfile[4]"></td>
+ </tr>
+ <tr>
+ <td nowrap>{L_CAL_FILE} 5: </td>
+ <td><input type="file" name="calfile[5]"></td>
+ </tr>
+ <tr>
+ <td>&nbsp;</td>
+ <td><input type="submit" value="{L_SUBMIT}"></td>
+ </tr>
+ <tr>
+ <td align="center" colspan="2">{ADDUPDATE_MSG} &nbsp;</td>
+ </tr>
+ </table>
+ </form>
+
+ <b>{L_DELETE_CAL}</b>
+ <form action="index.php" method="post">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2" class="G10B">
+ {DELETE_TABLE}
+ </table>
+ <input type="hidden" name="action" value="delete">
+ <p><input type="submit" value="{L_DELETE}"></p>
+ <p>{DELETE_MSG} &nbsp;</p>
+ </form>
+
+ <!-- switch logged_in off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="600" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+{FOOTER}
+
+
diff --git a/templates/tan/calendar_nav.tpl b/templates/tan/calendar_nav.tpl
new file mode 100644
index 0000000..111fa35
--- /dev/null
+++ b/templates/tan/calendar_nav.tpl
@@ -0,0 +1,113 @@
+<table border="0" width="737" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="1%" valign="top" align="right">
+ {MONTH_SMALL|-1}
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="98%" valign="top" align="center">
+ <table border="0" width="330" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{L_JUMP}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{URL_CAL}"/>
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day"/>
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="160" valign="top">
+ <table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{SIDEBAR_DATE}</b></div></td>
+ </tr>
+ <tr>
+ <td>
+ <div style="padding-left: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{SCRIPT_NAME}?{QUERYS}">Logout {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td width="1%" valign="top" align="left">
+ {MONTH_SMALL|+1}
+ <table width="170" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/tan/day.tpl b/templates/tan/day.tpl
new file mode 100644
index 0000000..ae7598c
--- /dev/null
+++ b/templates/tan/day.tpl
@@ -0,0 +1,104 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <table width="100%" border="0" cellspacing="0" cellpadding="2">
+ <tr>
+ <td align="left" valign="top" width="20" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}">&laquo;</a></span>
+ </td>
+ <!-- loop daysofweek on -->
+ <td width="14%" align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <span class="V9BOLD"><a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a></span>
+ </td>
+ <!-- loop daysofweek off -->
+ <td align="right" valign="top" width="20" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='day.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <span class="V12"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}">&raquo;</a></span>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr id="allday">
+ <td>
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ </div>
+ <!-- loop allday off -->
+ </td>
+ </tr>
+ <tr>
+ <td align="center" valign="top" colspan="3">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b> - {EVENT_END}</div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10"><img src="images/spacer.gif" width="10" height="1" alt=" " /></td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER}
+
diff --git a/templates/tan/default.css b/templates/tan/default.css
new file mode 100644
index 0000000..54300b6
--- /dev/null
+++ b/templates/tan/default.css
@@ -0,0 +1,158 @@
+/* Style sheet for the grey calendar */
+
+table, td {font: 11px Verdana, Arial, sans-serif; color: #000;}
+
+/* Background images for tables */
+.tbll {background: url(images/shadow_l.gif) no-repeat; width:8px}
+.tblbot {background: url(images/shadow_m.gif) repeat-x; width:100%}
+.tblr {background: url(images/shadow_r.gif) no-repeat; width:8px}
+
+.alldaybg_1 {background: url(images/allday_1.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_2 {background: url(images/allday_2.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_3 {background: url(images/allday_3.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_4 {background: url(images/allday_4.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_5 {background: url(images/allday_5.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_6 {background: url(images/allday_6.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.alldaybg_7 {background: url(images/allday_7.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+
+.rowOn { background-color: #cfc; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOn2 { background-color: #cfc; border-top: 1px solid #fff; }
+.rowOff { background-color: #E1E8F1; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+.rowOff2 { background-color: #E1E8F1; border-top: 1px solid #fff; }
+.rowToday { background-color: #cff; border-top: 1px solid #fff; border-left: 1px solid #fff; }
+
+.padd { padding: 2px; }
+
+/* Styles for day and week events (varies)*/
+.eventbg_1 { background-color: #A6A978; padding: 2px;}
+.eventbg_2 { background-color: #CC8B00; padding: 2px;}
+.eventbg_3 { background-color: #CC9966; padding: 2px;}
+.eventbg_4 { background-color: #999900; padding: 2px;}
+.eventbg_5 { background-color: #CC6600; padding: 2px;}
+.eventbg_6 { background-color: #CCCC99; padding: 2px;}
+.eventbg_7 { background-color: #666666; padding: 2px;}
+
+#allday a { font-size: 9px; color: #fff; font-weight: 900; text-decoration:none;}
+#allday a:hover { text-decoration:underline;}
+/*varies*/
+.eventbg2_1 { background-color: #A6A978; border: 1px solid #FFFFFF; }
+.eventbg2_2 { background-color: #CC8B00; border: 1px solid #FFFFFF; }
+.eventbg2_3 { background-color: #CC9966; border: 1px solid #FFFFFF; }
+.eventbg2_4 { background-color: #999900; border: 1px solid #FFFFFF; }
+.eventbg2_5 { background-color: #CC6600; border: 1px solid #FFFFFF; }
+.eventbg2_6 { background-color: #CCCC99; border: 1px solid #FFFFFF; }
+.eventbg2_7 { background-color: #666666; border: 1px solid #FFFFFF; }
+
+.alldaybg_8 {background: url(images/allday_8.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_8 { background-color: #008888; padding: 2px;}
+.eventbg2_8 { background-color: #00AAAA; border: 1px solid #73738C; }
+
+.alldaybg_9 {background: url(images/allday_9.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_9 { background-color: #DDDD00; padding: 2px;}
+.eventbg2_9 { background-color: #FFFF00; border: 1px solid #73738C; }
+
+.alldaybg_10 {background: url(images/allday_10.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_10 { background-color: #000068; padding: 2px;}
+.eventbg2_10 { background-color: #000089; border: 1px solid #73738C; }
+
+.alldaybg_11 {background: url(images/allday_11.gif) repeat-x; height: 19px; padding-top: 5px; text-align: center;}
+.eventbg_11 { background-color: #009A78; padding: 2px;}
+.eventbg2_11 { background-color: #00AA88; border: 1px solid #73738C; }
+
+
+.dayborder { background-color: #fff; border-top: 1px solid #A1A5A9; }
+.dayborder2 { background-color: #fff; border-top: 1px dashed #ccc; }
+
+.title { background-image: url(images/time_bg.gif); padding: 5px; }
+.title h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000; margin: 0px;}
+
+/* Month View */
+
+.monthback { background-color: #A1A5A9; }
+.monthreg { background-color: #fff; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthoff { background-color: #F2F2F2; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.monthon { background-color: #F2F9FF; height: 105px; width: 105px; text-align: left; vertical-align: top; }
+.montheventtop { background-image: url(images/side_bg.gif); border-top: 1px solid #A1A5A9; }
+.montheventline { border-right: 1px dotted #A1A5A9; }
+
+/* Year View */
+
+.medtitle { background-image: url(images/side_bg.gif); height: 20px; margin-top: 3px; font-weight: 900; }
+.yearreg { background-color: #fff; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearoff { background-color: #F2F2F2; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearon { background-color: #F2F9FF; height: 30px; width: 30px; text-align: right; vertical-align: top; font-size: 9px; }
+.yearmonth { background-color: #ccc; }
+.yearweek { background-color: #eee; width: 30px; font-size: 9px; font-weight: 900; text-align: center; height: 15px; }
+
+
+/* older styles */
+
+.eventborder { background-image: url(images/day_title.gif); border: 1px #006699 solid; }
+.eventbg { background-color: #6699CC; }
+
+.calborder { background-color: #fff; border: 1px #A1A5A9 solid; }
+.dateback { background-color: #eee; }
+.weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; }
+.weekborder2 { border-right: 1px solid #A1A5A9; }
+.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(images/time_bg.gif); }
+.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(images/time_bg.gif); }
+.navback { background-image: url(images/time_bg.gif); }
+.sideback { background-image: url(images/side_bg.gif); }
+
+
+/* Link colors and attributes */
+/* This is the main link style (varies) */
+a.psf { text-decoration: none; }
+a.psf:link { color: #666; }
+a.psf:visited { color: #888; }
+a.psf:active { color: #666; }
+a.psf:hover { color: #333; text-decoration: underline; }
+
+/* This is the link style for the mini-cals (varies)*/
+a.ps2 { text-decoration: underline; }
+a.ps2:link { color: #0066FF; }
+a.ps2:visited { color: #0066FF; }
+a.ps2:active { color: #3366CC; }
+a.ps2:hover { color: #000099; }
+
+/* This is the link style for year months */
+a.ps3 { text-decoration: none; }
+a.ps3:link { color: #000; }
+a.ps3:visited { color: #000; }
+a.ps3:active { color: #000; }
+a.ps3:hover { color: #000; text-decoration: underline; }
+
+/* This is the link style for events */
+a.ps { text-decoration: none; }
+a.ps:link { color: #fff; }
+a.ps:visited { color: #fff; }
+a.ps:active { color: #fff; }
+a.ps:hover { color: #fff; text-decoration: underline; }
+
+/* Body attributes */
+
+body { background-image: url(images/background.gif); }
+
+/* CSS definitions for fonts */
+
+.V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; }
+.V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; text-decoration: none;}
+.V9W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #FFFFFF; text-decoration: none;}
+.V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; }
+.V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; }
+.V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; }
+.V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; }
+.G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; }
+.G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; }
+.G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; }
+.G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; }
+.V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; }
+/*h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; }*/
+.eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; }
+
+
+/* Length of the form drop downs */
+
+.query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; }
+.search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; }
+.login_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 80px; margin-bottom: 0; }
diff --git a/templates/tan/error.tpl b/templates/tan/error.tpl
new file mode 100644
index 0000000..061812e
--- /dev/null
+++ b/templates/tan/error.tpl
@@ -0,0 +1,43 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="520" valign="top" align="center">
+ <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
+ <td align="center" valign="middle" width="98%" class="sideback"><b>{L_ERROR_WINDOW}</b></td>
+ <td class="sideback" width="1%"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="10" class="G10B">
+ <tr>
+ <td align="center" valign="top" class="V12">
+ {ERROR_MSG}<br />
+ [<span class="G10"><a href="http://phpicalendar.net/documentation/index.php?title=Error_message_meanings">What does this mean?</a></span>]
+ <br />
+ <br />
+ {ERROR_CALENDAR}
+ <br />
+ <br />
+ {L_ERROR_BACK}
+ <br />
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/tan/event.tpl b/templates/tan/event.tpl
new file mode 100644
index 0000000..43c2db2
--- /dev/null
+++ b/templates/tan/event.tpl
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{EVENT_TEXT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch organizer on -->
+ <b>{L_ORGANIZER}</b>: {ORGANIZER}<br />
+ <!-- switch organizer off -->
+ <!-- switch attendee on -->
+ <b>{L_ATTENDEE}</b>: {ATTENDEE}<br />
+ <!-- switch attendee off -->
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch location on -->
+ <b>{L_LOCATION}</b>: {LOCATION}<br />
+ <!-- switch location off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
+
diff --git a/templates/tan/footer.tpl b/templates/tan/footer.tpl
new file mode 100644
index 0000000..7d2ccab
--- /dev/null
+++ b/templates/tan/footer.tpl
@@ -0,0 +1,15 @@
+<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}">
+<img src="{BASE}images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" /></a>
+</p>
+<!-- switch rss_valid off -->
+<!-- switch rss_powered on -->
+{L_THIS_SITE_IS} <a class="psf" href="{BASE}rss/index.php?cal={CAL}&amp;getdate={GETDATE}">RSS-Enabled</a><br />
+<!-- switch rss_powered off -->
+<!--Page generated in {GENERATED1} seconds.<br />
+Template generated in {GENERATED2} seconds.-->
+</center>
+</body>
+</html>
diff --git a/templates/tan/header.tpl b/templates/tan/header.tpl
new file mode 100644
index 0000000..07837a9
--- /dev/null
+++ b/templates/tan/header.tpl
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
+ <title>{CALENDAR_NAME} - {DISPLAY_DATE}</title>
+ <link rel="stylesheet" type="text/css" href="{DEFAULT_PATH}templates/{TEMPLATE}/default.css" />
+ <!-- switch rss_available on -->
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_PATH}/rss/rss.php?cal={CAL}&amp;rssview={CURRENT_VIEW}">
+ <!-- switch rss_available off -->
+ {EVENT_JS}
+</head>
+<body>
+<form name="eventPopupForm" id="eventPopupForm" method="post" action="includes/event.php" style="display: none;">
+ <input type="hidden" name="date" id="date" value="" />
+ <input type="hidden" name="time" id="time" value="" />
+ <input type="hidden" name="uid" id="uid" value="" />
+ <input type="hidden" name="cpath" id="cpath" value="" />
+ <input type="hidden" name="event_data" id="event_data" value="" />
+</form>
diff --git a/templates/tan/month.tpl b/templates/tan/month.tpl
new file mode 100644
index 0000000..8466d7a
--- /dev/null
+++ b/templates/tan/month.tpl
@@ -0,0 +1,88 @@
+{HEADER}
+<center>
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="615" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ {MONTH_LARGE|+0}
+ <table width="735" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <br />
+ {CALENDAR_NAV}
+ <!-- switch showbottom on -->
+ <br />
+ <table width="735" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={PREV_MONTH}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="{L_PREV}" border="0" align="right" /></a></td>
+ <td align="center" width="20%" class="title" nowrap="nowrap" valign="middle"><h1>{L_THIS_MONTHS}</h1></td>
+ <td align="left" width="40%" class="navback"><a class="psf" href="month.php?cal={CAL}&amp;getdate={NEXT_MONTH}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="{L_NEXT}" border="0" align="left" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" cellspacing="1" cellpadding="4" border="0">
+ <!-- loop showbottomevents_odd on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td>
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_odd off -->
+ <!-- loop showbottomevents_even on -->
+ <tr align="left" valign="top">
+ <td width="170" nowrap="nowrap" bgcolor="#EEEEEE">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{START_DATE}</a><br />
+ <span class="V9G">{START_TIME}</span>
+ </td>
+ <td bgcolor="#EEEEEE">
+ {EVENT_TEXT}<br /><span class="V9G">{CALNAME}</span>
+ </td>
+ </tr>
+ <!-- loop showbottomevents_even off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="737" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ <!-- switch showbottom off -->
+</center>
+{FOOTER}
diff --git a/templates/tan/month_large.tpl b/templates/tan/month_large.tpl
new file mode 100644
index 0000000..ff65ceb
--- /dev/null
+++ b/templates/tan/month_large.tpl
@@ -0,0 +1,45 @@
+<table width="735" border="0" cellspacing="1" cellpadding="2" class="monthback">
+ <tr>
+ <!-- loop weekday on -->
+ <td valign="top" width="105" height="12" class="dateback">
+ <center class="V9BOLD">{LOOP_WEEKDAY}</center>
+ </td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="monthoff">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="monthon">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="monthreg">
+ <div align="right">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </div>
+ {ALLDAY}
+ {EVENT}
+ {LOCATION}
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+</table>
diff --git a/templates/tan/month_medium.tpl b/templates/tan/month_medium.tpl
new file mode 100644
index 0000000..96e8e6b
--- /dev/null
+++ b/templates/tan/month_medium.tpl
@@ -0,0 +1,45 @@
+<table border="0" width="210" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="medtitle">{MONTH_TITLE}</td>
+ </tr>
+ <tr>
+ <td>
+ <table border="0" width="210" cellspacing="1" cellpadding="0" class="yearmonth">
+ <tr>
+ <!-- loop weekday on -->
+ <td class="yearweek">{LOOP_WEEKDAY}</td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr>
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td class="yearoff">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td class="yearon">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td class="yearreg">
+ <a class="psf" href="day.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ <div align="center">
+ {ALLDAY}
+ {EVENT}
+ </div>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ </td>
+ </tr>
+</table>
diff --git a/templates/tan/month_small.tpl b/templates/tan/month_small.tpl
new file mode 100644
index 0000000..ef6aa6b
--- /dev/null
+++ b/templates/tan/month_small.tpl
@@ -0,0 +1,38 @@
+<table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height:16px;"><b>{MONTH_TITLE}</b></div></td>
+ </tr>
+ <tr>
+ <td align="center">
+ <table border="0" cellspacing="0" cellpadding="0">
+ <tr align="center">
+ <!-- loop weekday on -->
+ <td width="22"><b>{LOOP_WEEKDAY}</b></td>
+ <!-- loop weekday off -->
+ </tr>
+ <!-- loop monthweeks on -->
+ <tr align="center">
+ <!-- loop monthdays on -->
+ <!-- switch notthismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="G10G">{DAY}</span></a>
+ </td>
+ <!-- switch notthismonth off -->
+ <!-- switch istoday on -->
+ <td>
+ <a class="ps2" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch istoday off -->
+ <!-- switch ismonth on -->
+ <td>
+ <a class="psf" href="{MINICAL_VIEW}.php?cal={CAL}&amp;getdate={DAYLINK}">{DAY}</a>
+ </td>
+ <!-- switch ismonth off -->
+ <!-- loop monthdays off -->
+ </tr>
+ <!-- loop monthweeks off -->
+ </table>
+ <img src="images/spacer.gif" width="1" height="3" alt=" " /><br />
+ </td>
+ </tr>
+</table> \ No newline at end of file
diff --git a/templates/tan/preferences.tpl b/templates/tan/preferences.tpl
new file mode 100644
index 0000000..9b395f8
--- /dev/null
+++ b/templates/tan/preferences.tpl
@@ -0,0 +1,102 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_PREFERENCES}</h1><span class="V9G">{L_PREFS_SUBHEAD}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="5">
+ <!-- switch message on -->
+ <tr>
+ <td colspan="2" align="center"><font class="G10BOLD">{MESSAGE}</font></td>
+ </tr>
+ <!-- switch message off -->
+ <tr>
+ <td valign="top" align="left">
+ <form action="preferences.php?action=setcookie" method="post">
+ <table border="0" width="100%" cellspacing="2" cellpadding="2" align="center">
+ <tr align="left" valign="top">
+ <td width="80%" nowrap="nowrap">{L_SELECT_LANG}:</td>
+ <td width="10%"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td width="10%"><select name="cookie_language" class="query_style">{LANGUAGE_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_CAL}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_calendar" class="query_style">{CALENDAR_SELECT}</select>
+ <input type="hidden" name="cpath" value="{CPATH}"/></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_VIEW}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_view" class="query_style">{VIEW_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_TIME}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_time" class="query_style">{TIME_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_DAY}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_startday" class="query_style">{STARTDAY_SELECT}</select></td>
+ </tr>
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_SELECT_STYLE}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><select name="cookie_style" class="query_style">{STYLE_SELECT}</select></td>
+ </tr>
+ <!-- switch cookie_already_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">{L_UNSET_PREFS}:</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="checkbox" name="unset" value="true" /></td>
+ </tr>
+ <!-- switch cookie_already_set off -->
+ <!-- switch cookie_not_set on -->
+ <tr align="left" valign="top">
+ <td nowrap="nowrap">&nbsp;</td>
+ <td><img src="images/spacer.gif" alt=" " width="20" height="1" border="0" /></td>
+ <td><input type="submit" name="set" value="{L_SET_PREFS}" /></td>
+ </tr>
+ <!-- switch cookie_not_set off -->
+ </table>
+ </form>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+
+</center>
+{FOOTER}
diff --git a/templates/tan/print.tpl b/templates/tan/print.tpl
new file mode 100644
index 0000000..dfc773b
--- /dev/null
+++ b/templates/tan/print.tpl
@@ -0,0 +1,80 @@
+{HEADER}
+<center>
+<table border="0" width="650" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <div style="padding-top: 3px;">
+ <table width="90" border="0" cellpadding="0" cellspacing="0">
+ <tr valign="top">
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=day"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=week"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=month"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview=year"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="3" class="dayborder"><img src="images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td colspan="3">
+ <table border="0" cellspacing="0" cellpadding="5" width="100%">
+ <tr>
+ <td align="left" valign="top">
+ <!-- switch some_events on -->
+ <div class="V12"><b>{DAYOFMONTH}</b></div>
+ <!-- loop events on -->
+ <div style="padding: 6px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr>
+ <!-- switch location_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_LOCATION}:</td>
+ <td valign="top" align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <!-- switch location_events off -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch description_events on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description_events off -->
+ </table>
+ </div>
+ <!-- loop events off -->
+ <!-- switch some_events off -->
+
+ <!-- switch no_events on -->
+ <div class="V12"><b>{L_NO_RESULTS}</b></div>
+ <!-- switch no_events off -->
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="650" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+{FOOTER} \ No newline at end of file
diff --git a/templates/tan/rss_index.tpl b/templates/tan/rss_index.tpl
new file mode 100644
index 0000000..7d61389
--- /dev/null
+++ b/templates/tan/rss_index.tpl
@@ -0,0 +1,61 @@
+{HEADER}
+<center>
+<table border="0" width="700" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="700" valign="top" align="center">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RSS_INFO}</h1><span class="V9G">{L_RSS_SUBHEAD}</span></div></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="../images/spacer.gif" width="1" height="5" alt=" " /></td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td width="2%"></td>
+ <td width="98%" valign="top" align="left">
+ <br />
+ <br />
+ <br />
+ {RSS_LIST}
+ <br />
+ <p>{RSS_DOCINFO}</p>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table width="700" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="../images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER} \ No newline at end of file
diff --git a/templates/tan/search.tpl b/templates/tan/search.tpl
new file mode 100644
index 0000000..dfb83e3
--- /dev/null
+++ b/templates/tan/search.tpl
@@ -0,0 +1,115 @@
+{HEADER}
+<center>
+<table border="0" width="520" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="400" class="title"><h1>{L_RESULTS}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td class="dayborder"><img src="images/spacer.gif" width="1" height="1" alt=" "></td>
+ </tr>
+ <tr>
+ <td align="left">
+ <div style="padding: 10px;">
+ <div><p class="V12">{L_QUERY}: {FORMATTED_SEARCH}</p></div>
+ <!-- switch results on -->
+ <font class="V12"><b><a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></b></font><br />
+ <div style="margin-left: 10px; margin-bottom: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="120" class="G10BOLD">{L_TIME}:</td>
+ <td align="left" class="G10B">{EVENT_START}</td>
+ </tr><tr>
+ <td width="120" class="G10BOLD">{L_LOCATION}:</td>
+ <td align="left" class="G10B">{LOCATION}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="G10B">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch recur on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="G10B">{RECUR}</td>
+ </tr>
+ <!-- switch recur off -->
+ <!-- switch description on -->
+ <tr>
+ <td valign="top" width="100" class="G10BOLD">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="G10B">{DESCRIPTION}</td>
+ </tr>
+ <!-- switch description off -->
+ </table>
+ </div>
+ <!-- switch exceptions on -->
+ <font class="V10"><i>{L_EXCEPTION}</i>: <a class="ps3" href="day.php?cal={CAL}&amp;getdate={KEY}">{DAYOFMONTH}</a></font><br />
+ <div style="margin-left: 10px;">
+ <table width="100%" border="0" cellspacing="1" cellpadding="1">
+ <tr>
+ <td width="100" class="V10">{L_TIME}:</td>
+ <td align="left" class="V10">{EVENT_START}</td>
+ </tr>
+ <tr>
+ <td valign="top" width="100" class="V10">{L_SUMMARY}:</td>
+ <td valign="top" align="left" class="V10">{EVENT_TEXT}</td>
+ </tr>
+ <!-- switch except_recur on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_RECURRING_EVENT}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_RECUR}</td>
+ </tr>
+ <!-- switch except_recur off -->
+ <!-- switch except_description on -->
+ <tr>
+ <td valign="top" width="100" class="V10">{L_DESCRIPTION}:</td>
+ <td valign="top" align="left" class="V10">{EXCEPT_DESCRIPTION}</td>
+ </tr>
+ <!-- switch except_description off -->
+ </table>
+ </div>
+ <!-- switch exceptions off -->
+ <br />
+ <!-- switch results off -->
+
+ <!-- switch no_results on -->
+ <div align="center">
+ <p class="V12">{L_NO_RESULTS}</p>
+ </div>
+ <!-- switch no_results off -->
+
+ <div align="center">
+ {SEARCH_BOX}
+ </div>
+ <br />
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="520" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+</center>
+
+{FOOTER}
+
diff --git a/templates/tan/search_box.tpl b/templates/tan/search_box.tpl
new file mode 100644
index 0000000..9c442d3
--- /dev/null
+++ b/templates/tan/search_box.tpl
@@ -0,0 +1,9 @@
+<hr />
+<div class = 'G10BOLD'>{L_SEARCH}:</div>
+<form action="search.php" method="GET">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="cal" value="{CAL}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <input type="text" size="15" name="query" value=""/>
+ <input type="image" src="templates/{TEMPLATE}/images/search.gif" name="submit" value="Search"/>
+</form> \ No newline at end of file
diff --git a/templates/tan/seminar.tpl b/templates/tan/seminar.tpl
new file mode 100644
index 0000000..defaa57
--- /dev/null
+++ b/templates/tan/seminar.tpl
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{EVENT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch organizer on --
+ <b>{L_ORGANIZER}</b>: {ORGANIZER}<br />
+ -- switch organizer off -->
+ <!-- switch attendee on -->
+ <b>Host:</b>: {ATTENDEE}<br />
+ <!-- switch attendee off -->
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch location on -->
+ <b>{L_LOCATION}</b>: {LOCATION}<br />
+ <!-- switch location off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
+
diff --git a/templates/tan/sidebar.tpl b/templates/tan/sidebar.tpl
new file mode 100644
index 0000000..ba6ccd8
--- /dev/null
+++ b/templates/tan/sidebar.tpl
@@ -0,0 +1,225 @@
+<!-- switch show_user_login on -->
+<form style="margin-bottom:0;" action="{CURRENT_VIEW}.php?{LOGIN_QUERYS}" method="post">
+<input type="hidden" name="action" value="login" />
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td colspan="2" align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_LOGIN}</div></td>
+ </tr>
+ <!-- switch invalid_login on -->
+ <tr>
+ <td colspan="2" bgcolor="#FFFFFF" align="left">
+ <div style="padding-left: 5px; padding-top: 5px; padding-right: 5px;">
+ <font color="red">{L_INVALID_LOGIN}</font>
+ </div>
+ </td>
+ </tr>
+ <!-- switch invalid_login off -->
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-top: 5px;">{L_USERNAME}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-top: 5px;"><input type="text" name="username" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left" valign="middle"><div style="padding-left: 5px; padding-bottom: 5px;">{L_PASSWORD}:</div></td>
+ <td bgcolor="#FFFFFF" align="right" valign="middle"><div style="padding-right: 5px; padding-bottom: 5px;"><input type="password" name="password" size="10" /></div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="center" valign="middle" colspan="2"><div style=padding-left: 5px; padding-bottom: 5px;"><input type="submit" value="{L_LOGIN}" /></div></td>
+ </tr>
+</table>
+</form>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+<!-- switch show_user_login off -->
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={PREV_DAY}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{L_PREV}" width="16" height="20" border="0" align="left" /></a></td>
+ <td align="center" width="112" class="sideback"><font class="G10BOLD">{SIDEBAR_DATE}</font></td>
+ <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&amp;getdate={NEXT_DAY}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{L_NEXT}" width="16" height="20" border="0" align="right" /></a></td>
+ </tr>
+ <tr>
+ <td colspan="3" bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <b>{L_LEGEND}:</b><br />
+ {LEGEND}
+ <a class="psf" href="print.php?cal={CAL}&amp;getdate={GETDATE}&amp;printview={CURRENT_VIEW}">{L_GOPRINT}</a><br />
+ <!-- switch allow_preferences on -->
+ <a class="psf" href="preferences.php?cal={CAL}&amp;getdate={GETDATE}">{L_PREFERENCES}</a><br />
+ <!-- switch allow_preferences off -->
+ <!-- switch display_download on -->
+ <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a>&nbsp;|&nbsp;<a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br />
+ <!-- switch display_download off -->
+ <!-- switch is_logged_in on -->
+ <a class="psf" href="{CURRENT_VIEW}.php?{LOGOUT_QUERYS}">{L_LOGOUT} {USERNAME}</a>
+ <!-- switch is_logged_in off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_JUMP}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_JUMPS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_ICALS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_YEARS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_MONTHS}</select><br />
+ <select name="action" class="query_style" onchange="window.location=(this.options[this.selectedIndex].value);">{LIST_WEEKS}</select><br />
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+
+ </form>
+ <!-- switch show_search on -->
+ {SEARCH_BOX}
+ <!-- switch show_search off -->
+ <!-- switch show_goto on -->
+ <form style="margin-bottom:0;" action="day.php" method="get">
+ <input type="hidden" name="cal" value="{URL_CAL}">
+ <input type="text" style="width:160px; font-size:10px" name="jumpto_day">
+ <input type="submit" value="Go"/>
+ </form>
+ <!-- switch show_goto off -->
+ <hr />
+ <div class = 'G10BOLD'>{L_PICK_MULTIPLE}:</div>
+ <form style="margin-bottom:0;" action="{CURRENT_VIEW}.php" method="get">
+ <input type="hidden" name="cpath" value="{CPATH}"/>
+ <input type="hidden" name="getdate" value="{GETDATE}"/>
+ <select name="cal[]" class="query_style" size="5" multiple="multiple">{LIST_ICALS_PICK}</select><br />
+ <input type="submit" value="Go"/>
+ </form>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TOMORROWS}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <!-- switch t_allday on -->
+ {T_ALLDAY}<br />
+ <!-- switch t_allday off -->
+ <!-- switch t_event on -->
+ &bull; {T_EVENT}<br />
+ <!-- switch t_event off -->
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+<!-- switch tomorrows_events off -->
+
+<!-- switch vtodo on -->
+
+<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder">
+ <tr>
+ <td align="center" width="98%" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{L_TODO}</div></td>
+ </tr>
+ <tr>
+ <td bgcolor="#FFFFFF" align="left">
+ <div style="padding: 5px;">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <!-- switch show_completed on -->
+ <tr>
+ <td><img src="images/completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><s><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></s></td>
+ </tr>
+ <!-- switch show_completed off -->
+ <!-- switch show_important on -->
+ <tr>
+ <td><img src="images/important.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_important off -->
+ <!-- switch show_normal on -->
+ <tr>
+ <td><img src="images/not_completed.gif" alt=" " width="13" height="11" border="0" align="middle" /></td>
+ <td><img src="images/spacer.gif" width="2" height="1" border="0" alt="" /></td>
+ <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td>
+ </tr>
+ <!-- switch show_normal off -->
+ </table>
+ </div>
+ </td>
+ </tr>
+</table>
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+
+<!-- switch vtodo off -->
+
+{MONTH_SMALL|-1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+0}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
+<img src="images/spacer.gif" width="1" height="10" alt=" " /><br />
+
+{MONTH_SMALL|+1}
+<table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+</table>
diff --git a/templates/tan/todo.tpl b/templates/tan/todo.tpl
new file mode 100644
index 0000000..2aa5d11
--- /dev/null
+++ b/templates/tan/todo.tpl
@@ -0,0 +1,42 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html;charset={CHARSET}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
+</head>
+<body>
+<center>
+ <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td>
+ </tr>
+ <tr>
+ <td align="left" class="V12">
+ <div style="margin-left: 10px; margin-bottom:10px;">
+ <p>{VTODO_TEXT}</p>
+ <!-- switch description on -->
+ <p>{DESCRIPTION}</p>
+ <!-- switch description off -->
+ <p>
+ <!-- switch status on -->
+ <b>{L_STATUS}</b>: {STATUS}<br />
+ <!-- switch status off -->
+ <!-- switch priority on -->
+ <b>{L_PRIORITY}</b>: {PRIORITY}<br />
+ <!-- switch priority off -->
+ <!-- switch start_date on -->
+ <b>{L_CREATED}</b>: {START_DATE}<br />
+ <!-- switch start_date off -->
+ <!-- switch due_date on -->
+ <b>{L_DUE}</b>: {DUE_DATE}<br />
+ <!-- switch due_date off -->
+ </p>
+ </div>
+ </td>
+ </tr>
+ </table>
+</center>
+</body>
+</html>
diff --git a/templates/tan/week.tpl b/templates/tan/week.tpl
new file mode 100644
index 0000000..d3f7a70
--- /dev/null
+++ b/templates/tan/week.tpl
@@ -0,0 +1,117 @@
+{HEADER}
+<center>
+ <table border="0" width="770" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="610" valign="top">
+ <table width="610" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr valign="top">
+ <td align="left" width="490" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td valign="top" align="right" width="120" class="navback">
+ <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}" 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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </div>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
+ <tr>
+ <td align="center" valign="top">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" valign="top" width="15" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_WEEK}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_WEEK}">&laquo;</a></div>
+ </td>
+ <td align="left" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={PREV_DAY}'">
+ <div class="V12">&nbsp;<a class="psf" href="week.php?cal={CAL}&amp;getdate={PREV_DAY}">&lsaquo;</a></div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_DAY}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_DAY}">&rsaquo;</a>&nbsp;</div>
+ </td>
+ <td align="right" valign="top" width="15" class="rowOff" onmouseover="this.className='rowOn'" onmouseout="this.className='rowOff'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={NEXT_WEEK}'">
+ <div class="V12"><a class="psf" href="week.php?cal={CAL}&amp;getdate={NEXT_WEEK}">&raquo;</a>&nbsp;</div>
+ </td>
+ <td width="1"></td>
+ <!-- loop daysofweek on -->
+ <td width="80" {COLSPAN} align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&amp;getdate={DAYLINK}'">
+ <a class="ps3" href="day.php?cal={CAL}&amp;getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a>
+ </td>
+ <!-- loop daysofweek off -->
+ </tr>
+ <tr valign="top" id="allday">
+ <td width="60" class="rowOff2" colspan="4"><img src="images/spacer.gif" width="60" height="1" alt=" " /></td>
+ <td width="1"></td>
+ <!-- loop alldaysofweek on -->
+ <td width="80" {COLSPAN} class="rowOff">
+ <!-- loop allday on -->
+ <div class="alldaybg_{CALNO}">
+ {ALLDAY}
+ <img src="images/spacer.gif" width="80" height="1" alt=" " />
+ </div>
+ <!-- loop allday off -->
+ </td>
+ <!-- loop alldaysofweek off -->
+ </tr>
+ <!-- loop row on -->
+ <tr>
+ <td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder">&nbsp;</td>
+ </tr>
+ <tr>
+ <td width="1" height="15"></td>
+ <td class="dayborder2">&nbsp;</td>
+ </tr>
+ <!-- loop row off -->
+ <!-- loop event on -->
+ <div class="eventfont">
+ <div class="eventbg_{EVENT_CALNO}">{CONFIRMED}<b>{EVENT_START}</b></div>
+ <div class="padd">{EVENT}</div>
+ </div>
+ <!-- loop event off -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ <td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td>
+ </tr>
+ </table>
+ </td>
+ <td width="10">
+ <img src="images/spacer.gif" width="10" height="1" alt=" " />
+ </td>
+ <td width="170" valign="top">
+ {SIDEBAR}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}
diff --git a/templates/tan/year.tpl b/templates/tan/year.tpl
new file mode 100644
index 0000000..eb89065
--- /dev/null
+++ b/templates/tan/year.tpl
@@ -0,0 +1,132 @@
+{HEADER}
+<center>
+ <table width="676" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <tr>
+ <td align="center" valign="middle" bgcolor="white">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" width="120" class="navback">
+ &nbsp;
+ </td>
+ <td class="navback">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="right" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={PREV_YEAR}"><img src="templates/{TEMPLATE}/images/left_day.gif" alt="[Previous Year]" border="0" align="right" /></a>
+ </td>
+ <td align="center" width="10%" class="title" nowrap="nowrap" valign="middle">
+ <h1>{THIS_YEAR}</h1>
+ </td>
+ <td align="left" width="45%" class="navback">
+ <a class="psf" href="year.php?cal={CAL}&amp;getdate={NEXT_YEAR}"><img src="templates/{TEMPLATE}/images/right_day.gif" alt="[Next Year]" border="0" align="left" /></a>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td align="right" width="120" class="navback">
+ <table width="120" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{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}" 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}" 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}" border="0" /></a></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <br />
+ <table border="0" width="670" cellspacing="0" cellpadding="0">
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|01}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|02}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|03}
+ </td>
+ <td width="20" rowspan='8'>
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td rowspan='8' valign='top'>{SIDEBAR}</td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|04}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|05}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|06}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|07}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|08}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|09}
+ </td>
+ </tr>
+ <tr>
+ <td colspan="5">
+ <img src="images/spacer.gif" width="1" height="20" alt=" " />
+ </td>
+ </tr>
+ <tr>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|10}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|11}
+ </td>
+ <td width="20">
+ <img src="images/spacer.gif" width="20" height="1" alt=" " />
+ </td>
+ <td width="210" valign="top" align="left">
+ {MONTH_MEDIUM|12}
+ </td>
+ </tr>
+ </table>
+</center>
+{FOOTER}

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