- Timestamp:
- 09/03/10 22:22:03 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2.1/www/admin/view/vArchitecture/form/dsp_tab_advanced.cfm
r2494 r2760 44 44 <cfset tabLabelList=listAppend(tabLabelList,application.rbFactory.getKeyValue(session.rb,"sitemanager.content.tabs.advanced"))/> 45 45 <cfset tabList=listAppend(tabList,"tabAdvanced")> 46 <cfoutput><div id="tabAdvanced"> 46 <cfoutput> 47 <div id="tabAdvanced"> 47 48 <dl class="oneColumn"> 48 49 <dt class="first">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.contentid')#</dt> 49 50 <dd><cfif len(attributes.contentID) and len(request.contentBean.getcontentID())>#request.contentBean.getcontentID()#<cfelse>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.notavailable')#</cfif></dd> 51 50 52 <cfif listFind("Gallery,Link,Portal,Page,Calendar,File,Link",attributes.type)> 51 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.permlink')#</dt>52 <dd><cfif len(attributes.contentID) and len(request.contentBean.getcontentID())>http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()#/#attributes.siteid#/?LinkServID=#request.contentBean.getcontentID()#<cfelse>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.notavailable')#</cfif></dd>53 </dd>53 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.permlink')#</dt> 54 <dd><cfif len(attributes.contentID) and len(request.contentBean.getcontentID())>http://#application.settingsManager.getSite(attributes.siteid).getDomain()##application.configBean.getServerPort()##application.configBean.getContext()#/#attributes.siteid#/?LinkServID=#request.contentBean.getcontentID()#<cfelse>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.notavailable')#</cfif></dd> 55 </dd> 54 56 </cfif> 57 55 58 <cfif attributes.type neq 'Component' and attributes.type neq 'Form'> 56 59 <dt><cfoutput><a href="##" class="tooltip">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.layouttemplate')#<span>#application.rbFactory.getKeyValue(session.rb,"tooltip.layoutTemplate")#</span></a></cfoutput></dt> 57 60 <dd><select name="template" class="dropdown"> 58 61 <cfif attributes.contentid neq '00000000000000000000000000000000001'> 59 <option value="">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.inheritfromparent')#</option></cfif> 62 <option value="">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.inheritfromparent')#</option> 63 </cfif> 60 64 <cfloop query="request.rsTemplates"> 61 65 <cfif right(request.rsTemplates.name,4) eq ".cfm"> 62 <cfoutput> 63 <option value="#request.rsTemplates.name#" <cfif request.contentBean.gettemplate() eq request.rsTemplates.name>selected</cfif>>#request.rsTemplates.name#</option> 64 </cfoutput> 65 </cfif></cfloop> 66 <cfoutput> 67 <option value="#request.rsTemplates.name#" <cfif request.contentBean.gettemplate() eq request.rsTemplates.name>selected</cfif>>#request.rsTemplates.name#</option> 68 </cfoutput> 69 </cfif> 70 </cfloop> 66 71 </select> 67 72 </dd> 68 73 <dt><input name="forceSSL" id="forceSSL" type="CHECKBOX" value="1" <cfif request.contentBean.getForceSSL() eq "">checked <cfelseif request.contentBean.getForceSSL() eq 1>checked</cfif> class="checkbox"> <label for="forceSSL"><a href="##" class="tooltip">#application.rbFactory.getResourceBundle(session.rb).messageFormat(application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.forcessltext'),application.rbFactory.getKeyValue(session.rb,'sitemanager.content.type.#attributes.type#'))#<span>#application.rbFactory.getKeyValue(session.rb,"tooltip.makePageSecure")#</span></a></label></dt> 69 74 <dt><input name="searchExclude" id="searchExclude" type="CHECKBOX" value="1" <cfif request.contentBean.getSearchExclude() eq "">checked <cfelseif request.contentBean.getSearchExclude() eq 1>checked</cfif> class="checkbox"> <label for="searchExclude">Exclude from Site Search</label></dt> 75 70 76 <cfif application.settingsManager.getSite(attributes.siteid).getextranet()> 71 <dt><input name="restricted" id="Restricted" type="CHECKBOX" value="1" onclick="javascript: this.checked?toggleDisplay2('rg',true):toggleDisplay2('rg',false);" <cfif request.contentBean.getrestricted() eq 1>checked </cfif> class="checkbox"> 72 <label for="Restricted">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.restrictaccess')#</label></dt> 73 <!--- <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.basicpermissions')#</dt> ---> 74 <dd id="rg"<cfif request.contentBean.getrestricted() NEQ 1> style="display:none;"</cfif>> 75 <select name="restrictgroups" size="8" multiple="multiple" class="multiSelect" id="restrictGroups"> 76 <optgroup label="#htmlEditFormat(application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.globalsettings'))#"> 77 <option value="" <cfif request.contentBean.getrestrictgroups() eq ''>selected</cfif>>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.allowall')#</option> 78 <option value="RestrictAll" <cfif request.contentBean.getrestrictgroups() eq 'RestrictAll'>selected</cfif>>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.restrictall')#</option> 79 </optgroup> 80 <cfquery dbtype="query" name="rsGroups">select * from request.rsrestrictgroups where isPublic=1</cfquery> 81 <cfif rsGroups.recordcount> 82 <optgroup label="#htmlEditFormat(application.rbFactory.getKeyValue(session.rb,'user.membergroups'))#"> 83 <cfloop query="rsGroups"> 84 <option value="#rsGroups.groupname#" <cfif listfind(request.contentBean.getrestrictgroups(),rsGroups.groupname)>Selected</cfif>>#rsGroups.groupname#</option> 85 </cfloop> 86 </optgroup> 77 <dt><input name="restricted" id="Restricted" type="CHECKBOX" value="1" onclick="javascript: this.checked?toggleDisplay2('rg',true):toggleDisplay2('rg',false);" <cfif request.contentBean.getrestricted() eq 1>checked </cfif> class="checkbox"> 78 <label for="Restricted">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.restrictaccess')#</label></dt> 79 <!--- <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.basicpermissions')#</dt> ---> 80 <dd id="rg"<cfif request.contentBean.getrestricted() NEQ 1> style="display:none;"</cfif>> 81 <select name="restrictgroups" size="8" multiple="multiple" class="multiSelect" id="restrictGroups"> 82 <optgroup label="#htmlEditFormat(application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.globalsettings'))#"> 83 <option value="" <cfif request.contentBean.getrestrictgroups() eq ''>selected</cfif>>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.allowall')#</option> 84 <option value="RestrictAll" <cfif request.contentBean.getrestrictgroups() eq 'RestrictAll'>selected</cfif>>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.restrictall')#</option> 85 </optgroup> 86 <cfquery dbtype="query" name="rsGroups">select * from request.rsrestrictgroups where isPublic=1</cfquery> 87 <cfif rsGroups.recordcount> 88 <optgroup label="#htmlEditFormat(application.rbFactory.getKeyValue(session.rb,'user.membergroups'))#"> 89 <cfloop query="rsGroups"> 90 <option value="#rsGroups.groupname#" <cfif listfind(request.contentBean.getrestrictgroups(),rsGroups.groupname)>Selected</cfif>>#rsGroups.groupname#</option> 91 </cfloop> 92 </optgroup> 93 </cfif> 94 <cfquery dbtype="query" name="rsGroups">select * from request.rsrestrictgroups where isPublic=0</cfquery> 95 <cfif rsGroups.recordcount> 96 <optgroup label="#htmlEditFormat(application.rbFactory.getKeyValue(session.rb,'user.adminusergroups'))#"> 97 <cfloop query="rsGroups"> 98 <option value="#rsGroups.groupname#" <cfif listfind(request.contentBean.getrestrictgroups(),rsGroups.groupname)>Selected</cfif>>#rsGroups.groupname#</option> 99 </cfloop> 100 </optgroup> 101 </cfif> 102 </select> 103 </dd> 87 104 </cfif> 88 <cfquery dbtype="query" name="rsGroups">select * from request.rsrestrictgroups where isPublic=0</cfquery> 89 <cfif rsGroups.recordcount> 90 <optgroup label="#htmlEditFormat(application.rbFactory.getKeyValue(session.rb,'user.adminusergroups'))#"> 91 <cfloop query="rsGroups"> 92 <option value="#rsGroups.groupname#" <cfif listfind(request.contentBean.getrestrictgroups(),rsGroups.groupname)>Selected</cfif>>#rsGroups.groupname#</option> 93 </cfloop> 94 </optgroup> 95 </cfif> 96 </select></dd> 97 </cfif> 105 98 106 </cfif> 107 99 108 <cfif attributes.type eq 'Component' and request.rsTemplates.recordcount> 100 109 <dt><cfoutput><a href="##" class="tooltip">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.layouttemplate')#<span>#application.rbFactory.getKeyValue(session.rb,"tooltip.layoutTemplate")#</span></a></cfoutput></dt> … … 112 121 113 122 <cfif attributes.type eq 'Form' > 114 <dt><input name="forceSSL" id="forceSSL" type="CHECKBOX" value="1" <cfif request.contentBean.getForceSSL() eq "">checked <cfelseif request.contentBean.getForceSSL() eq 1>checked</cfif> class="checkbox"> <label for="forceSSL">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.forcessl')#</label></dt>115 <dt><input name="displayTitle" id="displayTitle" type="CHECKBOX" value="1" <cfif request.contentBean.getDisplayTitle() eq "">checked <cfelseif request.contentBean.getDisplayTitle() eq 1>checked</cfif> class="checkbox"> <label for="displayTitle">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.displaytitle')#</label></dt>123 <dt><input name="forceSSL" id="forceSSL" type="CHECKBOX" value="1" <cfif request.contentBean.getForceSSL() eq "">checked <cfelseif request.contentBean.getForceSSL() eq 1>checked</cfif> class="checkbox"> <label for="forceSSL">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.forcessl')#</label></dt> 124 <dt><input name="displayTitle" id="displayTitle" type="CHECKBOX" value="1" <cfif request.contentBean.getDisplayTitle() eq "">checked <cfelseif request.contentBean.getDisplayTitle() eq 1>checked</cfif> class="checkbox"> <label for="displayTitle">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.displaytitle')#</label></dt> 116 125 </cfif> 117 126 118 127 <cfif application.settingsManager.getSite(attributes.siteid).getCache() and attributes.type eq 'Component' or attributes.type eq 'Form'> 119 <dt><input name="doCache" id="doCache" type="CHECKBOX" value="0"<cfif request.contentBean.getDoCache() eq 0> checked</cfif> class="checkbox"> <label for="cacheItem">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.docache')#</label></dt> 128 <dt><input name="doCache" id="doCache" type="CHECKBOX" value="0"<cfif request.contentBean.getDoCache() eq 0> checked</cfif> class="checkbox"> <label for="cacheItem">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.docache')#</label></dt> 129 </cfif> 130 131 <cfif attributes.contentid neq '00000000000000000000000000000000001' and listFind(session.mura.memberships,'S2')> 132 <dt><input name="isLocked" id="islocked" type="CHECKBOX" value="1" <cfif request.contentBean.getIsLocked() eq "">checked <cfelseif request.contentBean.getIsLocked() eq 1>checked</cfif> class="checkbox"> <label for="islocked">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.locknode')#</label></dt> 120 133 </cfif> 121 134 122 <cfif attributes.contentid neq '00000000000000000000000000000000001' and listFind(session.mura.memberships,'S2')>123 <dt>124 <input name="isLocked" id="islocked" type="CHECKBOX" value="1" <cfif request.contentBean.getIsLocked() eq "">checked <cfelseif request.contentBean.getIsLocked() eq 1>checked</cfif> class="checkbox"> <label for="islocked">#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.locknode')#</label>125 </dt>126 </cfif>127 128 129 135 <cfif attributes.type eq 'Portal' or attributes.type eq 'Calendar' or attributes.type eq 'Gallery'> 130 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.recordsperpage')#</dt>131 <dd><select name="nextN" class="dropdown">132 <cfloop list="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,25,50,100" index="r">133 <option value="#r#" <cfif r eq request.contentBean.getNextN()>selected</cfif>>#r#</option>134 </cfloop>135 </select>136 </dd>136 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.recordsperpage')#</dt> 137 <dd><select name="nextN" class="dropdown"> 138 <cfloop list="1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,25,50,100" index="r"> 139 <option value="#r#" <cfif r eq request.contentBean.getNextN()>selected</cfif>>#r#</option> 140 </cfloop> 141 </select> 142 </dd> 137 143 </cfif> 138 144 139 145 <cfif (attributes.type neq 'Component' and attributes.type neq 'Form') and request.contentBean.getcontentID() neq '00000000000000000000000000000000001'> 140 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remoteinformation')#</dt>141 <dd id="editRemote">142 <dl>143 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remoteid')#</dt>144 <dd><input type="text" id="remoteID" name="remoteID" value="#request.contentBean.getRemoteID()#" maxlength="255" class="text"></dd>145 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remoteurl')#</dt>146 <dd><input type="text" id="remoteURL" name="remoteURL" value="#request.contentBean.getRemoteURL()#" maxlength="255" class="text"></dd>147 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remotepublicationdate')#</dt>148 <dd><input type="text" id="remotePubDate" name="remotePubDate" value="#request.contentBean.getRemotePubDate()#" maxlength="255" class="text"></dd>149 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remotesource')#</dt>150 <dd><input type="text" id="remoteSource" name="remoteSource" value="#request.contentBean.getRemoteSource()#" maxlength="255" class="text"></dd>151 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remotesourceurl')#</dt>152 <dd><input type="text" id="remoteSourceURL" name="remoteSourceURL" value="#request.contentBean.getRemoteSourceURL()#" maxlength="255" class="text"></dd>153 </dl>154 </dd>146 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remoteinformation')#</dt> 147 <dd id="editRemote"> 148 <dl> 149 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remoteid')#</dt> 150 <dd><input type="text" id="remoteID" name="remoteID" value="#request.contentBean.getRemoteID()#" maxlength="255" class="text"></dd> 151 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remoteurl')#</dt> 152 <dd><input type="text" id="remoteURL" name="remoteURL" value="#request.contentBean.getRemoteURL()#" maxlength="255" class="text"></dd> 153 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remotepublicationdate')#</dt> 154 <dd><input type="text" id="remotePubDate" name="remotePubDate" value="#request.contentBean.getRemotePubDate()#" maxlength="255" class="text"></dd> 155 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remotesource')#</dt> 156 <dd><input type="text" id="remoteSource" name="remoteSource" value="#request.contentBean.getRemoteSource()#" maxlength="255" class="text"></dd> 157 <dt>#application.rbFactory.getKeyValue(session.rb,'sitemanager.content.fields.remotesourceurl')#</dt> 158 <dd><input type="text" id="remoteSourceURL" name="remoteSourceURL" value="#request.contentBean.getRemoteSourceURL()#" maxlength="255" class="text"></dd> 159 </dl> 160 </dd> 155 161 </cfif> 156 162 </dl>
Note: See TracChangeset
for help on using the changeset viewer.
