From 5bdbd2fc3c6c6b0393b8d63741ce027a58460b4f Mon Sep 17 00:00:00 2001
From: YuCheng Hu
Date: Sat, 12 Jun 2010 19:44:12 +0000
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=B0=20trunk?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
+YUCHENG HU+
git-svn-id: https://svn.code.sf.net/p/hawebs/svn@193 a2543c7e-f6e9-4f8a-8bff-1ffc34733512
---
.../plugins/fullpage/editor_plugin.js | 1 +
.../plugins/fullpage/editor_plugin_src.js | 146 +++++
.../tiny_mce/plugins/fullpage/fullpage.htm | 576 ++++++++++++++++++
.../tiny_mce/plugins/fullpage/index.html | 1 +
.../tiny_mce/plugins/fullpage/langs/en.js | 92 +++
.../tiny_mce/plugins/fullpage/langs/en_dlg.js | 85 +++
.../plugins/fullpage/langs/index.html | 1 +
7 files changed, 902 insertions(+)
create mode 100644 oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
create mode 100644 oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js
create mode 100644 oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm
create mode 100644 oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/index.html
create mode 100644 oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/en.js
create mode 100644 oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js
create mode 100644 oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/index.html
diff --git a/oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js b/oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
new file mode 100644
index 00000000..8e11bfc4
--- /dev/null
+++ b/oss/joomla/trunk/plugins/editors/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create("tinymce.plugins.FullPagePlugin",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceFullPageProperties",function(){a.windowManager.open({file:b+"/fullpage.htm",width:430+parseInt(a.getLang("fullpage.delta_width",0)),height:495+parseInt(a.getLang("fullpage.delta_height",0)),inline:1},{plugin_url:b,head_html:c.head})});a.addButton("fullpage",{title:"fullpage.desc",cmd:"mceFullPageProperties"});a.onBeforeSetContent.add(c._setContent,c);a.onSetContent.add(c._setBodyAttribs,c);a.onGetContent.add(c._getContent,c)},getInfo:function(){return{longname:"Fullpage",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_setBodyAttribs:function(d,a){var l,c,e,g,b,h,j,f=this.head.match(/body(.*?)>/i);if(f&&f[1]){l=f[1].match(/\s*(\w+\s*=\s*".*?"|\w+\s*=\s*'.*?'|\w+\s*=\s*\w+|\w+)\s*/g);if(l){for(c=0,e=l.length;c",a);h.head=f.substring(0,a+1);j=f.indexOf("
\n";h.foot="\n