summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-12-18 22:34:09 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-12-18 22:34:09 +0000
commit3096c1e2f1f8f755e795c2766d15a339696e800d (patch)
tree6a9a9ac09515a636d82ce926731b0a2cfb1eb765 /templates
parent302b267e93928d3777681a81e2b47d463cfed49a (diff)
downloadcalendar-3096c1e2f1f8f755e795c2766d15a339696e800d.tar.gz
calendar-3096c1e2f1f8f755e795c2766d15a339696e800d.tar.bz2
calendar-3096c1e2f1f8f755e795c2766d15a339696e800d.zip
merge recent changes into HEAD
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_calendar.tpl24
1 files changed, 7 insertions, 17 deletions
diff --git a/templates/admin_calendar.tpl b/templates/admin_calendar.tpl
index 9ed8fd6..587cad7 100644
--- a/templates/admin_calendar.tpl
+++ b/templates/admin_calendar.tpl
@@ -6,42 +6,32 @@
{form legend="Calendar Settings"}
<input type="hidden" name="page" value="{$page}" />
<div class="row">
- {formlabel label="First day of Week" for="calendar_week_offset"}
+ {formlabel label="First day of Week" for="week_offset"}
{forminput}
- {html_options name=calendar_week_offset output=$firstDayOutput values=$firstDayValues selected=`$settings.calendar_week_offset` id=calendar_week_offset}
+ {html_options name=week_offset output=$firstDayOutput values=$firstDayValues selected=`$settings.week_offset` id=week_offset}
{formhelp note="Set the first day of the week."}
{/forminput}
</div>
<div class="row">
- {formlabel label="Time Blocks" for="calendar_hour_fraction"}
+ {formlabel label="Time Blocks" for="hour_fraction"}
{forminput}
- {html_options name=calendar_hour_fraction output=$hourOutput values=$hourValues selected=`$settings.calendar_hour_fraction` id=calendar_hour_fraction} {tr}minutes{/tr}
+ {html_options name=hour_fraction output=$hourOutput values=$hourValues selected=`$settings.hour_fraction` id=hour_fraction} {tr}minutes{/tr}
{formhelp note="Set the timeblocks for the day view."}
{/forminput}
</div>
<div class="row">
- {formlabel label="Day View times" for="calendar_day_start"}
+ {formlabel label="Day View times" for="day_start"}
{forminput}
{tr}from{/tr} &nbsp;
- {html_options name=calendar_day_start output=$dayStart values=$dayStart selected=`$settings.calendar_day_start` id=calendar_day_start}
+ {html_options name=day_start output=$dayStart values=$dayStart selected=`$settings.day_start` id=day_start}
&nbsp; {tr}to{/tr} &nbsp;
- {html_options name=calendar_day_end output=$dayEnd values=$dayEnd selected=`$settings.calendar_day_end` id=calendar_day_start}
+ {html_options name=day_end output=$dayEnd values=$dayEnd selected=`$settings.day_end` id=day_start}
{formhelp note="Pick the start and end time of your day view."}
{/forminput}
</div>
- {if $gBitUser->isAdmin() }
- <div class="row">
- {formlabel label="User Override of Global Calendar Setting" for="user_pref"}
- {forminput}
- {html_checkboxes name="calendar_user_prefs" values="y" checked=`$settings.calendar_user_prefs` labels=false id=calendar_user_prefs}
- {formhelp note="Global override of the facility for users to set their own calendar preferences."}
- {/forminput}
- </div>
- {/if}
-
<div class="row submit">
<input type="submit" name="calendar_submit" value="{tr}Change preferences{/tr}" />
</div>