summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2005-12-18 14:20:54 +0000
committerLester Caine <lester@lsces.co.uk>2005-12-18 14:20:54 +0000
commit48a8f42b0adecfa341c12393a7f701110d0a2249 (patch)
treed4dc60360d42780c710034d8b62cddc19e105ab2 /templates
parent2a62042d1d01a78f5a4573c1586697d7d91d0f0f (diff)
downloadcalendar-48a8f42b0adecfa341c12393a7f701110d0a2249.tar.gz
calendar-48a8f42b0adecfa341c12393a7f701110d0a2249.tar.bz2
calendar-48a8f42b0adecfa341c12393a7f701110d0a2249.zip
Add user_prefs setting that disables the user options for calendar in the user preferences.
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_calendar.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/admin_calendar.tpl b/templates/admin_calendar.tpl
index 587cad7..188f2e4 100644
--- a/templates/admin_calendar.tpl
+++ b/templates/admin_calendar.tpl
@@ -32,6 +32,16 @@
{/forminput}
</div>
+ {if $gBitUser->isAdmin() }
+ <div class="row">
+ {formlabel label="User Override of Global Calendar Setting" for="user_pref"}
+ {forminput}
+ {html_checkboxes name="user_prefs" values="y" checked=`$settings.user_prefs` labels=false id=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>