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

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

very big update for Piwigo 2.6

File size: 1.0 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  </ul>
29</fieldset>
30
31  <p class="formButtons"><input type="submit" name="save_config" value="{'Save Settings'|translate}"></p>
32</form>
Note: See TracBrowser for help on using the repository browser.