Line | |
---|
1 | {html_style} |
---|
2 | .graphicalCheckbox { |
---|
3 | font-size:16px; |
---|
4 | line-height:16px; |
---|
5 | } |
---|
6 | |
---|
7 | .graphicalCheckbox + input { |
---|
8 | display:none; |
---|
9 | } |
---|
10 | {/html_style} |
---|
11 | |
---|
12 | {footer_script} |
---|
13 | jQuery('#ato-config input[type=checkbox]').change(function() { |
---|
14 | jQuery(this).prev().toggleClass('icon-check icon-check-empty'); |
---|
15 | }); |
---|
16 | jQuery('#ato-config input[type=radio]').change(function() { |
---|
17 | jQuery('#ato-config input[type=radio][name='+ $(this).attr('name') +']').prev().toggleClass('icon-check icon-check-empty'); |
---|
18 | }); |
---|
19 | {/footer_script} |
---|
20 | |
---|
21 | <div class="titrePage"> |
---|
22 | <h2>Admin Tools</h2> |
---|
23 | </div> |
---|
24 | |
---|
25 | <form method="post" action="" class="properties" id="ato-config"> |
---|
26 | <fieldset> |
---|
27 | <legend>{'Configuration'|translate}</legend> |
---|
28 | <ul> |
---|
29 | <li> |
---|
30 | <label> |
---|
31 | <span class="graphicalCheckbox icon-check{if not $AdminTools.default_open}-empty{/if}"></span> |
---|
32 | <input type="checkbox" name="default_open"{if $AdminTools.default_open} checked="checked"{/if}> |
---|
33 | <b>{'Open toolbar by default'|translate}</b> |
---|
34 | </label> |
---|
35 | </li> |
---|
36 | <li> |
---|
37 | <label> |
---|
38 | <span class="graphicalCheckbox icon-check{if not $AdminTools.public_quick_edit}-empty{/if}"></span> |
---|
39 | <input type="checkbox" name="public_quick_edit"{if $AdminTools.public_quick_edit} checked="checked"{/if}> |
---|
40 | <b>{'Give access to quick edit to photo owners even if they are not admin'|translate}</b> |
---|
41 | </label> |
---|
42 | </li> |
---|
43 | <li> |
---|
44 | <b>{'Closed icon position'|translate} :</b> |
---|
45 | <label> |
---|
46 | <span class="graphicalCheckbox icon-check{if $AdminTools.closed_position!='left'}-empty{/if}"></span> |
---|
47 | <input type="radio" name="closed_position" value="left"{if $AdminTools.closed_position=='left'} checked="checked"{/if}> |
---|
48 | {'left'|translate} |
---|
49 | </label> |
---|
50 | <label> |
---|
51 | <span class="graphicalCheckbox icon-check{if $AdminTools.closed_position!='right'}-empty{/if}"></span> |
---|
52 | <input type="radio" name="closed_position" value="right"{if $AdminTools.closed_position=='right'} checked="checked"{/if}> |
---|
53 | {'right'|translate} |
---|
54 | </label> |
---|
55 | </li> |
---|
56 | </ul> |
---|
57 | </fieldset> |
---|
58 | |
---|
59 | <p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p> |
---|
60 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.