aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-08-21 13:08:42 +0000
committerz0rglub <z0rglub@piwigo.org>2004-08-21 13:08:42 +0000
commitdf07f5c59aeebc25c24de07177c101b5e8ed13ea (patch)
tree03461b3d92a0224dd17dbeb20d18c83271c2ab56 /admin
parenta5b9e275a16b112a51f326fd9ffb908f14fa704f (diff)
don't force the width and height of folder icons
git-svn-id: http://piwigo.org/svn/trunk@489 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/cat_list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 08446cf74..310cf78a7 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -236,8 +236,8 @@ while (list ($id,$category) = each($categories))
$query = 'SELECT COUNT(id) as sub_cats FROM ' . CATEGORIES_TABLE . ' WHERE id_uppercat = '.$category['id'];
$result = mysql_fetch_array(mysql_query( $query ));
$category_image = ($result['sub_cats']) ?
- '<img src="'.PHPWG_ROOT_PATH.'template/'.$user['template'].'/admin/images/icon_subfolder.gif" width="46" height="25" alt="" />' :
- '<img src="'.PHPWG_ROOT_PATH.'template/'.$user['template'].'/admin/images/icon_folder.gif" width="46" height="25" alt="" />';
+ '<img src="'.PHPWG_ROOT_PATH.'template/'.$user['template'].'/admin/images/icon_subfolder.gif" alt="" />' :
+ '<img src="'.PHPWG_ROOT_PATH.'template/'.$user['template'].'/admin/images/icon_folder.gif" alt="" />';
}
if ( !isset( $category['dir'] ) ) $category['dir'] = '';