Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <iframe width="100%" scrolling="no" height="260px" frameborder="0" src="/resources/editors/fckeditor/editor/fckeditor.html?InstanceName=ta_OpenCmsHtml.LargeNews_1_.Teaser_1_.0&Toolbar=OpenCmsWidget" id="ta_OpenCmsHtml.LargeNews_1_.Teaser_1_.0___Frame">
- <html><head>
- <title>FCKeditor</title>
- <meta content="noindex, nofollow" name="robots">
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
- <meta content="public" http-equiv="Cache-Control">
- <script type="text/javascript">
- // Instead of loading scripts and CSSs using inline tags, all scripts are
- // loaded by code. In this way we can guarantee the correct processing order,
- // otherwise external scripts and inline scripts could be executed in an
- // unwanted order (IE).
- function LoadScript( url )
- {
- document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ;
- }
- function LoadCss( url )
- {
- document.write( '<link href="' + url + '" type="text/css" rel="stylesheet" />' ) ;
- }
- // Main editor scripts.
- var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ;
- LoadScript( 'js/fckeditorcode_' + sSuffix + '.js' ) ;
- // Base configuration file.
- LoadScript( '../fckconfig.js' ) ;
- </script><script src="js/fckeditorcode_gecko.js" type="text/javascript"></script><script src="../fckconfig.js" type="text/javascript"></script>
- <script type="text/javascript">
- if ( FCKBrowserInfo.IsIE )
- {
- // Remove IE mouse flickering.
- try
- {
- document.execCommand( 'BackgroundImageCache', false, true ) ;
- }
- catch (e)
- {
- // We have been reported about loading problems caused by the above
- // line. For safety, let's just ignore errors.
- }
- // Create the default cleanup object used by the editor.
- FCK.IECleanup = new FCKIECleanup( window ) ;
- FCK.IECleanup.AddItem( FCKTempBin, FCKTempBin.Reset ) ;
- FCK.IECleanup.AddItem( FCK, FCK_Cleanup ) ;
- }
- // The first function to be called on selection change must the the styles
- // change checker, because the result of its processing may be used by another
- // functions listening to the same event.
- FCK.Events.AttachEvent( 'OnSelectionChange', function() { FCKStyles.CheckSelectionChanges() ; } ) ;
- // The config hidden field is processed immediately, because
- // CustomConfigurationsPath may be set in the page.
- FCKConfig.ProcessHiddenField() ;
- // Load the custom configurations file (if defined).
- if ( FCKConfig.CustomConfigurationsPath.length > 0 )
- LoadScript( FCKConfig.CustomConfigurationsPath ) ;
- </script><script src="/cms/system/workplace/editors/fckeditor/configwidget.js?config=anchor,link,formatselect,source,stylesxml:true,imagegallery,downloadgallery,linkgallery,htmlgallery,tablegallery" type="text/javascript"></script>
- <script type="text/javascript">
- // Load configurations defined at page level.
- FCKConfig_LoadPageConfig() ;
- FCKConfig_PreProcess() ;
- // Load the active skin CSS.
- LoadCss( FCKConfig.SkinPath + 'fck_editor.css' ) ;
- // Load the language file.
- FCKLanguageManager.Initialize() ;
- LoadScript( 'lang/' + FCKLanguageManager.ActiveLanguage.Code + '.js' ) ;
- </script><link rel="stylesheet" type="text/css" href="/resources/editors/fckeditor/editor/skins/opencms/fck_editor.css"><script src="lang/en.js" type="text/javascript"></script>
- <script type="text/javascript">
- // Initialize the editing area context menu.
- FCK_ContextMenu_Init() ;
- FCKPlugins.Load() ;
- </script><script src="/cms/system/workplace/editors/fckeditor/plugins/opencms/fckplugin.js" type="text/javascript"></script><script src="/cms/system/workplace/editors/fckeditor/plugins/ocmsimage/lang/en.js" type="text/javascript"></script><script src="/cms/system/workplace/editors/fckeditor/plugins/ocmsimage/fckplugin.js" type="text/javascript"></script>
- <script type="text/javascript">
- // Set the editor interface direction.
- window.document.dir = FCKLang.Dir ;
- </script>
- <script type="text/javascript">
- window.onload = function()
- {
- InitializeAPI() ;
- if ( FCKBrowserInfo.IsIE )
- FCK_PreloadImages() ;
- else
- LoadToolbarSetup() ;
- }
- function LoadToolbarSetup()
- {
- FCKeditorAPI._FunctionQueue.Add( LoadToolbar ) ;
- }
- function LoadToolbar()
- {
- var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ;
- if ( oToolbarSet.IsLoaded )
- StartEditor() ;
- else
- {
- oToolbarSet.OnLoad = StartEditor ;
- oToolbarSet.Load( FCKURLParams['Toolbar'] || 'Default' ) ;
- }
- }
- function StartEditor()
- {
- // Remove the onload listener.
- FCK.ToolbarSet.OnLoad = null ;
- FCKeditorAPI._FunctionQueue.Remove( LoadToolbar ) ;
- FCK.Events.AttachEvent( 'OnStatusChange', WaitForActive ) ;
- // Start the editor.
- FCK.StartEditor() ;
- }
- function WaitForActive( editorInstance, newStatus )
- {
- if ( newStatus == FCK_STATUS_ACTIVE )
- {
- if ( FCKBrowserInfo.IsGecko )
- FCKTools.RunFunction( window.onresize ) ;
- _AttachFormSubmitToAPI() ;
- FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
- // Call the special "FCKeditor_OnComplete" function that should be present in
- // the HTML page where the editor is located.
- if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' )
- window.parent.FCKeditor_OnComplete( FCK ) ;
- }
- }
- // Gecko browsers doens't calculate well that IFRAME size so we must
- // recalculate it every time the window size changes.
- if ( FCKBrowserInfo.IsGecko )
- {
- function Window_OnResize()
- {
- if ( FCKBrowserInfo.IsOpera )
- return ;
- var oCell = document.getElementById( 'xEditingArea' ) ;
- var eInnerElement = oCell.firstChild ;
- if ( eInnerElement )
- {
- eInnerElement.style.height = 0 ;
- eInnerElement.style.height = oCell.scrollHeight - 2 ;
- }
- }
- window.onresize = Window_OnResize ;
- }
- </script>
- </head>
- <body>
- <table width="100%" cellspacing="0" cellpadding="0" style="height: 100%; table-layout: fixed">
- <tbody><tr style="" id="xToolbarRow">
- <td style="overflow: hidden" id="xToolbarSpace">
- <table width="100%" cellspacing="0" cellpadding="0">
- <tbody><tr style="" id="xCollapsed">
- <td colspan="3" class="TB_Expand" id="xExpandHandle" title="Expand Toolbar">
- <img width="8" height="4" src="images/spacer.gif" alt="" class="TB_ExpandImg"></td>
- </tr>
- <tr style="display: none; -moz-user-select: none;" id="xExpanded">
- <td style="width: 1px; display: none;" class="TB_SideBorder" id="xTBLeftBorder"></td>
- <td valign="bottom" class="TB_Collapse" style="" id="xCollapseHandle" title="Collapse Toolbar">
- <img width="8" height="4" src="images/spacer.gif" alt="" class="TB_CollapseImg"></td>
- <td class="TB_ToolbarSet" id="xToolbar"><table cellspacing="0" cellpadding="0" class="TB_Toolbar" style="float: left;" dir="ltr"><tbody><tr><td><div class="TB_Start"></div></td><td><div title="Undo" class="TB_Button_Disabled"><img src="images/spacer.gif" style="background-position: 0px -208px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Redo" class="TB_Button_Disabled"><img src="images/spacer.gif" style="background-position: 0px -224px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Select All" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -272px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Remove Format" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -288px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Cut" class="TB_Button_Disabled"><img src="images/spacer.gif" style="background-position: 0px -96px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Copy" class="TB_Button_Disabled"><img src="images/spacer.gif" style="background-position: 0px -112px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Paste" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -128px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Paste as plain text" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -144px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Paste from Word" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -160px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Bold" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -304px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Italic" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -320px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Underline" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -336px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Strike Through" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -352px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Subscript" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -368px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Superscript" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -384px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_End"></div></td></tr></tbody></table><table cellspacing="0" cellpadding="0" class="TB_Toolbar" style="float: left;" dir="ltr"><tbody><tr><td><div class="TB_Start"></div></td><td><div title="Left Justify" class="TB_Button_On"><img src="images/spacer.gif" style="background-position: 0px -464px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Center Justify" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -480px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Right Justify" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -496px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Block Justify" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -512px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Insert/Remove Numbered List" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -400px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Insert/Remove Bulleted List" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -416px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Decrease Indent" class="TB_Button_Disabled"><img src="images/spacer.gif" style="background-position: 0px -432px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Increase Indent" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -448px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_End"></div></td></tr></tbody></table><table cellspacing="0" cellpadding="0" class="TB_Toolbar" style="float: left;" dir="ltr"><tbody><tr><td><div class="TB_Start"></div></td><td><div title="Source" class="TB_Button_Off"><table cellspacing="0" cellpadding="0"><tbody><tr><td><img src="images/spacer.gif" style="background-position: 0px 0px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></td><td nowrap="" class="TB_Button_Text">Source</td><td><img class="TB_Button_Padding" src="images/spacer.gif"></td></tr></tbody></table></div></td><td><div class="TB_Separator"></div></td><td><table cellspacing="0" cellpadding="0" class=""><tbody><tr><td class="SC_FieldCaption">Format</td><td><div class="SC_Field" style="width: 100px;"><table width="100%" cellspacing="0" cellpadding="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldLabel"><label style="-moz-user-select: none;">Normal</label></td><td class="SC_FieldButton"> </td></tr></tbody></table></div></td></tr></tbody></table></td><td><table cellspacing="0" cellpadding="0" class=""><tbody><tr><td class="SC_FieldCaption">Style</td><td><div class="SC_Field" style="width: 100px;"><table width="100%" cellspacing="0" cellpadding="0" style="TABLE-LAYOUT: fixed;"><tbody><tr><td class="SC_FieldLabel"><label> </label></td><td class="SC_FieldButton"> </td></tr></tbody></table></div></td></tr></tbody></table></td><td><div title="Link" class="TB_Button_Off"><img src="/resources/editors/fckeditor/editor/skins/opencms/toolbar/oc-link.gif" class="TB_Button_Image"></div></td><td><div title="Insert/Edit Anchor" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -560px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div title="Remove Link" class="TB_Button_Disabled"><img src="images/spacer.gif" style="background-position: 0px -544px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_End"></div></td></tr></tbody></table><table cellspacing="0" cellpadding="0" class="TB_Toolbar" style="float: left;" dir="ltr"><tbody><tr><td><div class="TB_Start"></div></td><td><div title="Image gallery" class="TB_Button_Off"><img src="/resources/editors/fckeditor/editor/skins/opencms/toolbar/oc-imagegallery.gif" class="TB_Button_Image"></div></td><td><div title="Download gallery" class="TB_Button_Off"><img src="/resources/editors/fckeditor/editor/skins/opencms/toolbar/oc-downloadgallery.gif" class="TB_Button_Image"></div></td><td><div title="External links gallery" class="TB_Button_Off"><img src="/resources/editors/fckeditor/editor/skins/opencms/toolbar/oc-linkgallery.gif" class="TB_Button_Image"></div></td><td><div title="HTML gallery" class="TB_Button_Off"><img src="/resources/editors/fckeditor/editor/skins/opencms/toolbar/oc-htmlgallery.gif" class="TB_Button_Image"></div></td><td><div title="Table gallery" class="TB_Button_Off"><img src="/resources/editors/fckeditor/editor/skins/opencms/toolbar/oc-tablegallery.gif" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Insert Special Character" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -656px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Print" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -176px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_Separator"></div></td><td><div title="Maximize the editor size" class="TB_Button_Off"><img src="images/spacer.gif" style="background-position: 0px -1040px; background-image: url("/resources/editors/fckeditor/editor/skins/opencms/fck_strip.gif");" class="TB_Button_Image"></div></td><td><div class="TB_End"></div></td></tr></tbody></table></td>
- <td style="width: 1px" class="TB_SideBorder"></td>
- </tr>
- </tbody></table>
- </td>
- </tr>
- <tr>
- <td valign="top" style="height: 100%" id="xEditingArea"><iframe width="100%" height="100%" frameborder="0" style="height: 250px;"></iframe></td>
- </tr>
- </tbody></table>
- </body></html>
- </iframe>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement