diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-01-28 07:27:23 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-01-28 07:27:23 +0000 |
commit | c5e73fa883662edaeef6da6a308f6631b6f0eca5 (patch) | |
tree | 42d148f0935a961f8bcc02514c0f04f946dfc5ea /templates | |
parent | 603060dd7b43d47ac4637fee17b818cba6dff3c8 (diff) | |
download | phpicalendar-c5e73fa883662edaeef6da6a308f6631b6f0eca5.tar.gz phpicalendar-c5e73fa883662edaeef6da6a308f6631b6f0eca5.tar.bz2 phpicalendar-c5e73fa883662edaeef6da6a308f6631b6f0eca5.zip |
Major checkin, modified english to new language style. Preferences now
template driven along with event and todo. Header and footer seem to work
as well.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/event.tpl | 10 | ||||
-rw-r--r-- | templates/default/footer.tpl | 12 | ||||
-rw-r--r-- | templates/default/header.tpl | 8 | ||||
-rw-r--r-- | templates/default/preferences.tpl | 34 | ||||
-rw-r--r-- | templates/default/todo.tpl | 8 |
5 files changed, 38 insertions, 34 deletions
diff --git a/templates/default/event.tpl b/templates/default/event.tpl index b1ea933..7b16003 100644 --- a/templates/default/event.tpl +++ b/templates/default/event.tpl @@ -15,22 +15,22 @@ <tr> <td align="left" class="V12"> <div style="margin-left: 10px; margin-bottom:10px;"> - <p>{EVENT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</font></p> + <p>{EVENT} - <span class="V9">(<i>{EVENT_TIMES}</i>)</span></p> <!-- switch description on --> <p>{DESCRIPTION}</p> <!-- switch description off --> <p> <!-- switch organizer on --> - <b>{ORGANIZER_LANG}</b>: {ORGANIZER}<br> + <b>{L_ORGANIZER}</b>: {ORGANIZER}<br> <!-- switch organizer off --> <!-- switch attendee on --> - <b>{ATTENDEE_LANG}</b>: {ATTENDEE}<br> + <b>{L_ATTENDEE}</b>: {ATTENDEE}<br> <!-- switch attendee off --> <!-- switch status on --> - <b>{STATUS_LANG}</b>: {STATUS}<br> + <b>{L_STATUS}</b>: {STATUS}<br> <!-- switch status off --> <!-- switch location on --> - <b>{LOCATION_LANG}</b>: {LOCATION}<br> + <b>{L_LOCATION}</b>: {LOCATION}<br> <!-- switch location off --> </p> </div> diff --git a/templates/default/footer.tpl b/templates/default/footer.tpl index 9fcaf1f..4f04038 100644 --- a/templates/default/footer.tpl +++ b/templates/default/footer.tpl @@ -1,13 +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 --> +<center class="V9"><br />{POWERED_BY_LANG} <a class="psf" href="http://phpicalendar.sourceforge.net/nuke/">PHP iCalendar 2.0</a><br> +<!-- 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 --> +<!-- switch rss_valid off --> +<!-- switch rss_powered on --> +{THIS_SITE_IS_LANG} <a class="psf" href="{BASE}rss/index.php?cal={CAL}&getdate={GETDATE}">RSS-Enabled</a> +<!-- switch rss_powered off --> </center> </body> </html> diff --git a/templates/default/header.tpl b/templates/default/header.tpl index cc1ef9f..7707874 100644 --- a/templates/default/header.tpl +++ b/templates/default/header.tpl @@ -4,10 +4,12 @@ <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="stylesheet" type="text/css" href="templates/{TEMPLATE}/default.css"> + <!-- switch rss_available on --> <link rel="alternate" type="application/rss+xml" title="RSS" href="{DEFAULT_VIEW}/rss/rss.php?cal={CAL}&rssview={CURRENT_VIEW}"> - <!-- Switch RSS Off --> + <!-- switch rss_available off --> + <!-- switch todo_available on --> {TODO_JS} + <!-- switch todo_available off --> </head> <body>
\ No newline at end of file diff --git a/templates/default/preferences.tpl b/templates/default/preferences.tpl index 621fdcc..5d9c2c6 100644 --- a/templates/default/preferences.tpl +++ b/templates/default/preferences.tpl @@ -1,3 +1,4 @@ +{HEADER} <center> <table border="0" width="700" cellspacing="0" cellpadding="0"> <tr> @@ -11,7 +12,7 @@ <td class="navback"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> - <td align="center" class="navback" nowrap valign="middle"><font class="H20">{PREFERENCES_LANG}</font></td> + <td align="center" class="navback" nowrap valign="middle"><font class="H20">{L_PREFERENCES}</font></td> </tr> </table> </td> @@ -46,38 +47,38 @@ <form action="preferences.php?action=setcookie" METHOD="post"> <table border="0" width="620" cellspacing="2" cellpadding="2" align="center"> <tr> - <td align="left" valign="top" width="300" nowrap>{SELECT_LANG_LANG}</td> + <td align="left" valign="top" width="300" nowrap>{L_SELECT_LANG}</td> <td align="left" valign="top" width="20"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> - <td align="left" valign="top"><select name="cookie_language" class="query_style">{COOKIE_LANGUAGE}</select></td> + <td align="left" valign="top"><select name="cookie_language" class="query_style">{LANGUAGE_SELECT}</select></td> </tr> <tr> - <td align="left" valign="top" width="300" nowrap>{SELECT_CAL_LANG}</td> + <td align="left" valign="top" width="300" nowrap>{L_SELECT_CAL}</td> <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> - <td align="left" valign="top"><select name="cookie_calendar" class="query_style">{COOKIE_CALENDAR}</select></td> + <td align="left" valign="top"><select name="cookie_calendar" class="query_style">{CALENDAR_SELECT}</select></td> </tr> <tr> - <td align="left" valign="top" width="300" nowrap>{SELECT_VIEW_LANG}</td> + <td align="left" valign="top" width="300" nowrap>{L_SELECT_VIEW}</td> <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> - <td align="left" valign="top"><select name="cookie_view" class="query_style">{COOKIE_VIEW}</select></td> + <td align="left" valign="top"><select name="cookie_view" class="query_style">{VIEW_SELECT}</select></td> </tr> <tr> - <td align="left" valign="top" width="300" nowrap>{SELECT_TIME_LANG}</td> + <td align="left" valign="top" width="300" nowrap>{L_SELECT_TIME}</td> <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> - <td align="left" valign="top"><select name="cookie_time" class="query_style">{COOKIE_TIME}</select></td> + <td align="left" valign="top"><select name="cookie_time" class="query_style">{TIME_SELECT}</select></td> </tr> <tr> - <td align="left" valign="top" width="300" nowrap>{SELECT_DAY_LANG}</td> + <td align="left" valign="top" width="300" nowrap>{L_SELECT_DAY}</td> <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> - <td align="left" valign="top"><select name="cookie_startday" class="query_style">{COOKIE_STARTDAY}</select></td> + <td align="left" valign="top"><select name="cookie_startday" class="query_style">{STARTDAY_SELECT}</select></td> </tr> <tr> - <td align="left" valign="top" width="300" nowrap>{SELECT_STYLE_LANG}</td> + <td align="left" valign="top" width="300" nowrap>{L_SELECT_STYLE}</td> <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> - <td align="left" valign="top"><select name="cookie_style" class="query_style">{COOKIE_STYLE}</select></td> + <td align="left" valign="top"><select name="cookie_style" class="query_style">{STYLE_SELECT}</select></td> </tr> <!-- switch cookie_already_set on --> <tr> - <td align="left" valign="top" nowrap>{UNSET_PREFS_LANG}</td> + <td align="left" valign="top" nowrap>{L_UNSET_PREFS}</td> <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> <td align="left" valign="top"><INPUT TYPE="checkbox" NAME="unset" VALUE="true"></td> </tr> @@ -86,7 +87,7 @@ <tr> <td align="left" valign="top" nowrap> </td> <td align="left" valign="top"><img src="images/spacer.gif" alt=" " width="20" height="1" border="0"></td> - <td align="left" valign="top"><input type="submit" name="set" value="{SET_PREFS_LANG}"></button></td> + <td align="left" valign="top"><input type="submit" name="set" value="{L_SET_PREFS}"></button></td> </tr> <!-- switch cookie_not_set off --> </table> @@ -101,4 +102,5 @@ </td> </tr> </table> -</center>
\ No newline at end of file +</center> +{FOOTER}
\ No newline at end of file diff --git a/templates/default/todo.tpl b/templates/default/todo.tpl index 71c1ed7..5527a1e 100644 --- a/templates/default/todo.tpl +++ b/templates/default/todo.tpl @@ -21,16 +21,16 @@ <!-- switch description off --> <p> <!-- switch status on --> - <b>{STATUS_LANG}</b>: {STATUS}<br> + <b>{L_STATUS}</b>: {STATUS}<br> <!-- switch status off --> <!-- switch priority on --> - <b>{PRIORITY_LANG}</b>: {PRIORITY}<br> + <b>{L_PRIORITY}</b>: {PRIORITY}<br> <!-- switch priority off --> <!-- switch start_date on --> - <b>{CREATED_LANG}</b>: {START_DATE}<br> + <b>{L_CREATED}</b>: {START_DATE}<br> <!-- switch start_date off --> <!-- switch due_date on --> - <b>{DUE_LANG}</b>: {DUE_DATE}<br> + <b>{L_DUE}</b>: {DUE_DATE}<br> <!-- switch due_date off --> </p> </div> |