source: trunk/plugins/InsertPicture/insert-picture.js @ 999

Last change on this file since 999 was 999, checked in by ray, 11 years ago

#1195 Allow to specify an external url to load a plugin from

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 965 bytes
Line 
1// Insert Image plugin for Xinha
2// Original Author - Udo Schmal
3//
4// (c) www.Schaffrath-NeueMedien.de  2004
5// Distributed under the same terms as HTMLArea itself.
6// This notice MUST stay intact for use (see license.txt).
7
8function InsertPicture(editor) {
9  if ( typeof _editor_picturePath !== "string" )
10    _editor_picturePath = Xinha.getPluginDir("InsertPicture") + "/demo_pictures/";
11  InsertPicture.Scripting = "php"; //else "asp"
12  editor.config.URIs.insert_image =  '../plugins/InsertPicture/InsertPicture.' + InsertPicture.Scripting + '?picturepath=' + _editor_picturePath;
13}
14
15InsertPicture._pluginInfo = {
16  name          : "InsertPicture",
17  version       : "1.0.2",
18  developer     : "Udo Schmal",
19  developer_url : "http://www.Schaffrath-NeueMedien.de/",
20  sponsor       : "L.N.Schaffrath NeueMedien",
21  sponsor_url   : "http://www.schaffrath-neuemedien.de/",
22  c_owner       : "Udo Schmal",
23  license       : "htmlArea"
24};
25
Note: See TracBrowser for help on using the repository browser.