feature 1587: move advanced features screen into maintenance screen.
git-svn-id: http://piwigo.org/svn/trunk@5745 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
ca04de7d5e
commit
8a4b177c7b
28 changed files with 169 additions and 287 deletions
|
|
@ -144,6 +144,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&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&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 |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue