removing td when renaming : long file currently appears in a too long line + adding the case whene we check nothing and click 'delete'
This commit is contained in:
parent
76dd27eacc
commit
30476fac67
|
@ -61,7 +61,7 @@ if ($formu) {
|
||||||
if (!$bro->DeleteFile($d,$R)) {
|
if (!$bro->DeleteFile($d,$R)) {
|
||||||
print $err->errstr();
|
print $err->errstr();
|
||||||
}
|
}
|
||||||
} elseif (!$cancel){
|
} elseif (!$cancel && is_array($d)) {
|
||||||
include("head.php");
|
include("head.php");
|
||||||
?>
|
?>
|
||||||
</head>
|
</head>
|
||||||
|
@ -145,18 +145,17 @@ include("head.php");
|
||||||
<?php
|
<?php
|
||||||
/* Renommer / Copier / Déplacer les fichiers : */
|
/* Renommer / Copier / Déplacer les fichiers : */
|
||||||
if ($formu==2 && $actrename && count($d)) {
|
if ($formu==2 && $actrename && count($d)) {
|
||||||
echo "<table cellpadding=\"6\">\n";
|
|
||||||
echo "<form action=\"bro_main.php\" method=\"post\">\n";
|
echo "<form action=\"bro_main.php\" method=\"post\">\n";
|
||||||
echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n";
|
echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n";
|
||||||
echo "<input type=\"hidden\" name=\"formu\" value=\"4\" />\n";
|
echo "<input type=\"hidden\" name=\"formu\" value=\"4\" />\n";
|
||||||
echo "<tr><th colspan=\"2\">"._("Rename")."</th></tr>";
|
echo "<p>"._("Rename")."</p>";
|
||||||
for ($i=0;$i<count($d);$i++) {
|
for ($i=0;$i<count($d);$i++) {
|
||||||
$d[$i]=ssla($d[$i]);
|
$d[$i]=ssla($d[$i]);
|
||||||
echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."</td>";
|
echo "<p>"._("Old Name:")." <input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."<br />";
|
||||||
echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\" /></td></tr>";
|
echo _("New Name:")." <input type=\"text\" class=\"int\" style=\"width: 350px\" name=\"d[$i]\" value=\"".$d[$i]."\" /></p>";
|
||||||
}
|
}
|
||||||
echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></td></tr>";
|
echo "<p><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></p>";
|
||||||
echo "</table></form>\n";
|
echo "</form>\n";
|
||||||
echo "<hr />\n";
|
echo "<hr />\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue