mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
Image selector minor improvements, News administration - image pickup works now.
This commit is contained in:
@@ -130,7 +130,7 @@ else
|
||||
}
|
||||
if(vartrue($height)) $height = intval($height);
|
||||
if(vartrue($width)) $width = intval($width);
|
||||
$thpath = isset($parms['nothumb']) ? $pvw_default : $tp->thumbUrl($pvw_default, 'w='.$width.'h='.$height, true);
|
||||
$thpath = isset($parms['nothumb']) || $hide ? $pvw_default : $tp->thumbUrl($pvw_default, 'w='.$width.'&h='.$height, true);
|
||||
$text .= "<img src='{$thpath}' alt='$pvw_default' class='image-selector' /></a>";
|
||||
|
||||
$text .= "</div>\n";
|
||||
|
Reference in New Issue
Block a user