diff --git a/maarch_entreprise/trunk/indexing_searching/choose_file.php b/maarch_entreprise/trunk/indexing_searching/choose_file.php
index 978418cf544452f895e76e572e20b71f4bc34617..c65f38c4f23687ecf35abd1a0d4bb75eec0c3b02 100644
--- a/maarch_entreprise/trunk/indexing_searching/choose_file.php
+++ b/maarch_entreprise/trunk/indexing_searching/choose_file.php
@@ -150,35 +150,39 @@ $_SESSION['with_file'] = false;
             <?php
             if (!empty($_SESSION['upfile']['local_path']) && empty($_SESSION['error'])) { ?>
                 <i class="fa fa-check-square fa-2x" title="<?php echo _DOWNLOADED_FILE; ?>"></i>
-                <input type="button" onclick="$$('#file')[0].click()" class="button" value="<?php echo _DOWNLOADED_FILE; ?>" style="width: 90%;margin: 0px;margin-top: -2px;font-size: 15px;text-align: center;">
+                <input type="button" id="fileButton" onclick="$$('#file')[0].click();" class="button"
+                       value="<?php if($_REQUEST['with_file'] == 'true'){ echo _WITHOUT_FILE; } else {echo _DOWNLOADED_FILE;}?>"
+                       style="width: 90%;margin: 0px;margin-top: -2px;font-size: 15px;text-align: center;">
             <?php } else { ?>
                 <i class="fa fa-remove fa-2x" title="<?php echo _NO_FILE_SELECTED; ?>"></i>
-                <input type="button" onclick="$$('#file')[0].click()" class="button" value="<?php echo _CHOOSE_FILE; ?>" style="width: 90%;margin: 0px;margin-top: -2px;font-size: 15px;text-align: center;">
+                <input type="button" id="fileButton" onclick="$$('#file')[0].click()" class="button" value="<?php echo _CHOOSE_FILE; ?>" style="width: 90%;margin: 0px;margin-top: -2px;font-size: 15px;text-align: center;">
             <?php } ?>
             </label>
             <?php
             if($_REQUEST['with_file'] == 'true'){ ?>
-                <i class="fa fa-file-o fa-fw fa-2x" id="with_file_icon" onclick="$$('#with_file')[0].click();" title="<?php echo _WITHOUT_FILE; ?> (actif)" style="cursor:pointer;"></i>
+                <i class="fa fa-ban fa-2x" id="with_file_icon" onclick="$$('#with_file')[0].click();" title="<?php echo _WITHOUT_FILE; ?> (actif)" style="cursor:pointer;"></i>
             <?php }else{ ?>
                 <i class="fa fa-ban fa-2x" id="with_file_icon" onclick="$$('#with_file2')[0].click();" title="<?php echo _WITHOUT_FILE; ?>" style="cursor:pointer;"></i>
             <?php } ?>
 
-            <input type="file" name="file" id="file" onchange="$('with_file').value='false';this.form.method = 'post';this.form.submit();" value="<?php
-                if (isset($_SESSION['file_path'])) {
-                    echo $_SESSION['file_path'];
-                } ?>" style="width:200px;margin-left:33px;display:none;" />
+            <input type="file" name="file" id="file" onchange="$('with_file').value='false';this.form.method = 'post';this.form.submit();"
+                   value="<?php $_REQUEST['with_file'] = 'false';
+                            if (isset($_SESSION['file_path'])) {
+                                echo $_SESSION['file_path'];
+                            } ?>"
+                   style="width:200px;margin-left:33px;display:none;" />
         </p>
         <p style="display:none;">
             <label for="with_file">
                 <?php echo _WITHOUT_FILE;?>
             </label>
             <div align="center" style="display:none;">
-            <?php echo _YES;?><input <?php
-                if ($_REQUEST['with_file'] == 'true') { echo 'checked="checked"';}
-            ?> type="radio" name="with_file" id="with_file2" value="true" onclick="this.form.method = 'post';this.form.submit();" />
-            <?php echo _NO;?><input <?php
-                if ($_REQUEST['with_file'] == 'false' || $_REQUEST['with_file'] == '') { echo 'checked="checked"';}
-            ?> type="radio" name="with_file" id="with_file" value="false" onclick="this.form.method = 'post';this.form.submit();" />
+                <?php echo _YES;?>
+                <input <?php if ($_REQUEST['with_file'] == 'true') { echo 'checked="checked"';} ?>
+                    type="radio" name="with_file" id="with_file2" value="true" onclick="this.form.method = 'post';this.form.submit();" />
+                <?php echo _NO;?>
+                <input <?php if ($_REQUEST['with_file'] == 'false' || $_REQUEST['with_file'] == '') { echo 'checked="checked"';} ?>
+                    type="radio" name="with_file" id="with_file" value="false" onclick="this.form.method = 'post';this.form.submit();" />
             </div>
         </p>
     </form>