From 1b7781c8669ac98d656b57f4b540ef0fa818a94a Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 19 Jan 2011 13:19:16 +0000 Subject: 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 --- admin.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'admin.php') 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() ); -- cgit v1.2.3