aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-01-19 13:19:16 +0000
committerplegall <plg@piwigo.org>2011-01-19 13:19:16 +0000
commit1b7781c8669ac98d656b57f4b540ef0fa818a94a (patch)
tree47a7db98b607a4ee477b77df56e8d54576a8566a /admin.php
parente338363331de40ce04b70d7936cb901f52f88fe0 (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.php')
-rw-r--r--admin.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin.php b/admin.php
index 19c1661ed..a3d212164 100644
--- a/admin.php
+++ b/admin.php
@@ -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() );