Changeset 1762
- Timestamp:
- 12/24/06 05:45:57 (2 years ago)
- Files:
-
- alternc/trunk/bureau/admin/bro_main.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/admin/bro_main.php
r1757 r1762 58 58 case 2: // act vaut Supprimer Copier ou Renommer. 59 59 if ($actdel) { 60 if($del_confirm == "y"){60 if($del_confirm == _("Yes")) { 61 61 if (!$bro->DeleteFile($d,$R)) { 62 62 print $err->errstr(); 63 63 } 64 } else{64 } elseif(!$cancel){ 65 65 include("head.php"); 66 66 ?> … … 69 69 <h3><?php printf(_("Deleting files and/or directories")); ?> : </h3> 70 70 <form action="bro_main.php" method="post"> 71 <input type="hidden" name="del_confirm" value="y" />72 71 <input type="hidden" name="formu" value="2" /> 72 <input type="hidden" name="actdel" value="1" /> 73 <input type="hidden" name="R" value="<?php echo $R?>" /> 73 74 <p class="error"><?php __("WARNING : Confirm the deletion of this files"); ?></p> 74 75 <?php foreach($d as $file){ ?> … … 77 78 <?php } ?> 78 79 <blockquote> 79 <input type="submit" class="inb" name=" actdel" value="<?php __("Yes"); ?>" /> 80 <input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" onclick="document.location='bro_main.php';"/>80 <input type="submit" class="inb" name="del_confirm" value="<?php __("Yes"); ?>" /> 81 <input type="button" class="inb" name="cancel" value="<?php __("No"); ?>" /> 81 82 </blockquote> 82 83 </form>
