1
0
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:
Cameron
2018-08-24 16:04:12 -07:00
parent 4ab4220093
commit 3d031895ca
3 changed files with 13 additions and 0 deletions

View File

@@ -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";