From: <cl...@us...> - 2004-02-03 06:24:39
|
Update of /cvsroot/phpicalendar/phpicalendar/templates/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25914/templates/default Modified Files: day.tpl sidebar.tpl Log Message: Updates and initial wiring of day.tpl and day.php. Index: day.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/day.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** day.tpl 3 Feb 2004 00:29:33 -0000 1.1 --- day.tpl 3 Feb 2004 06:22:30 -0000 1.2 *************** *** 35,53 **** <tr> <td> ! <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B"> ! <!-- loop allday on --> ! <tr> ! <td height="24"> ! <table width="100%" border="0" cellspacing="1" cellpadding="4"> ! <tr> ! <td valign="top" align="center" class="eventbg_{EVENT_CALNO}"> ! <font color="#ffffff"><i>{EVENT}</i></font> ! </td> ! </tr> ! </table> ! </td> ! </tr> ! <!-- loop allday off --> ! </table> </td> </tr> --- 35,46 ---- <tr> <td> ! <!-- loop allday on --> ! <div style="height: 18px; padding-top: 4px; border: 1px solid #fff;" class="eventbg_1"> ! <center><font class="V10W">{ALLDAY}</font></center> ! </div> ! <div style="height: 18px; padding-top: 4px; border: 1px solid #fff;" class="eventbg_1"> ! <center><font class="V10W">{ALLDAY}</font></center> ! </div> ! <!-- loop allday off --> </td> </tr> *************** *** 63,66 **** --- 56,77 ---- <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={THISDAY}">{DAY}</a></font> </td> + <td width="74" valign="top" align="center" class="dateback"> + <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={THISDAY}">{DAY}</a></font> + </td> + <td width="74" valign="top" align="center" class="dateback"> + <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={THISDAY}">{DAY}</a></font> + </td> + <td width="74" valign="top" align="center" class="dateback"> + <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={THISDAY}">{DAY}</a></font> + </td> + <td width="74" valign="top" align="center" class="dateback"> + <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={THISDAY}">{DAY}</a></font> + </td> + <td width="74" valign="top" align="center" class="dateback"> + <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={THISDAY}">{DAY}</a></font> + </td> + <td width="74" valign="top" align="center" class="dateback"> + <font class="V9"><a class="psf" href="day.php?cal={CAL}&getdate={THISDAY}">{DAY}</a></font> + </td> </tr> </table> *************** *** 71,124 **** <td align="center" valign="top" colspan="3"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> ! <td width="60"><img src="images/spacer.gif" width="60" height="1" alt=" "></td> ! <td width="1"></td> ! <!-- loop spacer on --> ! <td><img src="images/spacer.gif" width="{NBRGRIDCOLS_SPACE}" height="1" alt=" "></td> ! <!-- loop spacer off --> </tr> - <!-- loop row on --> <tr> ! <td rowspan="{ROWSPAN}" align="center" valign="top" width="60" class="timeborder">{TIME}</td> ! <td width="1" height="{GRIDLENGTH}"></td> ! <!-- switch event on --> ! <td rowspan="6" colspan="1" align="left" valign="top" class="eventbg2_1"> ! <table width="100%" border="0" cellspacing="0" cellpadding="2"> ! <tr> ! <td class="eventborder"><font class="eventfont"><b>{EVENT_START}</b> - {EVENT_END}</font></td> ! </tr> ! <tr> ! <td colspan="2"> ! <table width="100%" border="0" cellpadding="1" cellspacing="0"> ! <tr> ! <td class="eventbg_{CALNO}">{SUMMARY}</td> ! </tr> ! </table> ! </td> ! </tr> ! </table> ! </td> ! <!-- switch event off --> </tr> <tr> ! <td width="1" height="{GRIDLENGTH}"></td> </tr> <tr> ! <td width="1" height="{GRIDLENGTH}"></td> </tr> <tr> ! <td width="1" height="{GRIDLENGTH}"></td> </tr> <tr> ! <!-- loop row off --> </table> </td> </tr> </table> </td> ! </tr> ! </table> ! </td> ! <td width="10"><img src="images/spacer.gif" width="10" height="1" alt=" "></td> <td width="170" valign="top"> {SIDEBAR} --- 82,134 ---- <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">11: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 --> <tr> ! <td rowspan="4" align="center" valign="top" width="60" class="timeborder">12:00 PM</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> </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} Index: sidebar.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/sidebar.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sidebar.tpl 30 Jan 2004 00:53:55 -0000 1.3 --- sidebar.tpl 3 Feb 2004 06:22:30 -0000 1.4 *************** *** 2,6 **** <tr> <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&getdate={YESTERDAYS_DATE}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{PREV_LANG}" width="16" height="20" border="0" align="left"></a></td> ! <td align="center" width="112" class="sideback"><font class="G10BOLD">{THISDAY2}</font></td> <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&getdate={TOMORROWS_DATE}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{NEXT_LANG}" width="16" height="20" border="0" align="right"></a></td> </tr> --- 2,6 ---- <tr> <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&getdate={YESTERDAYS_DATE}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{PREV_LANG}" width="16" height="20" border="0" align="left"></a></td> ! <td align="center" width="112" class="sideback"><font class="G10BOLD">{DISPLAY_DATE}</font></td> <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&getdate={TOMORROWS_DATE}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{NEXT_LANG}" width="16" height="20" border="0" align="right"></a></td> </tr> *************** *** 19,23 **** <!-- switch allow_preferences off --> <!-- switch display_download on --> ! <a class="psf" href="{SUBSCRIBE_PATH}">{SUBSCRIBE_LANG}</a> | <a class="psf" href="{DOWNLOAD_FILENAME}">{DOWNLOAD_LANG}</a><br> <!-- switch display_download off --> <!-- switch is_logged_in on --> --- 19,23 ---- <!-- switch allow_preferences off --> <!-- switch display_download on --> ! <a class="psf" href="{SUBSCRIBE_PATH}">{L_SUBSCRIBE}</a> | <a class="psf" href="{DOWNLOAD_FILENAME}">{L_DOWNLOAD}</a><br> <!-- switch display_download off --> <!-- switch is_logged_in on --> *************** *** 29,33 **** --- 29,41 ---- </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 height="20"> *************** *** 37,46 **** <td bgcolor="#FFFFFF" align="left"> <div style="padding: 5px;"> ! <form style="margin-bottom:0;" action="day.php" method="GET"> ! <select name="action" class="query_style" onChange="window.location=(this.options[this.selectedIndex].value">{LIST_ICALS}</select><br> ! {LIST_YEARS}<br> ! {LIST_MONTHS}<br> ! {LIST_WEEKS}<br> ! <br> </form> <!-- switch show_search on --> --- 45,53 ---- <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_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> </form> <!-- switch show_search on --> *************** *** 58,61 **** --- 65,75 ---- </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> *************** *** 64,68 **** <table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> <tr height="20"> ! <td align="center" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{TOMORROWS_LANG}</div></td> </tr> <tr> --- 78,82 ---- <table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> <tr height="20"> ! <td align="center" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{L_TOMORROWS}</div></td> </tr> <tr> *************** *** 79,82 **** --- 93,103 ---- </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> *************** *** 87,91 **** <table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> <tr height="20"> ! <td align="center" width="98%" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{TODO_LANG}</div></td> </tr> <tr> --- 108,112 ---- <table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> <tr height="20"> ! <td align="center" width="98%" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{L_TODO}</div></td> </tr> <tr> *************** *** 119,131 **** </tr> </table> <img src="images/spacer.gif" width="1" height="10" alt=" "><br> <!-- switch todo off --> {MONTH_SMALL|-1} <img src="images/spacer.gif" width="1" height="10" alt=" "><br> {MONTH_SMALL|+0} <img src="images/spacer.gif" width="1" height="10" alt=" "><br> ! {MONTH_SMALL|+1} \ No newline at end of file --- 140,181 ---- </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 todo 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> \ No newline at end of file |