Changeset 2569
- Timestamp:
- 07/20/10 17:43:56 (19 months ago)
- Location:
- branches/5.2/www/admin/view/vArchitecture
- Files:
-
- 2 edited
-
dsp_list.cfm (modified) (5 diffs)
-
dsp_nest.cfm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2/www/admin/view/vArchitecture/dsp_list.cfm
r2154 r2569 7 7 Mura CMS is distributed in the hope that it will be useful, 8 8 but WITHOUT ANY WARRANTY; without even the implied warranty of 9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ᅵSee the 10 10 GNU General Public License for more details. 11 11 12 12 You should have received a copy of the GNU General Public License 13 along with Mura CMS. If not, see <http://www.gnu.org/licenses/>.13 along with Mura CMS. ᅵIf not, see <http://www.gnu.org/licenses/>. 14 14 15 15 Linking Mura CMS statically or dynamically with other modules constitutes 16 16 the preparation of a derivative work based on Mura CMS. Thus, the terms and 17 conditions of the GNU General Public License version 2 ( GPL) cover the entire combined work.17 conditions of the GNU General Public License version 2 (ᅵGPLᅵ) cover the entire combined work. 18 18 19 19 However, as a special exception, the copyright holders of Mura CMS grant you permission 20 20 to combine Mura CMS with programs or libraries that are released under the GNU Lesser General Public License version 2.1. 21 21 22 In addition, as a special exception, the copyright holders of Mura CMS grant you permission23 to combine Mura CMS with independent software modules that communicate with Mura CMS solely22 In addition, as a special exception, ᅵthe copyright holders of Mura CMS grant you permission 23 to combine Mura CMS ᅵwith independent software modules that communicate with Mura CMS solely 24 24 through modules packaged as Mura CMS plugins and deployed through the Mura CMS plugin installation API, 25 provided that these modules (a) may only modify the /trunk/www/plugins/ directory through the Mura CMS25 provided that these modules (a) may only modify the ᅵ/trunk/www/plugins/ directory through the Mura CMS 26 26 plugin installation API, (b) must not alter any default objects in the Mura CMS database 27 27 and (c) must not alter any files in the following directories except in cases where the code contains … … 38 38 For clarity, if you create a modified version of Mura CMS, you are not obligated to grant this special exception 39 39 for your modified version; it is your choice whether to do so, or to make such modified version available under 40 the GNU General Public License version 2 without this exception.You may, if you choose, apply this exception40 the GNU General Public License version 2 ᅵwithout this exception. ᅵYou may, if you choose, apply this exception 41 41 to your own modified versions of Mura CMS. 42 42 ---> … … 63 63 <cfif isdefined('attributes.orderid') > 64 64 <cfloop from="1" to="#listlen(attributes.orderid)#" index="i"> 65 <cfset newOrderNo=(attributes.startrow+i)-1> 65 66 <cfquery datasource="#application.configBean.getDatasource()#" username="#application.configBean.getDBUsername()#" password="#application.configBean.getDBPassword()#" > 66 update tcontent set orderno= # listgetat(attributes.orderno,i)# where contentid ='#listgetat(attributes.orderid,i)#'67 update tcontent set orderno= #newOrderNo# where contentid ='#listgetat(attributes.orderid,i)#' 67 68 </cfquery> 68 69 </cfloop> … … 103 104 104 105 <cfoutput> 106 <script> 105 107 <cfif session.copySiteID eq attributes.siteID> 106 <script>107 108 copyContentID = '#session.copyContentID#'; 108 109 copySiteID = '#session.copySiteID#'; 109 110 copyAll = '#session.copyAll#'; 110 </script>111 111 <cfelse> 112 <script>113 112 copyContentID = ''; 114 113 copySiteID = ''; 115 114 copyAll = 'false'; 115 </cfif> 116 <cfif attributes.sortBy eq 'orderno' and perm eq 'editor'> 117 startrow=#int(attributes.startrow)# 118 jQuery(document).ready( 119 function(){ 120 jQuery("##sortableKids").sortable( 121 { 122 stop: function(event, ui) { stripe('stripe'); } 123 } 124 ); 125 jQuery("##sortableKids").disableSelection(); 126 } 127 ); 128 </cfif> 116 129 </script> 117 </cfif>118 130 <h2>#application.rbFactory.getKeyValue(session.rb,"sitemanager.sitemanager")#</h2> 119 131 <form id="siteSearch" name="siteSearch" method="get"><h3>#application.rbFactory.getKeyValue(session.rb,"sitemanager.contentsearch")#</h3><input name="keywords" value="#HTMLEditFormat(session.keywords)#" type="text" class="text" align="absmiddle" /> … … 221 233 </tr> 222 234 <cfif request.rstop.hasKids> 235 <cfif attributes.sortBy eq 'orderno'><tbody id="sortableKids"></cfif> 223 236 <cf_dsp_nest topid="#attributes.topid#" parentid="#attributes.topid#" rsnest="#rsNext#" locking="#application.settingsManager.getSite(attributes.siteid).getlocking()#" nestlevel="1" perm="#perm#" siteid="#attributes.siteid#" moduleid="#attributes.moduleid#" restricted="#r#" viewdepth="#session.viewDepth#" nextn="#session.nextN#" startrow="#attributes.startrow#" sortBy="#attributes.sortBy#" sortDirection="#attributes.sortDirection#" pluginEvent="#pluginEvent#"> 224 </cfif> 237 <cfif attributes.sortBy eq 'orderno'></tbody></cfif> 238 </cfif> 225 239 <cfif isMore> 226 240 #pageList# -
branches/5.2/www/admin/view/vArchitecture/dsp_nest.cfm
r2542 r2569 122 122 <cfif attributes.parentid eq attributes.topid> 123 123 <input type="hidden" name="orderid" value="#attributes.rsnest.contentid#"> 124 <!--- 124 125 <select name="orderno" class="dropdown" <cfif attributes.perm neq 'editor'>#application.rbFactory.getKeyValue(session.rb,"sitemanager.disabled")#</cfif>> 125 126 <cfloop from="#variables.startrow#" to="#endrow#" index="o"> 126 127 <option value="#o#" <cfif o eq currentPos>selected</cfif>>#o#</option> 127 128 </cfloop> 128 </select> <cfelse> </cfif></td>129 </select>---><span class="ui-icon ui-icon-arrowthick-2-n-s"></span><cfelse> </cfif>#currentPos#</td> 129 130 </cfif> 130 131 <td>#attributes.rsNest.inheritObjects#</td>
Note: See TracChangeset
for help on using the changeset viewer.
