diff options
author | Jason Oster <parasytic@users.sourceforge.net> | 2009-07-08 18:31:02 +0000 |
---|---|---|
committer | Jason Oster <parasytic@users.sourceforge.net> | 2009-07-08 18:31:02 +0000 |
commit | 84035db56e2d14e78de053b2f69f5d68d37033e6 (patch) | |
tree | 17aae504a08699ed312f94cace3ed0ac80d2064a /templates | |
parent | ca4ff2e70c0e5de884c77d5183a603b741f9e05d (diff) | |
download | phpicalendar-84035db56e2d14e78de053b2f69f5d68d37033e6.tar.gz phpicalendar-84035db56e2d14e78de053b2f69f5d68d37033e6.tar.bz2 phpicalendar-84035db56e2d14e78de053b2f69f5d68d37033e6.zip |
Remove superfluous table from week template
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/week.tpl | 124 |
1 files changed, 59 insertions, 65 deletions
diff --git a/templates/default/week.tpl b/templates/default/week.tpl index 4f18b2a..f312bb0 100644 --- a/templates/default/week.tpl +++ b/templates/default/week.tpl @@ -27,74 +27,68 @@ </tr> <tr> <td> - <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B"> + <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tfixed"> <tr> - <td align="center" valign="top"> - <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tfixed"> - <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}&getdate={PREV_WEEK}'"> - <div class="V12"> <a class="psf" href="week.php?cal={CAL}&getdate={PREV_WEEK}">«</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}&getdate={PREV_DAY}'"> - <div class="V12"> <a class="psf" href="week.php?cal={CAL}&getdate={PREV_DAY}">‹</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}&getdate={NEXT_DAY}'"> - <div class="V12"><a class="psf" href="week.php?cal={CAL}&getdate={NEXT_DAY}">›</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}&getdate={NEXT_WEEK}'"> - <div class="V12"><a class="psf" href="week.php?cal={CAL}&getdate={NEXT_WEEK}">»</a> </div> - </td> - <td width="1"></td> - <!-- loop daysofweek on --> - <td {COLSPAN} align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&getdate={DAYLINK}'"> - <a class="ps3" href="day.php?cal={CAL}&getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a> - </td> - <!-- loop daysofweek off --> - </tr> - <!-- loop allday row on --> - <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 {COLSPAN} class="{TODAY}"> - <!-- loop allday on --> - <div class="alldaybg_{CALNO}"> - {ALLDAY} - <img src="images/spacer.gif" width="1" height="1" alt=" " /> - </div> - <!-- loop allday off --> - </td> - <!-- loop alldaysofweek off --> - </tr> - <!-- loop allday row off --> - <!-- 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"> </td> - </tr> - <tr> - <td width="1" height="15"></td> - <td class="dayborder2"> </td> - </tr> - <tr> - <td width="1" height="15"></td> - <td class="dayborder"> </td> - </tr> - <tr> - <td width="1" height="15"></td> - <td class="dayborder2"> </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 align="left" valign="top" width="15" class="rowOff2" onmouseover="this.className='rowOn2'" onmouseout="this.className='rowOff2'" onclick="window.location.href='week.php?cal={CAL}&getdate={PREV_WEEK}'"> + <div class="V12"> <a class="psf" href="week.php?cal={CAL}&getdate={PREV_WEEK}">«</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}&getdate={PREV_DAY}'"> + <div class="V12"> <a class="psf" href="week.php?cal={CAL}&getdate={PREV_DAY}">‹</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}&getdate={NEXT_DAY}'"> + <div class="V12"><a class="psf" href="week.php?cal={CAL}&getdate={NEXT_DAY}">›</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}&getdate={NEXT_WEEK}'"> + <div class="V12"><a class="psf" href="week.php?cal={CAL}&getdate={NEXT_WEEK}">»</a> </div> + </td> + <td width="1"></td> + <!-- loop daysofweek on --> + <td {COLSPAN} align="center" class="{ROW1}" onmouseover="this.className='{ROW2}'" onmouseout="this.className='{ROW3}'" onclick="window.location.href='week.php?cal={CAL}&getdate={DAYLINK}'"> + <a class="ps3" href="day.php?cal={CAL}&getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a> + </td> + <!-- loop daysofweek off --> + </tr> + <!-- loop allday row on --> + <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 {COLSPAN} class="{TODAY}"> + <!-- loop allday on --> + <div class="alldaybg_{CALNO}"> + {ALLDAY} + <img src="images/spacer.gif" width="1" height="1" alt=" " /> + </div> + <!-- loop allday off --> + </td> + <!-- loop alldaysofweek off --> + </tr> + <!-- loop allday row off --> + <!-- 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"> </td> + </tr> + <tr> + <td width="1" height="15"></td> + <td class="dayborder2"> </td> + </tr> + <tr> + <td width="1" height="15"></td> + <td class="dayborder"> </td> + </tr> + <tr> + <td width="1" height="15"></td> + <td class="dayborder2"> </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> |