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:
@@ -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');
|
||||
|
Reference in New Issue
Block a user