| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | |
|---|
| 3 | <html> |
|---|
| 4 | <head> |
|---|
| 5 | <title></title> |
|---|
| 6 | </head> |
|---|
| 7 | <body > |
|---|
| 8 | <script src="/lcms/flexapps/lcmsAC_OETags.js" language="javascript"></script> |
|---|
| 9 | <script src="/lcms/eong/lib/js/jquery/jquery-1.4.min.js" type="text/javascript"></script> |
|---|
| 10 | <script src="/lcms/eong/lib/js/edit-on-ng.js" type="text/javascript"></script> |
|---|
| 11 | <link rel="stylesheet" type="text/css" href="/lcms/eong/lib/css/edit-on-ng.css"> |
|---|
| 12 | <script language="JavaScript" type="text/javascript"> |
|---|
| 13 | // Major version of Flash required |
|---|
| 14 | var requiredMajorVersion = 9; |
|---|
| 15 | // Minor version of Flash required |
|---|
| 16 | var requiredMinorVersion = 0; |
|---|
| 17 | // Minor version of Flash required |
|---|
| 18 | var requiredRevision = 0; |
|---|
| 19 | var lc_id = Math.floor(Math.random() * 100000).toString(16); |
|---|
| 20 | // Begin Page State Information to be set by the page generator |
|---|
| 21 | _lcmsSiteStudioReturnUrl="" |
|---|
| 22 | _lcmsPageUri="/demosite/ckeditor_new" |
|---|
| 23 | _lcmsPscId="080148858000f733" |
|---|
| 24 | _lcmsObjectId="09014885800199f0" |
|---|
| 25 | _lcmsObjectName="ckeditor_new" |
|---|
| 26 | _lcmsBaseUrl="http://pc-0085:80" |
|---|
| 27 | _lcmsCurrentLifecycleState="WIP" |
|---|
| 28 | _lcmsViewingLifecycleStates="WIP" |
|---|
| 29 | _lcmsViewableStates="WIP|Staging|Approved|Active" |
|---|
| 30 | _lcmsToolbarState=2 |
|---|
| 31 | _lcmsPageLocked=true |
|---|
| 32 | _lcmsLockOwner="" |
|---|
| 33 | // End Page State Information |
|---|
| 34 | // Utility Functions |
|---|
| 35 | function loadEditors() |
|---|
| 36 | { |
|---|
| 37 | for(i=0;i<editorNg.length;i++) |
|---|
| 38 | { |
|---|
| 39 | editorNg[i].loadEditor(); |
|---|
| 40 | editorNg[i].setBodyFragment(editorNgData[i]); |
|---|
| 41 | }} |
|---|
| 42 | window.onload = function() |
|---|
| 43 | { |
|---|
| 44 | //self.setTimeout('setCkeditorData()',3000) ; |
|---|
| 45 | loadEditors(); |
|---|
| 46 | } |
|---|
| 47 | function moveToolbarDiv(newZindex) |
|---|
| 48 | { |
|---|
| 49 | var toolbar = document.getElementById("cmsEditToolbar"); |
|---|
| 50 | if (typeof toolbar != "undefined") |
|---|
| 51 | { |
|---|
| 52 | toolbar.style.zIndex=newZindex; |
|---|
| 53 | } |
|---|
| 54 | } |
|---|
| 55 | function toolbarDoSave() |
|---|
| 56 | { |
|---|
| 57 | lcmsDoSave(_lcmsPscId); |
|---|
| 58 | } |
|---|
| 59 | function toolbarDoCancel() |
|---|
| 60 | { |
|---|
| 61 | lcmsDoCancel(_lcmsPscId); |
|---|
| 62 | } |
|---|
| 63 | function toolbarChangeState(newState) |
|---|
| 64 | { |
|---|
| 65 | lcmsChangeContentState(_lcmsPageUri, _lcmsPscId, newState); |
|---|
| 66 | } |
|---|
| 67 | </script> |
|---|
| 68 | <script language="JavaScript" type="text/javascript"> |
|---|
| 69 | // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65) |
|---|
| 70 | var hasProductInstall = DetectFlashVer(6, 0, 65); |
|---|
| 71 | // Version check based upon the values defined in globals |
|---|
| 72 | var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); |
|---|
| 73 | // Check to see if a player with Flash Product Install is available and the version does not meet the requirements for playback |
|---|
| 74 | if ( hasProductInstall && !hasRequestedVersion ) { |
|---|
| 75 | // MMdoctitle is the stored document.title value used by the installation process to close the window that started the process |
|---|
| 76 | // This is necessary in order to close browser windows that are still utilizing the older version of the player after installation has completed |
|---|
| 77 | // DO NOT MODIFY THE FOLLOWING FOUR LINES |
|---|
| 78 | // Location visited after installation is complete if installation is required |
|---|
| 79 | var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn"; |
|---|
| 80 | var MMredirectURL = window.location; |
|---|
| 81 | document.title = document.title.slice(0, 47) + " - Flash Player Installation"; |
|---|
| 82 | var MMdoctitle = document.title; |
|---|
| 83 | AC_FL_RunContent( |
|---|
| 84 | "src", "/lcms/flexapps/playerProductInstall", |
|---|
| 85 | "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"", |
|---|
| 86 | "width", "100%", |
|---|
| 87 | "height", "100%", |
|---|
| 88 | "align", "middle", |
|---|
| 89 | "id", "cmsEditToolbar", |
|---|
| 90 | "quality", "high", |
|---|
| 91 | "bgcolor", "#869ca7", |
|---|
| 92 | "name", "cmsEditToolbar", |
|---|
| 93 | "allowScriptAccess","sameDomain", |
|---|
| 94 | "type", "application/x-shockwave-flash", |
|---|
| 95 | "pluginspage", "http://www.adobe.com/go/getflashplayer", |
|---|
| 96 | "wmode", "transparent" |
|---|
| 97 | ); |
|---|
| 98 | } else if (hasRequestedVersion) { |
|---|
| 99 | // if we've detected an acceptable version |
|---|
| 100 | // embed the Flash Content SWF when all tests are passed |
|---|
| 101 | AC_FL_RunContent( |
|---|
| 102 | "src", "/lcms/flexapps/EditToolbar", |
|---|
| 103 | "width", "100%", |
|---|
| 104 | "height", "100%", |
|---|
| 105 | "align", "middle", |
|---|
| 106 | "style", "position:absolute;top:0px;left:0px;z-index:1", |
|---|
| 107 | "id", "cmsEditToolbar", |
|---|
| 108 | "quality", "high", |
|---|
| 109 | "bgcolor", "#869ca7", |
|---|
| 110 | "name", "cmsEditToolbar", |
|---|
| 111 | "flashvars","_lcmsToolbarState="+ _lcmsToolbarState + "&_lcmsPageLocked=" + _lcmsPageLocked + "&_lcmsLockOwner=" + _lcmsLockOwner + "&_lcmsViewableStates=" + _lcmsViewableStates , |
|---|
| 112 | "allowScriptAccess","sameDomain", |
|---|
| 113 | "type", "application/x-shockwave-flash", |
|---|
| 114 | "pluginspage", "http://www.adobe.com/go/getflashplayer", |
|---|
| 115 | "wmode", "transparent" |
|---|
| 116 | ); |
|---|
| 117 | } else { // flash is too old or we can't detect the plugin |
|---|
| 118 | var alternateContent = 'Alternate HTML content should be placed here. ' |
|---|
| 119 | + 'This content requires the Adobe Flash Player. ' |
|---|
| 120 | + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>'; |
|---|
| 121 | document.write(alternateContent); // insert non-flash content |
|---|
| 122 | } |
|---|
| 123 | </script> |
|---|
| 124 | <noscript> |
|---|
| 125 | <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" |
|---|
| 126 | id="cmsEditToolbar" width="100%" height="100%" |
|---|
| 127 | codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> |
|---|
| 128 | <param name="movie" value="/lcms/flexapps/EditToolbar.swf" /> |
|---|
| 129 | <param name="quality" value="high" /> |
|---|
| 130 | <param name="bgcolor" value="#869ca7" /> |
|---|
| 131 | <param name="allowScriptAccess" value="sameDomain" /> |
|---|
| 132 | <embed src="/lcms/flexapps/EditToolbar.swf" quality="high" bgcolor="#869ca7" |
|---|
| 133 | width="100%" height="100%" name="cmsEditToolbar" id="cmsEditToolbar"align="middle" |
|---|
| 134 | play="true" |
|---|
| 135 | loop="false" |
|---|
| 136 | quality="high" |
|---|
| 137 | allowScriptAccess="sameDomain" |
|---|
| 138 | type="application/x-shockwave-flash" |
|---|
| 139 | pluginspage="http://www.adobe.com/go/getflashplayer" |
|---|
| 140 | wmode="transparent" |
|---|
| 141 | style="position:absolute;top:0;left:0;z-index:0"> |
|---|
| 142 | </embed> |
|---|
| 143 | </object> |
|---|
| 144 | </noscript> |
|---|
| 145 | <script> |
|---|
| 146 | function resetSession() |
|---|
| 147 | { |
|---|
| 148 | var xhr; |
|---|
| 149 | try { xhr = new XMLHttpRequest(); } |
|---|
| 150 | catch(e) |
|---|
| 151 | { |
|---|
| 152 | try |
|---|
| 153 | { |
|---|
| 154 | xhr = new ActiveXObject("Msxml2.XMLHTTP"); |
|---|
| 155 | } |
|---|
| 156 | catch (e2) |
|---|
| 157 | { |
|---|
| 158 | xhr = new ActiveXObject(Microsoft.XMLHTTP); |
|---|
| 159 | } |
|---|
| 160 | } |
|---|
| 161 | |
|---|
| 162 | xhr.open("get", "/lcms/sessiontimeoutcontrol?timeoutValue=reset", true); |
|---|
| 163 | xhr.send(null); |
|---|
| 164 | } |
|---|
| 165 | resetSession() |
|---|
| 166 | </script> |
|---|
| 167 | <script type="text/javascript" src="/lcms/resources/js/dojo/dojo.js"></script> |
|---|
| 168 | <script type='text/javascript' src='/lcms/dwr/interface/Page.js'></script> |
|---|
| 169 | <script type='text/javascript' src='/lcms/dwr/engine.js'></script> |
|---|
| 170 | <script type="text/javascript" src="/lcms/resources/js/sct.js"></script> |
|---|
| 171 | <script type="text/javascript" src="/lcms/ckeditor/ckeditor.js"></script> |
|---|
| 172 | <script type="text/javascript" src="/lcms/eopro/editonpro.js"></script> |
|---|
| 173 | <div id="lcmsContentDiv" style="position:absolute; top:42px; width:100%; z-index:1;"> |
|---|
| 174 | <link rel="stylesheet" href="/lcms/resources/css/lcmsInContextEditing.css" type="text/css" /> |
|---|
| 175 | <div id="lcms_content_only_desc">These zones are referenced by the template outside of the main page content area, such as in the page title.</div> |
|---|
| 176 | <div id="lcms_content_only_fields"><span class="lcms_label">Page Title zone<br /><input name="sct_title" type="text" value="" title="Page Title" /></span></div> |
|---|
| 177 | |
|---|
| 178 | |
|---|
| 179 | <table border="0" cellspacing="0" cellpadding="0" name='Done_Button'> |
|---|
| 180 | <tr> |
|---|
| 181 | <td nowrap="" valign="bottom"><span class="lcms_label">ckeditor_body_xhtml zone<br /></span></td> |
|---|
| 182 | <textarea cols="80" id="sct_ckeditor_ckeditor_body_xhtml" name="sct_ckeditor_ckeditor_body_xhtml" rows="10"><p> <sct-component id="090148858001514f" target_name="comp_active">comp_active</sct-component></p></textarea> |
|---|
| 183 | <tr><td><script type="text/javascript"> |
|---|
| 184 | CKEDITOR.config.height=440; |
|---|
| 185 | CKEDITOR.config.width=600; |
|---|
| 186 | ckEditor.push('sct_ckeditor_'+'ckeditor_body_xhtml'); |
|---|
| 187 | _editorLoaded = false; |
|---|
| 188 | CKEDITOR.replace('sct_ckeditor_'+'ckeditor_body_xhtml',{ |
|---|
| 189 | customConfig : '../ckeditor/sghe/sghe_config.js', |
|---|
| 190 | toolbar : 'LCMSToolbar', |
|---|
| 191 | sourceview : 'true', |
|---|
| 192 | language : 'en' |
|---|
| 193 | }); |
|---|
| 194 | |
|---|
| 195 | CKEDITOR.on('instanceReady', function(e){enableSaveButton();}); |
|---|
| 196 | </script> |
|---|
| 197 | </td></tr></table> |
|---|
| 198 | <br/> |
|---|
| 199 | <script type="text/javascript" language="javascript">_lcmsInitialMessage="" |
|---|
| 200 | _lcmsNavigationState=""</script> |
|---|
| 201 | <div id="lcms_end_body_content"><!--endbodycontent--><!--end endbodycontent--></div> |
|---|
| 202 | <form action="/lcms/publish/saveobject" name="SubmitContent" method="post" class="lcmsModify"> |
|---|
| 203 | <input type="text" name="page" value="/demosite/ckeditor_new"/> |
|---|
| 204 | <input type="text" name="currentField" value="unknown"/> |
|---|
| 205 | <input type="text" name="url" value="/lcms/publish/demosite/ckeditor_new?returnurl=%2Flcms%2Fcomponent%2Fwebview%3FobjectId%3D0b01488580011921"/> |
|---|
| 206 | <input type="text" name="saveButtonStyle" value="" /> |
|---|
| 207 | <textarea class="lcmsModify" name="sct_title" title="Page Title" ></textarea><br/> |
|---|
| 208 | <textarea class="lcmsModify" name="sct_ckeditor_body_xhtml" title="ckeditor_body_xhtml" ></textarea><br/> |
|---|
| 209 | |
|---|
| 210 | <input type="text" name="custom_link_url" value="/lcms/flexapps/LinkBrowser/InsertCustomLink.jsp?objectId=09014885800199f0&object_name=ckeditor_new&loginName=&folderPath=0b01488580011921&sctCmsPsc=080148858000f733"/> |
|---|
| 211 | <input type="text" name="custom_component_url" value="/lcms/flexapps/componentBrowser/InsertCustomComponent.jsp?objectId=09014885800199f0&object_name=ckeditor_new&loginName=&folderPath=0b01488580011921&sctCmsPsc=080148858000f733"/> |
|---|
| 212 | <input type="text" name="custom_image_url" value="/lcms/flexapps/ImageBrowser/InsertCustomImage.jsp?objectId=09014885800199f0&object_name=ckeditor_new&loginName=&folderPath=0b01488580011921&sctCmsPsc=080148858000f733"/> |
|---|
| 213 | <input type ="text" name="LcmsFlexDialogLoaded" value="0"> |
|---|
| 214 | </form> |
|---|
| 215 | <iframe name="lcms_keepalive" src="/lcms/yosemite/keepalive.jsp" style="width:0px; height:0px; border: 0px"></iframe> |
|---|
| 216 | </body> |
|---|
| 217 | </html> |
|---|
| 218 | |
|---|