diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-01-29 08:08:56 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-01-29 08:08:56 +0000 |
commit | 1e61f021e7e145361cf4885706253aebba3e5ba4 (patch) | |
tree | 775b612e1520a931bee7e1cb463ac569c5200678 /templates | |
parent | c05af993979e7a97765659c4ab94ee3285001b1a (diff) | |
download | phpicalendar-1e61f021e7e145361cf4885706253aebba3e5ba4.tar.gz phpicalendar-1e61f021e7e145361cf4885706253aebba3e5ba4.tar.bz2 phpicalendar-1e61f021e7e145361cf4885706253aebba3e5ba4.zip |
Added draw_month first pass. Updated sidebar.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default/sidebar.tpl | 62 |
1 files changed, 12 insertions, 50 deletions
diff --git a/templates/default/sidebar.tpl b/templates/default/sidebar.tpl index 6ff923c..65f8fd2 100644 --- a/templates/default/sidebar.tpl +++ b/templates/default/sidebar.tpl @@ -9,13 +9,13 @@ <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> + <a class="psf" href="day.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{L_GODAY}</a><br> + <a class="psf" href="week.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{L_GOWEEK}</a><br> + <a class="psf" href="month.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{L_GOMONTH}</a><br> + <a class="psf" href="year.php?cal={CAL}&getdate={REALLY_TODAY_TODAY}">{L_GOYEAR}</a><br> + <a class="psf" href="print.php?cal={CAL}&getdate={GETDATE}&printview={CURRENT_VIEW}">{L_GOPRINT}</a><br> <!-- switch allow_preferences on --> - <a class="psf" href="preferences.php?cal={CAL}&getdate={GETDATE}">{PREFERENCES_LANG}</a><br> + <a class="psf" href="preferences.php?cal={CAL}&getdate={GETDATE}">{L_PREFERENCES}</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> @@ -31,7 +31,7 @@ <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> + <td align="center" class="sideback"><div style="height: 20px; margin-top: 3px;" class="G10BOLD">{L_JUMP}</div></td> </tr> <tr> <td bgcolor="#FFFFFF" align="left"> @@ -48,7 +48,7 @@ <!-- 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="hidden" name="cal" value="{URL_CAL}"> <input type="text" style="width:160px; font-size:10px" name="jumpto_day"> <input type="submit" value="Go"> </form> @@ -122,48 +122,10 @@ <!-- switch todo off --> -<!-- loop minimonth on --> +{MONTH_SMALL|-1} +<img src="images/spacer.gif" width="1" height="10" alt=" "><br> -<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> +{MONTH_SMALL|+0} <img src="images/spacer.gif" width="1" height="10" alt=" "><br> -<!-- loop minimonth off -->
\ No newline at end of file +{MONTH_SMALL|+1}
\ No newline at end of file |