forked from extern/egroupware
* Resources/list: Fix thumbnails size in resources' listview
This commit is contained in:
parent
7941e8e683
commit
d3e9374184
@ -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