source: extensions/ContactForm/admin/themes/cf_config.tab.tpl @ 17044

Last change on this file since 17044 was 10035, checked in by plg, 13 years ago

compatibility with Piwigo 2.2 (remove "adviser", get_comment_post_key()
replaced by get_ephemeral_key(), known_script replaced by combine_script
and use of combine_css)

textarea is no more "resizable" (useless and break CSS rules)

File size: 2.4 KB
Line 
1{combine_script id="jquery.ui.tabs"}
2
3<div class="titrePage">
4    <h2>{$CF.TITLE}<br>{'cf_config'|@translate}</h2>
5</div>
6<h3 style="width: 100%;">{'cf_config_desc'|@translate}</h3>
7<form method="post" action="{$CF.F_ACTION}" id="update" enctype="multipart/form-data">
8<fieldset>
9  <legend>{'cf_label_config'|@translate}</legend>
10  <ul>
11    <li>
12      <label>
13        <input type="checkbox" name="cf_menu_link" value="1" {$CF_CONFIG.MENU_LINK} />
14        {'cf_menu_link'|@translate}
15      </label>
16    </li>
17    <li>
18      <label>
19        <input type="checkbox" name="cf_guest_allowed" value="1" {$CF_CONFIG.GUEST} />
20        {'cf_guest_allowed'|@translate}
21      </label>
22    </li>
23    <li>
24      <label>
25        <input type="checkbox" name="cf_mandatory_name" value="1" {$CF_CONFIG.NEED_NAME} />
26        {'cf_mandatory_name'|@translate}
27      </label>
28    </li>
29    <li>
30      <label>
31        <input type="checkbox" name="cf_mandatory_mail" value="1" {$CF_CONFIG.NEED_MAIL} />
32        {'cf_mandatory_mail'|@translate}
33      </label>
34    </li>
35  </ul>
36</fieldset>
37<fieldset>
38  <legend>{'cf_label_mail'|@translate}</legend>
39  <ul>
40    <li>
41      <label>
42        <input type="text" name="cf_mail_prefix" value="{$CF_CONFIG.PREFIX}" maxlength="50" size="50"/>
43        {'cf_mail_prefix'|@translate}
44      </label>
45    </li>
46    <li>
47      <label>
48        <input type="text" name="cf_separator" value="{$CF_CONFIG.SEPARATOR}" maxlength="2" size="2"/>
49        {'cf_separator'|@translate}
50      </label>
51    </li>
52    <li>
53      <label>
54        <input type="text" name="cf_separator_length" value="{$CF_CONFIG.SEPARATOR_LENGTH}" maxlength="2" size="2"/>
55        {'cf_separator_length'|@translate}
56      </label>
57    </li>
58    <li>
59      <label>
60        <input type="text" name="cf_redirect_delay" value="{$CF_CONFIG.REDIRECT_DELAY}" maxlength="2" size="2"/>
61        {'cf_redirect_delay'|@translate}
62      </label>
63    </li>
64  </ul>
65</fieldset>
66
67{* ----------- CONFIGURATION ----------- *}
68<p><input class="submit" type="submit" value="{'cf_validate'|@translate}" name="submit"></p>
69</form>
70{footer_script}{literal}
71$(document).ready(function() {
72    $(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400);
73    $(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400);
74  });
75{/literal}{/footer_script}
Note: See TracBrowser for help on using the repository browser.