diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-01-26 03:18:35 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-01-26 03:18:35 +0000 |
commit | d951bba0df4dfbf3b6e07e48a22fb8ef0b8a9027 (patch) | |
tree | b71955bba6522e13c2ab3606aea1ce3682cb730c | |
parent | ad753e51d218b02ae7143fcdbc5a43e057b14572 (diff) | |
download | phpicalendar-d951bba0df4dfbf3b6e07e48a22fb8ef0b8a9027.tar.gz phpicalendar-d951bba0df4dfbf3b6e07e48a22fb8ef0b8a9027.tar.bz2 phpicalendar-d951bba0df4dfbf3b6e07e48a22fb8ef0b8a9027.zip |
First template checkin.
-rw-r--r-- | templates/default/default.css | 99 | ||||
-rw-r--r-- | templates/default/event.tpl | 41 | ||||
-rw-r--r-- | templates/default/footer.tpl | 13 | ||||
-rw-r--r-- | templates/default/header.tpl | 13 | ||||
-rw-r--r-- | templates/default/todo.tpl | 40 |
5 files changed, 206 insertions, 0 deletions
diff --git a/templates/default/default.css b/templates/default/default.css new file mode 100644 index 0000000..ea762c7 --- /dev/null +++ b/templates/default/default.css @@ -0,0 +1,99 @@ +/* Style sheet for the silver calendar (default) */
+
+.eventborder { background-image: url(day_title.gif); border: 1px #006699 solid; }
+.eventbg { background-color: #6699CC; }
+
+.eventbg_1 { background-color: #6699CC; }
+.eventbg_2 { background-color: #666699; }
+.eventbg_3 { background-color: #999999; }
+.eventbg_4 { background-color: #6B84C7; }
+.eventbg_5 { background-color: #9999CC; }
+.eventbg_6 { background-color: #6876E7; }
+.eventbg_7 { background-color: #73738C; }
+
+.eventbg2 { background-color: #6699CC; border-right: 1px solid #FFFFFF; }
+
+.eventbg2_1 { background-color: #6699CC; border-right: 1px solid #FFFFFF; }
+.eventbg2_2 { background-color: #666699; border-right: 1px solid #FFFFFF; }
+.eventbg2_3 { background-color: #999999; border-right: 1px solid #FFFFFF; }
+.eventbg2_4 { background-color: #6B84C7; border-right: 1px solid #FFFFFF; }
+.eventbg2_5 { background-color: #9999CC; border-right: 1px solid #FFFFFF; }
+.eventbg2_6 { background-color: #6876E7; border-right: 1px solid #FFFFFF; }
+.eventbg2_7 { background-color: #73738C; border-right: 1px solid #FFFFFF; }
+
+.eventbg2week { background-color: #6699CC; border-right: 1px solid #A1A5A9; }
+
+.eventbg2week_1 { background-color: #6699CC; border-right: 1px solid #A1A5A9; }
+.eventbg2week_2 { background-color: #666699; border-right: 1px solid #A1A5A9; }
+.eventbg2week_3 { background-color: #999999; border-right: 1px solid #A1A5A9; }
+.eventbg2week_4 { background-color: #6B84C7; border-right: 1px solid #A1A5A9; }
+.eventbg2week_5 { background-color: #9999CC; border-right: 1px solid #A1A5A9; }
+.eventbg2week_6 { background-color: #6876E7; border-right: 1px solid #A1A5A9; }
+.eventbg2week_7 { background-color: #73738C; border-right: 1px solid #A1A5A9; }
+
+.calborder { background-color: #FFFFFF; border: 1px #A1A5A9 solid; }
+.dateback { background-color: #EEEEEE; }
+.dayborder { border-top: 1px solid #A1A5A9; }
+.dayborder2 { border-top: 1px dashed #CCCCCC; }
+.weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; }
+.weekborder2 { border-right: 1px solid #A1A5A9; }
+.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); }
+.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); }
+.navback { background-image: url(time_bg.gif); }
+.sideback { background-image: url(side_bg.gif); }
+.monthback { background-color: #A1A5A9; }
+.monthreg { background-color: #FFFFFF; }
+.monthoff { background-color: #F2F2F2; }
+.monthon { background-color: #F2F9FF; }
+.montheventtop { background-image: url(side_bg.gif); border-top: 1px solid #A1A5A9; }
+.montheventline { border-right: 1px dotted #A1A5A9; }
+.yearmonth { background: #CCCCCC; }
+
+/* Link colors and attributes */
+/* This is the main link style */
+a.psf { text-decoration: none; }
+a.psf:link { color: #0066FF; background-color: transparent; }
+a.psf:visited { color: #0066FF; background-color: transparent; }
+a.psf:active { color: #3366CC; background-color: transparent; }
+a.psf:hover { color: #000099; background-color: transparent; }
+
+/* This is the link style for the mini-cals */
+a.ps2 { text-decoration: underline; }
+a.ps2:link { color: #0066FF; background-color: transparent; }
+a.ps2:visited { color: #0066FF; background-color: transparent; }
+a.ps2:active { color: #3366CC; background-color: transparent; }
+a.ps2:hover { color: #000099; background-color: transparent; }
+
+/* This is the link style for year months */
+a.ps3 { text-decoration: none; }
+a.ps3:link { color: #000000; background-color: transparent; }
+a.ps3:visited { color: #000000; background-color: transparent; }
+a.ps3:active { color: #000000; background-color: transparent; }
+a.ps3:hover { color: #000000; background-color: transparent; text-decoration: underline;}
+
+/* Body attributes */
+
+body { background-color: #E5E5E5; }
+
+/* CSS definitions for fonts */
+
+.V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; }
+.V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; }
+.V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; }
+.V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; }
+.V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; }
+.V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; }
+.G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; }
+.G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; }
+.G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; }
+.G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; }
+.V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; }
+.H20 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; }
+.eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; }
+
+
+/* Length of the form drop downs */
+
+.query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; }
+.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; }
diff --git a/templates/default/event.tpl b/templates/default/event.tpl new file mode 100644 index 0000000..52ec04c --- /dev/null +++ b/templates/default/event.tpl @@ -0,0 +1,41 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> + <title>{CAL}</title> + <link rel="stylesheet" type="text/css" href="{SHEET_HREF"> +</head> +<body> +<center> + <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder"> + <tr> + <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td> + </tr> + <tr> + <td align="left" class="V12"> + <div style="margin-left: 10px; margin-bottom:10px;"> + <p>{EVENT} {EVENT_TIMES}</p> + <!-- Switch Description On --> + <p>{DESCRIPTION}</p> + <!-- Switch Description Off --> + <!-- Switch Organizer On --> + <p>{ORGANIZER_LANG}: {ORGANIZER}</p> + <!-- Switch Organizer Off --> + <!-- Switch Attendee On --> + <p>{ATTENDEE_LANG}: {ATTENDEE}</p> + <!-- Switch Attendee Off --> + <!-- Switch Status On --> + <p>{STATUS_LANG}: {STATUS}</p> + <!-- Switch Status Off --> + <!-- Switch Location On --> + <p>{LOCATION_LANG}: {LOCATION}</p> + <!-- Switch Location Off --> + </div> + </td> + </tr> + </table> +</center> +</body> +</html> + diff --git a/templates/default/footer.tpl b/templates/default/footer.tpl new file mode 100644 index 0000000..9fcaf1f --- /dev/null +++ b/templates/default/footer.tpl @@ -0,0 +1,13 @@ +<center class="V9"><br />{POWERED_BY_LANG} <a class="psf" href="http://phpicalendar.sourceforge.net/nuke/">PHP iCalendar 2.0</a> +<!-- Switch RSS Valid On --> +<p> +<a style="color:gray" href="http://feeds.archive.org/validator/check?url={FOOTER_CHECK}"> +<img src="{BASE}images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" /></a> +</p> +<!-- Switch RSS Valid Off --> +<!-- Switch RSS On --> +{THIS_SITE_IS_LANG} <a class="psf" href="{BASE}rss/index.php?cal={CAL}&getdate={GETDATE}">RSS-Enabled</a>'; +<!-- Switch RSS Valid On --> +</center> +</body> +</html> diff --git a/templates/default/header.tpl b/templates/default/header.tpl new file mode 100644 index 0000000..cc1ef9f --- /dev/null +++ b/templates/default/header.tpl @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> + <title>{CALENDAR_NAME} - {DISPLAY_DATE}</title> + <link rel="stylesheet" type="text/css" href="{BASE}styles/{STYLE_SHEET}/default.css"> + <!-- Switch RSS On --> + <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_VIEW}/rss/rss.php?cal={CAL}&rssview={CURRENT_VIEW}"> + <!-- Switch RSS Off --> + {TODO_JS} +</head> +<body>
\ No newline at end of file diff --git a/templates/default/todo.tpl b/templates/default/todo.tpl new file mode 100644 index 0000000..defeb9e --- /dev/null +++ b/templates/default/todo.tpl @@ -0,0 +1,40 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> +<html> +<head> + <meta http-equiv="content-type" content="text/html;charset=UTF-8"> + <title>{CALENDAR_NAME}</title> + <link rel="stylesheet" type="text/css" href="{SHEET_HREF}"> +</head> +<body> +<center> + <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder"> + <tr> + <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL_TITLE_FULL}</div></td> + </tr> + <tr> + <td align="left" class="V12"> + <div style="margin-left: 10px; margin-bottom:10px;"> + <p>{VTODO_TEXT}</p> + <!-- Switch Description On --> + <p>{DESCRIPTION}</p> + <!-- Switch Description Off --> + <!-- Switch Status On --> + <p>{STATUS_LANG}: {STATUS}</p> + <!-- Switch Status Off --> + <!-- Switch Priority On --> + <p>{PRIORITY_LANG}: {PRIORITY}</p> + <!-- Switch Priority Off --> + <!-- Switch Created On --> + <p>{CREATED_LANG}: {START_DATE}</p> + <!-- Switch Created Off --> + <!-- Switch Due On --> + <p>{DUE_LANG}: {DUE_DATE}</p> + <!-- Switch Due Off --> + </div> + </td> + </tr> + </table> +</center> +</body> +</html> |