Changeset 104


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

[project @ alternc: changeset 2003-06-10 07:20:29 by root]
suite de la mise en conformité xhtml 1.0

Original author: root
Date: 2003-06-10 07:20:31

Location:
bureau/admin
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • bureau/admin/dom_add.php

    r102 r104  
    11<?php 
    22/* 
    3  $Id: dom_add.php,v 1.2 2003/06/10 06:45:16 root Exp $ 
     3 $Id: dom_add.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4747<form method="post" action="dom_doadd.php" name="main"> 
    4848<table><tr><td> 
    49 <b><?php __("Domain name"); ?> : www.</b></td><td><input type="text" class="int" name="newdomain" value="<?php echo $newdomain ?>" size="32" maxlength="255"> 
    50 </td></tr><tr><td></td><td><input type="submit" class="inb" name="submit" value="<?php __("Add this domain"); ?>"></td></tr> 
     49<b><?php __("Domain name"); ?> : www.</b></td><td><input type="text" class="int" name="newdomain" value="<?php echo $newdomain ?>" size="32" maxlength="255" /> 
     50</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"; ?>></td><td colspan="2"><label for="yndns"><?php __("host my dns here"); ?></label> 
     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> 
    5353<p> 
    5454<small> 
    55 <font color="red"><?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."); ?></font></small></P> 
     55<font color="red"><?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."); ?></font></small></p> 
    5656<?php $mem->show_help("add_domain"); ?> 
    5757<p>&nbsp;</p> 
  • bureau/admin/menu.php

    r101 r104  
    11<?php 
    22/* 
    3  $Id: menu.php,v 1.2 2003/06/10 06:42:25 root Exp $ 
     3 $Id: menu.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3535</head> 
    3636<body> 
    37 <div style="text-align: center"><h3>Menu <?php echo $mem->user["login"]; ?></h3></div> 
     37<h3>Menu <?php echo $mem->user["login"]; ?></h3> 
    3838 
    3939<table border="1" cellspacing="0" cellpadding="4"> 
  • bureau/admin/mman_add.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: mman_add.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: mman_add.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3737</head> 
    3838<body> 
    39 <div align="center"><h3><?php __("Mailing lists"); ?></h3></div> 
     39<h3><?php __("Mailing lists"); ?></h3> 
    4040<?php 
    4141        if ($error) { 
    42                 echo "<font color=red>$error</font></body></html>"; 
     42                echo "<p class=\"error\">$error</p></body></html>"; 
    4343        } 
    4444?> 
    4545<form method="post" action="mman_doadd.php"> 
    46 <input type="hidden" name="id" value="<?php echo $id ?>"> 
    4746<table border="1" cellspacing="0" cellpadding="4"> 
    48 <tr><th><?php __("Email address"); ?></th><td> 
    49         <input type="text" class="int" name="login" value="<?php echo $login; ?>" size="20" maxlength="64"><b>&nbsp;@&nbsp;</b><select class="inl" name="domain"><?php $mailman->select_prefix_list($domain); ?></select> 
     47<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" /> 
     48<?php __("Email address"); ?></th><td> 
     49        <input type="text" class="int" name="login" value="<?php echo $login; ?>" size="20" maxlength="64" /><b>&nbsp;@&nbsp;</b><select class="inl" name="domain"><?php $mailman->select_prefix_list($domain); ?></select> 
    5050</td></tr> 
    5151<tr><th><?php __("Owner"); ?> *</th><td> 
    52         Email : <input type="text" class="int" name="owner" value="<?php echo $owner; ?>" size="20" maxlength="64"> 
     52        Email : <input type="text" class="int" name="owner" value="<?php echo $owner; ?>" size="20" maxlength="64" /> 
    5353        </td></tr> 
    5454<tr><th><?php __("Initial list password"); ?> </th><td> 
    55         <input type="text" class="int" name="pass" value="<?php echo $pass; ?>" size="20" maxlength="64"> 
     55        <input type="text" class="int" name="pass" value="<?php echo $pass; ?>" size="20" maxlength="64" /> 
    5656        </td></tr> 
    57 <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create the list."); ?>"></td></tr> 
     57<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create the list."); ?>" /></td></tr> 
    5858</table> 
    5959</form> 
  • bureau/admin/mman_list.php

    r102 r104  
    11<?php 
    22/* 
    3  $Id: mman_list.php,v 1.2 2003/06/10 06:45:16 root Exp $ 
     3 $Id: mman_list.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3737        </head> 
    3838        <body> 
    39         <div align="center"><h3><?php __("Mailing lists"); ?></h3></div> 
    40         <?php echo "<br /><font color=red>$error</font>";?> 
    41         <br /><br /> 
     39        <h3><?php __("Mailing lists"); ?></h3> 
     40        <?php echo "<p class=\"error\">$error</p>";?> 
    4241        </body> 
    4342        </html> 
     
    4948        </head> 
    5049        <body> 
    51         <div align="center"><h3><?php __("Mailing lists"); ?></h3></div> 
     50        <h3><?php __("Mailing lists"); ?></h3> 
    5251 
    53         <br /> 
    54         <?php if ($error) echo "<br /><font color=red>$error</font>"; ?> 
     52        <?php if ($error) echo "<p class=\"error\">$error</p>"; ?> 
    5553 
    5654        <form method="post" action="mman_del.php"> 
     
    6462                ?> 
    6563                <tr class="lst<?php echo $col; ?>"> 
    66                         <td align="center"><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>"></td> 
     64                        <td align="center"><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /></td> 
    6765                        <td><?php echo $val["list"]."@".$val["domain"] ?></td> 
    68                         <td>&nbsp;<a href="/cgi-bin/mailman/listinfo/<?php echo $val["name"] ?>"><?php __("Public page"); ?></a>&nbsp;</td> 
    69                         <td>&nbsp;<a href="/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a>&nbsp;</td> 
    70                         <td>&nbsp;<a href="/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a>&nbsp;</td> 
     66                        <td>&nbsp;<a href="http://".$val["domain"]."/cgi-bin/mailman/listinfo/<?php echo $val["name"] ?>"><?php __("Public page"); ?></a>&nbsp;</td> 
     67                        <td>&nbsp;<a href="http://".$val["domain"]."/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a>&nbsp;</td> 
     68                        <td>&nbsp;<a href="http://".$val["domain"]."/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a>&nbsp;</td> 
    7169                </tr> 
    7270                <?php 
    7371                } 
    7472        ?> 
    75         <tr><td colspan="5" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked lists"); ?>"></td></tr> 
     73        <tr><td colspan="5" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked lists"); ?>" /></td></tr> 
    7674        </table> 
    7775        </form> 
     
    8179 
    8280if ($quota->cancreate("mailman")) { ?> 
    83         <a href="mman_add.php"><?php __("Create a list"); ?></a><br /> 
     81        <p><a href="mman_add.php"><?php __("Create a list"); ?></a></p> 
    8482        <?php 
    8583} 
  • bureau/admin/quota_show.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: quota_show.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: quota_show.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3434</head> 
    3535<body> 
    36 <div align="center"><h3><?php __("Account's quotas"); ?> : </h3></div> 
    37 <P> 
     36<h3><?php __("Account's quotas"); ?> : </h3> 
    3837<?php 
    3938$q=$quota->getquota(); 
    4039if (!is_array($q)) { 
    41         echo "<b>"._("No quotas for this account, or quotas currently unavailable!")."</b>"; 
     40        echo "<p class=\"error\">"._("No quotas for this account, or quotas currently unavailable!")."</p>"; 
    4241} else { 
    4342        echo "<table cellspacing=\"0\" cellpadding=\"4\"><tr><th>"._("Quota")."</th><th>"._("Used")."</th><th>"._("Total")."</th></tr>"; 
     
    4948                echo "<tr class=\"lst$col\">"; 
    5049                echo "<td>"; 
    51                 if ($q[$key]["u"]==$q[$key]["t"]) echo "<font color=red>"; 
     50                if ($q[$key]["u"]==$q[$key]["t"]) echo "<font class=\"over\">"; 
    5251                echo _($val); 
    5352                if ($q[$key]["u"]==$q[$key]["t"]) echo "</font>"; 
  • bureau/admin/sql_add.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sql_add.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sql_add.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3939</head> 
    4040<body> 
    41 <div align="center"><h3><?php __("Create a new database"); ?></h3></div> 
     41<h3><?php __("Create a new database"); ?></h3> 
    4242<?php 
    4343        if ($error) { 
    44                 echo "<p><font color=red>$error</font></p>"; 
     44                echo "<p class=\"error\">$error</p>"; 
    4545                if ($fatal) {  
    4646                        echo "</body></html>"; 
     
    4949        } 
    5050?> 
    51 <form method="post" action="sql_doadd.php" name="main"> 
     51<form method="post" action="sql_doadd.php" id="main"> 
    5252<table border="1" cellspacing="0" cellpadding="4"> 
    5353<tr><th><?php __("Username"); ?></th><td> 
    54         <?php echo $mem->user["login"]; ?>&nbsp;<b>_</b>&nbsp;<input type="text" class="int" name="dbn" value="<?php echo $dbn; ?>" size="20" maxlength="30"> 
     54        <?php echo $mem->user["login"]; ?>&nbsp;<b>_</b>&nbsp;<input type="text" class="int" name="dbn" value="<?php echo $dbn; ?>" size="20" maxlength="30" /> 
    5555</td></tr> 
    56 <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create this new database."); ?>"></td></tr> 
     56<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create this new database."); ?>" /></td></tr> 
    5757</table> 
    5858</form> 
  • bureau/admin/sql_admin.php

    r13 r104  
    11<?php 
    22/* 
    3  $Id: sql_admin.php,v 1.2 2003/03/27 23:30:35 root Exp $ 
     3 $Id: sql_admin.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3737        setcookie("REMOTE_PASSWORD",$r[0]["pass"]); 
    3838        if ($lang) $l="&lang=".substr($lang,0,2); 
     39        // TODO : make it an absolute url ! (even in httpS :)) 
    3940        header("Location: /admin/sql/index.php?server=1$l"); 
    4041        exit(); 
     
    4445</head> 
    4546<body> 
    46 <div align="center"><h3><?php __("SQL Admin"); ?></h3></div> 
     47<h3><?php __("SQL Admin"); ?></h3> 
    4748<?php 
    4849        if ($error) { 
    49                 echo "<font color=red>$error</font></body></html>"; 
     50                echo "<p class=\"error\#>$error</p></body></html>"; 
    5051        } 
    5152?> 
  • bureau/admin/sql_bck.php

    r93 r104  
    11<?php 
    22/* 
    3  $Id: sql_bck.php,v 1.4 2003/06/09 19:53:33 root Exp $ 
     3 $Id: sql_bck.php,v 1.5 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838</head> 
    3939<body> 
    40 <div align="center"><h3><?php __("MySQL Databases"); ?></h3></div> 
     40<h3><?php __("MySQL Databases"); ?></h3> 
    4141<?php 
    4242        if ($error) { 
    43                 echo "<font color=red>$error</font><p>&nbsp;</p>"; 
     43                echo "<p class=\"error\">$error</p><p>&nbsp;</p>"; 
    4444        } 
    4545 
    4646if (is_array($r)) { 
    4747?> 
    48 </p> 
    4948<h3><?php printf(_("Manage the SQL backup for database %s"),$r["db"]); ?></h3> 
    5049 
    51 <form action="sql_dobck.php" method="post" name="main"> 
     50<form action="sql_dobck.php" method="post" id="main"> 
    5251<table cellspacing="0" cellpadding="4"> 
    5352<tr class="lst2"> 
    5453        <th><?php __("Do sql backup?"); ?></th> 
    5554        <td> 
    56         <input type="hidden" name="id" value="<?php echo $id; ?>"> 
     55        <input type="hidden" name="id" value="<?php echo $id; ?>" /> 
    5756        <select class="inl" name="bck_mode"> 
    58         <option value="0"<?php if ($r["bck"]==0) echo " selected"; ?>><?php __("No backup"); ?></option> 
    59         <option value="1"<?php if ($r["bck"]==1) echo " selected"; ?>><?php __("Weekly backup"); ?></option> 
    60         <option value="2"<?php if ($r["bck"]==2) echo " selected"; ?>><?php __("Daily backup"); ?></option> 
     57        <option value="0"<?php if ($r["bck"]==0) echo " selected=\"selected\""; ?>><?php __("No backup"); ?></option> 
     58        <option value="1"<?php if ($r["bck"]==1) echo " selected=\"selected\""; ?>><?php __("Weekly backup"); ?></option> 
     59        <option value="2"<?php if ($r["bck"]==2) echo " selected=\"selected\""; ?>><?php __("Daily backup"); ?></option> 
    6160        </select></td> 
    6261</tr> 
     
    6766        for($i=1;$i<20;$i++) { 
    6867                echo "<option"; 
    69                 if ($r["history"]==$i) echo " selected"; 
     68                if ($r["history"]==$i) echo " selected=\"selected\""; 
    7069                echo ">$i</option>"; 
    7170        } 
     
    7675        <th><?php __("Compress the backups? (gzip)"); ?></th> 
    7776        <td><select class="inl" name="bck_gzip"> 
    78         <option value="0"<?php if ($r["gzip"]==0) echo " selected"; ?>><?php __("No"); ?></option> 
    79         <option value="1"<?php if ($r["gzip"]==1) echo " selected"; ?>><?php __("Yes"); ?></option> 
     77        <option value="0"<?php if ($r["gzip"]==0) echo " selected=\"selected\""; ?>><?php __("No"); ?></option> 
     78        <option value="1"<?php if ($r["gzip"]==1) echo " selected=\"selected\""; ?>><?php __("Yes"); ?></option> 
    8079        </select></td> 
    8180</tr> 
     
    8382<tr class="lst1"> 
    8483        <th><?php __("In which folder do you want to store the backups?"); ?></th> 
    85         <td><input type="text" class="int" name="bck_dir" size="30" maxlength="255" value="<?php echo $r["dir"]; ?>"> 
    86 <SCRIPT TYPE="text/javascript"> 
     84        <td><input type="text" class="int" name="bck_dir" size="30" maxlength="255" value="<?php echo $r["dir"]; ?>" /> 
     85<script type="text/javascript"> 
    8786<!-- 
    88   document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.bck_dir');\" value=\" ... \" class=\"inb\">"); 
     87  document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.bck_dir');\" value=\" ... \" class=\"inb\" />"); 
    8988//  --> 
    90 </SCRIPT> 
     89</script> 
    9190</td> 
    9291</tr> 
    9392<tr> 
    94 <td colspan="2"><input class="inb" type="submit" name="submit" value="<?php __("Change the SQL backup parameters"); ?>"></td> 
     93<td colspan="2"><input class="inb" type="submit" name="submit" value="<?php __("Change the SQL backup parameters"); ?>" /></td> 
    9594</tr> 
    9695 
     
    10099        $mem->show_help("sql_bck"); 
    101100        } else { 
    102  
     101  echo "<p>"; 
    103102__("You currently have no database defined"); 
    104  
     103 echo "</p>"; 
    105104        } 
    106105?> 
  • bureau/admin/sql_del.php

    r102 r104  
    11<?php 
    22/* 
    3  $Id: sql_del.php,v 1.2 2003/06/10 06:45:16 root Exp $ 
     3 $Id: sql_del.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    5151</head> 
    5252<body> 
    53 <div align="center"><h3><?php __("MySQL Databases"); ?></h3></div> 
    54 <font color=red><b><big><?php __("WARNING"); ?></big><br /><?php __("Confirm the deletion of the following SQL databases"); ?><br /> 
    55 <?php __("This will delete all the tables currently in those db."); ?></b><br /></font> 
    56 <form method="post" action="sql_del.php" name="main"> 
    57 <input type="hidden" name="confirm" value="y"> 
    58 <br /> 
     53<h3><?php __("MySQL Databases"); ?></h3> 
     54<p class="error"><?php __("WARNING"); ?></big><br /><?php __("Confirm the deletion of the following SQL databases"); ?><br /> 
     55<?php __("This will delete all the tables currently in those db."); ?></p> 
     56<form method="post" action="sql_del.php" id="main"> 
     57<p> 
     58<input type="hidden" name="confirm" value="y" /> 
    5959<?php 
    6060reset($_POST); 
    6161while (list($key,$val)=each($_POST)) { 
    6262  if (substr($key,0,4)=="del_") { 
    63     echo "<input type=\"hidden\" name=\"$key\" value=\"$val\">".$mem->user["login"].(($val)?"_":"")."$val<br />\n"; 
     63    echo "<input type=\"hidden\" name=\"$key\" value=\"$val\" />".$mem->user["login"].(($val)?"_":"")."$val<br />\n"; 
    6464  } 
    6565} 
     
    6767?> 
    6868<br /> 
    69 <input type="submit" class="inb" name="sub" value="<?php __("Yes"); ?>"> - <input type="button" class="inb" name="non" value="<?php __("No"); ?>" onclick="history.back()"> 
     69<input type="submit" class="inb" name="sub" value="<?php __("Yes"); ?>" /> - <input type="button" class="inb" name="non" value="<?php __("No"); ?>" onclick="history.back()" /> 
     70</p> 
    7071</form> 
    7172</body> 
  • bureau/admin/sql_doadd.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sql_doadd.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sql_doadd.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4444 
    4545include("sql_list.php"); 
    46 exit; 
    4746 
    4847?> 
  • bureau/admin/sql_dobck.php

    r91 r104  
    11<?php 
    22/* 
    3  $Id: sql_dobck.php,v 1.2 2003/06/09 19:40:12 root Exp $ 
     3 $Id: sql_dobck.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838} 
    3939include("sql_list.php"); 
    40 exit(); 
    4140?> 
  • bureau/admin/sql_dorestore.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sql_dorestore.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sql_dorestore.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3737</head> 
    3838<body> 
    39 <div align="center"><h3><?php __("MySQL Databases"); ?></h3></div> 
     39<h3><?php __("MySQL Databases"); ?></h3> 
    4040<?php 
    4141if ($r["enabled"]) { 
    4242?> 
    43 </p> 
    4443<h3><?php __("Restore a SQL backup"); ?></h3> 
     44<p> 
    4545<?php 
    4646if (!$mysql->restore($restfile,true,$r))  { 
     
    5656        } 
    5757?> 
    58  
     58</p> 
    5959</body> 
    6060</html> 
  • bureau/admin/sql_getparam.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sql_getparam.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sql_getparam.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838</head> 
    3939<body> 
    40 <div align="center"><h3><?php __("MySQL Databases"); ?></h3></div> 
     40<h3><?php __("MySQL Databases"); ?></h3> 
    4141<?php 
    4242        if ($error) { 
    43                 echo "<font color=red>$error</font><p>&nbsp;</p>"; 
     43                echo "<p class=\"error\">$error</p><p>&nbsp;</p>"; 
    4444        } 
    4545 
     
    5353</table> 
    5454 
    55 <p>&nbsp;</p> 
    5655</body> 
    5756</html> 
  • bureau/admin/sql_list.php

    r102 r104  
    11<?php 
    22/* 
    3  $Id: sql_list.php,v 1.2 2003/06/10 06:45:16 root Exp $ 
     3 $Id: sql_list.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838</head> 
    3939<body> 
    40 <div align="center"><h3><?php __("MySQL Databases"); ?></h3></div> 
     40<h3><?php __("MySQL Databases"); ?></h3> 
    4141<?php 
    4242        if ($error) { 
    43                 echo "<font color=red>$error</font><p>&nbsp;</p>"; 
     43                echo "<p class=\"error\">$error</p><p>&nbsp;</p>"; 
    4444        } 
    4545 
     
    6060?> 
    6161        <tr  class="lst<?php echo $col; ?>"> 
    62                 <td align="center"><input type="checkbox" class="inc" id="del_<?php echo $val["name"]; ?>" name="del_<?php echo $val["name"]; ?>" value="<?php echo $val["name"]; ?>"></td> 
     62                <td align="center"><input type="checkbox" class="inc" id="del_<?php echo $val["name"]; ?>" name="del_<?php echo $val["name"]; ?>" value="<?php echo $val["name"]; ?>" /></td> 
    6363           <td><label for="del_<?php echo $val["name"]; ?>"><?php echo $val["db"]; ?></label></td> 
    6464                <td><a href="sql_bck.php?id=<?php echo $val["name"] ?>"><?php __("Backup"); ?></a></td> 
     
    7272?> 
    7373<tr><td colspan="5"> 
    74    <input type="submit" name="sub" value="<?php __("Delete the checked databases"); ?>" class="inb"> 
     74   <input type="submit" name="sub" value="<?php __("Delete the checked databases"); ?>" class="inb" /> 
    7575</td></tr> 
    7676</table> 
     
    9595<table cellspacing="0" cellpadding="4"> 
    9696                <tr  class="lst2"><th><?php __("Username"); ?></th><td><code><?php echo $mem->user["login"]; ?></code></td></tr> 
    97                 <tr  class="lst1"><th><?php __("Password"); ?></th><td><code><input class="int" type="text" name="pass" value=""></code></td></tr> 
     97                <tr  class="lst1"><th><?php __("Password"); ?></th><td><code><input class="int" type="text" name="pass" value="" /></code></td></tr> 
    9898                <tr  class="lst2"><th><?php __("SQL Server"); ?></th><td><code><?php echo $mysql->server; ?></code></td></tr> 
    9999                <tr  class="lst1"><th><?php __("Database"); ?></th><td><code><?php echo $mem->user["login"]; ?></code></td></tr> 
    100         <tr><td><input type="submit" class="inb" name="submit" value="<?php __("Create my main database"); ?>"></td></tr> 
     100        <tr><td><input type="submit" class="inb" name="submit" value="<?php __("Create my main database"); ?>" /></td></tr> 
    101101</table> 
    102102</form> 
  • bureau/admin/sql_passchg.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sql_passchg.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sql_passchg.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838</head> 
    3939<body> 
    40 <div align="center"><h3><?php __("MySQL Databases"); ?></h3></div> 
     40<h3><?php __("MySQL Databases"); ?></h3> 
    4141<?php 
    4242        if ($error) { 
    43                 echo "<font color=red>$error</font><p>&nbsp;</p>"; 
     43                echo "<p class=\"error\">$error</p><p>&nbsp;</p>"; 
    4444        } 
    4545 
     
    4747?> 
    4848 
    49 <p></p> 
    5049<form method="post" action="sql_pass.php"> 
    5150<table cellspacing="0" cellpadding="4"> 
    5251                <tr  class="lst2"><th><?php __("Username"); ?></th><td><code><?php echo $mem->user["login"]; ?></code></td></tr> 
    53                 <tr  class="lst1"><th><?php __("Password"); ?></th><td><code><input class="int" type="text" name="pass" value=""></code></td></tr> 
     52                <tr  class="lst1"><th><?php __("Password"); ?></th><td><code><input class="int" type="text" name="pass" value="" /></code></td></tr> 
    5453                <tr  class="lst2"><th><?php __("SQL Server"); ?></th><td><code><?php echo $mysql->server; ?></code></td></tr> 
    5554                <tr  class="lst1"><th><?php __("Database"); ?></th><td><code><?php echo $mem->user["login"]; ?></code></td></tr> 
    56         <tr><td><input type="submit" class="inb" name="submit" value="<?php __("Change the password"); ?>"></td></tr> 
     55        <tr><td><input type="submit" class="inb" name="submit" value="<?php __("Change the password"); ?>" /></td></tr> 
    5756</table> 
    5857</form> 
    5958 
    60 <p>&nbsp;</p> 
    6159</body> 
    6260</html> 
  • bureau/admin/sql_restore.php

    r92 r104  
    11<?php 
    22/* 
    3  $Id: sql_restore.php,v 1.2 2003/06/09 19:46:29 root Exp $ 
     3 $Id: sql_restore.php,v 1.3 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838</head> 
    3939<body> 
    40 <div align="center"><h3><?php __("MySQL Databases"); ?></h3></div> 
     40<h3><?php __("MySQL Databases"); ?></h3> 
    4141<?php 
    4242        if ($error) { 
    43                 echo "<font color=red>$error</font><p>&nbsp;</p>"; 
     43                echo "<p class=\"error\">$error</p><p>&nbsp;</p>"; 
    4444        } 
    4545 
     
    5353<tr class="lst2"> 
    5454        <th><?php __("Please enter the filename containing SQL data to be restored."); ?></th> 
    55         <td><input type="text" class="int" name="restfile" size="30" maxlength="255" value=""></td> 
     55        <td><input type="text" class="int" name="restfile" size="30" maxlength="255" value="" /></td> 
    5656</tr> 
    5757<tr> 
    58 <td colspan="2"><input class="inb" type="submit" name="submit" value="<?php __("Restore my database"); ?>"></td> 
     58<td colspan="2"><input class="inb" type="submit" name="submit" value="<?php __("Restore my database"); ?>" /></td> 
    5959</tr> 
    6060</table> 
    6161</form> 
    6262<?php 
     63echo "<p>"; 
    6364__("Note: If the filename ends with .gz, it will be uncompressed before."); 
     65echo "</p>"; 
    6466        } else { 
    6567 
     68echo "<p>"; 
    6669__("You currently have no database defined"); 
     70 echo "</p>"; 
    6771 
    6872        } 
    6973?> 
    70  
    7174</body> 
    7275</html> 
  • bureau/admin/sta_add.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sta_add.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sta_add.php,v 1.2 2003/06/10 07:20:29 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838</head> 
    3939<body> 
    40 <div align="center"><h3><?php __("New Statistics"); ?></h3></div> 
     40<h3><?php __("New Statistics"); ?></h3> 
    4141<?php 
    4242        if ($error) { 
    43                 echo "<font color=red>$error</font></body></html>"; 
     43                echo "<p class=\"error\">$error</p></body></html>"; 
    4444                exit(); 
    4545        } 
    4646?> 
    47 <form method="post" action="sta_doadd.php" name="main"> 
    48 <input type="hidden" name="id" value="<?php echo $id ?>"> 
     47<form method="post" action="sta_doadd.php" id="main"> 
    4948<table border="1" cellspacing="0" cellpadding="4"> 
    50 <tr><th><?php __("Domain name"); ?></th><td> 
     49<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" /> 
     50        <?php __("Domain name"); ?></th><td> 
    5151        <select class="inl" name="hostname"><?php $stats->select_host_list($hostname); ?></select> 
    5252</td></tr> 
    5353<tr><th><?php __("Language"); ?></th><td><select class="inl" name="stalang"><?php $stats->select_lang_list($lang) ?></select></td></tr> 
    54 <tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="dir" value="<?php echo $dir; ?>" size="20" maxlength="255"> 
    55 <SCRIPT TYPE="text/javascript"> 
     54<tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="dir" value="<?php echo $dir; ?>" size="20" maxlength="255" /> 
     55<script type="text/javascript"> 
    5656<!-- 
    57   document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" ... \" class=\"inb\">"); 
     57  document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" ... \" class=\"inb\" />"); 
    5858//  --> 
    59 </SCRIPT> 
     59</script> 
    6060</td></tr> 
    61 <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create those statistics"); ?>"></td></tr> 
     61<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create those statistics"); ?>" /></td></tr> 
    6262</table> 
    6363</form> 
  • bureau/admin/sta_add_raw.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sta_add_raw.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sta_add_raw.php,v 1.2 2003/06/10 07:20:30 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    3838</head> 
    3939<body> 
    40 <div align="center"><h3><?php __("New Raw Statistics (apache)"); ?></h3></div> 
     40<h3><?php __("New Raw Statistics (apache)"); ?></h3> 
    4141<?php 
    4242        if ($error) { 
    43                 echo "<font color=red>$error</font></body></html>"; 
     43                echo "<p class=\"error\">$error</p></body></html>"; 
    4444                exit(); 
    4545        } 
    4646?> 
    47 <form method="post" action="sta_doadd_raw.php" name="main"> 
    48 <input type="hidden" name="id" value="<?php echo $id ?>"> 
     47<form method="post" action="sta_doadd_raw.php" id="main"> 
    4948<table border="1" cellspacing="0" cellpadding="4"> 
    50 <tr><th><?php __("Domain name"); ?></th><td> 
     49<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" /> 
     50        <?php __("Domain name"); ?></th><td> 
    5151        <select class="inl" name="hostname"><?php $stats->select_host_list($hostname); ?></select> 
    5252</td></tr> 
    53 <tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="folder" value="<?php echo $folder; ?>" size="20" maxlength="255"> 
    54 <SCRIPT TYPE="text/javascript"> 
     53<tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="folder" value="<?php echo $folder; ?>" size="20" maxlength="255" /> 
     54<script type="text/javascript"> 
    5555<!-- 
    56   document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.folder');\" value=\" ... \" class=\"inb\">"); 
     56  document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.folder');\" value=\" ... \" class=\"inb\" />"); 
    5757//  --> 
    58 </SCRIPT> 
     58</script> 
    5959</td></tr> 
    60 <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create those raw statistics"); ?>"></td></tr> 
     60<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create those raw statistics"); ?>" /></td></tr> 
    6161</table> 
    6262</form> 
  • bureau/admin/sta_doadd.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sta_doadd.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sta_doadd.php,v 1.2 2003/06/10 07:20:30 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4141} 
    4242?> 
    43  
  • bureau/admin/sta_doadd_raw.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sta_doadd_raw.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sta_doadd_raw.php,v 1.2 2003/06/10 07:20:30 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4141} 
    4242?> 
    43  
  • bureau/admin/sta_edit.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sta_edit.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sta_edit.php,v 1.2 2003/06/10 07:20:30 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4343</head> 
    4444<body> 
    45 <div align="center"><h3><?php __("Change the Statistics"); ?></h3></div> 
     45<h3><?php __("Change the Statistics"); ?></h3> 
    4646<?php 
    4747        if ($error) { 
    48                 echo "<font color=red>$error</font></body></html>"; 
     48                echo "<p class=\"error\">$error</p></body></html>"; 
    4949                exit(); 
    5050        } 
    5151?> 
    52 <form method="post" action="sta_doedit.php" name="main"> 
    53 <input type="hidden" name="id" value="<?php echo $id ?>"> 
     52<form method="post" action="sta_doedit.php" id="main"> 
    5453<table border="1" cellspacing="0" cellpadding="4"> 
    55 <tr><th><?php __("Domain name"); ?></th><td> 
     54<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" /> 
     55        <?php __("Domain name"); ?></th><td> 
    5656        <?php echo $r["hostname"]; ?> 
    5757</td></tr> 
    5858<tr><th><?php __("Language"); ?></th><td><select class="inl" name="stalang"><?php $stats->select_lang_list($r["lang"]) ?></select></td></tr> 
    59 <tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="dir" value="<?php echo $r["dir"]; ?>" size="20" maxlength="255"> 
    60 <SCRIPT TYPE="text/javascript"> 
     59<tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="dir" value="<?php echo $r["dir"]; ?>" size="20" maxlength="255" /> 
     60<script type="text/javascript"> 
    6161<!-- 
    62   document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" ... \" class=\"inb\">"); 
     62  document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" ... \" class=\"inb\" />"); 
    6363//  --> 
    64 </SCRIPT> 
     64</script> 
    6565</td></tr> 
    66 <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Change those Statistics."); ?>"></td></tr> 
     66<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Change those Statistics."); ?>" /></td></tr> 
    6767</table> 
    6868</form> 
  • bureau/admin/sta_edit_raw.php

    r1 r104  
    11<?php 
    22/* 
    3  $Id: sta_edit_raw.php,v 1.1.1.1 2003/03/26 17:41:29 root Exp $ 
     3 $Id: sta_edit_raw.php,v 1.2 2003/06/10 07:20:30 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4343</head> 
    4444<body> 
    45 <div align="center"><h3><?php __("Change the Raw Statistics"); ?></h3></div> 
     45<h3><?php __("Change the Raw Statistics"); ?></h3> 
    4646<?php 
    4747        if ($error) { 
    48                 echo "<font color=red>$error</font></body></html>"; 
     48                echo "<p class=\"error\">$error</p></body></html>"; 
    4949                exit(); 
    5050        } 
    5151?> 
    52 <form method="post" action="sta_doedit_raw.php" name="main"> 
    53 <input type="hidden" name="id" value="<?php echo $id ?>"> 
     52<form method="post" action="sta_doedit_raw.php" id="main"> 
    5453<table border="1" cellspacing="0" cellpadding="4"> 
    55 <tr><th><?php __("Domain name"); ?></th><td> 
     54<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" /> 
     55        <?php __("Domain name"); ?></th><td> 
    5656        <?php echo $r["hostname"]; ?> 
    5757</td></tr> 
    58 <tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="folder" value="<?php echo $r["folder"]; ?>" size="20" maxlength="255"> 
    59 <SCRIPT TYPE="text/javascript"> 
     58<tr><th><?php __("Folder"); ?></th><td><input type="text" class="int" name="folder" value="<?php echo $r["folder"]; ?>" size="20" maxlength="255" /> 
     59<script type="text/javascript"> 
    6060<!-- 
    61   document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.folder');\" value=\" ... \" class=\"inb\">"); 
     61  document.write("&nbsp;<input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.folder');\" value=\" ... \" class=\"inb\" />"); 
    6262//  --> 
    63 </SCRIPT> 
     63</script> 
    6464</td></tr> 
    65 <tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Change those Raw Statistics."); ?>"></td></tr> 
     65<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Change those Raw Statistics."); ?>" /></td></tr> 
    6666</table> 
    6767</form> 
  • bureau/admin/sta_list.php

    r102 r104  
    11<?php 
    22/* 
    3  $Id: sta_list.php,v 1.2 2003/06/10 06:45:16 root Exp $ 
     3 $Id: sta_list.php,v 1.3 2003/06/10 07:20:30 root Exp $ 
    44 ---------------------------------------------------------------------- 
    55 AlternC - Web Hosting System 
     
    4040</head> 
    4141<body> 
    42 <div align="center"><h3><?php __("Statistics List"); ?></h3></div> 
     42<h3><?php __("Statistics List"); ?></h3> 
    4343<?php 
    4444        if ($quota->cancreate("stats")) { ?> 
     45<p> 
    4546                - <a href="sta_add.php"><?php __("Create new Statistics"); ?></a><br /> 
    46                 - <a href="sta_add_raw.php"><?php __("Create new Raw Statistics (apache)"); ?></a><br /> 
     47                - <a href="sta_add_raw.php"><?php __("Create new Raw Statistics (apache)"); ?></a> 
     48</p> 
    4749<?php   } 
    4850 
     
    6870?> 
    6971        <tr class="lst<?php echo $col; ?>"> 
    70                 <td align="center"><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>"></td> 
     72                <td><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /></td> 
    7173                <td><a href="sta_edit.php?id=<?php echo $val["id"] ?>"><?php __("Edit"); ?></a></td> 
    7274                <td><?php echo $val["hostname"] ?></td> 
     
    8284?> 
    8385 
    84 <tr><td colspan="5"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked Statistics"); ?>"></td></tr> 
     86<tr><td colspan="5"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked Statistics"); ?>" /></td></tr> 
    8587</table> 
    8688</form> 
     
    9294if (!$r=$stats->get_list_raw()) { 
    9395        $error=$err->errstr(); 
    94         echo "<p><font color=red>$error</font></p>"; 
     96        echo "<p class=\"error\">$error</p>"; 
    9597} else { 
    9698 
     
    108110?> 
    109111        <tr class="lst<?php echo $col; ?>"> 
    110                 <td align="center"><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>"></td> 
     112                <td><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /></td> 
    111113                <td><a href="sta_edit_raw.php?id=<?php echo $val["id"] ?>"><?php __("Edit"); ?></a></td> 
    112114                <td><?php echo $val["hostname"] ?></td> 
     
    121123?> 
    122124 
    123 <tr><td colspan="5"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked Raw Statistics (apache)"); ?>"></td></tr> 
     125<tr><td colspan="5"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked Raw Statistics (apache)"); ?>" /></td></tr> 
    124126</table> 
    125127</form> 
  • bureau/admin/styles/style.css

    r101 r104  
    2929        font-size: 18px; 
    3030        font-weight: bold; 
    31         color: #007777 
     31        color: #007777; 
     32        text-align: center; 
    3233} 
    3334 
     
    9495} 
    9596 
     97.error { 
     98        color: red; 
     99        font-weight: bold; 
     100} 
    96101 
     102/* Over quota class */ 
     103.over { 
     104        color: red; 
     105} 
Note: See TracChangeset for help on using the changeset viewer.