mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Dropzone LAN added. Catch theme shortcode when set in sitelinks but missing and add a debug message.
This commit is contained in:
parent
4ab4220093
commit
3d031895ca
@ -1519,6 +1519,8 @@ class e_form
|
||||
$('#".$name_id."_prev').dropzone({
|
||||
url: '".e_JS."plupload/upload.php?for=".$cat."',
|
||||
createImageThumbnails: false,
|
||||
uploadMultiple :true,
|
||||
dictDefaultMessage: \"".defset('LAN_UI_DROPZONE_DROP_FILES', "Drop files here to upload")."\",
|
||||
maxFilesize: ".(int) ini_get('upload_max_filesize').",
|
||||
success: function (file, response) {
|
||||
|
||||
|
@ -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";
|
||||
|
@ -562,3 +562,5 @@ define("LAN_UI_FILTER_IS_EMPTY", "Is Empty");
|
||||
define("LAN_RECALCULATE_COMMENT_COUNT", "Recalculate comment count");
|
||||
define("LAN_SUCC_RECALCULATE_COMMENT_COUNT", "Comment count successfully recalculated!");
|
||||
define("LAN_NO_RESULTS_FOUND", "No Results Found.");
|
||||
|
||||
define("LAN_UI_DROPZONE_DROP_FILES", "Drop files here to upload");
|
||||
|
Loading…
x
Reference in New Issue
Block a user