Changeset 3534 for branches/2.2/filemanager
- Timestamp:
- 11/25/10 09:57:14 (13 years ago)
- Location:
- branches/2.2/filemanager
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/filemanager/inc/class.uiconfig.inc.php
r3019 r3534 183 183 'string' => $name, 184 184 'relatives' => array(RELATIVE_NONE) 185 ) );185 ),True); 186 186 $bo->vfs->flush_journal(array( 187 187 'string' => $name, -
branches/2.2/filemanager/inc/class.uifilemanager.inc.php
r3436 r3534 1199 1199 ); 1200 1200 1201 $ls_array = $this->bo->vfs->ls($tmp_arr );1201 $ls_array = $this->bo->vfs->ls($tmp_arr,True); 1202 1202 1203 1203 while(list($num, $dir) = each($ls_array)) -
branches/2.2/filemanager/js/handler.js
r3019 r3534 138 138 if (parentDir == '/home') 139 139 parentDir = 'root'; 140 next = (folders[i+1]?folders[i+1]:""); 141 folder = new dNode({id:folders[i], caption:name, plusSign:(next.indexOf(folders[i]+'/') == 0), onClick:'load(\''+folders[i]+'\',this)'}); 140 var search_child = function(afolders,name){ 141 for (j=0; j < afolders.length; j++) 142 if (afolders[j].indexOf(name+'/') == 0) 143 return true; 144 return false; 145 } 146 folder = new dNode({id:folders[i], caption:name, plusSign:search_child(folders,folders[i]), onClick:'load(\''+folders[i]+'\',this)'}); 142 147 folders_tree.add(folder,parentDir); 143 148 } -
branches/2.2/filemanager/templates/default/config_folders.tpl
r3019 r3534 2 2 <table border="0" cellpadding="1" cellspacing="1" style="width: 400px;"> 3 3 <tbody> 4 <tr style="width: 200px;">4 <tr style="width: 500px;"> 5 5 <td> 6 6 <b>{lang_search}</b></td> … … 14 14 <b>{lang_directory}</b></td> 15 15 <td> 16 <select id="search1" size="5" style="width: 200px;"></select> </td>16 <select id="search1" size="5" style="width: 500px;"></select> </td> 17 17 <td> 18 18 </td> -
branches/2.2/filemanager/templates/default/config_owner.tpl
r3019 r3534 2 2 <table border="0" cellpadding="1" cellspacing="1" style="width: 400px;"> 3 3 <tbody> 4 <tr style="width: 200px;">4 <tr style="width: 500px;"> 5 5 <td> 6 6 <b>{lang_search}</b></td> … … 14 14 <b>{lang_directory}</b></td> 15 15 <td> 16 <select id="search1" size="5" style="width: 200px;"></select> </td>16 <select id="search1" size="5" style="width: 500px;"></select> </td> 17 17 <td> 18 18 </td> … … 36 36 <b>{lang_users_and_groups}</b></td> 37 37 <td valign="top"> 38 <select id="search2" size="5" style="width: 200px;"></select> </td>38 <select id="search2" size="5" style="width: 500px;"></select> </td> 39 39 <td> 40 40 <table border="0">
Note: See TracChangeset
for help on using the changeset viewer.