diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-01-27 01:25:11 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-01-27 01:25:11 +0000 |
commit | 083005fb532c9c4a71d3bb218bc6c3a0a9fb3f7c (patch) | |
tree | b4db6c8e1ff32f2ddb83138c9f66dc95ed19e75d /templates | |
parent | 1055e3afd5777910fab373eb6918bfa88daa050f (diff) | |
download | phpicalendar-083005fb532c9c4a71d3bb218bc6c3a0a9fb3f7c.tar.gz phpicalendar-083005fb532c9c4a71d3bb218bc6c3a0a9fb3f7c.tar.bz2 phpicalendar-083005fb532c9c4a71d3bb218bc6c3a0a9fb3f7c.zip |
Initial sidebar template checkin.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/sidebar.tpl | 169 |
1 files changed, 169 insertions, 0 deletions
diff --git a/templates/default/sidebar.tpl b/templates/default/sidebar.tpl new file mode 100644 index 0000000..6ff923c --- /dev/null +++ b/templates/default/sidebar.tpl @@ -0,0 +1,169 @@ +<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> + <tr> + <td align="left" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&getdate={YESTERDAYS_DATE}"><img src="templates/{TEMPLATE}/images/left_arrows.gif" alt="{PREV_LANG}" width="16" height="20" border="0" align="left"></a></td> + <td align="center" width="112" class="sideback"><font class="G10BOLD">{THISDAY2}</font></td> + <td align="right" valign="top" width="24" class="sideback"><a class="psf" href="day.php?cal={CAL}&getdate={TOMORROWS_DATE}"><img src="templates/{TEMPLATE}/images/right_arrows.gif" alt="{NEXT_LANG}" width="16" height="20" border="0" align="right"></a></td> + </tr> + <tr> + <td colspan="3" bgcolor="#FFFFFF" align="left"> + <div style="padding: 5px;"> + <font class="G10BOLD">{CAL_DISPLAYNAME2}</font><br> + <span class="G10"> + <a class="psf" href="day.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{GODAY_LANG}</a><br> + <a class="psf" href="week.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{GOWEEK_LANG}</a><br> + <a class="psf" href="month.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{GOMONTH_LANG}</a><br> + <a class="psf" href="year.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{GOYEAR_LANG}</a><br> + <a class="psf" href="print.php?cal={CAL}&getdate={GETDATE}&printview={CURRENT_VIEW}">{GOPRINT_LANG}</a><br> + <!-- switch allow_preferences on --> + <a class="psf" href="preferences.php?cal={CAL}&getdate={GETDATE}">{PREFERENCES_LANG}</a><br> + <!-- switch allow_preferences off --> + <!-- switch display_download on --> + <a class="psf" href="{SUBSCRIBE_PATH}">{SUBSCRIBE_LANG}</a> | <a class="psf" href="{DOWNLOAD_FILENAME}">{DOWNLOAD_LANG}</a><br> + <!-- switch display_download off --> + <!-- switch is_logged_in on --> + <a class="psf" href="{SCRIPT_NAME}?{QUERYS}">Logout {USERNAME}</a> + <!-- switch is_logged_in off --> + </span> + </div> + </td> + </tr> +</table> +<img src="images/spacer.gif" width="1" height="10" alt=" "><br> +<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> + <tr height="20"> + <td align="center" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{JUMP_LANG}</div></td> + </tr> + <tr> + <td bgcolor="#FFFFFF" align="left"> + <div style="padding: 5px;"> + <form style="margin-bottom:0;" action="day.php" method="GET"> + {LIST_ICALS}<br> + {LIST_YEARS}<br> + {LIST_MONTHS}<br> + {LIST_WEEKS}<br> + <br> + </form> + <!-- switch show_search on --> + {SEARCH_BOX} + <!-- switch show_search off --> + <!-- switch show_goto on --> + <form style="margin-bottom:0;" action="day.php" method="GET"> + <input type="hidden" name="cal" value="'.urlencode({CAL}).'"> + <input type="text" style="width:160px; font-size:10px" name="jumpto_day"> + <input type="submit" value="Go"> + </form> + <!-- switch show_goto off --> + </div> + </td> + </tr> +</table> +<img src="images/spacer.gif" width="1" height="10" alt=" "><br> + +<!-- switch tomorrows_events on --> + +<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> + <tr height="20"> + <td align="center" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{TOMORROWS_LANG}</div></td> + </tr> + <tr> + <td bgcolor="#FFFFFF" align="left"> + <div style="padding: 5px;"> + <!-- switch t_allday on --> + <i>{T_ALLDAY}</i><br> + <!-- switch t_allday off --> + <!-- switch t_event on --> + • {T_EVENT}<br> + <!-- switch t_event off --> + </div> + </td> + </tr> +</table> +<img src="images/spacer.gif" width="1" height="10" alt=" "><br> + +<!-- switch tomorrows_events off --> + +<!-- switch todo on --> + +<table width="170" border="0" cellpadding="0" cellspacing="0" class="calborder"> + <tr height="20"> + <td align="center" width="98%" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{TODO_LANG}</div></td> + </tr> + <tr> + <td bgcolor="#FFFFFF" align="left"> + <div style="padding: 5px;"> + <table cellpadding="0" cellspacing="0" border="0"> + <!-- switch show_completed on --> + <tr> + <td><img src="images/completed.gif" alt=" " width="13" height="11" border="0" align="middle"></td> + <td><img src="images/spacer.gif" width="2" height="1" border"0" /></td> + <td><s><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></s></td> + </tr> + <!-- switch show_completed off --> + <!-- switch show_important on --> + <tr> + <td><img src="images/important.gif" alt=" " width="13" height="11" border="0" align="middle"></td> + <td><img src="images/spacer.gif" width="2" height="1" border"0" /></td> + <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td> + </tr> + <!-- switch show_important off --> + <!-- switch show_normal on --> + <tr> + <td><img src="images/not_completed.gif" alt=" " width="13" height="11" border="0" align="middle"></td> + <td><img src="images/spacer.gif" width="2" height="1" border"0" /></td> + <td><a class="psf" href="javascript:openTodoInfo('{VTODO_ARRAY}')"><font class="G10B"> {VTODO_TEXT}</font></a></td> + </tr> + <!-- switch show_normal on --> + </table> + </div> + </td> + </tr> +</table> +<img src="images/spacer.gif" width="1" height="10" alt=" "><br> + +<!-- switch todo off --> + +<!-- loop minimonth on --> + +<table width="170" border="0" cellpadding="3" cellspacing="0" class="calborder"> + <tr height="20"> + <td align="center" class="sideback"><font class="G10BOLD">{MONTH_TITLE}</font></td> + </tr> + <tr> + <td bgcolor="#FFFFFF" align="center"> + <table border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"> + <!-- loop daysofweek on --> + <tr> + <!-- loop days on --> + <td align="center" class="G10BOLD">{DAY}</td> + <!-- loop days off --> + </tr> + <!-- loop dayofweek off --> + <!-- loop monthdays on --> + <tr> + <!-- loop days on --> + <!-- switch notthismonth on --> + <td width="22" align="center" class="G10B"> + <a class="ps2" href="{MINICAL_VIEW}php?cal={CAL}&getdate={DAYLINK}"><span class="G10G">{DAY}</span></a> + </td> + <!-- switch notthismonth off --> + <!-- switch isevent on --> + <td width="22" align="center" class="G10B"> + <a class="ps2" href="{MINICAL_VIEW}php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> + </td> + <!-- switch isevent off --> + <!-- switch notevent on --> + <td width="22" align="center" class="G10B"> + <a class="psf" href="{MINICAL_VIEW}php?cal={CAL}&getdate={DAYLINK}">{DAY}</a> + </td> + <!-- switch thismonth off --> + <!-- loop days off --> + </tr> + <!-- loop monthdays on --> + </table> + <img src="images/spacer.gif" width="1" height="3" alt=" "><br> + </td> + </tr> +</table> +<img src="images/spacer.gif" width="1" height="10" alt=" "><br> + +<!-- loop minimonth off -->
\ No newline at end of file |