mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
This commit is contained in:
@@ -13,10 +13,9 @@ e107::includeLan(e_PLUGIN.'featurebox/languages/'.e_LANGUAGE.'_admin_featurebox.
|
|||||||
$type = vartrue(e107::getPlugPref('featurebox','menu_category'),'bootstrap_carousel');
|
$type = vartrue(e107::getPlugPref('featurebox','menu_category'),'bootstrap_carousel');
|
||||||
$text = e107::getParser()->parseTemplate("{FEATUREBOX|".$type."}");
|
$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("DEBUG: There are no featurebox items using the ".$type." template");
|
||||||
// e107::getMessage()->addDebug("There are no featurebox items using the ".$type." template");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $text;
|
echo $text;
|
||||||
|
Reference in New Issue
Block a user