mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
BS4 examples
This commit is contained in:
@@ -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 .= " ";
|
$text .= " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
return $ns->tablerender("Glyphs", $text);
|
return $ns->tablerender("Glyphs", $mes->render(). $text);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user