source: extensions/UserCollections/admin/template/config.tpl @ 29317

Last change on this file since 29317 was 29317, checked in by mistic100, 10 years ago

Add allow_send_admin parameter

File size: 1.3 KB
Line 
1{combine_css path=$USER_COLLEC_PATH|cat:'admin/template/style.css'}
2
3{footer_script}
4$('input[name="allow_public"]').on('change', function() {
5    $('#allow_mails').toggle($(this).is(':checked'));
6});
7{/footer_script}
8
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}>
19        <b>{'Allow users to set their collections as public'|translate}</b>
20      </label>
21    </li>
22    <li id="allow_mails" {if not $user_collections.allow_public}style="display:none;"{/if}>
23      <label>
24        <input type="checkbox" name="allow_mails" {if $user_collections.allow_mails}checked="checked"{/if}>
25        <b>{'Allow users to send their public collections by mail'|translate}</b>
26      </label>
27    </li>
28    <li>
29      <label>
30        <input type="checkbox" name="allow_send_admin" {if $user_collections.allow_send_admin}checked="checked"{/if}>
31        <b>{'Allow users to send their collections (public or not) to the admin'|translate}</b>
32      </label>
33    </li>
34  </ul>
35</fieldset>
36
37  <p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p>
38</form>
Note: See TracBrowser for help on using the repository browser.