aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/AdminTools/template/admin.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2014-06-13 19:53:56 +0000
committermistic100 <mistic@piwigo.org>2014-06-13 19:53:56 +0000
commit0018bcd9f5ed3e86edfa83b389a8f2e42cf4101e (patch)
treefdf2b5d26b0db04856c4ed590f9954b2ddcd2b55 /plugins/AdminTools/template/admin.tpl
parent715f13b123c799eb5dae73147278a6e67fb1d8ea (diff)
add AdminTools to trunk
git-svn-id: http://piwigo.org/svn/trunk@28694 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/AdminTools/template/admin.tpl')
-rw-r--r--plugins/AdminTools/template/admin.tpl60
1 files changed, 60 insertions, 0 deletions
diff --git a/plugins/AdminTools/template/admin.tpl b/plugins/AdminTools/template/admin.tpl
new file mode 100644
index 000000000..b82b3fd24
--- /dev/null
+++ b/plugins/AdminTools/template/admin.tpl
@@ -0,0 +1,60 @@
+{html_style}
+.graphicalCheckbox {
+ font-size:16px;
+ line-height:16px;
+}
+
+.graphicalCheckbox + input {
+ display:none;
+}
+{/html_style}
+
+{footer_script}
+jQuery('#ato-config input[type=checkbox]').change(function() {
+ jQuery(this).prev().toggleClass('icon-check icon-check-empty');
+});
+jQuery('#ato-config input[type=radio]').change(function() {
+ jQuery('#ato-config input[type=radio][name='+ $(this).attr('name') +']').prev().toggleClass('icon-check icon-check-empty');
+});
+{/footer_script}
+
+<div class="titrePage">
+ <h2>Admin Tools</h2>
+</div>
+
+<form method="post" action="" class="properties" id="ato-config">
+<fieldset>
+ <legend>{'Configuration'|translate}</legend>
+ <ul>
+ <li>
+ <label>
+ <span class="graphicalCheckbox icon-check{if not $AdminTools.default_open}-empty{/if}"></span>
+ <input type="checkbox" name="default_open"{if $AdminTools.default_open} checked="checked"{/if}>
+ <b>{'Open toolbar by default'|translate}</b>
+ </label>
+ </li>
+ <li>
+ <label>
+ <span class="graphicalCheckbox icon-check{if not $AdminTools.public_quick_edit}-empty{/if}"></span>
+ <input type="checkbox" name="public_quick_edit"{if $AdminTools.public_quick_edit} checked="checked"{/if}>
+ <b>{'Give access to quick edit to photo owners even if they are not admin'|translate}</b>
+ </label>
+ </li>
+ <li>
+ <b>{'Closed icon position'|translate} :</b>
+ <label>
+ <span class="graphicalCheckbox icon-check{if $AdminTools.closed_position!='left'}-empty{/if}"></span>
+ <input type="radio" name="closed_position" value="left"{if $AdminTools.closed_position=='left'} checked="checked"{/if}>
+ {'left'|translate}
+ </label>
+ <label>
+ <span class="graphicalCheckbox icon-check{if $AdminTools.closed_position!='right'}-empty{/if}"></span>
+ <input type="radio" name="closed_position" value="right"{if $AdminTools.closed_position=='right'} checked="checked"{/if}>
+ {'right'|translate}
+ </label>
+ </li>
+ </ul>
+</fieldset>
+
+<p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p>
+</form> \ No newline at end of file