diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:11 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:11 +0000 |
| commit | 1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c (patch) | |
| tree | 0092f5a24ffb7fca352d6a5f69eacba5fde71bc5 /templates/admin_liberty.tpl | |
| parent | 0cca5428deb82c6e76859f034662a6cbbaa69b6e (diff) | |
| download | liberty-1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c.tar.gz liberty-1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c.tar.bz2 liberty-1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c.zip | |
Merge recent changes from R1 to HEAD - never doing this again.
Diffstat (limited to 'templates/admin_liberty.tpl')
| -rw-r--r-- | templates/admin_liberty.tpl | 53 |
1 files changed, 52 insertions, 1 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl index 5d26f56..7aa0444 100644 --- a/templates/admin_liberty.tpl +++ b/templates/admin_liberty.tpl @@ -19,13 +19,63 @@ {formlabel label="Acceptable HTML tags" for="approved_html_tags"} {formfeedback warning=$errors.warning} {forminput} - <input type="text" id="approved_html_tags" name="approved_html_tags" size="60" maxlength="250" value="{$approved_html_tags|escape}" /> + <input type="text" id="approved_html_tags" name="approved_html_tags" size="50" maxlength="250" value="{$approved_html_tags|escape}" /> {formhelp note="List of allowed HTML tags. All other tags will be stripped when users save content. This will affect all format plugins."} {/forminput} </div> {/legend} {/jstab} + {jstab title="Comment Settings"} + {legend legend="Comment Settings"} + {foreach from=$formCommentFeatures key=item item=output} + <div class="row"> + {formlabel label=`$output.label` for=$item} + {forminput} + {html_checkboxes name="$item" values="y" checked=`$gBitSystemPrefs.$item` labels=false id=$item} + {formhelp note=`$output.note` page=`$output.page`} + {/forminput} + </div> + {/foreach} + + <div class="row"> + {formlabel label="Comments per Page" for="comments_per_page"} + {forminput} + <select name="comments_per_page" id="comments_per_page"> + <option value="10" {if $gBitSystemPrefs.comments_per_page eq 10}selected="selected"{/if}>10</option> + <option value="20" {if $gBitSystemPrefs.comments_per_page eq 20}selected="selected"{/if}>20</option> + <option value="50" {if $gBitSystemPrefs.comments_per_page eq 50}selected="selected"{/if}>50</option> + <option value="100" {if $gBitSystemPrefs.comments_per_page eq 100}selected="selected"{/if}>100</option> + <option value="999999" {if $gBitSystemPrefs.comments_per_page eq 999999}selected="selected"{/if}>All</option> + </select> + {formhelp note="Default number of comments per page."} + {/forminput} + </div> + + <div class="row"> + {formlabel label="Default Sort Mode" for="comments_default_ordering"} + {forminput} + <select name="comments_default_ordering" id="comments_default_ordering"> + <option value="commentDate_desc" {if $gBitSystemPrefs.comments_default_ordering eq 'commentDate_desc'}selected="selected"{/if}>{tr}Newest first{/tr}</option> + <option value="commentDate_asc" {if $gBitSystemPrefs.comments_default_ordering eq 'commentDate_asc'}selected="selected"{/if}>{tr}Oldest first{/tr}</option> + {*<option value="points_desc" {if $gBitSystemPrefs.comments_default_ordering eq 'points_desc'}selected="selected"{/if}>{tr}Points{/tr}</option>*} + </select> + {formhelp note="Select the default sort mode for comments."} + {/forminput} + </div> + + <div class="row"> + {formlabel label="Comments default display mode" for="comments_default_display_mode"} + {forminput} + <select name="comments_default_display_mode" id="comments_default_display_mode"> + <option value="threaded" {if $gBitSystemPrefs.comments_default_display_mode eq 'threaded'}selected="selected"{/if}>{tr}Threaded{/tr}</option> + <option value="flat" {if $gBitSystemPrefs.comments_default_display_mode eq 'flat'}selected="selected"{/if}>{tr}Flat{/tr}</option> + </select> + {/forminput} + </div> + {/legend} + {/jstab} + {jstab title="Image Processing"} {legend legend="Image Processing System"} <input type="hidden" name="page" value="{$page}" /> @@ -65,6 +115,7 @@ {/legend} {/jstab} {/jstabs} + <div class="row submit"> <input type="submit" name="change_prefs" value="{tr}Change preferences{/tr}" /> </div> |
