diff options
author | plegall <plg@piwigo.org> | 2011-01-19 13:19:16 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-01-19 13:19:16 +0000 |
commit | 1b7781c8669ac98d656b57f4b540ef0fa818a94a (patch) | |
tree | 47a7db98b607a4ee477b77df56e8d54576a8566a /admin/themes/default | |
parent | e338363331de40ce04b70d7936cb901f52f88fe0 (diff) |
feature 1289 added: easy "delete orphan tags" function. On the "tags"
administration page, a warning message is displayed if you have at least
one orphan tag + direct action to delete them.
git-svn-id: http://piwigo.org/svn/trunk@8762 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/template/admin.tpl | 10 | ||||
-rw-r--r-- | admin/themes/default/template/maintenance.tpl | 7 |
2 files changed, 11 insertions, 6 deletions
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index 9528bee79..4ff019b26 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -126,5 +126,15 @@ jQuery(document).ready(function(){ldelim} </div> {/if} + {if isset($warnings)} + <div class="warnings"> + <ul> + {foreach from=$warnings item=warning} + <li>{$warning}</li> + {/foreach} + </ul> + </div> + {/if} + {$ADMIN_CONTENT} </div> diff --git a/admin/themes/default/template/maintenance.tpl b/admin/themes/default/template/maintenance.tpl index 8469decab..dcde866bb 100644 --- a/admin/themes/default/template/maintenance.tpl +++ b/admin/themes/default/template/maintenance.tpl @@ -11,18 +11,13 @@ <ul> <li><a href="{$U_MAINT_CATEGORIES}">{'Update albums informations'|@translate}</a></li> <li><a href="{$U_MAINT_IMAGES}">{'Update photos information'|@translate}</a></li> + <li><a href="{$U_MAINT_ORPHAN_TAGS}">{'Delete orphan tags'|@translate}</a></li> <li><a href="{$U_MAINT_DATABASE}">{'Repair and optimize database'|@translate}</a></li> -</ul> - -<ul> <li><a href="{$U_MAINT_HISTORY_DETAIL}" onclick="return confirm('{'Purge history detail'|@translate}');">{'Purge history detail'|@translate}</a></li> <li><a href="{$U_MAINT_HISTORY_SUMMARY}" onclick="return confirm('{'Purge history summary'|@translate}');">{'Purge history summary'|@translate}</a></li> <li><a href="{$U_MAINT_SESSIONS}">{'Purge sessions'|@translate}</a></li> <li><a href="{$U_MAINT_FEEDS}">{'Purge never used notification feeds'|@translate}</a></li> <li><a href="{$U_MAINT_SEARCH}"onclick="return confirm('{'Purge search history'|@translate}');">{'Purge search history'|@translate}</a></li> <li><a href="{$U_MAINT_COMPILED_TEMPLATES}">{'Purge compiled templates'|@translate}</a></li> -</ul> - -<ul> <li><a href="{$U_MAINT_C13Y}">{'Reinitialize check integrity'|@translate}</a></li> </ul> |