1
0
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:
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();
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='')

View File

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