diff --git a/upload.php b/upload.php
index 3ba555486..50dfdfba5 100644
--- a/upload.php
+++ b/upload.php
@@ -103,7 +103,7 @@ function validate_upload( $temp_name, $my_max_file_size,
case 2 : $result['type'] = 'jpg'; break;
case 3 : $result['type'] = 'png'; break;
default :
- array_push( $result['error'], l10n('upload_advise_filetype') );
+ array_push( $result['error'], l10n('upload_advise_filetype') );
}
}
}
@@ -134,7 +134,7 @@ if (isset($page['category']))
check_restrictions( $page['category'] );
$category = get_cat_info( $page['category'] );
$category['cat_dir'] = get_complete_dir( $page['category'] );
-
+
if (url_is_remote($category['cat_dir']) or !$category['uploadable'])
{
die('Fatal: you take a wrong way, bye bye');
@@ -173,7 +173,7 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
{
array_push( $error, l10n('upload_err_username') );
}
-
+
$date_creation = '';
if ( !empty($_POST['date_creation']) )
{
@@ -191,7 +191,7 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
// creation of the "infos" field :
//
- $xml_infos = 'assign_vars(
'U_RETURN' => make_index_url(array('category' => $category)),
)
);
-
+
if ( !$page['upload_successful'] )
{
$template->assign_block_vars('upload_not_successful',array());
@@ -385,7 +385,7 @@ if ( sizeof( $error ) != 0 )
}
}
$template->assign_block_vars('upload_not_successful.advise',array('ADVISE'=>l10n('upload_advise_filetype')));
-
+
//----------------------------------------- optionnal username and mail address
if ( !isset( $page['waiting_id'] ) )
{