1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-30 21:45:01 +03:00
This commit is contained in:
Mzhelskiy Maxim 2011-04-25 14:55:43 +00:00
parent 9f3a98ded3
commit effdb4b675
3 changed files with 4 additions and 3 deletions

View file

@ -16,13 +16,14 @@
ed.addCommand('mceLsEditorImage', function() {
ed.windowManager.open({
file : url + '/image.htm?v=4',
file : url + '/image.htm?v=5',
width : 480,
height : 190,
inline : 1
}, {
plugin_url : url,
DIR_WEB_ROOT: DIR_WEB_ROOT,
ajaxurl: aRouter['ajax'],
LIVESTREET_SECURITY_KEY: LIVESTREET_SECURITY_KEY,
msgErrorBox: msgErrorBox,
msgNoticeBox: msgNoticeBox

View file

@ -5,7 +5,7 @@
<title>{#lseditor.image_title}</title>
<script type="text/javascript" src="../../tiny_mce_popup.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>
<link href="css/image.css" rel="stylesheet" type="text/css" />
<base target="_self" />

View file

@ -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') } );
}
};