mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
This commit is contained in:
parent
91b49cd293
commit
0cc458e4e8
@ -13,10 +13,9 @@ e107::includeLan(e_PLUGIN.'featurebox/languages/'.e_LANGUAGE.'_admin_featurebox.
|
||||
$type = vartrue(e107::getPlugPref('featurebox','menu_category'),'bootstrap_carousel');
|
||||
$text = e107::getParser()->parseTemplate("{FEATUREBOX|".$type."}");
|
||||
|
||||
if(!$text)
|
||||
if(empty($text))
|
||||
{
|
||||
echo "<div class='alert alert-block alert-warning'>".$message = e107::getParser()->lanVars(FBLAN_25, array('x'=>$type))."</div>";
|
||||
// e107::getMessage()->addDebug("There are no featurebox items using the ".$type." template");
|
||||
e107::getMessage()->addDebug("DEBUG: There are no featurebox items using the ".$type." template");
|
||||
}
|
||||
|
||||
echo $text;
|
||||
|
Loading…
x
Reference in New Issue
Block a user