Rev | Line | |
---|
[25678] | 1 | {combine_css path=$USER_COLLEC_PATH|cat:'admin/template/style.css'} |
---|
[20090] | 2 | |
---|
[25678] | 3 | {footer_script} |
---|
| 4 | $('input[name="allow_public"]').on('change', function() { |
---|
| 5 | $('#allow_mails').toggle($(this).is(':checked')); |
---|
[24421] | 6 | }); |
---|
[25678] | 7 | {/footer_script} |
---|
[24421] | 8 | |
---|
[20090] | 9 | <div class="titrePage"> |
---|
| 10 | <h2>User Collections</h2> |
---|
| 11 | </div> |
---|
| 12 | |
---|
| 13 | <form method="post" action="" class="properties"> |
---|
| 14 | <fieldset id="commentsConf"> |
---|
| 15 | <ul> |
---|
| 16 | <li> |
---|
| 17 | <label> |
---|
| 18 | <input type="checkbox" name="allow_public" {if $user_collections.allow_public}checked="checked"{/if}> |
---|
[25678] | 19 | <b>{'Allow users to set their collections as public'|translate}</b> |
---|
[20090] | 20 | </label> |
---|
| 21 | </li> |
---|
[24421] | 22 | <li id="allow_mails" {if not $user_collections.allow_public}style="display:none;"{/if}> |
---|
[20090] | 23 | <label> |
---|
| 24 | <input type="checkbox" name="allow_mails" {if $user_collections.allow_mails}checked="checked"{/if}> |
---|
[25678] | 25 | <b>{'Allow users to send their public collections by mail'|translate}</b> |
---|
[20090] | 26 | </label> |
---|
| 27 | </li> |
---|
| 28 | </ul> |
---|
| 29 | </fieldset> |
---|
| 30 | |
---|
[25678] | 31 | <p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p> |
---|
[20090] | 32 | </form> |
---|
Note: See
TracBrowser
for help on using the repository browser.