1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 15:16:30 +02:00

BS4 examples

This commit is contained in:
Cameron
2019-03-01 08:46:03 -08:00
parent a2d5b9c31e
commit c8a975d073

View File

@@ -18,6 +18,9 @@ class theme_shortcodes extends e_shortcode
$tp = e107::getParser(); $tp = e107::getParser();
$ns = e107::getRender(); $ns = e107::getRender();
$mes = e107::getMessage();
$mes->addSuccess("Message");
$text = "<h4>Hardcoded</h4>"; $text = "<h4>Hardcoded</h4>";
@@ -31,7 +34,8 @@ class theme_shortcodes extends e_shortcode
$arr = array( $arr = array(
'fa-edit', 'fa-edit',
'fa-check', 'fa-check',
'fa-cog' 'fa-cog',
'fa-mailchimp'
); );
foreach($arr as $f) foreach($arr as $f)
@@ -40,7 +44,7 @@ class theme_shortcodes extends e_shortcode
$text .= "&nbsp;"; $text .= "&nbsp;";
} }
return $ns->tablerender("Glyphs", $text); return $ns->tablerender("Glyphs", $mes->render(). $text);
} }