mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Resources/list: Fix thumbnails size in resources' listview
This commit is contained in:
parent
bdc8b5bd01
commit
76830f71af
@ -251,7 +251,7 @@ class resources_bo
|
||||
}
|
||||
else
|
||||
{
|
||||
$rows[$num]['picture_thumb'] = $this->get_picture($resource);
|
||||
$rows[$num]['picture_thumb'] = $this->get_picture($resource, true);
|
||||
}
|
||||
$rows[$num]['admin'] = $this->acl->get_cat_admin($resource['cat_id']);
|
||||
}
|
||||
@ -830,10 +830,6 @@ class resources_bo
|
||||
{
|
||||
$picture = egw::link(egw_vfs::download_url($picture));
|
||||
}
|
||||
else
|
||||
{
|
||||
$picture = egw::link('/etemplate/thumbnail.php',array('path' => $picture));
|
||||
}
|
||||
break;
|
||||
|
||||
case 'cat_src':
|
||||
|
@ -38,7 +38,7 @@
|
||||
<nextmatch-customfields id="customfields"/>
|
||||
</row>
|
||||
<row class="$row_cont[class]">
|
||||
<image id="${row}[picture_thumb]" extra_link_target="_blank" href="webdav.php/apps/resources/${row_cont[res_id]}/.picture.jpg" src="${row}[picture_thumb]" />
|
||||
<image id="${row}[picture_thumb]" width="100%" extra_link_target="_blank" href="webdav.php/apps/resources/${row_cont[res_id]}/.picture.jpg" src="${row}[picture_thumb]" />
|
||||
<vbox>
|
||||
<description id="${row}[name]" no_lang="1"/>
|
||||
<description id="${row}[short_description]" no_lang="1"/>
|
||||
|
Loading…
Reference in New Issue
Block a user