Changeset 2757
- Timestamp:
- 09/03/10 20:21:49 (17 months ago)
- Location:
- branches/5.2.1/www/admin
- Files:
-
- 4 edited
-
js/admin.js (modified) (1 diff)
-
view/vArchitecture/ajax/dsp_javascript.cfm (modified) (1 diff)
-
view/vArchitecture/form/dsp_tab_basic.cfm (modified) (1 diff)
-
view/vEmail_Broadcaster/dsp_form.cfm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2.1/www/admin/js/admin.js
r2745 r2757 631 631 } 632 632 633 jQuery('#' + allPageTags[i].id).ckeditor( htmlEditorOnComplete,getHTMLEditorConfig());633 jQuery('#' + allPageTags[i].id).ckeditor(getHTMLEditorConfig(),htmlEditorOnComplete); 634 634 635 635 } -
branches/5.2.1/www/admin/view/vArchitecture/ajax/dsp_javascript.cfm
r2681 r2757 78 78 oFCKeditor.ReplaceTextarea(); 79 79 <cfelse> 80 jQuery('##summary').ckeditor( htmlEditorOnComplete,{80 jQuery('##summary').ckeditor({ 81 81 toolbar: 'Summary', 82 82 contentsCss: '#application.settingsManager.getSite(attributes.siteid).getThemeAssetPath()#/css/editor.css', 83 83 defaultLanguage: '#lcase(session.rb)#', 84 84 width: '100%' 85 } 85 }, 86 htmlEditorOnComplete 86 87 ); 87 88 summaryLoaded=true; -
branches/5.2.1/www/admin/view/vArchitecture/form/dsp_tab_basic.cfm
r2684 r2757 129 129 } 130 130 </script> 131 <div class="message"><input type="button" name="Count" value="#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.showcontentlength')#" onclick="alertDialog(FCKeditorAPI.GetInstance('body').GetXHTML().length + ' #jsStringFormat(application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.characters'))#'); "> #application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.maxcharacters')#</div>132 131 <cfelse> 133 132 <textarea name="body" id="body">#HTMLEditFormat(request.contentBean.getBody())#</textarea> 134 133 <script type="text/javascript" language="Javascript"> 135 134 var loadEditorCount = 0; 136 jQuery('##body').ckeditor(htmlEditorOnComplete,{ 137 toolbar:<cfif attributes.type eq 'Form'>'Form'<cfelse>'Default'</cfif>, 138 contentsCss: '#application.settingsManager.getSite(attributes.siteid).getThemeAssetPath()#/css/editor.css', 139 defaultLanguage: '#lcase(session.rb)#', 140 width: '100%', 141 height: '550', 142 <cfif len(application.settingsManager.getSite(attributes.siteID).getGoogleAPIKey())> 143 GoogleMaps_Key: '#application.settingsManager.getSite(attributes.siteID).getGoogleAPIKey()#' 144 <cfelse> 145 GoogleMaps_Key :'none' 146 </cfif> 147 <cfif fileExists("#expandPath(application.settingsManager.getSite(attributes.siteid).getThemeIncludePath())#/js/ckconfig.js.cfm")> 135 136 jQuery(function() 148 137 { 149 ,customConfig:'#application.settingsManager.getSite(attributes.siteid).getThemeAssetPath()#/js/ckeditor.js.cfm?EditorType=#attributes.type#'; 150 </cfif> 151 } 152 ); 138 var config = { 139 toolbar:<cfif attributes.type eq 'Form'>'Form'<cfelse>'Default'</cfif>, 140 contentsCss: '#application.settingsManager.getSite(attributes.siteid).getThemeAssetPath()#/css/editor.css', 141 defaultLanguage: '#lcase(session.rb)#', 142 width: '100%', 143 height: '550', 144 <cfif len(application.settingsManager.getSite(attributes.siteID).getGoogleAPIKey())> 145 GoogleMaps_Key: '#application.settingsManager.getSite(attributes.siteID).getGoogleAPIKey()#' 146 <cfelse> 147 GoogleMaps_Key :'none' 148 </cfif> 149 <cfif fileExists("#expandPath(application.settingsManager.getSite(attributes.siteid).getThemeIncludePath())#/js/ckconfig.js.cfm")> 150 ,customConfig:'#application.settingsManager.getSite(attributes.siteid).getThemeAssetPath()#/js/ckeditor.js.cfm?EditorType=#attributes.type#'; 151 </cfif> 152 }; 153 154 jQuery('##body').ckeditor(config,htmlEditorOnComplete); 155 }); 153 156 </script> 154 157 </cfif> -
branches/5.2.1/www/admin/view/vEmail_Broadcaster/dsp_form.cfm
r2729 r2757 143 143 <script type="text/javascript" language="Javascript"> 144 144 var loadEditorCount = 0; 145 jQuery('##bodyHTML').ckeditor( htmlEditorOnComplete,{145 jQuery('##bodyHTML').ckeditor({ 146 146 toolbar:'Default', 147 147 contentsCss: '#application.settingsManager.getSite(attributes.siteid).getThemeAssetPath()#/css/editor_email.css', … … 149 149 width: '100%', 150 150 height: '400' 151 } 151 }, 152 htmlEditorOnComplete 152 153 ); 153 154 </script>
Note: See TracChangeset
for help on using the changeset viewer.
