diff options
-rw-r--r-- | category.php | 11 | ||||
-rw-r--r-- | language/francais.php | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/category.php b/category.php index dce31da7f..32cf0a361 100644 --- a/category.php +++ b/category.php @@ -365,9 +365,9 @@ if ( isset( $page['cat'] ) and $page['cat_nb_images'] != 0 ) } $vtp->closeSession( $handle, 'thumbnails' ); } -else if ( isset( $page['cat'] ) - and is_numeric( $page['cat'] ) - and $page['cat_nb_images'] == 0 ) +elseif ( isset( $page['cat'] ) + and is_numeric( $page['cat'] ) + and $page['cat_nb_images'] == 0 ) { $vtp->addSession( $handle, 'thumbnails' ); @@ -383,7 +383,7 @@ else if ( isset( $page['cat'] ) $result = get_cat_info( $cat_row['id'] ); $cat_directory = $result['dir']; - $name = $lang['sub-cat'].'"<span style="font-weight:bold;">'; + $name = '[ <span style="font-weight:bold;">'; if ( $cat_row['name'] != '' ) { $name.= $cat_row['name']; @@ -392,7 +392,8 @@ else if ( isset( $page['cat'] ) { $name.= $cat_row['dir']; } - $name.= '</span>"'; + $name.= '</span> ]'; + $name = replace_space( $name ); $query = 'select file,tn_ext'; $query.= ' from '.$prefixeTable.'images'; diff --git a/language/francais.php b/language/francais.php index 5ff817ab3..f760c9622 100644 --- a/language/francais.php +++ b/language/francais.php @@ -43,8 +43,8 @@ $lang['next_page'] = 'Suivante'; $lang['nb_image_category'] = 'nombre d\'images dans la catégorie'; // start version 1.3 //$lang['connected_user_female'] = 'utilisatrice connectée'; +$lang['connected_user'] = 'utilisateur connecté'; // end version 1.3 -$lang['connected_user_male'] = 'utilisateur connecté'; $lang['recent_image'] = 'image datant de moins de'; $lang['days'] = 'jours'; $lang['send_mail'] = 'Une remarque : mailez moi'; |