aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-05-10 11:40:38 +0000
committerz0rglub <z0rglub@piwigo.org>2003-05-10 11:40:38 +0000
commit0d4089e914c91a080b7ce90715aa20bd9fcc06df (patch)
tree7d5af63291e22ad84521602df842adab968f29cb /category.php
parentd32690e674d50a65f69d136617cd837ec99fe815 (diff)
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@7 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--category.php11
1 files changed, 6 insertions, 5 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';