From: <par...@us...> - 2009-05-14 21:45:56
|
Update of /cvsroot/phpicalendar/phpicalendar/templates/default In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3961/templates/default Modified Files: day.tpl default.css week.tpl Log Message: Fix table column spanning and HTML errors in week view Index: day.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/day.tpl,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** day.tpl 29 Dec 2008 06:33:45 -0000 1.19 --- day.tpl 14 May 2009 21:45:44 -0000 1.20 *************** *** 25,29 **** <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}&getdate={PREV_DAY}'"> --- 25,29 ---- <tr> <td colspan="2"> ! <table width="100%" border="0" cellspacing="0" cellpadding="2" class="tfixed"> <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}&getdate={PREV_DAY}'"> Index: default.css =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/default.css,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** default.css 5 May 2005 20:23:18 -0000 1.23 --- default.css 14 May 2009 21:45:44 -0000 1.24 *************** *** 73,76 **** --- 73,77 ---- .eventbg { background-color: #6699CC; } + .tfixed { table-layout: fixed; } .calborder { background-color: #fff; border: 1px #A1A5A9 solid; } .dateback { background-color: #eee; } Index: week.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/week.tpl,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** week.tpl 29 Dec 2008 06:33:45 -0000 1.15 --- week.tpl 14 May 2009 21:45:44 -0000 1.16 *************** *** 3,13 **** <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;"> --- 3,13 ---- <table border="0" width="770" cellspacing="0" cellpadding="0"> <tr> ! <td valign="top"> ! <table 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" 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;"> *************** *** 31,35 **** <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}&getdate={PREV_WEEK}'"> --- 31,35 ---- <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}'"> *************** *** 47,51 **** <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}&getdate={DAYLINK}'"> <a class="ps3" href="day.php?cal={CAL}&getdate={DAYLINK}"><span class="V9BOLD">{DAY}</span></a> </td> --- 47,51 ---- <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> *************** *** 57,65 **** <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 --> --- 57,65 ---- <td width="1"></td> <!-- loop alldaysofweek on --> ! <td {COLSPAN} class="rowOff"> <!-- loop allday on --> <div class="alldaybg_{CALNO}"> {ALLDAY} ! <img src="images/spacer.gif" width="1" height="1" alt=" " /> </div> <!-- loop allday off --> |