Changeset 109


Ignore:
Timestamp:
02/21/06 23:38:22 (7 years ago)
Author:
anarcat
Message:

[project @ alternc: changeset 2003-06-10 13:16:11 by root]
Fin de la correction pour conformité XHTML 1.0. Reste à vérifier que
tout passe + quelquesfichiers oubliés ;)

Original author: root
Date: 2003-06-10 13:16:14

Location:
bureau
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • bureau/admin/bro_main.php

    r102 r109  
    11<?php 
    22/* 
    3  $Id: bro_main.php,v 1.2 2003/06/10 06:45:16 root Exp $ 
     3 $Id: bro_main.php,v 1.3 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    7878<body> 
    7979 
    80 <table border=0 width="100%" cellspacing=0> 
     80<table border="0" width="100%" cellspacing="0"> 
    8181<tr><td> 
    8282 
    83 <hr> 
     83<hr /> 
    8484<table width="100%"><tr><td valign="top"> 
    8585<a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a>&nbsp;/&nbsp;<?php echo $bro->PathList($R,"bro_main.php") ?><br /> 
     
    9494 
    9595<form action="bro_main.php" method="POST" name="nn"> 
    96 <input TYPE=hidden name="R" value="<?php echo $R; ?>"> 
     96<input type="hidden" name="R" value="<?php echo $R; ?>" /> 
    9797<table><tr> 
    98 <td><input type="text" class="int" name="nomfich" size="22" maxlength="255"></td> 
    99 <td><input type="submit" class="inb" value="<?php __("Create"); ?>"></td> 
     98<td><input type="text" class="int" name="nomfich" size="22" maxlength="255" /></td> 
     99<td><input type="submit" class="inb" value="<?php __("Create"); ?>" /></td> 
    100100</tr><tr><td> 
    101 <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> 
    102 <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> 
     101<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> 
     102<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> 
    103103</td><td></td></tr></table> 
    104104</form> 
     
    114114  echo "<table cellpadding=\"6\">\n"; 
    115115  echo "<form action=\"bro_main.php\" Method=\"post\">\n"; 
    116   echo "<input type=\"hidden\" name=\"R\" value=\"$R\">\n"; 
    117   echo "<input type=\"hidden\" name=\"formu\" value=\"4\">\n"; 
     116  echo "<input type=\"hidden\" name=\"R\" value=\"$R\" />\n"; 
     117  echo "<input type=\"hidden\" name=\"formu\" value=\"4\" />\n"; 
    118118  echo "<tr><th colspan=\"2\">"._("Rename")."</th></tr>"; 
    119119  for ($i=0;$i<count($d);$i++) { 
    120120    $d[$i]=ssla($d[$i]); 
    121     echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\">".$d[$i]."</td>"; 
    122     echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\"></td></tr>"; 
     121    echo "<tr><td><input type=\"hidden\" name=\"o[$i]\" value=\"".$d[$i]."\" />".$d[$i]."</td>"; 
     122    echo "<td><input type=\"text\" class=\"int\" name=\"d[$i]\" value=\"".$d[$i]."\" /></td></tr>"; 
    123123  } 
    124   echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\"></td></tr>"; 
     124  echo "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" class=\"inb\" name=\"submit\" value=\""._("Rename")."\" /></td></tr>"; 
    125125  echo "</table></form>\n"; 
    126   echo "<hr>\n"; 
     126  echo "<hr />\n"; 
    127127} 
    128128 
     
    132132?> 
    133133<form action="bro_main.php" Method="post" name="main"> 
    134 <input type="hidden" name="R" value="<?php echo $R; ?>"> 
    135 <input type="hidden" name="formu" value="2"> 
    136 <hr> 
    137 <SCRIPT TYPE="text/javascript"> 
     134<input type="hidden" name="R" value="<?php echo $R; ?>" /> 
     135<input type="hidden" name="formu" value="2" /> 
     136<hr /> 
     137<script type="text/javascript"> 
    138138<!-- 
    139 document.write("<input type=\"button\" value=\"<?php __("all/none"); ?>\" class=\"inb\" onclick=\"CheckAll();\">"); 
     139document.write("<input type=\"button\" value=\"<?php __("all/none"); ?>\" class=\"inb\" onclick=\"CheckAll();\" />"); 
    140140//  --> 
    141 </SCRIPT> 
    142 <input type="submit" class="inb" name="actdel" value="<?php __("Delete"); ?>"> 
    143  
    144 <input type="submit" class="inb" name="actrename" value="<?php __("Rename"); ?>"> 
     141</script> 
     142<input type="submit" class="inb" name="actdel" value="<?php __("Delete"); ?>" /> 
     143 
     144<input type="submit" class="inb" name="actrename" value="<?php __("Rename"); ?>" /> 
    145145&nbsp;&nbsp;&nbsp; 
    146 <input type="submit" class="inb" name="actmove" value="<?php __("Move"); ?>">&nbsp;:&nbsp;<input type="text" class="int" name="actmoveto" value=""> 
    147 <SCRIPT TYPE="text/javascript"> 
     146<input type="submit" class="inb" name="actmove" value="<?php __("Move"); ?>" />&nbsp;:&nbsp;<input type="text" class="int" name="actmoveto" value="" /> 
     147<script type="text/javascript"> 
    148148<!-- 
    149 document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" ... \" class=\"inb\">"); 
     149document.write("<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.actmoveto');\" value=\" ... \" class=\"inb\" />"); 
    150150//  --> 
    151 </SCRIPT> 
    152      <hr> 
     151</script> 
     152     <hr /> 
    153153 
    154154 
     
    165165echo "<tr class=\"lst$col\">\n"; 
    166166if ($c[$i]["type"]) { 
    167 echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td>"; 
     167echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>"; 
    168168if ($p["showicons"]) { 
    169 echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" border=\"0\"></td>"; 
     169echo "<td width=\"28\"><img src=\"icon/".$bro->icon($c[$i]["name"])."\" width=\"16\" height=\"16\" alt=\"\" /></td>"; 
    170170} 
    171171echo "<td><a href=\""; 
     
    185185echo "</td>\n"; 
    186186} else {           // DOSSIER : 
    187 echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td>"; 
     187echo "  <td width=\"28\"><input type=\"checkbox\" class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td>"; 
    188188if ($p["showicons"]) { 
    189 echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" border=\"0\"></td>"; 
     189echo "<td width=\"28\"><img src=\"icon/folder.png\" width=\"16\" height=\"16\" alt=\"\" /></td>"; 
    190190} 
    191191echo "<td><b><a href=\""; 
     
    216216echo "<tr class=\"lst$col\">\n"; 
    217217if ($c[$i]["type"]) { 
    218 echo "  <td width=\"28\"><input TYPE=checkbox class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\"></td><td><a href=\""; 
     218echo "  <td width=\"28\"><input type=\"checkbox\# class=\"inc\" name=\"d[]\" value=\"".$c[$i]["name"]."\" /></td><td><a href=\""; 
    219219echo "bro_editor.php?file=".urlencode($c[$i]["name"])."&amp;R=".urlencode($R); 
    220220echo "\">".$c[$i]["name"]."</a></td>\n"; 
     
    376376         } // is there any files here ? 
    377377else { 
    378   echo "<p><font color=\"red\">"._("No files in this folder")."</font></p>"; 
     378  echo "<p class=\"error\">"._("No files in this folder")."</p>"; 
    379379} 
    380380?> 
    381381 
    382382     </td></tr> 
    383      <tr><td colspan=2> 
    384  
    385  
    386      <form ACTION="bro_main.php" ENCTYPE="multipart/form-data" method="POST"> 
    387      <input TYPE=hidden name="R" value="<?php echo $R; ?>"> 
    388      <input TYPE=hidden name="formu" value="3"> 
    389      <hr> 
    390      <?php __("Import this file"); ?>&nbsp;&nbsp;<input class="int" NAME="userfile" TYPE="file"> 
    391      <input TYPE="hidden" name="MAX_FILE_SIZE" value="10000000"> 
    392      <input TYPE="submit" class="inb" VALUE="<?php __("Send"); ?>"> 
    393      <hr> 
     383     <tr><td colspan="2"> 
     384 
     385 
     386     <form action="bro_main.php" enctype="multipart/form-data" method="post"> 
     387     <input type="hidden" name="R" value="<?php echo $R; ?>" /> 
     388     <input type="hidden" name="formu" value="3" /> 
     389     <hr /> 
     390     <?php __("Import this file"); ?>&nbsp;&nbsp;<input class="int" name="userfile" type="file" /> 
     391     <input type="hidden" name="MAX_FILE_SIZE" value="10000000" /> 
     392     <input type="submit" class="inb" value="<?php __("Send"); ?>" /> 
     393     <hr /> 
    394394     </form> 
    395395     <p>&nbsp;</p> 
  • bureau/admin/browseforfolder.php

    r108 r109  
    7676if ($submit=="Valider") { 
    7777        /* Go ahead, let's send the javascript ...*/ 
    78         echo "<html><head><script type=\"text/javascript\">\n"; 
     78?> 
     79<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 
     80<?php 
     81        echo "<head><script type=\"text/javascript\">\n"; 
    7982        echo "window.opener.document.".$caller.".value='".addslashes($file)."';\n"; 
    8083        echo "window.opener.window.focus();\n"; 
  • bureau/admin/dom_add.php

    r108 r109  
    11<?php 
    22/* 
    3  $Id: dom_add.php,v 1.4 2003/06/10 12:14:09 root Exp $ 
     3 $Id: dom_add.php,v 1.5 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    5050</td></tr><tr><td></td><td><input type="submit" class="inb" name="submit" value="<?php __("Add this domain"); ?>" /></td></tr> 
    5151</table> 
    52 <input type="checkbox" name="dns" class="inc" value="1" id="yndns" <?php if ($dns=="1") echo "checked=\"checked\""; ?> /></td><td colspan="2"><label for="yndns"><?php __("host my dns here"); ?></label> 
     52<p> 
     53<input type="checkbox" name="dns" class="inc" value="1" id="yndns" <?php if ($dns=="1") echo "checked=\"checked\""; ?> /><br /> 
     54<label for="yndns"><?php __("host my dns here"); ?></label> 
     55</p> 
    5356<p class="error"> 
    5457<small> 
    5558<?php __("If you don't want to host in our server the DNS of your domain, don't check the box 'host my dns here'. If you don't know what it mean, leave it checked."); ?></small></p> 
    5659<?php $mem->show_help("add_domain"); ?> 
    57 <p>&nbsp;</p> 
     60</form> 
    5861<?php 
    5962        if (is_array($dom->dns)) { 
  • bureau/admin/dom_edit.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: dom_edit.php,v 1.3 2003/06/10 11:18:27 root Exp $ 
     3 $Id: dom_edit.php,v 1.4 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    8080                <td align="center"><a href="dom_subdel.php?domain=<?php echo urlencode($r["name"]) ?>&amp;sub=<?php  echo urlencode($r["sub"][$i]["name"]) ?>"><?php __("Delete"); ?></a></td> 
    8181                <td><a href="http://<?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?>" target="_blank"><?php ecif($r["sub"][$i]["name"],$r["sub"][$i]["name"]."."); echo $r["name"] ?></a></td> 
    82                 <td><?php echo $r["sub"][$i]["dest"] ?></a>&nbsp;</td> 
     82                <td><?php echo $r["sub"][$i]["dest"] ?>&nbsp;</td> 
    8383        </tr> 
    8484<?php } ?> 
  • bureau/admin/ftp_edit.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: ftp_edit.php,v 1.2 2003/06/10 11:18:27 root Exp $ 
     3 $Id: ftp_edit.php,v 1.3 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    5252<form method="post" action="ftp_doedit.php" name="main"> 
    5353<table border="1" cellspacing="0" cellpadding="4"> 
    54 <tr><th><input type="hidden" name="id" value="<?php echo $id ?>"> 
     54<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" /> 
    5555<label for="login"><?php __("Username"); ?></label></th><td> 
    5656        <select class="inl" name="prefixe"><?php $ftp->select_prefix_list($r["prefixe"]); ?></select>&nbsp;<b>_</b>&nbsp;<input type="text" class="int" name="login" id="login" value="<?php echo $r["login"]; ?>" size="20" maxlength="64" /> 
  • bureau/admin/ftp_list.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: ftp_list.php,v 1.4 2003/06/10 11:18:27 root Exp $ 
     3 $Id: ftp_list.php,v 1.5 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    6767?> 
    6868        <tr class="lst<?php echo $col; ?>"> 
    69                 <td align="center"><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /></td> 
     69                <td align="center"><input type="checkbox" class="inc" id="del_<?php echo $val["id"]; ?>" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /></td> 
    7070                <td><a href="ftp_edit.php?id=<?php echo $val["id"] ?>"><?php __("Edit"); ?></a></td> 
    7171                <td><label for="del_<?php echo $val["id"]; ?>"><?php echo $val["login"] ?></label></td> 
  • bureau/admin/hta_add.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: hta_add.php,v 1.2 2003/06/10 11:18:27 root Exp $ 
     3 $Id: hta_add.php,v 1.3 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    5555  document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" ... \" class=\"inb\">"); 
    5656//  --> 
    57 </script> 
     57</script></td> 
    5858</tr> 
    5959<tr><td colspan="2"><input type="submit" class="inb" value="<?php __("Protect this folder"); ?>" /></td></tr> 
     
    6161</form> 
    6262 
     63</body> 
     64</html> 
    6365 
  • bureau/admin/hta_adduser.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: hta_adduser.php,v 1.3 2003/06/10 11:18:27 root Exp $ 
     3 $Id: hta_adduser.php,v 1.4 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4444<form method="post" action="hta_doadduser.php"> 
    4545<table border="1" cellspacing="0" cellpadding="4"> 
    46 <tr><td><input type="hidden" name="dir" value="<?php echo $dir ?>"> 
     46<tr><td><input type="hidden" name="dir" value="<?php echo $dir ?>" /> 
    4747<?php __("Folder"); ?></td><td><code><?php echo $dir; ?></code></td></tr> 
    4848<tr><td><label for="user"><?php __("Username"); ?></label></td><td><input type="text" class="int" name="user" id="user" value="" size="20" maxlength="64" /></td></tr> 
  • bureau/admin/hta_edit.php

    r107 r109  
    1  <?php 
     1<?php 
    22/* 
    3  $Id: hta_edit.php,v 1.3 2003/06/10 11:18:27 root Exp $ 
     3 $Id: hta_edit.php,v 1.4 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
  • bureau/admin/hta_list.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: hta_list.php,v 1.3 2003/06/10 11:18:27 root Exp $ 
     3 $Id: hta_list.php,v 1.4 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4848 
    4949        if (!is_array($r)) { 
    50                 echo "<br /><a href=\"hta_add.php\">"._("Protect a folder")."</a><br />"; 
     50                echo "<p><a href=\"hta_add.php\">"._("Protect a folder")."</a><br />"; 
    5151                $mem->show_help("hta_list"); 
    52                 echo "</body></html>"; 
     52                echo "</p></body></html>"; 
    5353                exit(); 
    5454        } 
     
    6464<form method="post" action="hta_dodel.php"> 
    6565<table cellspacing="0" cellpadding="4"> 
    66 <tr><th colspan="2">&nbsp;</th><th align=left><?php __("Folder"); ?></th></tr> 
     66<tr><th colspan="2">&nbsp;</th><th><?php __("Folder"); ?></th></tr> 
    6767<?php 
    6868$col=1; 
     
    7373?> 
    7474        <tr  class="lst<?php echo $col; ?>"> 
    75                 <td align="center"><input type="checkbox" class="inc" name="d[]"" value="<?php echo $r[$i]?>" /></td> 
     75                <td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $r[$i]?>" /></td> 
    7676                <td><a href="hta_edit.php?dir=<?php echo $r[$i]?>"><?php __("Edit"); ?></a></td> 
    7777                <td><code><?php echo "$r[$i]"?></code></td> 
     
    8282<tr><td colspan="3"><input type="submit" class="inb" name="submit" value="<?php __("Unprotect the checked folders"); ?>" /></td></tr> 
    8383</table> 
     84</form> 
    8485<p> 
    8586<a href="hta_add.php"><?php __("Protect a folder"); ?></a> 
  • bureau/admin/index.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: index.php,v 1.5 2003/06/10 11:18:27 root Exp $ 
     3 $Id: index.php,v 1.6 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    5050<p><?php echo _("Enter your username and password to connect to the virtual desktop")." [ ".$H." ]" ?></p> 
    5151<form action="login.php" method="post" target="_top"> 
    52 <table border="1" cellspacing="0" cellpadding="4" width="300" id="login"> 
     52<div class="dlogin"> 
     53<table border="1" cellspacing="0" cellpadding="4" width="300" class="login"> 
    5354<tr><th align="right"><label for="username"><?php echo _("Username"); ?></label></th><td><input type="text" class="int" name="username" id="username" value="" maxlength="128" size="20" /></td></tr> 
    5455<tr><th align="right"><label for="password"><?php echo _("Password"); ?></label></th><td><input type="password" class="int" name="password" id="password" value="" maxlength="128" size="20" /></td></tr> 
    5556<tr><td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="Entrer" /></td></tr> 
    5657</table> 
     58</div> 
    5759</form> 
    5860<p>&nbsp;</p> 
  • bureau/admin/mem_param.php

    r102 r109  
    11<?php 
    22/* 
    3  $Id: mem_param.php,v 1.5 2003/06/10 06:45:16 root Exp $ 
     3 $Id: mem_param.php,v 1.6 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4747        } 
    4848?> 
    49 <hr> 
     49<hr /> 
    5050<p> 
    5151<?php __("Password change"); ?> : <br /> 
     
    7070<p>&nbsp;</p> 
    7171<?php } ?> 
    72 <hr> 
     72<hr /> 
    7373<form method="post" action="mem_chgmail.php"> 
    7474        <table border="1" cellspacing="0" cellpadding="4"> 
     
    8181</form> 
    8282<p>&nbsp;</p> 
    83 <hr> 
     83<hr /> 
    8484<form method="post" action="mem_param.php"> 
    8585        <table border="1" cellspacing="0" cellpadding="4"> 
     
    9494if ($mem->user["su"]) { 
    9595?> 
    96 <hr> 
     96<hr /> 
    9797<p> 
    9898<?php __("Admin preferences"); ?> :  
     
    109109<p>&nbsp;</p> 
    110110<?php } ?> 
    111 <hr> 
     111<hr /> 
    112112</body> 
    113113</html> 
  • bureau/admin/sql_bck.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: sql_bck.php,v 1.6 2003/06/10 11:18:27 root Exp $ 
     3 $Id: sql_bck.php,v 1.7 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    7979        </select></td> 
    8080</tr> 
    81 <tr> 
    8281<tr class="lst1"> 
    8382        <th><label for="bck_dir"><?php __("In which folder do you want to store the backups?"); ?></label></th> 
  • bureau/admin/sql_list.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: sql_list.php,v 1.4 2003/06/10 11:18:27 root Exp $ 
     3 $Id: sql_list.php,v 1.5 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    6464                <td><a href="sql_bck.php?id=<?php echo $val["name"] ?>"><?php __("Backup"); ?></a></td> 
    6565                <td><a href="sql_restore.php?id=<?php echo $val["name"] ?>"><?php __("Restore"); ?></a></td> 
    66                 <td><?php echo format_size($val["size"]); ?></code></td> 
     66                <td><code><?php echo format_size($val["size"]); ?></code></td> 
    6767        </tr> 
    6868<?php 
  • bureau/admin/sql_restore.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: sql_restore.php,v 1.4 2003/06/10 11:18:27 root Exp $ 
     3 $Id: sql_restore.php,v 1.5 2003/06/10 13:16:11 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4646if (is_array($r)) { 
    4747?> 
    48 </p> 
    4948<h3><?php printf(_("Restore a SQL backup for database %s"),$r["db"]); ?></h3> 
    5049 
  • bureau/admin/styles/style.css

    r106 r109  
    8585} 
    8686 
    87 #login { 
     87.dlogin { 
     88        text-align: center; 
     89} 
     90 
     91.login { 
    8892        margin-left: auto; 
    8993        margin-right: auto; 
  • bureau/class/functions.php

    r107 r109  
    11<?php 
    22/* 
    3  $Id: functions.php,v 1.2 2003/06/10 11:18:29 root Exp $ 
     3 $Id: functions.php,v 1.3 2003/06/10 13:16:14 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    253253 
    254254function getlinkhelp($hid) { 
    255   return "(<a href=\"javascript:help($hid);\">?</A>)"; 
     255  return "(<a href=\"javascript:help($hid);\">?</a>)"; 
    256256} 
    257257function linkhelp($hid) { 
  • bureau/class/m_admin.php

    r102 r109  
    11<?php 
    22/* 
    3  $Id: m_admin.php,v 1.3 2003/06/10 06:45:20 root Exp $ 
     3 $Id: m_admin.php,v 1.4 2003/06/10 13:16:14 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 LICENSE 
     
    392392    for($i=0;$i<count($this->tldmode);$i++) { 
    393393      echo "<option value=\"$i\""; 
    394       if ($current==$i) echo " SELECTED"; 
     394      if ($current==$i) echo " selected=\"selected\""; 
    395395      echo ">"._($this->tldmode[$i])."</option>\n"; 
    396396    } 
  • bureau/class/m_mem.php

    r103 r109  
    11<?php 
    22/* 
    3  $Id: m_mem.php,v 1.5 2003/06/10 06:54:10 root Exp $ 
     3 $Id: m_mem.php,v 1.6 2003/06/10 13:16:14 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 LICENSE 
     
    432432        $hlp=ereg_replace( 
    433433                          "HELPID_([0-9]*)", 
    434                           "<a href=\"javascript:help(\\1);\"><img src=\"/admin/aide/help.png\" width=\"17\" height=\"17\" align=\"middle\" border=\"0\" alt=\""._("Help")."\"></a>",$hlp); 
     434                          "<a href=\"javascript:help(\\1);\"><img src=\"/admin/aide/help.png\" width=\"17\" height=\"17\" style=\"vertical-align: middle;\" alt=\""._("Help")."\" /></a>",$hlp); 
    435435        echo "<p class=\"hlp\">".$hlp."</p>"; 
    436436        return true; 
Note: See TracChangeset for help on using the changeset viewer.