don't force the width and height of folder icons

git-svn-id: http://piwigo.org/svn/trunk@489 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2004-08-21 13:08:42 +00:00
parent a5b9e275a1
commit df07f5c59a
+2 -2
View File
@@ -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'] = '';