1
0
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:
Cameron
2014-01-07 08:18:27 -08:00
parent ef8dd5534b
commit 0b7d4b8d8e
7 changed files with 301 additions and 38 deletions

View File

@@ -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='' />";
}