1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 18:32:44 +02:00

Fix for plugin repair (in debug mode) Fix for Login page signup link when registration is disabled.

This commit is contained in:
Cameron
2016-04-30 12:02:02 -07:00
parent d3383a71b6
commit d098589456
5 changed files with 69 additions and 25 deletions

View File

@@ -13,12 +13,23 @@
class theme_shortcodes extends e_shortcode
{
public $override = true;
function __construct()
{
}
function sc_news_summary()
{
$sc = e107::getScBatch('news');
$data = $sc->getScVar('news_item');
return "<span class='label label-danger'>".e107::getParser()->toHTML($data['news_summary'],'BODY')."</span>";
}
function sc_bootstrap_branding()
{
$pref = e107::pref('theme', 'branding');