From 9d0ffba6377a0a011d773ad03cff08d9c5cc0268 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Mon, 20 Sep 2004 20:08:15 +0000 Subject: - huge refactoring of admin/configuration.php (reminder : tabs in code are forbidden, only blank spaces are allowed) - in admin panel, remote site management is in "general" section and not in "configuration" section - when retrieving languages, the array keys must be the language code and not its display name (because 2 language codes might have the same display name) git-svn-id: http://piwigo.org/svn/trunk@528 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin.php') diff --git a/admin.php b/admin.php index 4f813f619..509031bde 100644 --- a/admin.php +++ b/admin.php @@ -197,7 +197,7 @@ $template->assign_vars(array( 'L_CONFIG_UPLOAD'=>$lang['upload'], 'L_CONFIG_SESSION'=>$lang['conf_cookie'], 'L_CONFIG_METADATA'=>$lang['metadata'], - 'L_CONFIG_SITES'=>$lang['remote_sites'], + 'L_SITES'=>$lang['remote_sites'], 'L_CATEGORIES'=>$lang['categories'], 'L_MANAGE'=>$lang['manage'], 'L_UPLOAD'=>$lang['upload'], @@ -217,7 +217,7 @@ $template->assign_vars(array( 'U_CONFIG_UPLOAD'=>add_session_id($link_start.'configuration&section=upload' ), 'U_CONFIG_SESSION'=>add_session_id($link_start.'configuration&section=session' ), 'U_CONFIG_METADATA'=>add_session_id($link_start.'configuration&section=metadata' ), - 'U_CONFIG_SITES'=>add_session_id($link_start.'remote_site'), + 'U_SITES'=>add_session_id($link_start.'remote_site'), 'U_PHPINFO'=>add_session_id($link_start.'admin_phpinfo' ), 'U_USERS'=>add_session_id($link_start.'user_search' ), 'U_GROUPS'=>add_session_id($link_start.'group_list' ), -- cgit v1.2.3