This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/xinha/plugins/InsertPicture/insert-picture.js
Chris Morgan 2d4b27530d Upgrade to Xinha 0.931. Xinha has been optimized for size and dozens of issues have been closed
out since the last upgrade . Add Firefox and Xinha buttons to main page to show our support.
2007-05-31 22:43:05 +00:00

26 lines
962 B
JavaScript

// Insert Image plugin for Xinha
// Original Author - Udo Schmal
//
// (c) www.Schaffrath-NeueMedien.de 2004
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
function InsertPicture(editor) {
if ( typeof _editor_picturePath !== "string" )
_editor_picturePath = _editor_url + "plugins/InsertPicture/demo_pictures/";
InsertPicture.Scripting = "php"; //else "asp"
editor.config.URIs.insert_image = '../plugins/InsertPicture/InsertPicture.' + InsertPicture.Scripting + '?picturepath=' + _editor_picturePath;
}
InsertPicture._pluginInfo = {
name : "InsertPicture",
version : "1.0.2",
developer : "Udo Schmal",
developer_url : "http://www.Schaffrath-NeueMedien.de/",
sponsor : "L.N.Schaffrath NeueMedien",
sponsor_url : "http://www.schaffrath-neuemedien.de/",
c_owner : "Udo Schmal",
license : "htmlArea"
};