aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-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( '&', '&', $_SERVER['QUERY_STRING'] ))