mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
Bootstrap3 Default Layout work.
This commit is contained in:
@@ -196,15 +196,8 @@ class cpage_shortcodes extends e_shortcode
|
||||
function sc_cmenutitle($parm='')
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$title = $tp->toGlyph($this->page['menu_title']); // (preg_replace('/i_([\w]*)/',"<i class='i_$1'></i>",$this->page['menu_title']);
|
||||
|
||||
// make it work without glyph
|
||||
if(!$title)
|
||||
{
|
||||
$title = $this->page['menu_title'];
|
||||
}
|
||||
|
||||
return $tp->toHTML($title, true, 'TITLE');
|
||||
//
|
||||
return $tp->toHTML($this->page['menu_title'], true, 'TITLE');
|
||||
}
|
||||
|
||||
|
||||
@@ -224,7 +217,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
return $img;
|
||||
}
|
||||
|
||||
return "<img src='".$img."' alt='' />";
|
||||
return "<img class='img-responsive' src='".$img."' alt='' />";
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user