BVB Source Codes

Jie Yang v0.6.3 article system Show fckeditor.original.html Source code

Return Download Jie Yang v0.6.3 article system: download fckeditor.original.html Source code - Download Jie Yang v0.6.3 article system Source code - Type:.html
  1. 锘军!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2008 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. *  - GNU General Public License Version 2 or later (the "GPL")
  12. *    http://www.gnu.org/licenses/gpl.html
  13. *
  14. *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. *    http://www.gnu.org/licenses/lgpl.html
  16. *
  17. *  - Mozilla Public License Version 1.1 or later (the "MPL")
  18. *    http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * Main page that holds the editor.
  23. -->
  24. <html>
  25. <head>
  26.         <title>FCKeditor</title>
  27.         <meta name="robots" content="noindex, nofollow">
  28.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  29.         <!-- @Packager.RemoveLine
  30.         <meta http-equiv="Cache-Control" content="public">
  31.         @Packager.RemoveLine -->
  32.         <script type="text/javascript">
  33.  
  34. // Save a reference to the default domain.
  35. var FCK_ORIGINAL_DOMAIN ;
  36.  
  37. // Automatically detect the correct document.domain (#123).
  38. (function()
  39. {
  40.         var d = FCK_ORIGINAL_DOMAIN = document.domain ;
  41.  
  42.         while ( true )
  43.         {
  44.                 // Test if we can access a parent property.
  45.                 try
  46.                 {
  47.                         var test = window.parent.document.domain ;
  48.                         break ;
  49.                 }
  50.                 catch( e ) {}
  51.  
  52.                 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
  53.                 d = d.replace( /.*?(?:\.|$)/, '' ) ;
  54.  
  55.                 if ( d.length == 0 )
  56.                         break ;         // It was not able to detect the domain.
  57.  
  58.                 try
  59.                 {
  60.                         document.domain = d ;
  61.                 }
  62.                 catch (e)
  63.                 {
  64.                         break ;
  65.                 }
  66.         }
  67. })() ;
  68.  
  69. // Save a reference to the detected runtime domain.
  70. var FCK_RUNTIME_DOMAIN = document.domain ;
  71.  
  72. var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ;
  73.  
  74. // Instead of loading scripts and CSSs using inline tags, all scripts are
  75. // loaded by code. In this way we can guarantee the correct processing order,
  76. // otherwise external scripts and inline scripts could be executed in an
  77. // unwanted order (IE).
  78.  
  79. function LoadScript( url )
  80. {
  81.         document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ;
  82. }
  83.  
  84. // Main editor scripts.
  85. var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ;
  86.  
  87. /* @Packager.RemoveLine
  88. LoadScript( 'js/fckeditorcode_' + sSuffix + '.js' ) ;
  89. @Packager.RemoveLine */
  90. // @Packager.Remove.Start
  91.  
  92. LoadScript( '_source/fckconstants.js' ) ;
  93. LoadScript( '_source/fckjscoreextensions.js' ) ;
  94.  
  95. if ( sSuffix == 'ie' )
  96.         LoadScript( '_source/classes/fckiecleanup.js' ) ;
  97.  
  98. LoadScript( '_source/internals/fckbrowserinfo.js' ) ;
  99. LoadScript( '_source/internals/fckurlparams.js' ) ;
  100. LoadScript( '_source/classes/fckevents.js' ) ;
  101. LoadScript( '_source/classes/fckdataprocessor.js' ) ;
  102. LoadScript( '_source/internals/fck.js' ) ;
  103. LoadScript( '_source/internals/fck_' + sSuffix + '.js' ) ;
  104. LoadScript( '_source/internals/fckconfig.js' ) ;
  105.  
  106. LoadScript( '_source/internals/fckdebug.js' ) ;
  107. LoadScript( '_source/internals/fckdomtools.js' ) ;
  108. LoadScript( '_source/internals/fcktools.js' ) ;
  109. LoadScript( '_source/internals/fcktools_' + sSuffix + '.js' ) ;
  110. LoadScript( '_source/fckeditorapi.js' ) ;
  111. LoadScript( '_source/classes/fckimagepreloader.js' ) ;
  112. LoadScript( '_source/internals/fckregexlib.js' ) ;
  113. LoadScript( '_source/internals/fcklistslib.js' ) ;
  114. LoadScript( '_source/internals/fcklanguagemanager.js' ) ;
  115. LoadScript( '_source/internals/fckxhtmlentities.js' ) ;
  116. LoadScript( '_source/internals/fckxhtml.js' ) ;
  117. LoadScript( '_source/internals/fckxhtml_' + sSuffix + '.js' ) ;
  118. LoadScript( '_source/internals/fckcodeformatter.js' ) ;
  119. LoadScript( '_source/internals/fckundo.js' ) ;
  120. LoadScript( '_source/classes/fckeditingarea.js' ) ;
  121. LoadScript( '_source/classes/fckkeystrokehandler.js' ) ;
  122.  
  123. LoadScript( 'dtd/fck_xhtml10transitional.js' ) ;
  124. LoadScript( '_source/classes/fckstyle.js' ) ;
  125. LoadScript( '_source/internals/fckstyles.js' ) ;
  126.  
  127. LoadScript( '_source/internals/fcklisthandler.js' ) ;
  128. LoadScript( '_source/classes/fckelementpath.js' ) ;
  129. LoadScript( '_source/classes/fckdomrange.js' ) ;
  130. LoadScript( '_source/classes/fckdocumentfragment_' + sSuffix + '.js' ) ;
  131. LoadScript( '_source/classes/fckw3crange.js' ) ;
  132. LoadScript( '_source/classes/fckdomrange_' + sSuffix + '.js' ) ;
  133. LoadScript( '_source/classes/fckdomrangeiterator.js' ) ;
  134. LoadScript( '_source/classes/fckenterkey.js' ) ;
  135.  
  136. LoadScript( '_source/internals/fckdocumentprocessor.js' ) ;
  137. LoadScript( '_source/internals/fckselection.js' ) ;
  138. LoadScript( '_source/internals/fckselection_' + sSuffix + '.js' ) ;
  139.  
  140. LoadScript( '_source/internals/fcktablehandler.js' ) ;
  141. LoadScript( '_source/internals/fcktablehandler_' + sSuffix + '.js' ) ;
  142. LoadScript( '_source/classes/fckxml.js' ) ;
  143. LoadScript( '_source/classes/fckxml_' + sSuffix + '.js' ) ;
  144.  
  145. LoadScript( '_source/commandclasses/fcknamedcommand.js' ) ;
  146. LoadScript( '_source/commandclasses/fckstylecommand.js' ) ;
  147. LoadScript( '_source/commandclasses/fck_othercommands.js' ) ;
  148. LoadScript( '_source/commandclasses/fckshowblocks.js' ) ;
  149. LoadScript( '_source/commandclasses/fckspellcheckcommand_' + sSuffix + '.js' ) ;
  150. LoadScript( '_source/commandclasses/fcktextcolorcommand.js' ) ;
  151. LoadScript( '_source/commandclasses/fckpasteplaintextcommand.js' ) ;
  152. LoadScript( '_source/commandclasses/fckpastewordcommand.js' ) ;
  153. LoadScript( '_source/commandclasses/fcktablecommand.js' ) ;
  154. LoadScript( '_source/commandclasses/fckfitwindow.js' ) ;
  155. LoadScript( '_source/commandclasses/fcklistcommands.js' ) ;
  156. LoadScript( '_source/commandclasses/fckjustifycommands.js' ) ;
  157. LoadScript( '_source/commandclasses/fckindentcommands.js' ) ;
  158. LoadScript( '_source/commandclasses/fckblockquotecommand.js' ) ;
  159. LoadScript( '_source/commandclasses/fckcorestylecommand.js' ) ;
  160. LoadScript( '_source/commandclasses/fckremoveformatcommand.js' ) ;
  161. LoadScript( '_source/internals/fckcommands.js' ) ;
  162.  
  163. LoadScript( '_source/classes/fckpanel.js' ) ;
  164. LoadScript( '_source/classes/fckicon.js' ) ;
  165. LoadScript( '_source/classes/fcktoolbarbuttonui.js' ) ;
  166. LoadScript( '_source/classes/fcktoolbarbutton.js' ) ;
  167. LoadScript( '_source/classes/fckspecialcombo.js' ) ;
  168. LoadScript( '_source/classes/fcktoolbarspecialcombo.js' ) ;
  169. LoadScript( '_source/classes/fcktoolbarstylecombo.js' ) ;
  170. LoadScript( '_source/classes/fcktoolbarfontformatcombo.js' ) ;
  171. LoadScript( '_source/classes/fcktoolbarfontscombo.js' ) ;
  172. LoadScript( '_source/classes/fcktoolbarfontsizecombo.js' ) ;
  173. LoadScript( '_source/classes/fcktoolbarpanelbutton.js' ) ;
  174. LoadScript( '_source/internals/fcktoolbaritems.js' ) ;
  175. LoadScript( '_source/classes/fcktoolbar.js' ) ;
  176. LoadScript( '_source/classes/fcktoolbarbreak_' + sSuffix + '.js' ) ;
  177. LoadScript( '_source/internals/fcktoolbarset.js' ) ;
  178. LoadScript( '_source/internals/fckdialog.js' ) ;
  179. LoadScript( '_source/classes/fckmenuitem.js' ) ;
  180. LoadScript( '_source/classes/fckmenublock.js' ) ;
  181. LoadScript( '_source/classes/fckmenublockpanel.js' ) ;
  182. LoadScript( '_source/classes/fckcontextmenu.js' ) ;
  183. LoadScript( '_source/internals/fck_contextmenu.js' ) ;
  184. LoadScript( '_source/classes/fckhtmliterator.js' ) ;
  185. LoadScript( '_source/classes/fckplugin.js' ) ;
  186. LoadScript( '_source/internals/fckplugins.js' ) ;
  187.  
  188. // @Packager.Remove.End
  189.  
  190. // Base configuration file.
  191. LoadScript( '../fckconfig.js' ) ;
  192.  
  193.         </script>
  194.         <script type="text/javascript">
  195.  
  196. // Adobe AIR compatibility file.
  197. if ( FCKBrowserInfo.IsAIR )
  198.         LoadScript( 'js/fckadobeair.js' ) ;
  199.  
  200. if ( FCKBrowserInfo.IsIE )
  201. {
  202.         // Remove IE mouse flickering.
  203.         try
  204.         {
  205.                 document.execCommand( 'BackgroundImageCache', false, true ) ;
  206.         }
  207.         catch (e)
  208.         {
  209.                 // We have been reported about loading problems caused by the above
  210.                 // line. For safety, let's just ignore errors.
  211.         }
  212.  
  213.         // Create the default cleanup object used by the editor.
  214.         FCK.IECleanup = new FCKIECleanup( window ) ;
  215.         FCK.IECleanup.AddItem( FCKTempBin, FCKTempBin.Reset ) ;
  216.         FCK.IECleanup.AddItem( FCK, FCK_Cleanup ) ;
  217. }
  218.  
  219. // The first function to be called on selection change must the the styles
  220. // change checker, because the result of its processing may be used by another
  221. // functions listening to the same event.
  222. FCK.Events.AttachEvent( 'OnSelectionChange', function() { FCKStyles.CheckSelectionChanges() ; } ) ;
  223.  
  224. // The config hidden field is processed immediately, because
  225. // CustomConfigurationsPath may be set in the page.
  226. FCKConfig.ProcessHiddenField() ;
  227.  
  228. // Load the custom configurations file (if defined).
  229. if ( FCKConfig.CustomConfigurationsPath.length > 0 )
  230.         LoadScript( FCKConfig.CustomConfigurationsPath ) ;
  231.  
  232.         </script>
  233.         <script type="text/javascript">
  234.  
  235. // Load configurations defined at page level.
  236. FCKConfig_LoadPageConfig() ;
  237.  
  238. FCKConfig_PreProcess() ;
  239.  
  240. var FCK_InternalCSS                     = FCKConfig.FullBasePath + 'css/fck_internal.css' ;                                     // @Packager.RemoveLine
  241. var FCK_ShowTableBordersCSS     = FCKConfig.FullBasePath + 'css/fck_showtableborders_gecko.css' ;       // @Packager.RemoveLine
  242. /* @Packager.RemoveLine
  243. // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor
  244. var FCK_InternalCSS                     = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'html{min-height:100%}table.FCK__ShowTableBorders,table.FCK__ShowTableBorders td,table.FCK__ShowTableBorders th{border:#d3d3d3 1px solid}form{border:1px dotted #F00;padding:2px}.FCK__Flash{border:#a9a9a9 1px solid;background-position:center center;background-image:url(images/fck_flashlogo.gif);background-repeat:no-repeat;width:80px;height:80px}.FCK__Anchor{border:1px dotted #00F;background-position:center center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;width:16px;height:15px;vertical-align:middle}.FCK__AnchorC{border:1px dotted #00F;background-position:1px center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}a[name]{border:1px dotted #00F;background-position:0 center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}.FCK__PageBreak{background-position:center center;background-image:url(images/fck_pagebreak.gif);background-repeat:no-repeat;clear:both;display:block;float:none;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;border-right:0;border-left:0;height:5px}.FCK__InputHidden{width:19px;height:18px;background-image:url(images/fck_hiddenfield.gif);background-repeat:no-repeat;vertical-align:text-bottom;background-position:center center}.FCK__ShowBlocks p,.FCK__ShowBlocks div,.FCK__ShowBlocks pre,.FCK__ShowBlocks address,.FCK__ShowBlocks blockquote,.FCK__ShowBlocks h1,.FCK__ShowBlocks h2,.FCK__ShowBlocks h3,.FCK__ShowBlocks h4,.FCK__ShowBlocks h5,.FCK__ShowBlocks h6{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px;padding-left:8px}.FCK__ShowBlocks p{background-image:url(images/block_p.png)}.FCK__ShowBlocks div{background-image:url(images/block_div.png)}.FCK__ShowBlocks pre{background-image:url(images/block_pre.png)}.FCK__ShowBlocks address{background-image:url(images/block_address.png)}.FCK__ShowBlocks blockquote{background-image:url(images/block_blockquote.png)}.FCK__ShowBlocks h1{background-image:url(images/block_h1.png)}.FCK__ShowBlocks h2{background-image:url(images/block_h2.png)}.FCK__ShowBlocks h3{background-image:url(images/block_h3.png)}.FCK__ShowBlocks h4{background-image:url(images/block_h4.png)}.FCK__ShowBlocks h5{background-image:url(images/block_h5.png)}.FCK__ShowBlocks h6{background-image:url(images/block_h6.png)}' ) ;
  245. var FCK_ShowTableBordersCSS     = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'table:not([border]),table:not([border]) > tr > td,table:not([border]) > tr > th,table:not([border]) > tbody > tr > td,table:not([border]) > tbody > tr > th,table:not([border]) > thead > tr > td,table:not([border]) > thead > tr > th,table:not([border]) > tfoot > tr > td,table:not([border]) > tfoot > tr > th,table[border=\"0\"],table[border=\"0\"] > tr > td,table[border=\"0\"] > tr > th,table[border=\"0\"] > tbody > tr > td,table[border=\"0\"] > tbody > tr > th,table[border=\"0\"] > thead > tr > td,table[border=\"0\"] > thead > tr > th,table[border=\"0\"] > tfoot > tr > td,table[border=\"0\"] > tfoot > tr > th{border:#d3d3d3 1px dotted}' ) ;
  246. @Packager.RemoveLine */
  247.  
  248. // Popup the debug window if debug mode is set to true. It guarantees that the
  249. // first debug message will not be lost.
  250. if ( FCKConfig.Debug )
  251.         FCKDebug._GetWindow() ;
  252.  
  253. // Load the active skin CSS.
  254. document.write( FCKTools.GetStyleHtml( FCKConfig.SkinEditorCSS ) ) ;
  255.  
  256. // Load the language file.
  257. FCKLanguageManager.Initialize() ;
  258. LoadScript( 'lang/' + FCKLanguageManager.ActiveLanguage.Code + '.js' ) ;
  259.  
  260.         </script>
  261.         <script type="text/javascript">
  262.  
  263. // Initialize the editing area context menu.
  264. FCK_ContextMenu_Init() ;
  265.  
  266. FCKPlugins.Load() ;
  267.  
  268.         </script>
  269.         <script type="text/javascript">
  270.  
  271. // Set the editor interface direction.
  272. window.document.dir = FCKLang.Dir ;
  273.  
  274.         </script>
  275.         <script type="text/javascript">
  276.  
  277. window.onload = function()
  278. {
  279.         InitializeAPI() ;
  280.  
  281.         if ( FCKBrowserInfo.IsIE )
  282.                 FCK_PreloadImages() ;
  283.         else
  284.                 LoadToolbarSetup() ;
  285. }
  286.  
  287. function LoadToolbarSetup()
  288. {
  289.         FCKeditorAPI._FunctionQueue.Add( LoadToolbar ) ;
  290. }
  291.  
  292. function LoadToolbar()
  293. {
  294.         var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ;
  295.  
  296.         if ( oToolbarSet.IsLoaded )
  297.                 StartEditor() ;
  298.         else
  299.         {
  300.                 oToolbarSet.OnLoad = StartEditor ;
  301.                 oToolbarSet.Load( FCKURLParams['Toolbar'] || 'Default' ) ;
  302.         }
  303. }
  304.  
  305. function StartEditor()
  306. {
  307.         // Remove the onload listener.
  308.         FCK.ToolbarSet.OnLoad = null ;
  309.  
  310.         FCKeditorAPI._FunctionQueue.Remove( LoadToolbar ) ;
  311.  
  312.         FCK.Events.AttachEvent( 'OnStatusChange', WaitForActive ) ;
  313.  
  314.         // Start the editor.
  315.         FCK.StartEditor() ;
  316. }
  317.  
  318. function WaitForActive( editorInstance, newStatus )
  319. {
  320.         if ( newStatus == FCK_STATUS_ACTIVE )
  321.         {
  322.                 if ( FCKBrowserInfo.IsGecko )
  323.                         FCKTools.RunFunction( window.onresize ) ;
  324.  
  325.                 _AttachFormSubmitToAPI() ;
  326.  
  327.                 FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
  328.  
  329.                 // Call the special "FCKeditor_OnComplete" function that should be present in
  330.                 // the HTML page where the editor is located.
  331.                 if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' )
  332.                         window.parent.FCKeditor_OnComplete( FCK ) ;
  333.         }
  334. }
  335.  
  336. // Gecko browsers doesn't calculate well the IFRAME size so we must
  337. // recalculate it every time the window size changes.
  338. if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )
  339. {
  340.         window.onresize = function( e )
  341.         {
  342.                 // Running in Chrome makes the window receive the event including subframes.
  343.                 // we care only about this window. Ticket #1642.
  344.                 // #2002: The originalTarget from the event can be the current document, the window, or the editing area.
  345.                 if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))
  346.                         return ;
  347.  
  348.                 var oCell = document.getElementById( 'xEditingArea' ) ;
  349.  
  350.                 var eInnerElement = oCell.firstChild ;
  351.                 if ( eInnerElement )
  352.                 {
  353.                         eInnerElement.style.height = '0px' ;
  354.                         eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ;
  355.                 }
  356.         }
  357. }
  358.  
  359.         </script>
  360. </head>
  361. <body>
  362.         <table width="100%" cellpadding="0" cellspacing="0" style="height: 100%; table-layout: fixed">
  363.                 <tr id="xToolbarRow" style="display: none">
  364.                         <td id="xToolbarSpace" style="overflow: hidden">
  365.                                 <table width="100%" cellpadding="0" cellspacing="0">
  366.                                         <tr id="xCollapsed" style="display: none">
  367.                                                 <td id="xExpandHandle" class="TB_Expand" colspan="3">
  368.                                                         <img class="TB_ExpandImg" alt="" src="images/spacer.gif" width="8" height="4" /></td>
  369.                                         </tr>
  370.                                         <tr id="xExpanded" style="display: none">
  371.                                                 <td id="xTBLeftBorder" class="TB_SideBorder" style="width: 1px; display: none;"></td>
  372.                                                 <td id="xCollapseHandle" style="display: none" class="TB_Collapse" valign="bottom">
  373.                                                         <img class="TB_CollapseImg" alt="" src="images/spacer.gif" width="8" height="4" /></td>
  374.                                                 <td id="xToolbar" class="TB_ToolbarSet"></td>
  375.                                                 <td class="TB_SideBorder" style="width: 1px"></td>
  376.                                         </tr>
  377.                                 </table>
  378.                         </td>
  379.                 </tr>
  380.                 <tr>
  381.                         <td id="xEditingArea" valign="top" style="height: 100%"></td>
  382.                 </tr>
  383.         </table>
  384. </body>
  385. </html>
  386.  
downloadfckeditor.original.html Source code - Download Jie Yang v0.6.3 article system Source code
Related Source Codes/Software:
Jilin classification information release system v5.0 trial version - A ready-made classifieds site publishing system, h... 2016-09-21
Linyi CMS v6.5 market classification information - A. supply and demand information function: informa... 2016-09-21
Tesco discount net SQL version - And presentations, faster. 2016-09-21
- electronic enterprise website management system In a fully functional version - Super suitable for enterprise agents build a corpo... 2016-09-21
Rio mesh network hard disk system v3.0 - System functions: 1, increase the progress of Asp... 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top