import rt 3.8.7
[freeside.git] / rt / share / html / NoAuth / RichText / FCKeditor / editor / dialog / fck_docprops / fck_document_preview.html
diff --git a/rt/share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_docprops/fck_document_preview.html b/rt/share/html/NoAuth/RichText/FCKeditor/editor/dialog/fck_docprops/fck_document_preview.html
new file mode 100644 (file)
index 0000000..368c839
--- /dev/null
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">\r
+<!--\r
+ * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
+ * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
+ *\r
+ * == BEGIN LICENSE ==\r
+ *\r
+ * Licensed under the terms of any of the following licenses at your\r
+ * choice:\r
+ *\r
+ *  - GNU General Public License Version 2 or later (the "GPL")\r
+ *    http://www.gnu.org/licenses/gpl.html\r
+ *\r
+ *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
+ *    http://www.gnu.org/licenses/lgpl.html\r
+ *\r
+ *  - Mozilla Public License Version 1.1 or later (the "MPL")\r
+ *    http://www.mozilla.org/MPL/MPL-1.1.html\r
+ *\r
+ * == END LICENSE ==\r
+ *\r
+ * Preview shown in the "Document Properties" dialog window.\r
+-->\r
+<html>\r
+       <head>\r
+               <title>Document Properties - Preview</title>\r
+               <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
+               <meta name="robots" content="noindex, nofollow">\r
+               <script language="javascript">\r
+\r
+var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ;\r
+if ( eBase.length > 0 && eBase[0].href.length > 0 )\r
+{\r
+       document.write( '<base href="' + eBase[0].href + '">' ) ;\r
+}\r
+\r
+window.onload = function()\r
+{\r
+       if ( typeof( parent.OnPreviewLoad ) == 'function' )\r
+               parent.OnPreviewLoad( window, document.body ) ;\r
+}\r
+\r
+function SetBaseHRef( baseHref )\r
+{\r
+       var eBase = document.createElement( 'BASE' ) ;\r
+       eBase.href = baseHref ;\r
+\r
+       var eHead = document.getElementsByTagName( 'HEAD' )[0] ;\r
+       eHead.appendChild( eBase ) ;\r
+}\r
+\r
+function SetLinkColor( color )\r
+{\r
+       if ( color && color.length > 0 )\r
+               document.getElementById('eLink').style.color = color ;\r
+       else\r
+               document.getElementById('eLink').style.color = window.document.linkColor ;\r
+}\r
+\r
+function SetVisitedColor( color )\r
+{\r
+       if ( color && color.length > 0 )\r
+               document.getElementById('eVisited').style.color = color ;\r
+       else\r
+               document.getElementById('eVisited').style.color = window.document.vlinkColor ;\r
+}\r
+\r
+function SetActiveColor( color )\r
+{\r
+       if ( color && color.length > 0 )\r
+               document.getElementById('eActive').style.color = color ;\r
+       else\r
+               document.getElementById('eActive').style.color = window.document.alinkColor ;\r
+}\r
+               </script>\r
+       </head>\r
+       <body>\r
+               <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">\r
+                       <tr>\r
+                               <td align="center" valign="middle">\r
+                                       Normal Text\r
+                               </td>\r
+                               <td id="eLink" align="center" valign="middle">\r
+                                       <u>Link Text</u>\r
+                               </td>\r
+                       </tr>\r
+                       <tr>\r
+                               <td id="eVisited" valign="middle" align="center">\r
+                                       <u>Visited Link</u>\r
+                               </td>\r
+                               <td id="eActive" valign="middle" align="center">\r
+                                       <u>Active Link</u>\r
+                               </td>\r
+                       </tr>\r
+               </table>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+               <br>\r
+       </body>\r
+</html>\r