1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Merge pull request #2637 from drasehat/patch-2

Update Icon Selector
This commit is contained in:
Cameron
2017-05-15 13:49:25 -07:00
committed by GitHub

View File

@@ -1205,9 +1205,12 @@ class e_form
{ {
$ret = "<div class='imgselector-container' style='display:block;width:64px;min-height:64px'>"; $ret = "<div class='imgselector-container' style='display:block;width:64px;min-height:64px'>";
$thpath = isset($sc_parameters['nothumb']) || vartrue($hide) ? $default : $default_thumb; $thpath = isset($sc_parameters['nothumb']) || vartrue($hide) ? $default : $default_thumb;
$label = "<div id='{$name_id}_prev' class='text-center well well-small image-selector' >";
$label .= $tp->toIcon($default_url); $label = "<div id='{$name_id}_prev' class='text-center well well-small image-selector img-responsive img-fluid' >";
$label .= $tp->toIcon($default_url,array('class'=>'img-responsive img-fluid'));
//$label = "<div id='{$name_id}_prev' class='text-center well well-small image-selector' >";
//$label .= $tp->toIcon($default_url);
$label .= " $label .= "
</div>"; </div>";