diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-12-26 12:28:00 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-12-26 12:28:00 +0000 |
| commit | 420209d46518b2ab5bc7064832c5a346f0d57907 (patch) | |
| tree | 8f71bd5c44fbe78684bb9dcd44fa813356626223 /templates | |
| parent | 3096c1e2f1f8f755e795c2766d15a339696e800d (diff) | |
| download | calendar-420209d46518b2ab5bc7064832c5a346f0d57907.tar.gz calendar-420209d46518b2ab5bc7064832c5a346f0d57907.tar.bz2 calendar-420209d46518b2ab5bc7064832c5a346f0d57907.zip | |
merge recent changes into HEAD
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_calendar.tpl | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/templates/admin_calendar.tpl b/templates/admin_calendar.tpl index 587cad7..e67068c 100644 --- a/templates/admin_calendar.tpl +++ b/templates/admin_calendar.tpl @@ -6,32 +6,42 @@ {form legend="Calendar Settings"} <input type="hidden" name="page" value="{$page}" /> <div class="row"> - {formlabel label="First day of Week" for="week_offset"} + {formlabel label="First day of Week" for="calendar_week_offset"} {forminput} - {html_options name=week_offset output=$firstDayOutput values=$firstDayValues selected=`$settings.week_offset` id=week_offset} + {html_options name=calendar_week_offset output=$firstDayOutput values=$firstDayValues selected=`$settings.calendar_week_offset` id=calendar_week_offset} {formhelp note="Set the first day of the week."} {/forminput} </div> <div class="row"> - {formlabel label="Time Blocks" for="hour_fraction"} + {formlabel label="Time Blocks" for="calendar_hour_fraction"} {forminput} - {html_options name=hour_fraction output=$hourOutput values=$hourValues selected=`$settings.hour_fraction` id=hour_fraction} {tr}minutes{/tr} + {html_options name=calendar_hour_fraction output=$hourOutput values=$hourValues selected=`$settings.calendar_hour_fraction` id=calendar_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="day_start"} + {formlabel label="Day View" for="calendar_day_start"} {forminput} {tr}from{/tr} - {html_options name=day_start output=$dayStart values=$dayStart selected=`$settings.day_start` id=day_start} + {html_options name=calendar_day_start output=$dayStart values=$dayStart selected=`$settings.calendar_day_start` id=calendar_day_start} {tr}to{/tr} - {html_options name=day_end output=$dayEnd values=$dayEnd selected=`$settings.day_end` id=day_start} + {html_options name=calendar_day_end output=$dayEnd values=$dayEnd selected=`$settings.calendar_day_end` id=calendar_day_start} {formhelp note="Pick the start and end time of your day view."} {/forminput} </div> + {if $gBitUser->isAdmin() and $page eq "calendar"} + <div class="row"> + {formlabel label="Individual Calendar Settings" for="calendar_user_prefs"} + {forminput} + {html_checkboxes name="calendar_user_prefs" values="y" checked=`$settings.calendar_user_prefs` labels=false id=calendar_user_prefs} + {formhelp note="Allow 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> |
