Ignore:
Timestamp:
09/03/10 22:22:03 (21 months ago)
Author:
mattlevine
Message:
  1. Fixing issue with ckeditor scrolling on load.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2.1/www/admin/view/vArchitecture/dsp_form.cfm

    r2689 r2760  
    267267<cfif attributes.compactDisplay neq "true" or not listFindNoCase(nodeLevelList,attributes.type)>         
    268268        <cfif attributes.contentid neq ""> 
    269         <ul id="navTask"> 
    270         <cfif attributes.compactDisplay neq "true" and (request.contentBean.getfilename() neq '' or attributes.contentid eq '00000000000000000000000000000000001')> 
    271         <cfswitch expression="#attributes.type#"> 
    272         <cfcase value="Page,Portal,Calendar,Gallery"> 
    273         <cfif attributes.contentID neq ''> 
    274         <cfset currentBean=application.contentManager.getActiveContent(attributes.contentID,attributes.siteid) /> 
    275         <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()##application.contentRenderer.getURLStem(attributes.siteid,currentBean.getfilename())#','#currentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
    276         </cfif> 
    277         <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()##application.contentRenderer.getURLStem(attributes.siteid,"")#?previewid=#request.contentBean.getcontenthistid()#&contentid=#request.contentBean.getcontentid()#','#request.contentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewversion")#</a></li> 
    278         </cfcase> 
    279         <cfcase value="Link"> 
    280         <cfset currentBean=application.contentManager.getActiveContent(attributes.contentID,attributes.siteid) /> 
    281         <cfif attributes.contentID neq ''> 
    282                 <li><a href="javascript:preview('#currentBean.getfilename()#','#currentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
    283         </cfif> 
    284         <li><a href="javascript:preview('#request.contentBean.getfilename()#','#request.contentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
    285         </cfcase> 
    286         <cfcase value="File">    
    287         <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()##application.contentRenderer.getURLStem(attributes.siteid,"")#?LinkServID=#attributes.contentid#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
    288         <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()#/tasks/render/file/?fileID=#request.contentBean.getFileID()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewversion")#</a></li> 
    289         </cfcase> 
    290         </cfswitch> 
    291         </cfif> 
    292         <cfswitch expression="#attributes.type#"> 
    293         <cfcase value="Form"> 
    294         <cfif listFind(session.mura.memberships,'S2IsPrivate')> 
    295         <li><a  href="index.cfm?fuseaction=cArch.datamanager&contentid=#URLEncodedFormat(attributes.contentid)#&siteid=#URLEncodedFormat(attributes.siteid)#&topid=#URLEncodedFormat(attributes.topid)#&moduleid=#attributes.moduleid#&type=Form&parentid=#attributes.moduleid#">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.managedata")#</a></li> 
    296         </cfif> 
    297         </cfcase> 
    298         </cfswitch> 
    299         <li><a href="index.cfm?fuseaction=cArch.hist&contentid=#URLEncodedFormat(attributes.contentid)#&type=#attributes.type#&parentid=#URLEncodedFormat(attributes.parentid)#&topid=#URLEncodedFormat(attributes.topid)#&siteid=#URLEncodedFormat(attributes.siteid)#&startrow=#attributes.startrow#&moduleid=#attributes.moduleid#&compactDisplay=#attributes.compactDisplay#">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.versionhistory")#</a> </li> 
    300         <cfif attributes.compactDisplay neq 'true' and request.contentBean.getactive()lt 1 and (request.perm neq 'none')><li><a href="index.cfm?fuseaction=cArch.update&contenthistid=#URLEncodedFormat(attributes.contenthistid)#&action=delete&contentid=#URLEncodedFormat(attributes.contentid)#&type=#attributes.type#&parentid=#URLEncodedFormat(attributes.parentid)#&topid=#URLEncodedFormat(attributes.topid)#&siteid=#URLEncodedFormat(attributes.siteid)#&startrow=#attributes.startrow#&moduleid=#attributes.moduleid#&return=#attributes.return#" onclick="return confirmDialog('#jsStringFormat(application.rbFactory.getKeyValue(session.rb,"sitemanager.content.deleteversionconfirm"))#',this.href)">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.deleteversion")#</a></li></cfif> 
     269                <ul id="navTask"> 
     270                <cfif attributes.compactDisplay neq "true" and (request.contentBean.getfilename() neq '' or attributes.contentid eq '00000000000000000000000000000000001')> 
     271                        <cfswitch expression="#attributes.type#"> 
     272                        <cfcase value="Page,Portal,Calendar,Gallery"> 
     273                                <cfif attributes.contentID neq ''> 
     274                                        <cfset currentBean=application.contentManager.getActiveContent(attributes.contentID,attributes.siteid) /> 
     275                                        <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()##application.contentRenderer.getURLStem(attributes.siteid,currentBean.getfilename())#','#currentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
     276                                </cfif> 
     277                                <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()##application.contentRenderer.getURLStem(attributes.siteid,"")#?previewid=#request.contentBean.getcontenthistid()#&contentid=#request.contentBean.getcontentid()#','#request.contentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewversion")#</a></li> 
     278                        </cfcase> 
     279                        <cfcase value="Link"> 
     280                                <cfset currentBean=application.contentManager.getActiveContent(attributes.contentID,attributes.siteid) /> 
     281                                <cfif attributes.contentID neq ''> 
     282                                        <li><a href="javascript:preview('#currentBean.getfilename()#','#currentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
     283                                </cfif> 
     284                                <li><a href="javascript:preview('#request.contentBean.getfilename()#','#request.contentBean.getTargetParams()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
     285                        </cfcase> 
     286                        <cfcase value="File">    
     287                                <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()##application.contentRenderer.getURLStem(attributes.siteid,"")#?LinkServID=#attributes.contentid#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewactive")#</a></li> 
     288                                <li><a  href="javascript:preview('http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()#/tasks/render/file/?fileID=#request.contentBean.getFileID()#');">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.viewversion")#</a></li> 
     289                        </cfcase> 
     290                        </cfswitch> 
     291                </cfif> 
     292                <cfswitch expression="#attributes.type#"> 
     293                <cfcase value="Form"> 
     294                        <cfif listFind(session.mura.memberships,'S2IsPrivate')> 
     295                        <li><a  href="index.cfm?fuseaction=cArch.datamanager&contentid=#URLEncodedFormat(attributes.contentid)#&siteid=#URLEncodedFormat(attributes.siteid)#&topid=#URLEncodedFormat(attributes.topid)#&moduleid=#attributes.moduleid#&type=Form&parentid=#attributes.moduleid#">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.managedata")#</a></li> 
     296                        </cfif> 
     297                </cfcase> 
     298                </cfswitch> 
     299                <li><a href="index.cfm?fuseaction=cArch.hist&contentid=#URLEncodedFormat(attributes.contentid)#&type=#attributes.type#&parentid=#URLEncodedFormat(attributes.parentid)#&topid=#URLEncodedFormat(attributes.topid)#&siteid=#URLEncodedFormat(attributes.siteid)#&startrow=#attributes.startrow#&moduleid=#attributes.moduleid#&compactDisplay=#attributes.compactDisplay#">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.versionhistory")#</a> </li> 
     300                <cfif attributes.compactDisplay neq 'true' and request.contentBean.getactive()lt 1 and (request.perm neq 'none')><li><a href="index.cfm?fuseaction=cArch.update&contenthistid=#URLEncodedFormat(attributes.contenthistid)#&action=delete&contentid=#URLEncodedFormat(attributes.contentid)#&type=#attributes.type#&parentid=#URLEncodedFormat(attributes.parentid)#&topid=#URLEncodedFormat(attributes.topid)#&siteid=#URLEncodedFormat(attributes.siteid)#&startrow=#attributes.startrow#&moduleid=#attributes.moduleid#&return=#attributes.return#" onclick="return confirmDialog('#jsStringFormat(application.rbFactory.getKeyValue(session.rb,"sitemanager.content.deleteversionconfirm"))#',this.href)">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.deleteversion")#</a></li></cfif> 
    301301                <cfif request.deletable><li><a href="index.cfm?fuseaction=cArch.update&action=deleteall&contentid=#URLEncodedFormat(attributes.contentid)#&type=#attributes.type#&parentid=#URLEncodedFormat(attributes.parentid)#&topid=#URLEncodedFormat(attributes.topid)#&siteid=#URLEncodedFormat(attributes.siteid)#&startrow=#attributes.startrow#&moduleid=#attributes.moduleid#"  
    302302                <cfif listFindNoCase(nodeLevelList,request.contentBean.getType())>onclick="return confirmDialog('#jsStringFormat(application.rbFactory.getResourceBundle(session.rb).messageFormat(application.rbFactory.getKeyValue(session.rb,'sitemanager.content.deletecontentrecursiveconfirm'),request.contentBean.getMenutitle()))#',this.href)"<cfelse>onclick="return confirmDialog('#jsStringFormat(application.rbFactory.getKeyValue(session.rb,"sitemanager.content.deletecontentconfirm"))#',this.href)"</cfif>>#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.deletecontent")#</a></li></cfif> 
    303         <cfif (listFind(session.mura.memberships,'Admin;#application.settingsManager.getSite(attributes.siteid).getPrivateUserPoolID()#;0') or listFind(session.mura.memberships,'S2'))><li><a href="index.cfm?fuseaction=cPerm.main&contentid=#URLEncodedFormat(attributes.contentid)#&type=#request.contentBean.gettype()#&parentid=#request.contentBean.getparentID()#&topid=#URLEncodedFormat(attributes.topid)#&siteid=#URLEncodedFormat(attributes.siteid)#&moduleid=#attributes.moduleid#&startrow=#attributes.startrow#">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.permissions")#</a></li></cfif> 
    304         </ul></cfif> 
     303                <cfif (listFind(session.mura.memberships,'Admin;#application.settingsManager.getSite(attributes.siteid).getPrivateUserPoolID()#;0') or listFind(session.mura.memberships,'S2'))><li><a href="index.cfm?fuseaction=cPerm.main&contentid=#URLEncodedFormat(attributes.contentid)#&type=#request.contentBean.gettype()#&parentid=#request.contentBean.getparentID()#&topid=#URLEncodedFormat(attributes.topid)#&siteid=#URLEncodedFormat(attributes.siteid)#&moduleid=#attributes.moduleid#&startrow=#attributes.startrow#">#application.rbFactory.getKeyValue(session.rb,"sitemanager.content.permissions")#</a></li></cfif> 
     304                </ul> 
     305        </cfif> 
    305306</cfif> 
    306307 
     
    426427<img src="images/progress_bar.gif" class="tabPreloader"> 
    427428<div class="tabs initActiveTab" style="display:none"> 
    428 <ul> 
    429 <cfloop from="1" to="#listlen(tabList)#" index="t"> 
    430 <li><a href="###listGetAt(tabList,t)#" onclick="return false;"><span>#listGetAt(tabLabelList,t)#</span></a></li> 
    431 </cfloop> 
    432 </ul> 
    433 #tabContent# 
     429        <ul> 
     430        <cfloop from="1" to="#listlen(tabList)#" index="t"> 
     431        <li><a href="###listGetAt(tabList,t)#" onclick="return false;"><span>#listGetAt(tabLabelList,t)#</span></a></li> 
     432        </cfloop> 
     433        </ul> 
     434        #tabContent# 
    434435</div> 
    435436</cfoutput> 
     
    451452        <input name="approved" type="hidden" value="0"> 
    452453        <input name="preview" type="hidden" value="0">   
    453         <cfif attributes.type neq 'Link'><input name="filename" type="hidden" value="#request.contentBean.getfilename()#"></cfif> 
    454                                 <cfif attributes.contentid neq ''> 
    455                                 <input name="lastupdate" type="hidden" value="#LSDateFormat(request.contentBean.getlastupdate(),session.dateKeyFormat)#"> 
    456                                 </cfif> 
    457                                 <cfif attributes.contentid eq '00000000000000000000000000000000001'><input name="isNav" type="hidden" value="1"></cfif> 
    458                                 <cfif attributes.type eq 'Form'> <input name="responseDisplayFields" type="hidden" value="#request.contentBean.getResponseDisplayFields()#"></cfif> 
    459                                 <input name="action" type="hidden" value="add"> 
    460                                 <input type="hidden" name="siteid" value="#HTMLEditFormat(attributes.siteid)#"> 
    461                                 <input type="hidden" name="moduleid" value="#attributes.moduleid#"> 
    462                                 <input type="hidden" name="preserveID" value="#request.contentBean.getPreserveID()#"> 
    463                                 <input type="hidden" name="return" value="#attributes.return#"> 
    464                                 <input type="hidden" name="topid" value="#attributes.topid#"> 
    465                                 <input type="hidden" name="contentid" value="#request.contentBean.getContentID()#"> 
    466                                 <input type="hidden" name="ptype" value="#attributes.ptype#"> 
    467                                 <input type="hidden" name="type"  value="#attributes.type#"> 
    468                                 <input type="hidden" name="subtype" value="#request.contentBean.getSubType()#"> 
    469                                 <input type="hidden" name="fuseaction" value="cArch.update"> 
    470                                 <input type="hidden" name="startrow" value="#attributes.startrow#"> 
    471                                 <input type="hidden" name="returnURL" id="txtReturnURL" value="#attributes.returnURL#"> 
    472                                 <input type="hidden" name="homeID" value="#attributes.homeID#"> 
    473                                 <cfif not  listFind(session.mura.memberships,'S2')><input type="hidden" name="isLocked" value="#request.contentBean.getIsLocked()#"></cfif> 
    474                                 <input name="OrderNo" type="hidden" value="<cfif request.contentBean.getorderno() eq ''>0<cfelse>#request.contentBean.getOrderNo()#</cfif>"> 
     454        <cfif attributes.type neq 'Link'> 
     455                <input name="filename" type="hidden" value="#request.contentBean.getfilename()#"> 
     456        </cfif> 
     457        <cfif attributes.contentid neq ''> 
     458                <input name="lastupdate" type="hidden" value="#LSDateFormat(request.contentBean.getlastupdate(),session.dateKeyFormat)#"> 
     459        </cfif> 
     460        <cfif attributes.contentid eq '00000000000000000000000000000000001'> 
     461                <input name="isNav" type="hidden" value="1"> 
     462        </cfif> 
     463        <cfif attributes.type eq 'Form'> 
     464                <input name="responseDisplayFields" type="hidden" value="#request.contentBean.getResponseDisplayFields()#"> 
     465        </cfif> 
     466        <input name="action" type="hidden" value="add"> 
     467        <input type="hidden" name="siteid" value="#HTMLEditFormat(attributes.siteid)#"> 
     468        <input type="hidden" name="moduleid" value="#attributes.moduleid#"> 
     469        <input type="hidden" name="preserveID" value="#request.contentBean.getPreserveID()#"> 
     470        <input type="hidden" name="return" value="#attributes.return#"> 
     471        <input type="hidden" name="topid" value="#attributes.topid#"> 
     472        <input type="hidden" name="contentid" value="#request.contentBean.getContentID()#"> 
     473        <input type="hidden" name="ptype" value="#attributes.ptype#"> 
     474        <input type="hidden" name="type"  value="#attributes.type#"> 
     475        <input type="hidden" name="subtype" value="#request.contentBean.getSubType()#"> 
     476        <input type="hidden" name="fuseaction" value="cArch.update"> 
     477        <input type="hidden" name="startrow" value="#attributes.startrow#"> 
     478        <input type="hidden" name="returnURL" id="txtReturnURL" value="#attributes.returnURL#"> 
     479        <input type="hidden" name="homeID" value="#attributes.homeID#"> 
     480        <cfif not  listFind(session.mura.memberships,'S2')> 
     481                <input type="hidden" name="isLocked" value="#request.contentBean.getIsLocked()#"> 
     482        </cfif> 
     483        <input name="OrderNo" type="hidden" value="<cfif request.contentBean.getorderno() eq ''>0<cfelse>#request.contentBean.getOrderNo()#</cfif>"> 
    475484                         
    476485</cfoutput> 
     
    478487<cfelse> 
    479488<div> 
    480 <cfinclude template="form/dsp_full.cfm"> 
     489        <cfinclude template="form/dsp_full.cfm"> 
    481490</div> 
    482491</cfif> 
Note: See TracChangeset for help on using the changeset viewer.