From a6d104e98f2dcb2f1de03fb13ce43083c66274a4 Mon Sep 17 00:00:00 2001 From: gweltas Date: Thu, 23 Dec 2004 12:30:03 +0000 Subject: - French translation of general lock - Correction of page title in the category page git-svn-id: http://piwigo.org/svn/trunk@654 68402e56-0260-453c-a942-63ccdbb3a9ee --- category.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'category.php') diff --git a/category.php b/category.php index 0824c2efb..581b4055d 100644 --- a/category.php +++ b/category.php @@ -106,7 +106,9 @@ if ( !isset( $page['title'] ) ) { $page['title'] = $lang['no_category']; } -$template_title = $page['title']; +$template_title = get_cat_display_name($page['cat_name'], + 'category.php?cat=', + false);; if ( isset( $page['cat_nb_images'] ) and $page['cat_nb_images'] > 0 ) { $template_title.= ' ['.$page['cat_nb_images'].']'; @@ -135,8 +137,8 @@ $template->assign_vars(array( 'L_USERNAME' => $lang['login'], 'L_PASSWORD' => $lang['password'], 'L_HELLO' => $lang['hello'], - 'L_REGISTER' => $lang['ident_register'], - 'L_LOGIN' => $lang['menu_login'], + 'L_REGISTER' => $lang['ident_register'], + 'L_LOGIN' => $lang['menu_login'], 'L_LOGOUT' => $lang['logout'], 'L_ADMIN' => $lang['admin'], 'L_ADMIN_HINT' => $lang['hint_admin'], @@ -148,7 +150,7 @@ $template->assign_vars(array( 'T_RECENT' => $icon_recent, 'U_HOME' => add_session_id( PHPWG_ROOT_PATH.'category.php' ), - 'U_REGISTER' => add_session_id( PHPWG_ROOT_PATH.'register.php' ), + 'U_REGISTER' => add_session_id( PHPWG_ROOT_PATH.'register.php' ), 'U_LOGOUT' => PHPWG_ROOT_PATH.'category.php?act=logout', 'U_ADMIN'=>add_session_id( PHPWG_ROOT_PATH.'admin.php' ), 'U_PROFILE'=>add_session_id(PHPWG_ROOT_PATH.'profile.php?'.str_replace( '&', '&', $_SERVER['QUERY_STRING'] )) -- cgit v1.2.3