From: <par...@us...> - 2009-07-10 17:50:29
|
Update of /cvsroot/phpicalendar/phpicalendar/templates/default In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1809/templates/default Modified Files: day.tpl default.css week.tpl Log Message: Fix multiple HTML elements with the same id. Allow all-day divs to stretch vertically in day and week views with default template. Index: day.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/day.tpl,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** day.tpl 7 Jul 2009 14:48:29 -0000 1.21 --- day.tpl 10 Jul 2009 17:50:22 -0000 1.22 *************** *** 45,49 **** </td> </tr> ! <tr id="allday"> <td> <!-- loop allday on --> --- 45,49 ---- </td> </tr> ! <tr class="allday"> <td> <!-- loop allday on --> Index: default.css =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/default.css,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** default.css 10 Jul 2009 15:57:25 -0000 1.26 --- default.css 10 Jul 2009 17:50:22 -0000 1.27 *************** *** 8,18 **** .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; } --- 8,18 ---- .tblr {background: url(images/shadow_r.gif) no-repeat; width:8px} ! .alldaybg_1 {background: #50739B url(images/allday_1.gif) repeat-x; border-bottom: 1px solid #3C6080; min-height: 18px; padding-top: 5px; text-align: center;} ! .alldaybg_2 {background: #53AB63 url(images/allday_2.gif) repeat-x; border-bottom: 1px solid #409050; min-height: 18px; padding-top: 5px; text-align: center;} ! .alldaybg_3 {background: #FF592A url(images/allday_3.gif) repeat-x; border-bottom: 1px solid #E0401C; min-height: 18px; padding-top: 5px; text-align: center;} ! .alldaybg_4 {background: #BE55AD url(images/allday_4.gif) repeat-x; border-bottom: 1px solid #984080; min-height: 18px; padding-top: 5px; text-align: center;} ! .alldaybg_5 {background: #FF2B2A url(images/allday_5.gif) repeat-x; border-bottom: 1px solid #D01C18; min-height: 18px; padding-top: 5px; text-align: center;} ! .alldaybg_6 {background: #BA900C url(images/allday_6.gif) repeat-x; border-bottom: 1px solid #A07400; min-height: 18px; padding-top: 5px; text-align: center;} ! .alldaybg_7 {background: #959595 url(images/allday_7.gif) repeat-x; border-bottom: 1px solid #888888; min-height: 18px; padding-top: 5px; text-align: center;} .rowOn { background-color: #cfc; border-top: 1px solid #fff; border-left: 1px solid #fff; } *************** *** 32,37 **** .eventbg_6 { background-color: #B88F0B; padding: 2px;} .eventbg_7 { background-color: #73738C; 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: #6699CC; border: 1px solid #557CA3; } --- 32,38 ---- .eventbg_6 { background-color: #B88F0B; padding: 2px;} .eventbg_7 { background-color: #73738C; padding: 2px;} ! ! .allday a { font-size: 9px; color: #fff !important; font-weight: 900; text-decoration:none;} ! .allday a:hover { text-decoration:underline;} .eventbg2_1 { background-color: #6699CC; border: 1px solid #557CA3; } Index: week.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/week.tpl,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** week.tpl 8 Jul 2009 18:31:02 -0000 1.18 --- week.tpl 10 Jul 2009 17:50:22 -0000 1.19 *************** *** 50,58 **** </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}"> --- 50,58 ---- </tr> <!-- loop allday row on --> ! <tr valign="top" class="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}"{NOBORDER}> <!-- loop allday on --> <div class="alldaybg_{CALNO}"> |