source: trunk/admin/themes/default/template/extend_for_templates.tpl @ 5434

Last change on this file since 5434 was 5434, checked in by patdenice, 14 years ago

feature 1502: In template extensions admin page, change "Bound template" by "Bound theme".
Template extensions are now attached to all themes if nothing is selected in "bound theme" column.

  • Property svn:eol-style set to LF
File size: 1.4 KB
Line 
1<div class="titrePage"><h2>{'Extend for templates'|@translate}</h2>
2</div>
3{if isset($extents)}
4<h4>{'Replacement of original templates by customized templates from template-extension subfolder'|@translate}</h4>
5<form method="post" name="extend_for_templates" id="extend_for_templates" action="">
6  <table class="table2">
7    <tr class="throw">
8      <th>{'Replacers (customized templates)'|@translate}</th>
9      <th>{'Original templates'|@translate}</th>
10      <th>{'Optional URL keyword'|@translate}</th>
11      <th>{'Bound Theme'|@translate}</th>
12    </tr>
13    {foreach from=$extents item=tpl name=extent_loop}
14    <tr class="{if $smarty.foreach.extent_loop.index is odd}row1{else}row2{/if}">
15      <td>
16        <input type="hidden" name="reptpl[]" value="{$tpl.replacer}">
17        {$tpl.replacer}
18      </td>
19      <td>
20        {html_options name=original[] output=$tpl.original_tpl values=$tpl.original_tpl selected=$tpl.selected_tpl}
21      </td>
22      <td>
23        {html_options name=url[] output=$tpl.url_parameter values=$tpl.url_parameter selected=$tpl.selected_url}
24      </td>
25      <td>
26        {html_options name=bound[] output=$tpl.bound_tpl values=$tpl.bound_tpl selected=$tpl.selected_bound}
27      </td>
28    </tr>
29    {/foreach}
30  </table>
31  {if !is_adviser()}
32  <p>
33    <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit">
34  </p>
35  {/if}
36</form>
37{/if}
Note: See TracBrowser for help on using the repository browser.