aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/extend_for_templates.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
committerplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
commit14778ce673277f2df41f963aa70df1cbed427294 (patch)
tree8c723d4d9827876dbf19d2bd581405fc50910860 /admin/themes/default/template/extend_for_templates.tpl
parentc396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff)
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/extend_for_templates.tpl')
-rw-r--r--admin/themes/default/template/extend_for_templates.tpl37
1 files changed, 37 insertions, 0 deletions
diff --git a/admin/themes/default/template/extend_for_templates.tpl b/admin/themes/default/template/extend_for_templates.tpl
new file mode 100644
index 000000000..0d093c3bf
--- /dev/null
+++ b/admin/themes/default/template/extend_for_templates.tpl
@@ -0,0 +1,37 @@
+<div class="titrePage"><h2>{'Extend for templates'|@translate}</h2>
+</div>
+{if isset($extents)}
+<h4>{'Replacement of original templates by customized templates from template-extension subfolder'|@translate}</h4>
+<form method="post" name="extend_for_templates" id="extend_for_templates" action="">
+ <table class="table2">
+ <tr class="throw">
+ <th>{'Replacers (customized templates)'|@translate}</th>
+ <th>{'Original templates'|@translate}</th>
+ <th>{'Optional URL keyword'|@translate}</th>
+ <th>{'Bound template'|@translate}</th>
+ </tr>
+ {foreach from=$extents item=tpl name=extent_loop}
+ <tr class="{if $smarty.foreach.extent_loop.index is odd}row1{else}row2{/if}">
+ <td>
+ <input type="hidden" name="reptpl[]" value="{$tpl.replacer}">
+ {$tpl.replacer}
+ </td>
+ <td>
+ {html_options name=original[] output=$tpl.original_tpl values=$tpl.original_tpl selected=$tpl.selected_tpl}
+ </td>
+ <td>
+ {html_options name=url[] output=$tpl.url_parameter values=$tpl.url_parameter selected=$tpl.selected_url}
+ </td>
+ <td>
+ {html_options name=bound[] output=$tpl.bound_tpl values=$tpl.bound_tpl selected=$tpl.selected_bound}
+ </td>
+ </tr>
+ {/foreach}
+ </table>
+ {if !is_adviser()}
+ <p>
+ <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit">
+ </p>
+ {/if}
+</form>
+{/if}