aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-12-23 12:30:03 +0000
committergweltas <gweltas@piwigo.org>2004-12-23 12:30:03 +0000
commita6d104e98f2dcb2f1de03fb13ce43083c66274a4 (patch)
treedd726668489bac7dd299fc3ab7b568151558b31a /category.php
parent6409647e1c9e9d13913c9d4b3d882511dc51f52d (diff)
- 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
Diffstat (limited to 'category.php')
-rw-r--r--category.php10
1 files changed, 6 insertions, 4 deletions
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( '&', '&amp;', $_SERVER['QUERY_STRING'] ))