source: branches/2.0/admin/template/goto/extend_for_templates.tpl @ 4894

Last change on this file since 4894 was 2924, checked in by patdenice, 15 years ago

merge -c2923 from trunk to branch 2.0.

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