Index: bureau/admin/bro_main.php
===================================================================
--- bureau/admin/bro_main.php	(revision 102)
+++ bureau/admin/bro_main.php	(revision 109)
@@ -1,5 +1,5 @@
 <?php
 /*
- $Id: bro_main.php,v 1.2 2003/06/10 06:45:16 root Exp $
+ $Id: bro_main.php,v 1.3 2003/06/10 13:16:11 root Exp $
  ----------------------------------------------------------------------
  AlternC - Web Hosting System
@@ -78,8 +78,8 @@
 <body>
 
-<table border=0 width="100%" cellspacing=0>
+<table border="0" width="100%" cellspacing="0">
 <tr><td>
 
-<hr>
+<hr />
 <table width="100%"><tr><td valign="top">
 <a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a>&nbsp;/&nbsp;<?php echo $bro->PathList($R,"bro_main.php") ?><br />
@@ -94,11 +94,11 @@
 
 <form action="bro_main.php" method="POST" name="nn">
-<input TYPE=hidden name="R" value="<?php echo $R; ?>">
+<input type="hidden" name="R" value="<?php echo $R; ?>" />
 <table><tr>
-<td><input type="text" class="int" name="nomfich" size="22" maxlength="255"></td>
-<td><input type="submit" class="inb" value="<?php __("Create"); ?>"></td>
+<td><input type="text" class="int" name="nomfich" size="22" maxlength="255" /></td>
+<td><input type="submit" class="inb" value="<?php __("Create"); ?>" /></td>
 </tr><tr><td>
-<input type="radio" class="inc" id="nfile" onclick="document.nn.nomfich.focus();" name="formu" value="6" <?php if (!$p["crff"]) echo "CHECKED"; ?>><label for="nfile">&nbsp;<?php __("File"); ?></label>
-<input TYPE="radio" class="inc" id="nfold" onclick="document.nn.nomfich.focus();" name="formu" value="1" <?php if ($p["crff"]) echo "CHECKED"; ?>><label for="nfold">&nbsp;<?php __("Folder"); ?></label>
+<input type="radio" class="inc" id="nfile" onclick="document.nn.nomfich.focus();" name="formu" value="6" <?php if (!$p["crff"]) echo "checked=\"checked\""; ?> /><label for="nfile">&nbsp;<?php __("File"); ?></label>
+<input type="radio" class="inc" id="nfold" onclick="document.nn.nomfich.focus();" name="formu" value="1" <?php if ($p["crff"]) echo "checked=\"checked\""; ?> /><label for="nfold">&nbsp;<?php __("Folder"); ?></label>
 </td><td></td></tr></table>
 </form>
@@ -114,15 +114,15 @@
   echo "<table cellpadding=\"6\">\n";
   echo "<form action=\"bro_main.php\" Method=\"post\">\n";
-  echo "<input type=\"hidden\" name=\"R\" value=\"$R\">\n";
-  echo "<input type=\"hidden\" name=\"formu\" value=\"4\">\n";
+  echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n";
+  echo "<input type=\"hidden\" name=\"formu\" value=\"4\" />\n";
   echo "<tr><th colspan=\"2\">"._("Rename")."</th></tr>";
   for ($i=0;$i<count($d);$i++) {
     $d[$i]=ssla($d[$i]);
-    echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\">".$d[$i]."</td>";
-    echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\"></td></tr>";
+    echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."</td>";
+    echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\" /></td></tr>";
   }
-  echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\"></td></tr>";
+  echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></td></tr>";
   echo "</table></form>\n";
-  echo "<hr>\n";
+  echo "<hr />\n";
 }
 
@@ -132,23 +132,23 @@
 ?>
 <form action="bro_main.php" Method="post" name="main">
-<input type="hidden" name="R" value="<?php echo $R; ?>">
-<input type="hidden" name="formu" value="2">
-<hr>
-<SCRIPT TYPE="text/javascript">
+<input type="hidden" name="R" value="<?php echo $R; ?>" />
+<input type="hidden" name="formu" value="2" />
+<hr />
+<script type="text/javascript">
 <!--
-document.write("<input type=\"button\" value=\"<?php __("all/none"); ?>\" class=\"inb\" onclick=\"CheckAll();\">");
+document.write("<input type=\"button\" value=\"<?php __("all/none"); ?>\" class=\"inb\" onclick=\"CheckAll();\" />");
 //  -->
-</SCRIPT>
-<input type="submit" class="inb" name="actdel" value="<?php __("Delete"); ?>">
-
-<input type="submit" class="inb" name="actrename" value="<?php __("Rename"); ?>">
+</script>
+<input type="submit" class="inb" name="actdel" value="<?php __("Delete"); ?>" />
+
+<input type="submit" class="inb" name="actrename" value="<?php __("Rename"); ?>" />
 &nbsp;&nbsp;&nbsp;
-<input type="submit" class="inb" name="actmove" value="<?php __("Move"); ?>">&nbsp;:&nbsp;<input type="text" class="int" name="actmoveto" value="">
-<SCRIPT TYPE="text/javascript">
+<input type="submit" class="inb" name="actmove" value="<?php __("Move"); ?>" />&nbsp;:&nbsp;<input type="text" class="int" name="actmoveto" value="" />
+<script type="text/javascript">
 <!--
-document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" ... \" class=\"inb\">");
+document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" ... \" class=\"inb\" />");
 //  -->
-</SCRIPT>
-     <hr>
+</script>
+     <hr />
 
 
@@ -165,7 +165,7 @@
 echo "<tr class=\"lst$col\">\n";
 if ($c[$i]["type"]) {
-echo "	<td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td>";
+echo "	<td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>";
 if ($p["showicons"]) {
-echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" border=\"0\"></td>";
+echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>";
 }
 echo "<td><a href=\"";
@@ -185,7 +185,7 @@
 echo "</td>\n";
 } else {           // DOSSIER :
-echo "	<td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td>";
+echo "	<td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>";
 if ($p["showicons"]) {
-echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" border=\"0\"></td>";
+echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>";
 }
 echo "<td><b><a href=\"";
@@ -216,5 +216,5 @@
 echo "<tr class=\"lst$col\">\n";
 if ($c[$i]["type"]) {
-echo "	<td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\"";
+echo "	<td width=\"28\"><input type=\"checkbox\# class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td><td><a href=\"";
 echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R);
 echo "\">".$c[$i]["name"]."</a></td>\n";
@@ -376,20 +376,20 @@
 	 } // is there any files here ?
 else {
-  echo "<p><font color=\"red\">"._("No files in this folder")."</font></p>";
+  echo "<p class=\"error\">"._("No files in this folder")."</p>";
 }
 ?>
 
      </td></tr>
-     <tr><td colspan=2>
-
-
-     <form ACTION="bro_main.php" ENCTYPE="multipart/form-data" method="POST">
-     <input TYPE=hidden name="R" value="<?php echo $R; ?>">
-     <input TYPE=hidden name="formu" value="3">
-     <hr>
-     <?php __("Import this file"); ?>&nbsp;&nbsp;<input class="int" NAME="userfile" TYPE="file">
-     <input TYPE="hidden" name="MAX_FILE_SIZE" value="10000000">
-     <input TYPE="submit" class="inb" VALUE="<?php __("Send"); ?>">
-     <hr>
+     <tr><td colspan="2">
+
+
+     <form action="bro_main.php" enctype="multipart/form-data" method="post">
+     <input type="hidden" name="R" value="<?php echo $R; ?>" />
+     <input type="hidden" name="formu" value="3" />
+     <hr />
+     <?php __("Import this file"); ?>&nbsp;&nbsp;<input class="int" name="userfile" type="file" />
+     <input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
+     <input type="submit" class="inb" value="<?php __("Send"); ?>" />
+     <hr />
      </form>
      <p>&nbsp;</p>
