mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-02 22:45:02 +03:00
Ticket #171
This commit is contained in:
parent
9f3a98ded3
commit
effdb4b675
|
@ -16,13 +16,14 @@
|
||||||
|
|
||||||
ed.addCommand('mceLsEditorImage', function() {
|
ed.addCommand('mceLsEditorImage', function() {
|
||||||
ed.windowManager.open({
|
ed.windowManager.open({
|
||||||
file : url + '/image.htm?v=4',
|
file : url + '/image.htm?v=5',
|
||||||
width : 480,
|
width : 480,
|
||||||
height : 190,
|
height : 190,
|
||||||
inline : 1
|
inline : 1
|
||||||
}, {
|
}, {
|
||||||
plugin_url : url,
|
plugin_url : url,
|
||||||
DIR_WEB_ROOT: DIR_WEB_ROOT,
|
DIR_WEB_ROOT: DIR_WEB_ROOT,
|
||||||
|
ajaxurl: aRouter['ajax'],
|
||||||
LIVESTREET_SECURITY_KEY: LIVESTREET_SECURITY_KEY,
|
LIVESTREET_SECURITY_KEY: LIVESTREET_SECURITY_KEY,
|
||||||
msgErrorBox: msgErrorBox,
|
msgErrorBox: msgErrorBox,
|
||||||
msgNoticeBox: msgNoticeBox
|
msgNoticeBox: msgNoticeBox
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<title>{#lseditor.image_title}</title>
|
<title>{#lseditor.image_title}</title>
|
||||||
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
||||||
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
||||||
<script type="text/javascript" src="js/image.js?v=2"></script>
|
<script type="text/javascript" src="js/image.js?v=3"></script>
|
||||||
<script type="text/javascript" src="../../../JsHttpRequest/JsHttpRequest.js"></script>
|
<script type="text/javascript" src="../../../JsHttpRequest/JsHttpRequest.js"></script>
|
||||||
<link href="css/image.css" rel="stylesheet" type="text/css" />
|
<link href="css/image.css" rel="stylesheet" type="text/css" />
|
||||||
<base target="_self" />
|
<base target="_self" />
|
||||||
|
|
|
@ -19,7 +19,7 @@ var lsImageDialog = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
req.open(null, tinyMCEPopup.getWindowArg('DIR_WEB_ROOT')+'/include/ajax/uploadImg.php', true);
|
req.open(null, tinyMCEPopup.getWindowArg('ajaxurl')+'upload/image/', true);
|
||||||
req.send( { value: value, security_ls_key: tinyMCEPopup.getWindowArg('LIVESTREET_SECURITY_KEY') } );
|
req.send( { value: value, security_ls_key: tinyMCEPopup.getWindowArg('LIVESTREET_SECURITY_KEY') } );
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue