aboutsummaryrefslogtreecommitdiffstats
path: root/templates/default/day.tpl
diff options
context:
space:
mode:
authorJason Oster <parasytic@users.sourceforge.net>2009-07-07 14:48:28 +0000
committerJason Oster <parasytic@users.sourceforge.net>2009-07-07 14:48:28 +0000
commitf36d3298f0401e4fb1ca131d18d51d3d47e39818 (patch)
tree46c674f1774b120741ea173c4706f581cbd7dccf /templates/default/day.tpl
parent710abd276f9720e6e5b049c64d0aac5a2cc198d5 (diff)
downloadphpicalendar-f36d3298f0401e4fb1ca131d18d51d3d47e39818.tar.gz
phpicalendar-f36d3298f0401e4fb1ca131d18d51d3d47e39818.tar.bz2
phpicalendar-f36d3298f0401e4fb1ca131d18d51d3d47e39818.zip
HTML/CSS template rewrites, nice-title integration, XSS fixes, version bump
Diffstat (limited to 'templates/default/day.tpl')
-rw-r--r--templates/default/day.tpl20
1 files changed, 11 insertions, 9 deletions
diff --git a/templates/default/day.tpl b/templates/default/day.tpl
index c66d40f..b9cbf10 100644
--- a/templates/default/day.tpl
+++ b/templates/default/day.tpl
@@ -1,19 +1,19 @@
{HEADER}
<center>
-<table border="0" width="700" cellspacing="0" cellpadding="0">
+<table border="0" cellspacing="0" cellpadding="0" class="maintable">
<tr>
- <td width="520" valign="top">
- <table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
+ <td valign="top">
+ <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>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME} {L_CALENDAR}</span></td>
+ <td align="left" width="100%" class="title"><h1>{DISPLAY_DATE}</h1><span class="V9G">{CALENDAR_NAME}</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><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></td>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" title="{L_DAY}" border="0" /></a></td>
<td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" title="{L_WEEK}" border="0" /></a></td>
<td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" title="{L_MONTH}" border="0" /></a></td>
<td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" title="{L_YEAR}" border="0" /></a></td>
@@ -30,7 +30,7 @@
<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}'">
+ <td 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 -->
@@ -55,7 +55,7 @@
</tr>
<tr>
<td align="center" valign="top" colspan="3">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tfixed">
<!-- loop row on -->
<tr>
<td rowspan="4" align="center" valign="top" width="60" class="timeborder">9:00 AM</td>
@@ -93,8 +93,10 @@
</tr>
</table>
</td>
- <td width="10"><img src="images/spacer.gif" width="10" height="1" alt=" " /></td>
- <td width="170" valign="top">
+ <td width="10">
+ <img src="images/spacer.gif" width="10" height="1" alt=" " />
+ </td>
+ <td width="170" valign="top" class="sidebar">
{SIDEBAR}
</td>
</tr>

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