Changeset 3896
- Timestamp:
- 03/23/11 17:29:14 (12 years ago)
- Location:
- branches/2.2/filemanager
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/filemanager/inc
-
Property
svn:ignore
set to
.uploadApp.php.swp
.setFileMaxSize.php.swp
setFileMaxSize.php
-
Property
svn:ignore
set to
-
branches/2.2/filemanager/inc/upload.php
r3889 r3896 11 11 'max_postsize' => ini_get( 'post_max_size' ) 12 12 ) ); 13 13 14 exit; 14 15 } … … 154 155 if($fileinfo['name'] && $fileinfo['deleteable'] != 'N') 155 156 { 157 $FILE_ORIGINAL = $_FILES['upload_file']['name'][$i]; 156 158 $_FILES['upload_file']['name'][$i] = date('Ymd-H:i')."-".$_FILES['upload_file']['name'][$i]; 157 159 $tmp_arr=array( … … 178 180 $return[] = array( 179 181 "file" => $_FILES['upload_file']['name'][$i], 180 "undefined" => lang( "There is a file %1, that was not replaced", $ _FILES['upload_file']['name'][$i])182 "undefined" => lang( "There is a file %1, that was not replaced", $FILE_ORIGINAL ) 181 183 ); 182 184 } … … 238 240 } 239 241 } 240 241 //error_log(print_r($return, true), 3, "/tmp/log");242 242 } 243 243 -
branches/2.2/filemanager/js/handler.js
r3889 r3896 240 240 { 241 241 /* 242 *243 242 * response['postize'] = ERRO POST; 244 243 * response['max_postsize] = diretiva do PHP para POST_MAX_SIZE; 245 *246 244 */ 247 245 … … 262 260 if( response[i]['file'].toUpperCase() === _inputs[j].value.toUpperCase() && _indexOf > -1 ) 263 261 { 264 _inputs[j]. setAttribute("erroUpload", "true");262 _inputs[j].parentNode.setAttribute("erroUpload", "true"); 265 263 266 264 var _parent = _inputs[j].parentNode; … … 300 298 } 301 299 } 300 else 301 { 302 write_msg( response[i]['undefined'] ); 303 _winBuild( "dwindownewUpload" , "remove" ); 304 } 302 305 } 303 306 } … … 306 309 for( var j = 0 ; j < _inputs.length ; j++ ) 307 310 { 308 if ( !_inputs[j]. getAttribute("erroUpload") && _inputs[j].getAttribute('type') == "file" )311 if ( !_inputs[j].parentNode.getAttribute("erroUpload") && _inputs[j].getAttribute('type') == "file" ) 309 312 { 310 313 _inputs[j].parentNode.parentNode.removeChild( _inputs[j].parentNode ); 314 j--; 311 315 } 312 } 316 } 313 317 } 314 318 else -
branches/2.2/filemanager/setup/phpgw_pt-br.lang
r3889 r3896 221 221 The file can be accessed by: %1 filemanager pt-br O arquivo pode ser acessado pelo endereço: %1 222 222 The following addresses will be notified filemanager pt-br Os endereços abaixo serão notificados 223 There is a file %1, that was not replaced filemanager pt-br Há um arquivo %s1, que não foi substituído 223 224 Users and groups filemanager pt-br Usuários e grupos 224 225 Send Notification email to: filemanager pt-br Enviar email de notificação para: -
branches/2.2/filemanager/tp/expressowindow/xsl/upload.xsl
r3881 r3896 38 38 </span> 39 39 <br/> 40 <div id="uploadOption" > 40 <div id="uploadOption" /> 41 <div> 41 42 <div></div> 42 43 <input maxlength="255" name="upload_file[]" type="file" style="margin-right:5px" />
Note: See TracChangeset
for help on using the changeset viewer.