Add tabsheet on administration pages.

Step 2: Regroup categories options into sheet Batch management.

On next commit, use of this new method on history and configuration



git-svn-id: http://piwigo.org/svn/trunk@1878 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-03-07 22:53:42 +00:00
parent bacf165624
commit c813e43f78
8 changed files with 49 additions and 32 deletions
-14
View File
@@ -69,7 +69,6 @@ $page['infos'] = array();
$link_start = PHPWG_ROOT_PATH.'admin.php?page=';
$conf_link = $link_start.'configuration&section=';
$opt_link = $link_start.'cat_options&section=';
//----------------------------------------------------- template initialization
$title = l10n('PhpWebGallery Administration'); // for include/page_header.php
$page['page_banner'] = '<h1>'.l10n('PhpWebGallery Administration').'</h1>';
@@ -93,10 +92,6 @@ $template->assign_vars(
'U_CONFIG_DISPLAY'=> $conf_link.'default',
'U_CATEGORIES'=> $link_start.'cat_list',
'U_MOVE'=> $link_start.'cat_move',
'U_CAT_UPLOAD'=> $opt_link.'upload',
'U_CAT_COMMENTS'=> $opt_link.'comments',
'U_CAT_VISIBLE'=> $opt_link.'visible',
'U_CAT_STATUS'=> $opt_link.'status',
'U_CAT_OPTIONS'=> $link_start.'cat_options',
'U_CAT_UPDATE'=> $link_start.'site_update&amp;site=1',
'U_WAITING'=> $link_start.'waiting',
@@ -121,15 +116,6 @@ if ($conf['ws_access_control']) // Do we need to display ws_checker
)
);
}
if ($conf['allow_random_representative'])
{
$template->assign_block_vars(
'representative',
array(
'URL' => $opt_link.'representative'
)
);
}
// required before plugin page inclusion
$plugin_menu_links = array(