aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-04 17:42:07 +0000
committerplegall <plg@piwigo.org>2004-12-04 17:42:07 +0000
commitb3336f57d5d61eaa5d465b816962b12ea16c24ae (patch)
treefcaba01eccc65bfdec84fce49c6c4faf54a0fad1 /template
parenta383f3148cb7c9a23dadbdcd12ede4e1de274af5 (diff)
- shows the element representing a non empty category in cat_modify
- possibility to set a random representing element for a category - bug fixed : update_category function could not update nb_images - bug fixed : mass_updates was inserting in the wrong table git-svn-id: http://piwigo.org/svn/trunk@633 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/default/admin/cat_modify.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/default/admin/cat_modify.tpl b/template/default/admin/cat_modify.tpl
index 7dea3c4bd..c9b9749b3 100644
--- a/template/default/admin/cat_modify.tpl
+++ b/template/default/admin/cat_modify.tpl
@@ -5,6 +5,14 @@
<div class="admin">{CATEGORIES_NAV}</div>
<form action="{F_ACTION}" method="POST">
<table style="width:100%;">
+ <!-- BEGIN representant -->
+ <tr>
+ <td style="width:50%;" align="center">
+ <a href="{representant.URL}"><img src="{representant.SRC}" alt="" class="miniature" /></a>
+ </td>
+ <td class="row1"><input type="submit" name="set_random_representant" value="{L_SET_RANDOM_REPRESENTANT}" class="bouton" /></td>
+ </tr>
+ <!-- END representant -->
<!-- BEGIN server -->
<tr>
<td style="width:50%;"><strong>{L_REMOTE_SITE}</strong></td>