aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-01-26 22:50:47 +0000
committerChad Little <clittle@users.sourceforge.net>2004-01-26 22:50:47 +0000
commitb1b0bb48e861325551b48be4001de5f9cf1ff852 (patch)
tree84ba6bd6ca6141fd3522e2a59e2384de18fc7e79 /templates
parent5c5eed1390a103fecc2c57c21bbf79365cb1ee98 (diff)
downloadphpicalendar-b1b0bb48e861325551b48be4001de5f9cf1ff852.tar.gz
phpicalendar-b1b0bb48e861325551b48be4001de5f9cf1ff852.tar.bz2
phpicalendar-b1b0bb48e861325551b48be4001de5f9cf1ff852.zip
More templating.
Diffstat (limited to 'templates')
-rw-r--r--templates/default/default.css12
-rw-r--r--templates/default/event.tpl10
-rw-r--r--templates/default/todo.tpl34
3 files changed, 30 insertions, 26 deletions
diff --git a/templates/default/default.css b/templates/default/default.css
index ea762c7..876ed3e 100644
--- a/templates/default/default.css
+++ b/templates/default/default.css
@@ -1,6 +1,6 @@
/* Style sheet for the silver calendar (default) */
-.eventborder { background-image: url(day_title.gif); border: 1px #006699 solid; }
+.eventborder { background-image: url(images/day_title.gif); border: 1px #006699 solid; }
.eventbg { background-color: #6699CC; }
.eventbg_1 { background-color: #6699CC; }
@@ -37,15 +37,15 @@
.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); }
+.timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(images/time_bg.gif); }
+.timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(images/time_bg.gif); }
+.navback { background-image: url(images/time_bg.gif); }
+.sideback { background-image: url(images/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; }
+.montheventtop { background-image: url(images/side_bg.gif); border-top: 1px solid #A1A5A9; }
.montheventline { border-right: 1px dotted #A1A5A9; }
.yearmonth { background: #CCCCCC; }
diff --git a/templates/default/event.tpl b/templates/default/event.tpl
index 1b85ee3..b1ea933 100644
--- a/templates/default/event.tpl
+++ b/templates/default/event.tpl
@@ -19,18 +19,20 @@
<!-- switch description on -->
<p>{DESCRIPTION}</p>
<!-- switch description off -->
+ <p>
<!-- switch organizer on -->
- <p><b>{ORGANIZER_LANG}</b>: {ORGANIZER}</p>
+ <b>{ORGANIZER_LANG}</b>: {ORGANIZER}<br>
<!-- switch organizer off -->
<!-- switch attendee on -->
- <p><b>{ATTENDEE_LANG}</b>: {ATTENDEE}</p>
+ <b>{ATTENDEE_LANG}</b>: {ATTENDEE}<br>
<!-- switch attendee off -->
<!-- switch status on -->
- <p><b>{STATUS_LANG}</b>: {STATUS}</p>
+ <b>{STATUS_LANG}</b>: {STATUS}<br>
<!-- switch status off -->
<!-- switch location on -->
- <p><b>{LOCATIon_LANG}</b>: {LOCATIon}</p>
+ <b>{LOCATION_LANG}</b>: {LOCATION}<br>
<!-- switch location off -->
+ </p>
</div>
</td>
</tr>
diff --git a/templates/default/todo.tpl b/templates/default/todo.tpl
index defeb9e..71c1ed7 100644
--- a/templates/default/todo.tpl
+++ b/templates/default/todo.tpl
@@ -3,8 +3,8 @@
<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}">
+ <title>{CAL}</title>
+ <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css">
</head>
<body>
<center>
@@ -16,21 +16,23 @@
<td align="left" class="V12">
<div style="margin-left: 10px; margin-bottom:10px;">
<p>{VTODO_TEXT}</p>
- <!-- Switch Description On -->
+ <!-- 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 -->
+ <!-- switch description off -->
+ <p>
+ <!-- switch status on -->
+ <b>{STATUS_LANG}</b>: {STATUS}<br>
+ <!-- switch status off -->
+ <!-- switch priority on -->
+ <b>{PRIORITY_LANG}</b>: {PRIORITY}<br>
+ <!-- switch priority off -->
+ <!-- switch start_date on -->
+ <b>{CREATED_LANG}</b>: {START_DATE}<br>
+ <!-- switch start_date off -->
+ <!-- switch due_date on -->
+ <b>{DUE_LANG}</b>: {DUE_DATE}<br>
+ <!-- switch due_date off -->
+ </p>
</div>
</td>
</tr>

© 2014-2024 Faster IT GmbH | imprint | privacy policy