mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
More styling control over Menu image.
This commit is contained in:
parent
6c490f4a8e
commit
2aebba0574
@ -320,7 +320,9 @@ class cpage_shortcodes extends e_shortcode
|
||||
|
||||
$dimensions = $tp->thumbDimensions();
|
||||
|
||||
return "<img class='img-responsive img-rounded' src='".$img."' alt='' ".$dimensions." />";
|
||||
$class = vartrue($parm['class'],'img-responsive img-rounded');
|
||||
|
||||
return "<img class='".$class."' src='".$img."' alt='' ".$dimensions." />";
|
||||
}
|
||||
|
||||
function sc_cmenuicon($parm='')
|
||||
|
@ -1432,7 +1432,7 @@ class e_parse_shortcode
|
||||
{
|
||||
return $text; // unchanged.
|
||||
}
|
||||
|
||||
|
||||
|
||||
$lcode = strtolower($code);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user