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

Last change on this file since 4362 was 3954, checked in by datajulien, 15 years ago

Plugin nbc_ThemeChanger -- Version 2.0.1.b

Ajout de la possibilité d'appliquer la modification du thème à toutes les sous-catégories de celle séléctionné
Ajout de la hierarchie dans le nom des catégories ("Photo/Nuit" au lieu de "Nuit" seule)
Correction de la fonctionnalité modifiée (lorsqu'on clique sur "modifier l'association", la catégorie sélectionnée par défaut est celle à modifier (et non plus la première de la liste))
Ajout la langue italienne

Fichiers impactés :

language/*
admin/nbc_ThemeChanger_admin.php
admin/nbc_ThemeChanger_admin.tpl

File size: 2.8 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                                <option value="{$Themes}" {$Themes}>{$Themes}</option>
65            {/foreach}
66                        <!-- END template_option -->
67                        </select>
68        </td>
69                <td>
70                        <div align="center"><input type="checkbox" name="ApplySubCategories" value="true">
71                        </div>
72                </td>
73          </tr>
74         
75    </table>
76       
77    <div align="center"><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} /></div>
78
79  </fieldset>
80</form>
81<!-- END formulaire -->
Note: See TracBrowser for help on using the repository browser.