mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 02:42:40 +02:00
Dropzone LAN added. Catch theme shortcode when set in sitelinks but missing and add a debug message.
This commit is contained in:
@@ -1775,6 +1775,9 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
|
||||
{
|
||||
return '<div class="dropdown-menu">'.$text.'</div>'; // @todo use template?
|
||||
}
|
||||
|
||||
e107::getDebug()->log("Theme shortcode (".$method.") could not be found for use in sitelink");
|
||||
return array();
|
||||
}
|
||||
|
||||
if(strpos($method,"("))
|
||||
@@ -1783,6 +1786,12 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
|
||||
$parm = rtrim($prm,")");
|
||||
}
|
||||
|
||||
if(!file_exists(e_PLUGIN.$path."/e_sitelink.php"))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
if(include_once(e_PLUGIN.$path."/e_sitelink.php"))
|
||||
{
|
||||
$class = $path."_sitelink";
|
||||
|
Reference in New Issue
Block a user