mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
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:
+2
-2
@@ -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'] = '';
|
||||
|
||||
Reference in New Issue
Block a user