mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
More styling control over Menu image.
This commit is contained in:
@@ -320,7 +320,9 @@ class cpage_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
$dimensions = $tp->thumbDimensions();
|
$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='')
|
function sc_cmenuicon($parm='')
|
||||||
|
@@ -1432,7 +1432,7 @@ class e_parse_shortcode
|
|||||||
{
|
{
|
||||||
return $text; // unchanged.
|
return $text; // unchanged.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$lcode = strtolower($code);
|
$lcode = strtolower($code);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user