Changeset 1875

Show
Ignore:
Timestamp:
08/23/07 08:20:13 (1 year ago)
Author:
benjamin
Message:

removing td when renaming : long file currently appears in a too long line + adding the case whene we check nothing and click 'delete'

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/admin/bro_main.php

    r1874 r1875  
    6262          print $err->errstr(); 
    6363        } 
    64       } elseif (!$cancel)
     64      } elseif (!$cancel && is_array($d))
    6565        include("head.php"); 
    6666?> 
     
    146146/* Renommer / Copier / Déplacer les fichiers : */ 
    147147if ($formu==2 && $actrename && count($d)) { 
    148   echo "<table cellpadding=\"6\">\n"; 
    149148  echo "<form action=\"bro_main.php\" method=\"post\">\n"; 
    150149  echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n"; 
    151150  echo "<input type=\"hidden\" name=\"formu\" value=\"4\" />\n"; 
    152   echo "<tr><th colspan=\"2\">"._("Rename")."</th></tr>"; 
     151  echo "<p>"._("Rename")."</p>"; 
    153152  for ($i=0;$i<count($d);$i++) { 
    154153    $d[$i]=ssla($d[$i]); 
    155     echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."</td>"; 
    156     echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\" /></td></tr>"; 
     154    echo "<p>"._("Old Name:")." <input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."<br />"; 
     155    echo _("New Name:")." <input type=\"text\" class=\"int\" style=\"width: 350px\" name=\"d[$i]\" value=\"".$d[$i]."\" /></p>"; 
    157156  } 
    158   echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></td></tr>"; 
    159   echo "</table></form>\n"; 
     157  echo "<p><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></p>"; 
     158  echo "</form>\n"; 
    160159  echo "<hr />\n"; 
    161160}