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

Last change on this file since 6573 was 6573, checked in by datajulien, 14 years ago

ThemeChanger version 2.1.0.b
bug correction.

File size: 2.9 KB
Line 
1<div class="titrePage">
2        <h3>Theme Changer</h3>
3</div>
4<ul class="categoryActions">
5        <!--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-->
6</ul>
7
8<br>
9[ <a href="{$params.U_ADD_ASSOC}">{'add_assoc'|@translate}</a> ]
10<br>
11
12<table class="table2">
13  <tr class="throw">
14    <th>{'categories'|@translate}</th>
15    <th>{'theme'|@translate}</th>
16    <th>{'action'|@translate}</th>
17  </tr>
18  <!-- BEGIN assoc -->
19  {foreach from=$assoc item=assoc key=i} 
20<tr class="{$assoc.CLASS}">
21
22    <td>{$assoc.CATEGORY_NAME}</td>
23    <td>{$assoc.TEMPLATE}</td>
24    <td style="text-align:center;">
25      <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>
26      <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>
27    </td>
28       
29  </tr>
30  {/foreach}
31  <!-- END assoc -->
32</table>
33
34<!-- BEGIN formulaire -->
35<form method="post" action="{$nbc_ThemeChanger_F_ACTION}" class="general">
36  <fieldset>
37    <legend>{$formulaire.DESCRIPION}</legend>
38    <table class="table2">
39      <tr class="throw">
40        <th>{'categories'|@translate}</th>
41        <th>{'theme'|@translate}</th>
42                <th>{'subCategoriesApply'|@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                        {if ($formulaire.THEMETOMODIFY==$Themes.id)}
65                                        <option value="{$Themes.id}" selected ="selected">{$Themes.name}</option>
66                                       
67                                {else}
68                                        <option value="{$Themes.id}" {$Themes.id}>{$Themes.name}</option>
69                                {/if}
70                               
71            {/foreach}
72                        <!-- END template_option -->
73                        </select>
74        </td>
75                <td>
76                        <div align="center"><input type="checkbox" name="ApplySubCategories" value="true">
77                        </div>
78                </td>
79          </tr>
80         
81    </table>
82       
83    <div align="center"><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} /></div>
84
85  </fieldset>
86</form>
87<!-- END formulaire -->
Note: See TracBrowser for help on using the repository browser.