1
0
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:
Cameron
2016-06-10 08:19:39 -07:00
parent 6c490f4a8e
commit 2aebba0574
2 changed files with 4 additions and 2 deletions

View File

@@ -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='')

View File

@@ -1432,7 +1432,7 @@ class e_parse_shortcode
{ {
return $text; // unchanged. return $text; // unchanged.
} }
$lcode = strtolower($code); $lcode = strtolower($code);