source: extensions/ContactForm/admin/themes/cf_emails.tab.tpl @ 12866

Last change on this file since 12866 was 10035, checked in by plg, 14 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: 1.7 KB
Line 
1{combine_script id="jquery.ui.tabs"}
2
3<div class="titrePage">
4    <h2>{$CF.TITLE}<br>{'cf_emails'|@translate}</h2>
5</div>
6<h3 style="width: 100%;">{'cf_emails_desc'|@translate}</h3>
7<form method="post" action="{$CF.F_ACTION}" id="update" enctype="multipart/form-data">
8<table class="table2">
9  <tr class="throw">
10    <th>{'Username'|@translate}</th>
11    <th>{'Email address'|@translate}</th>
12    <th>{'cf_active'|@translate}</th>
13    <th>{'Webmaster'|@translate}</th>
14  </tr>
15{foreach from=$CF_EMAILS item=email_item key=email}
16  <tr class="{cycle values="row2,row1"}">
17    <td>{$email_item.NAME}</td>
18    <td>{$email}</td>
19    <td style="text-align: center;">
20      {assign var=name value='active['|cat:$email|cat:']'}
21      {html_radios name=$name options=$CF_OPTIONS selected=$email_item.ACTIVE separator='&nbsp;'}
22    </td>
23    <td style="text-align: center;">
24      <input type="radio" name="webmaster" value="{$email}"{if (1==$email_item.WEBMASTER)} checked="checked"{/if}>
25    </td>
26  </tr>
27{foreachelse}
28  <tr class="row2">
29    <td colspan="4" style="text-align: center;">
30      <div>{'cf_no_mail'|@translate}</div>
31    </td>
32  </tr>
33{/foreach}
34  <tr>
35    <td colspan="4" style="text-align: center;">
36      <div class="cf-refresh"><input class="submit" type="submit" value="{'cf_refresh'|@translate}" name="refresh"></div>
37    </td>
38  </tr>
39</table>
40<p><input class="submit" type="submit" value="{'cf_validate'|@translate}" name="submit"></p>
41</form>
42{footer_script}{literal}
43$(document).ready(function() {
44    $(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400);
45    $(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400);
46  });
47{/literal}{/footer_script}
48{$CF_DEBUG}
Note: See TracBrowser for help on using the repository browser.