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.php | |
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 '')
-rw-r--r-- | admin.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -91,6 +91,7 @@ else $page['errors'] = array(); $page['infos'] = array(); +$page['warnings'] = array(); if (isset($_SESSION['page_infos'])) { @@ -176,6 +177,11 @@ if (count($page['infos']) != 0) $template->assign('infos', $page['infos']); } +if (count($page['warnings']) != 0) +{ + $template->assign('warnings', $page['warnings']); +} + // Add the Piwigo Official menu $template->assign( 'pwgmenu', pwg_URL() ); |