aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-12-06 02:28:54 +0000
committerpatdenice <patdenice@piwigo.org>2008-12-06 02:28:54 +0000
commit6873537fe612c8adfe655a87c1750be8e8427dc3 (patch)
treea1ef0f880f29addf6b084267259a95fa257491a9 /admin/template
parent0479bcde106ec3a016c28f2fce458c4b09b1a664 (diff)
- Add a "Bound Template" column for template extensions.
git-svn-id: http://piwigo.org/svn/trunk@2923 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/template/goto/default-layout.css2
-rw-r--r--admin/template/goto/extend_for_templates.tpl4
2 files changed, 5 insertions, 1 deletions
diff --git a/admin/template/goto/default-layout.css b/admin/template/goto/default-layout.css
index fc5cb3c2a..05ca38cf1 100644
--- a/admin/template/goto/default-layout.css
+++ b/admin/template/goto/default-layout.css
@@ -7,7 +7,7 @@ TABLE.table2 {
padding: 0;
}
-TABLE.table2 TD {
+TABLE.table2 TD, TABLE.table2 TH {
padding: 0 5px;
}
diff --git a/admin/template/goto/extend_for_templates.tpl b/admin/template/goto/extend_for_templates.tpl
index 2e9c4766b..dae6903a5 100644
--- a/admin/template/goto/extend_for_templates.tpl
+++ b/admin/template/goto/extend_for_templates.tpl
@@ -9,6 +9,7 @@
<th>{'Replacers'|@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}">
@@ -22,6 +23,9 @@
<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>