source: extensions/nbc_ThemeChanger/admin/nbc_ThemeChanger_admin.tpl @ 3893

Last change on this file since 3893 was 3893, checked in by datajulien, 15 years ago
File size: 2.6 KB
Line 
1<div class="titrePage">
2        <h3>Theme Changer</h3>
3</div>
4
5<ul class="categoryActions">
6        <li><a href="{$params.U_HELP}" onclick="popuphelp(this.href); return false;" title="{'HELP'|@translate}"><img src="{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li>
7</ul>
8
9<br>
10[ <a href="{$params.U_ADD_ASSOC}">{'add_assoc'|@translate}</a> ]
11<br>
12
13<table class="table2">
14  <tr class="throw">
15    <th>{'categories'|@translate}</th>
16    <th>{'theme'|@translate}</th>
17    <th>{'action'|@translate}</th>
18  </tr>
19  <!-- BEGIN assoc -->
20  {foreach from=$assoc item=assoc key=i} 
21<tr class="{$assoc.CLASS}">
22
23    <td>{$assoc.CATEGORY_NAME}</td>
24    <td>{$assoc.TEMPLATE}</td>
25    <td style="text-align:center;">
26      <a href="{$assoc.U_MODIFY}"><img src="{$themeconf.icon_dir}/register.png" class="button" style="border:none" alt="{'modify_assoc'|@translate}" title="{'modify_assoc'|@translate}"></a>
27      <a href="{$assoc.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate}');" ><img src="{$themeconf.icon_dir}/category_delete.png" class="button" style="border:none" alt="{'delete_assoc'|@translate}" title="{'delete_assoc'|@translate}"></a>
28    </td>
29       
30  </tr>
31  {/foreach}
32  <!-- END assoc -->
33</table>
34
35<!-- BEGIN formulaire -->
36<form method="post" action="{$nbc_ThemeChanger_F_ACTION}" class="general">
37  <fieldset>
38    <legend>{$formulaire.DESCRIPION}</legend>
39    <table class="table2">
40      <tr class="throw">
41        <th>{'categories'|@translate}</th>
42        <th>{'theme'|@translate}</th>
43      </tr>
44      <tr>
45        <td>
46          <!-- BEGIN categorylist -->
47          <select class="categoryDropDown" name="categorychoise">
48            <!-- BEGIN parent_option -->
49                        {foreach from=$params.Categories item=Categories key=i}
50                                {if ($formulaire.IDTOMODIFY==$Categories.id)}
51                                        <option value="{$Categories.id}" selected ="selected">{$Categories.longName}</option>   
52                                {else}
53                                        <option value="{$Categories.id}">{$Categories.longName}</option>       
54                                {/if}
55                        {/foreach}
56            <!-- END parent_option -->
57          </select>
58          <!-- END categorylist -->
59        </td>
60        <td>
61                        <select name="template" id="template">
62                        <!-- BEGIN template_option -->
63                        {foreach from=$params.Themes item=Themes key=i}
64                                <option value="{$Themes}" {$Themes}>{$Themes}</option>
65            {/foreach}
66                        <!-- END template_option -->
67                        </select>
68        </td>
69      </tr>
70    </table>
71       
72    <div align="center"><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} /></div>
73
74  </fieldset>
75</form>
76<!-- END formulaire -->
Note: See TracBrowser for help on using the repository browser.