Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 uid=99(nobody) gid=98(nobody) groups=98(nobody) Safe-mode: OFF (not secure) /usr/local/webmail2/plugins/html_mail/htmlarea/plugins/BackgroundImage/ drwxr-xr-x | |
| Viewing file: Select action/file-type: // BackgroundImage plugin for Xinha
// Sponsored by http://www.schaffrath-neuemedien.de
// Implementation by Udo Schmal
// based on TinyMCE (http://tinymce.moxiecode.com/) Distributed under LGPL by Moxiecode Systems AB
//
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
function BackgroundImage(editor) {
this.editor = editor;
var cfg = editor.config;
var self = this;
cfg.registerButton({
id : "bgImage",
tooltip : this._lc("Set page background image"),
image : editor.imgURL("ed_bgimage.gif", "BackgroundImage"),
textMode : false,
action : function(editor) {
self.buttonPress(editor);
}
})
cfg.addToolbarElement("bgImage", "inserthorizontalrule", 1);
}
BackgroundImage._pluginInfo = {
name : "BackgroundImage",
version : "1.0",
developer : "Udo Schmal",
developer_url : "http://www.schaffrath-neuemedien.de/",
c_owner : "Udo Schmal & Schaffrath NeueMedien",
sponsor : "L.N.Schaffrath NeueMedien",
sponsor_url : "http://www.schaffrath-neuemedien.de.de/",
license : "htmlArea"
};
BackgroundImage.prototype._lc = function(string) {
return HTMLArea._lc(string, 'BackgroundImage');
};
BackgroundImage.prototype.buttonPress = function(editor) {
//var doc = this.editor._doc;
editor._popupDialog( "plugin://BackgroundImage/bgimage", function( bgImage ) {
if(bgImage) {
if(HTMLArea.is_ie) editor.focusEditor();
if(bgImage=="*") {
editor._doc.body.background = "";
} else {
editor._doc.body.background = bgImage;
}
}
}, null);
}; |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0218 ]-- |