Changeset 2486
- Timestamp:
- Aug 23, 2008, 3:21:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/upload.php
r2034 r2486 104 104 case 3 : $result['type'] = 'png'; break; 105 105 default : 106 array_push( $result['error'], l10n('upload_advise_filetype') ); 106 array_push( $result['error'], l10n('upload_advise_filetype') ); 107 107 } 108 108 } … … 135 135 $category = get_cat_info( $page['category'] ); 136 136 $category['cat_dir'] = get_complete_dir( $page['category'] ); 137 137 138 138 if (url_is_remote($category['cat_dir']) or !$category['uploadable']) 139 139 { … … 174 174 array_push( $error, l10n('upload_err_username') ); 175 175 } 176 176 177 177 $date_creation = ''; 178 178 if ( !empty($_POST['date_creation']) ) … … 192 192 // <infos author="Pierrick LE GALL" comment="my comment" 193 193 // date_creation="2004-08-14" name="" /> 194 $xml_infos = '<infos ';194 $xml_infos = '<infos '; 195 195 $xml_infos.= encodeAttribute('author', $_POST['author']); 196 196 $xml_infos.= encodeAttribute('comment', $_POST['comment']); … … 203 203 array_push( $error, l10n('update_wrong_dirname') ); 204 204 } 205 205 206 206 if ( sizeof( $error ) == 0 ) 207 207 { … … 333 333 ) 334 334 ); 335 335 336 336 if ( !$page['upload_successful'] ) 337 337 { … … 386 386 } 387 387 $template->assign_block_vars('upload_not_successful.advise',array('ADVISE'=>l10n('upload_advise_filetype'))); 388 388 389 389 //----------------------------------------- optionnal username and mail address 390 390 if ( !isset( $page['waiting_id'] ) )
Note: See TracChangeset
for help on using the changeset viewer.