aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/admin.php b/admin.php
index 90a6d63b2..f443bcd23 100644
--- a/admin.php
+++ b/admin.php
@@ -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(