Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/InsertPagebreak/insert-pagebreak.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/InsertPagebreak/insert-pagebreak.js,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/InsertPagebreak/insert-pagebreak.js 24 Nov 2007 15:35:41 -0000 1.3 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/plugins/InsertPagebreak/insert-pagebreak.js 13 May 2008 18:53:52 -0000 1.4 @@ -1,43 +1,20 @@ -// InsertPagebreak plugin for HTMLArea/Xinha -// Implementation by Udo Schmal & Schaffrath NeueMedien -// Original Author - Udo Schmal -// -// (c) Udo Schmal & Schaffrath NeueMedien 2004 -// Distributed under the same terms as HTMLArea itself. -// This notice MUST stay intact for use (see license.txt). - -function InsertPagebreak(editor, args) { - this.editor = editor; - var cfg = editor.config; - var self = this; - - cfg.registerButton({ - id : "pagebreak", - tooltip : this._lc("Page break"), - image : editor.imgURL("pagebreak.gif", "InsertPagebreak"), - textMode : false, - action : function(editor) { - self.buttonPress(editor); - } - }); - cfg.addToolbarElement("pagebreak", "inserthorizontalrule", 1); -} - -InsertPagebreak._pluginInfo = { - name : "InsertPagebreak", - version : "1.0", - developer : "Udo Schmal", - developer_url : "", - sponsor : "L.N.Schaffrath NeueMedien", - sponsor_url : "http://www.schaffrath-neuemedien.de/", - c_owner : "Udo Schmal & Schaffrath NeueMedien", - license : "htmlArea" -}; - -InsertPagebreak.prototype._lc = function(string) { - return Xinha._lc(string, 'InsertPagebreak'); -}; - -InsertPagebreak.prototype.buttonPress = function(editor, context, updatecontextclass) { - editor.insertHTML('
'); -}; \ No newline at end of file +/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */ +/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */ +/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/plugins/InsertPagebreak/insert-pagebreak.js */ +function InsertPagebreak(_1,_2){ +this.editor=_1; +var _3=_1.config; +var _4=this; +_3.registerButton({id:"pagebreak",tooltip:this._lc("Page break"),image:_1.imgURL("pagebreak.gif","InsertPagebreak"),textMode:false,action:function(_5){ +_4.buttonPress(_5); +}}); +_3.addToolbarElement("pagebreak","inserthorizontalrule",1); +} +InsertPagebreak._pluginInfo={name:"InsertPagebreak",version:"1.0",developer:"Udo Schmal",developer_url:"",sponsor:"L.N.Schaffrath NeueMedien",sponsor_url:"http://www.schaffrath-neuemedien.de/",c_owner:"Udo Schmal & Schaffrath NeueMedien",license:"htmlArea"}; +InsertPagebreak.prototype._lc=function(_6){ +return Xinha._lc(_6,"InsertPagebreak"); +}; +InsertPagebreak.prototype.buttonPress=function(_7,_8,_9){ +_7.insertHTML("
"); +}; +