1
0
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:
secretr
2010-03-16 17:00:44 +00:00
parent 0c51894fc0
commit ce565c1167
2 changed files with 147 additions and 152 deletions

View File

@@ -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";