aboutsummaryrefslogtreecommitdiffstats
path: root/admin/maintenance.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-09 21:38:16 +0000
committerplegall <plg@piwigo.org>2010-04-09 21:38:16 +0000
commit8a4b177c7bd713a1045d66bf992d9d211ab8285d (patch)
treeb6c1418c384dd9f7d17a2c62de1ff44049e0e2d4 /admin/maintenance.php
parentca04de7d5e633c9e867812b8e65e14422562c24e (diff)
feature 1587: move advanced features screen into maintenance screen.
git-svn-id: http://piwigo.org/svn/trunk@5745 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/maintenance.php')
-rw-r--r--admin/maintenance.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/admin/maintenance.php b/admin/maintenance.php
index 78ac844bd..06dc67474 100644
--- a/admin/maintenance.php
+++ b/admin/maintenance.php
@@ -145,6 +145,36 @@ $template->assign(
);
// +-----------------------------------------------------------------------+
+// | Define advanced features |
+// +-----------------------------------------------------------------------+
+
+$advanced_features = array();
+
+array_push(
+ $advanced_features,
+ array(
+ 'CAPTION' => l10n('Not linked elements'),
+ 'URL' => get_root_url().'admin.php?page=element_set&amp;cat=not_linked'
+ )
+ );
+
+array_push(
+ $advanced_features,
+ array(
+ 'CAPTION' => l10n('Files with same name in more than one physical category'),
+ 'URL' => get_root_url().'admin.php?page=element_set&amp;cat=duplicates'
+ )
+ );
+
+//$advanced_features is array of array composed of CAPTION & URL
+$advanced_features = trigger_event(
+ 'get_admin_advanced_features_links',
+ $advanced_features
+ );
+
+$template->assign('advanced_features', $advanced_features);
+
+// +-----------------------------------------------------------------------+
// | sending html code |
// +-----------------------------------------------------------------------+