aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/tags.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2012-07-09 10:18:58 +0000
committerflop25 <flop25@piwigo.org>2012-07-09 10:18:58 +0000
commit07662bdf7454bf7ea5aaf73e29db981e187c60de (patch)
tree6e964f039d54624316c3d0f762e46b2d678047fe /admin/themes/default/template/tags.tpl
parent012d69fd1116788cd74dd5b60ab286d97385ab8b (diff)
feature:2424
ability to duplicate tags git-svn-id: http://piwigo.org/svn/trunk@16526 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/tags.tpl')
-rw-r--r--admin/themes/default/template/tags.tpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/admin/themes/default/template/tags.tpl b/admin/themes/default/template/tags.tpl
index 51b8c3614..a51b7d376 100644
--- a/admin/themes/default/template/tags.tpl
+++ b/admin/themes/default/template/tags.tpl
@@ -52,6 +52,30 @@ jQuery(document).ready(function(){
</p>
</fieldset>
{/if}
+ {if isset($DUPLIC_TAGS_LIST)}
+ <fieldset>
+ <legend>{'Edit tags'|@translate}</legend>
+ <input type="hidden" name="edit_list" value="{$DUPLIC_TAGS_LIST}">
+ <table class="table2">
+ <tr class="throw">
+ <th>{'Source tag'|@translate}</th>
+ <th>{'Name of the duplicate'|@translate}</th>
+ </tr>
+ {foreach from=$tags item=tag}
+ <tr>
+ <td>{$tag.NAME}</td>
+ <td><input type="text" name="tag_name-{$tag.ID}" value="{$tag.NAME}" size="30"></td>
+ </tr>
+ {/foreach}
+ </table>
+
+ <p>
+ <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
+ <input class="submit" type="submit" name="duplic_submit" value="{'Submit'|@translate}">
+ <input class="submit" type="reset" value="{'Reset'|@translate}">
+ </p>
+ </fieldset>
+ {/if}
{if isset($MERGE_TAGS_LIST)}
<input type="hidden" name="merge_list" value="{$MERGE_TAGS_LIST}">
@@ -85,6 +109,7 @@ jQuery(document).ready(function(){
<p>
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
<input class="submit" type="submit" name="edit" value="{'Edit selected tags'|@translate}">
+ <input class="submit" type="submit" name="duplicate" value="{'Duplicate selected tags'|@translate}">
<input class="submit" type="submit" name="merge" value="{'Merge selected tags'|@translate}">
<input class="submit" type="submit" name="delete" value="{'Delete selected tags'|@translate}" onclick="return confirm('{'Are you sure?'|@translate}');">
</p>