Update of /cvsroot/phpicalendar/phpicalendar/templates/green
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30611/templates/green
Modified Files:
default.css header.tpl
Removed Files:
calendar_nav.tpl day.tpl month.tpl month_large.tpl
month_medium.tpl sidebar.tpl year.tpl
Log Message:
HTML/CSS template rewrites, nice-title integration, XSS fixes, version bump
Index: default.css
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/templates/green/default.css,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** default.css 14 May 2009 21:45:44 -0000 1.2
--- default.css 7 Jul 2009 14:48:29 -0000 1.3
***************
*** 67,70 ****
--- 67,73 ----
.title h1 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000; margin: 0px;}
+ /* Main class used for all page wrapper tables */
+ .maintable { width: 990px; }
+
/* Month View */
***************
*** 84,87 ****
--- 87,93 ----
.yearmonth { background-color: #ccc; }
.yearweek { background-color: #eee; width: 30px; font-size: 9px; font-weight: 900; text-align: center; height: 15px; }
+ .yearleft { padding-right: 5px; padding-top: 5px; padding-bottom: 5px; }
+ .yearmiddle { padding: 5px; }
+ .yearright { padding-left: 5px; padding-top: 5px; padding-bottom: 5px; }
***************
*** 161,162 ****
--- 167,178 ----
.search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; }
.login_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 80px; margin-bottom: 0; }
+
+
+ /* Make printed pages look nice */
+ @media print {
+ .sidebar { width: 0px; display: none; }
+ .footer { display: none; }
+ .monthback { border-spacing: 0; }
+ .monthback td { border: 1px solid #606060; }
+ .calborder { border: 1px solid #606060; }
+ }
Index: header.tpl
===================================================================
RCS file: /cvsroot/phpicalendar/phpicalendar/templates/green/header.tpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** header.tpl 20 Dec 2008 00:33:14 -0000 1.2
--- header.tpl 7 Jul 2009 14:48:29 -0000 1.3
***************
*** 5,9 ****
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
<title>{CALENDAR_NAME} - {DISPLAY_DATE}</title>
! <link rel="stylesheet" type="text/css" href="{DEFAULT_PATH}/templates/{TEMPLATE}/default.css" />
<!-- switch rss_available on -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_PATH}/rss/rss.php?cal={CAL}&rssview={CURRENT_VIEW}">
--- 5,11 ----
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
<title>{CALENDAR_NAME} - {DISPLAY_DATE}</title>
! <link rel="stylesheet" type="text/css" href="{DEFAULT_PATH}/templates/{TEMPLATE}/default.css" />
! <script id="nicetitle" type="text/javascript" src="{DEFAULT_PATH}/nicetitle/nicetitle.js"></script>
! <link rel="stylesheet" type="text/css" href="{DEFAULT_PATH}/nicetitle/nicetitle.css" />
<!-- switch rss_available on -->
<link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_PATH}/rss/rss.php?cal={CAL}&rssview={CURRENT_VIEW}">
--- calendar_nav.tpl DELETED ---
--- day.tpl DELETED ---
--- month.tpl DELETED ---
--- month_large.tpl DELETED ---
--- month_medium.tpl DELETED ---
--- sidebar.tpl DELETED ---
--- year.tpl DELETED ---
|