Changeset 108
- Timestamp:
- 02/21/06 23:38:14 (7 years ago)
- Location:
- bureau/admin
- Files:
-
- 12 edited
-
adm_add.php (modified) (3 diffs)
-
adm_defquotas.php (modified) (3 diffs)
-
adm_edit.php (modified) (4 diffs)
-
adm_list.php (modified) (7 diffs)
-
adm_login.php (modified) (2 diffs)
-
adm_panel.php (modified) (2 diffs)
-
adm_quotaedit.php (modified) (3 diffs)
-
adm_tld.php (modified) (4 diffs)
-
adm_tldadd.php (modified) (3 diffs)
-
adm_tldedit.php (modified) (3 diffs)
-
browseforfolder.php (modified) (3 diffs)
-
dom_add.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bureau/admin/adm_add.php
r102 r108 1 1 <?php 2 2 /* 3 $Id: adm_add.php,v 1. 2 2003/06/10 06:45:16root Exp $3 $Id: adm_add.php,v 1.3 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 45 45 <?php 46 46 if ($error) { 47 echo "< font color=red>$error</font>";47 echo "<p class=\"error\">$error</p>"; 48 48 } 49 49 ?> 50 <br />51 <br />52 50 <form method="post" action="adm_doadd.php"> 53 51 <table border="1" cellspacing="0" cellpadding="4"> 54 <tr><th>< ?php __("Username"); ?></th><td>55 <input type="text" class="int" name="login" value="<?php echo $login; ?>" size="20" maxlength="64">52 <tr><th><label for="login"><?php __("Username"); ?></label></th><td> 53 <input type="text" class="int" name="login" id="login" value="<?php echo $login; ?>" size="20" maxlength="64" /> 56 54 </td></tr> 57 55 <tr> 58 <th>< ?php __("Initial password"); ?></th>59 <td><input type="text" name="pass" class="int" value="<?php echo $pass; ?>" size="20" maxlength="64"></td>56 <th><label for="pass"><?php __("Initial password"); ?></label></th> 57 <td><input type="text" id="pass" name="pass" class="int" value="<?php echo $pass; ?>" size="20" maxlength="64" /></td> 60 58 </tr> 61 59 <tr> 62 <th>< ?php __("Can he change its password"); ?></th>63 <td><select class="inl" name="canpass" >60 <th><label for="canpass"><?php __("Can he change its password"); ?></label></th> 61 <td><select class="inl" name="canpass" id="canpass"> 64 62 <?php 65 63 for($i=0;$i<count($bro->l_icons);$i++) { 66 64 echo "<option"; 67 if ($canpass==$i) echo " selected ";65 if ($canpass==$i) echo " selected=\"selected\""; 68 66 echo " value=\"$i\">"._($bro->l_icons[$i])."</option>"; 69 67 } … … 72 70 </tr> 73 71 <tr> 74 <th>< ?php echo _("Surname")." / "._("First Name"); ?></th>75 <td><input class="int" type="text" name="nom" value="<?php echo $nom; ?>" size="20" maxlength="128"> / <input type="text" name="prenom" value="<?php echo $prenom; ?>" class="int" size="20" maxlength="128"></td>72 <th><label for="nom"><?php echo _("Surname")."</label> / <label for=\"prenom\">"._("First Name"); ?></label></th> 73 <td><input class="int" type="text" id="nom" name="nom" value="<?php echo $nom; ?>" size="20" maxlength="128" /> / <input type="text" name="prenom" id="prenom" value="<?php echo $prenom; ?>" class="int" size="20" maxlength="128" /></td> 76 74 </tr> 77 75 <tr> 78 <th>< ?php __("Email address"); ?></th>79 <td><input type="text" name="nmail" class="int" value="<?php echo $nmail; ?>" size="30" maxlength="128"></td>76 <th><label for="nmail"><?php __("Email address"); ?></label></th> 77 <td><input type="text" name="nmail" id="nmail" class="int" value="<?php echo $nmail; ?>" size="30" maxlength="128" /></td> 80 78 </tr> 81 79 <tr> 82 <td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create a new member"); ?>" ></td>80 <td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create a new member"); ?>" /></td> 83 81 </tr> 84 82 </table> -
bureau/admin/adm_defquotas.php
r1 r108 1 1 <?php 2 2 /* 3 $Id: adm_defquotas.php,v 1. 1.1.1 2003/03/26 17:41:29 root Exp $3 $Id: adm_defquotas.php,v 1.2 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 39 39 </head> 40 40 <body> 41 < div align="center"><h3><?php __("Change the default quotas"); ?></h3></div>41 <h3><?php __("Change the default quotas"); ?></h3> 42 42 <?php 43 43 if ($error) { 44 echo "<font color=red>$error</font></body></html>";44 echo "<p class=\"error\">$error</p>"; 45 45 } 46 46 … … 62 62 63 63 <tr class="lst<?php echo $col; ?>"> 64 <td>< ?php echo $val["name"]; ?></td>65 <td><input type="text" class="int" size="16" maxlength="16" name="q_<?php echo $key; ?>" value="<?php echo $val["value"]; ?>"></td></tr>64 <td><label for="q_<?php echo $key; ?>"><?php echo $val["name"]; ?></label></td> 65 <td><input type="text" class="int" size="16" maxlength="16" name="q_<?php echo $key; ?>" id="q_<?php echo $key; ?>" value="<?php echo $val["value"]; ?>" /></td></tr> 66 66 67 67 <?php 68 68 } 69 69 ?> 70 <tr><td colspan="3"><input type="submit" class="inb" value="<?php __("Edit the default quotas"); ?>" ></td></tr>70 <tr><td colspan="3"><input type="submit" class="inb" value="<?php __("Edit the default quotas"); ?>" /></td></tr> 71 71 </table> 72 72 </form> -
bureau/admin/adm_edit.php
r102 r108 1 1 <?php 2 2 /* 3 $Id: adm_edit.php,v 1. 2 2003/06/10 06:45:16root Exp $3 $Id: adm_edit.php,v 1.3 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 43 43 </head> 44 44 <body> 45 < div align="center"><h3><?php __("Member Edition"); ?></h3></div>45 <h3><?php __("Member Edition"); ?></h3> 46 46 <?php 47 47 if ($error) { 48 echo "< font color=red>$error</font></body></html>";48 echo "<p class=\"error\">$error</p>"; 49 49 } 50 50 ?> 51 51 <form method="post" action="adm_doedit.php"> 52 <input type="hidden" name="uid" value="<?php echo $uid ?>">53 52 <table border="1" cellspacing="0" cellpadding="4"> 54 53 <tr> 55 <th><?php __("Username"); ?></th> 54 <th><input type="hidden" name="uid" value="<?php echo $uid ?>" /> 55 <?php __("Username"); ?></th> 56 56 <td><?php echo $r["login"]; ?></td> 57 57 </tr> 58 58 <tr> 59 <th>< ?php __("Account Enabled ?"); ?></th>60 <td><select class="inl" name="enabled" >59 <th><label for="enabled"><?php __("Account Enabled ?"); ?></label></th> 60 <td><select class="inl" name="enabled" id="enabled"> 61 61 <?php 62 62 for($i=0;$i<count($bro->l_icons);$i++) { 63 63 echo "<option"; 64 if ($r["enabled"]==$i) echo " selected ";64 if ($r["enabled"]==$i) echo " selected=\"selected\""; 65 65 echo " value=\"$i\">"._($bro->l_icons[$i])."</option>"; 66 66 } … … 69 69 70 70 <tr> 71 <th>< ?php __("Password"); ?></th>72 <td><input type="text" class="int" name="pass" value="<?php echo $r["pass"]; ?>" size="20" maxlength="64"></td>71 <th><label for="pass"><?php __("Password"); ?></label></th> 72 <td><input type="text" class="int" id="pass" name="pass" value="<?php echo $r["pass"]; ?>" size="20" maxlength="64" /></td> 73 73 </tr> 74 74 <tr> 75 <th>< ?php __("Can he change its password"); ?></th>76 <td><select class="inl" name="canpass" >75 <th><label for="canpass"><?php __("Can he change its password"); ?></label></th> 76 <td><select class="inl" name="canpass" id="canpass"> 77 77 <?php 78 78 for($i=0;$i<count($bro->l_icons);$i++) { 79 79 echo "<option"; 80 if ($r["canpass"]==$i) echo " selected ";80 if ($r["canpass"]==$i) echo " selected=\"selected\""; 81 81 echo " value=\"$i\">"._($bro->l_icons[$i])."</option>"; 82 82 } … … 85 85 </tr> 86 86 <tr> 87 <th>< ?php echo _("Surname")." / "._("First Name"); ?></th>88 <td><input type="text" class="int" name="nom" value="<?php echo $r["nom"]; ?>" size="20" maxlength="128"> / <input type="text" class="int" name="prenom" value="<?php echo $r["prenom"]; ?>" size="20" maxlength="128"></td>87 <th><label for="nom"><?php echo _("Surname")."</label> / <label for=\"prenom\">"._("First Name"); ?></label></th> 88 <td><input type="text" class="int" name="nom" id="nom" value="<?php echo $r["nom"]; ?>" size="20" maxlength="128" /> / <input type="text" class="int" name="prenom" id="prenom" value="<?php echo $r["prenom"]; ?>" size="20" maxlength="128" /></td> 89 89 </tr> 90 90 <tr> 91 <th>< ?php __("Email address"); ?></th>92 <td><input type="text" class="int" name="nmail" value="<?php echo $r["mail"]; ?>" size="30" maxlength="128"></td>91 <th><label for="nmail"><?php __("Email address"); ?></label></th> 92 <td><input type="text" class="int" name="nmail" id="nmail" value="<?php echo $r["mail"]; ?>" size="30" maxlength="128" /></td> 93 93 </tr> 94 94 <tr> 95 <td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Edit this account"); ?>" >95 <td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Edit this account"); ?>" /> 96 96 </td> 97 97 </tr> 98 98 </table> 99 99 </form> 100 101 100 102 101 <p> -
bureau/admin/adm_list.php
r102 r108 1 1 <?php 2 2 /* 3 $Id: adm_list.php,v 1. 4 2003/06/10 06:45:16root Exp $3 $Id: adm_list.php,v 1.5 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 43 43 </head> 44 44 <body> 45 < div align="center"><h3><?php __("Member list"); ?></h3></div>45 <h3><?php __("Member list"); ?></h3> 46 46 <?php 47 47 if ($error) { 48 echo "<font color=red>$error</font></body></html>";48 echo "<p class=\"error\">$error</p>"; 49 49 } 50 50 ?> … … 52 52 <?php __("Here is the list of hosted members"); ?> 53 53 </p> 54 54 <p> 55 55 <a href="adm_add.php"><?php __("Create a new member"); ?></a> 56 < br />56 </p> 57 57 <form method="post" action="adm_dodel.php"> 58 58 <?php … … 75 75 <td> </td> 76 76 <?php } else { ?> 77 <td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>" ></td>77 <td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["uid"]; ?>" /></td> 78 78 <?php } ?> 79 79 <td align="center"><a href="adm_edit.php?uid=<?php echo $val["uid"] ?>"><?php __("Edit"); ?></a></td> … … 81 81 <td align="center"><?php 82 82 if (!$val["enabled"]) 83 echo "<img src=\"icon/encrypted.png\" width=\"16\" height=\"16\" alt=\""._("Locked Account")."\" >";83 echo "<img src=\"icon/encrypted.png\" width=\"16\" height=\"16\" alt=\""._("Locked Account")."\" />"; 84 84 else { 85 85 ?> … … 95 95 } // Normal Mode 96 96 97 if ($mem->user["admlist"]==1) { // Short mode TODO : make 3 columns instead of 2 97 if ($mem->user["admlist"]==1) { // Short mode TODO : make 3 columns instead of 2 + XHTML compliance instead of 1px img trick ;) 98 98 ?> 99 99 <table cellspacing="0" cellpadding="0"> … … 159 159 160 160 ?> 161 <tr><td colspan="6"><input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" ></td></tr>161 <tr><td colspan="6"><input type="submit" class="inb" name="submit" value="<?php __("Delete checked accounts"); ?>" /></td></tr> 162 162 </table> 163 163 </form> -
bureau/admin/adm_login.php
r1 r108 1 1 <?php 2 2 /* 3 $Id: adm_login.php,v 1. 1.1.1 2003/03/26 17:41:29 root Exp $3 $Id: adm_login.php,v 1.2 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 47 47 </head> 48 48 <body> 49 < div align="center"><h3><?php __("Member login"); ?></h3></div>49 <h3><?php __("Member login"); ?></h3> 50 50 <?php 51 51 if ($error) { 52 echo "< font color=red>$error</font></body></html>";52 echo "<p class=\"error\">$error</p></body></html>"; 53 53 exit(); 54 54 } -
bureau/admin/adm_panel.php
r1 r108 1 1 <?php 2 2 /* 3 $Id: adm_panel.php,v 1. 1.1.1 2003/03/26 17:41:29 root Exp $3 $Id: adm_panel.php,v 1.2 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 39 39 </head> 40 40 <body> 41 < div align="center"><h3><?php __("Admin Control Panel"); ?></h3></div>41 <h3><?php __("Admin Control Panel"); ?></h3> 42 42 <?php 43 43 if ($error) { 44 echo "< font color=red>$error</font></body></html>";44 echo "<p class=\"error\">$error</p></body></html>"; 45 45 exit(); 46 46 } -
bureau/admin/adm_quotaedit.php
r1 r108 1 1 <?php 2 2 /* 3 $Id: adm_quotaedit.php,v 1. 1.1.1 2003/03/26 17:41:29 root Exp $3 $Id: adm_quotaedit.php,v 1.2 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 46 46 </head> 47 47 <body> 48 < div align="center"><h3><?php __("Editing the quotas of a member"); ?></h3></div>48 <h3><?php __("Editing the quotas of a member"); ?></h3> 49 49 <?php 50 50 if ($error) { 51 echo "<font color=red>$error</font></body></html>";52 exit();51 echo "<p class=\"error\">$error</p>"; 52 exit(); 53 53 } 54 54 ?> 55 55 <form method="post" action="adm_quotadoedit.php"> 56 <input type="hidden" name="uid" value="<?php echo $uid ?>">57 56 <table border="1" cellspacing="0" cellpadding="6"> 58 <tr><th><?php __("Username"); ?></th><td colspan="3"><code><big><?php echo $us["login"]; ?></big></code> </td></tr> 57 <tr><th><input type="hidden" name="uid" value="<?php echo $uid ?>" /> 58 <?php __("Username"); ?></th><td colspan="3"><code><big><?php echo $us["login"]; ?></big></code> </td></tr> 59 59 <tr><th><?php __("Quota"); ?></th><th><?php __("Total"); ?></th><th><?php __("Used"); ?></th></tr> 60 60 <?php … … 67 67 echo _("quota_".$key)."</td>"; 68 68 if ($r[$key]["t"]==$r[$key]["u"] && $r[$key]["u"]) echo "</font>"; 69 echo "<td align=\"center\"><input type=\"text\" class=\"int\" style=\"text-align: right\" size=\"10\" maxlength=\"10\" value=\"".$r[$key]["t"]."\" name=\"q_".$key."\" ></td>";70 echo "<td align=\"right\"><code> ".$r[$key]["u"]."</code> </td>";69 echo "<td align=\"center\"><input type=\"text\" class=\"int\" style=\"text-align: right\" size=\"10\" maxlength=\"10\" value=\"".$r[$key]["t"]."\" name=\"q_".$key."\" id=\"q_".$key."\" /></td>"; 70 echo "<td align=\"right\"><code><label for=\"q_$key\">".$r[$key]["u"]."</label></code> </td>"; 71 71 echo "</tr>"; 72 72 } 73 73 ?> 74 <tr><td colspan="4" align="center"><input class="inb" type="submit" name="submit" value="<?php __("Edit the quotas"); ?>" >75 <input class="inb" type="submit" name="recalc" value="<?php __("Recalculate the quotas of the account"); ?>" ></td></tr>74 <tr><td colspan="4" align="center"><input class="inb" type="submit" name="submit" value="<?php __("Edit the quotas"); ?>" /> 75 <input class="inb" type="submit" name="recalc" value="<?php __("Recalculate the quotas of the account"); ?>" /></td></tr> 76 76 </table> 77 77 </form> -
bureau/admin/adm_tld.php
r102 r108 1 1 <?php 2 2 /* 3 $Id: adm_tld.php,v 1. 2 2003/06/10 06:45:16root Exp $3 $Id: adm_tld.php,v 1.3 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 50 50 </head> 51 51 <body> 52 < div align="center"><h3><?php __("Manage allowed domains (TLD)"); ?></h3></div>52 <h3><?php __("Manage allowed domains (TLD)"); ?></h3> 53 53 <?php 54 54 if ($error) { 55 echo "<font color=red>$error</font></body></html>";55 echo "<p class=\"error\">$error</p>"; 56 56 } 57 57 … … 74 74 75 75 <tr class="lst<?php echo $col; ?>"> 76 <td><input type="checkbox" name="sel[]" class="inc" value="<?php echo $c[$i]["tld"]; ?>"> <a href="adm_tldedit.php?tld=<?php echo urlencode($c[$i]["tld"]); ?>"><?php __("Edit"); ?></a></td>77 <td>< ?php echo $c[$i]["tld"]; ?></td>76 <td><input id="sel<?php echo $i; ?>" type="checkbox" name="sel[]" class="inc" value="<?php echo $c[$i]["tld"]; ?>" /> <a href="adm_tldedit.php?tld=<?php echo urlencode($c[$i]["tld"]); ?>"><?php __("Edit"); ?></a></td> 77 <td><label for="sel<?php echo $i; ?>"><?php echo $c[$i]["tld"]; ?></label></td> 78 78 <td><?php __($admin->tldmode[$c[$i]["mode"]]); ?></td></tr> 79 79 … … 81 81 } 82 82 ?> 83 <tr><td colspan="3"><input type="submit" class="inb" value="<?php __("Delete the checked TLD"); ?>" ></td></tr>83 <tr><td colspan="3"><input type="submit" class="inb" value="<?php __("Delete the checked TLD"); ?>" /></td></tr> 84 84 </table> 85 85 </form> -
bureau/admin/adm_tldadd.php
r102 r108 1 1 <?php 2 2 /* 3 $Id: adm_tldadd.php,v 1. 2 2003/06/10 06:45:16root Exp $3 $Id: adm_tldadd.php,v 1.3 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 39 39 </head> 40 40 <body> 41 < div align="center"><h3><?php __("Manage allowed domains (TLD)"); ?></h3></div>41 <h3><?php __("Manage allowed domains (TLD)"); ?></h3> 42 42 <?php 43 43 if ($error) { 44 echo "<font color=red>$error</font></body></html>";44 echo "<p class=\"error\">$error</p>"; 45 45 } 46 46 … … 56 56 57 57 <table border="0" cellpadding="4" cellspacing="0"> 58 <tr><th>< ?php __("TLD"); ?></th><td><input type="text" name="tld" class="int" value="<?php echo $tld; ?>" size="20" maxlength="64"></td></tr>59 <tr><th>< ?php __("Allowed Mode"); ?></th><td><select name="mode" class="inl">58 <tr><th><label for="tld"><?php __("TLD"); ?></label></th><td><input type="text" id="tld" name="tld" class="int" value="<?php echo $tld; ?>" size="20" maxlength="64" /></td></tr> 59 <tr><th><label for="mode"><?php __("Allowed Mode"); ?></label></th><td><select name="mode" id="mode" class="inl"> 60 60 <?php $admin->selecttldmode($mode); ?> 61 61 </select></td></tr> 62 <tr><td colspan="2"><input type="submit" class="inb" value="<?php __("Add a new TLD"); ?>" ></td></tr>62 <tr><td colspan="2"><input type="submit" class="inb" value="<?php __("Add a new TLD"); ?>" /></td></tr> 63 63 </table> 64 64 </form> -
bureau/admin/adm_tldedit.php
r1 r108 1 1 <?php 2 2 /* 3 $Id: adm_tldedit.php,v 1. 1.1.1 2003/03/26 17:41:29 root Exp $3 $Id: adm_tldedit.php,v 1.2 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 46 46 </head> 47 47 <body> 48 < div align="center"><h3><?php __("Manage allowed domains (TLD)"); ?></h3></div>48 <h3><?php __("Manage allowed domains (TLD)"); ?></h3> 49 49 <?php 50 50 if ($error) { 51 echo "< font color=red>$error</font></body></html>";51 echo "<p class=\"error\">$error</p>"; 52 52 } 53 53 ?> … … 55 55 56 56 <form method="post" action="adm_tlddoedit.php"> 57 58 57 <table border="0" cellpadding="4" cellspacing="0"> 59 <tr><th>< ?php __("TLD"); ?></th><td><code><?php echo $tld; ?></code><input type="hidden" name="tld" value="<?php echo $tld; ?>"></t\d></tr>60 <tr><th>< ?php __("Allowed Mode"); ?></th><td><select name="mode" class="inl">58 <tr><th><label for="tld"><?php __("TLD"); ?></label></th><td><code><?php echo $tld; ?></code><input type="hidden" name="tld" id="tld" value="<?php echo $tld; ?>" /></td></tr> 59 <tr><th><label for="mode"><?php __("Allowed Mode"); ?></label></th><td><select name="mode" class="inl" id="mode"> 61 60 <?php $admin->selecttldmode($mode); ?> 62 61 </select></td></tr> 63 <tr><td colspan="2"><input type="submit" class="inb" value="<?php __("Edit this TLD"); ?>" ></td></tr>62 <tr><td colspan="2"><input type="submit" class="inb" value="<?php __("Edit this TLD"); ?>" /></td></tr> 64 63 </table> 65 64 </form> -
bureau/admin/browseforfolder.php
r102 r108 76 76 if ($submit=="Valider") { 77 77 /* Go ahead, let's send the javascript ...*/ 78 echo "<html><head><script language=\"javascript\">\n";78 echo "<html><head><script type=\"text/javascript\">\n"; 79 79 echo "window.opener.document.".$caller.".value='".addslashes($file)."';\n"; 80 80 echo "window.opener.window.focus();\n"; 81 81 echo "window.close();\n"; 82 82 echo "</script>\n"; 83 echo "</head><body></body></html>"; 83 84 exit(); 84 85 } 85 86 86 ?><html> 87 ?> 88 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 89 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> 87 90 <head> 88 91 <title>Recherche d'un dossier</title> 89 <link rel="stylesheet" href="styles/style.css" type="text/css" >90 <script language="javascript">92 <link rel="stylesheet" href="styles/style.css" type="text/css" /> 93 <script type="text/javascript"> 91 94 /* Fonction appellée lors du lancement d'un popup Fichier : */ 92 95 function popupfile() { … … 106 109 echo "Erreur, Fichier introuvable<br />"; 107 110 /* Retour : */ 108 echo "<a href=\"browseforfolder.php?caller=".urlencode($caller)."& curdir=".$root."\">Retourner au dossier racine</a><br />";111 echo "<a href=\"browseforfolder.php?caller=".urlencode($caller)."&curdir=".$root."\">Retourner au dossier racine</a><br />"; 109 112 } else { 110 113 /* Sinon, tout va bien, on affiche le tableau */ 111 114 reset($ar); 112 115 ?> 113 <form method="POST" name="main" action="browseforfolder.php"> 114 <input type="hidden" name="caller" value="<?php echo $caller; ?>"> 115 <input type="hidden" name="lastcurdir" value="<?php echo $curdir; ?>"> 116 <form method="post" id="main" action="browseforfolder.php"> 117 <p> 118 <input type="hidden" name="caller" value="<?php echo $caller; ?>" /> 119 <input type="hidden" name="lastcurdir" value="<?php echo $curdir; ?>" /> 116 120 117 <input type="text" class="int" name="file" size="20" value="<?php echo $file ?>" ><input class="inb" type="submit" name="submit" value="..."><br />121 <input type="text" class="int" name="file" size="20" value="<?php echo $file ?>" /><input class="inb" type="submit" name="submit" value="..." /><br /> 118 122 119 <input type="submit" name="submit" value="Valider" class="inb" > 120 <input type="button" name="cancel" value="Annuler" class="inb" onclick="window.close();"> <br /> 123 <input type="submit" name="submit" value="Valider" class="inb" /> 124 <input type="button" name="cancel" value="Annuler" class="inb" onclick="window.close();" /> 125 </p> 121 126 </form> 122 127 … … 130 135 if ($val["put"]!="") { 131 136 ?> 132 <td width="16"><img src="icon/folder.png" width="16" height="16" ></td>137 <td width="16"><img src="icon/folder.png" width="16" height="16" alt="" /></td> 133 138 <?php 134 139 } else { 135 140 ?> 136 <td width="16"><img src="icon/openfold.png" width="16" height="16" ></td>141 <td width="16"><img src="icon/openfold.png" width="16" height="16" alt="" /></td> 137 142 <?php 138 143 } 139 144 echo "<td colspan=\"".($maxlevel-$val["level"]+1)."\">"; 140 145 if ($val["put"]!="") { 141 echo "<a href=\"browseforfolder.php?caller=".urlencode($caller)."& file=".urlencode($val["put"])."\">".$val["dir"]."</a>";146 echo "<a href=\"browseforfolder.php?caller=".urlencode($caller)."&file=".urlencode($val["put"])."\">".$val["dir"]."</a>"; 142 147 } else { 143 148 echo "<b>".$val["dir"]."</b>"; -
bureau/admin/dom_add.php
r104 r108 1 1 <?php 2 2 /* 3 $Id: dom_add.php,v 1. 3 2003/06/10 07:20:29 root Exp $3 $Id: dom_add.php,v 1.4 2003/06/10 12:14:09 root Exp $ 4 4 ---------------------------------------------------------------------- 5 5 AlternC - Web Hosting System … … 36 36 </head> 37 37 <body onload="document.forms['main'].newdomain.focus();"> 38 < div align="center"><h3><?php __("Domain hosting"); ?></h3></div>38 <h3><?php __("Domain hosting"); ?></h3> 39 39 <?php 40 40 if (!$quota->cancreate("dom")) { ?> 41 < font color="red"><?php echo _("You cannot add any new domain, your quota is over.")." "._("Contact your administrator for more information."); ?></font>41 <p class="error"><?php echo _("You cannot add any new domain, your quota is over.")." "._("Contact your administrator for more information."); ?></p> 42 42 <?php 43 43 exit(); 44 44 } 45 if ($error) echo "< font color=red>$error</font>";45 if ($error) echo "<p class=\"error\">$error</p>"; 46 46 ?> 47 <form method="post" action="dom_doadd.php" name="main">47 <form method="post" action="dom_doadd.php" id="main"> 48 48 <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" />49 <b><label for="newdomain"><?php __("Domain name"); ?> : www.</label></b></td><td><input type="text" class="int" id="newdomain" name="newdomain" value="<?php echo $newdomain ?>" size="32" maxlength="255" /> 50 50 </td></tr><tr><td></td><td><input type="submit" class="inb" name="submit" value="<?php __("Add this domain"); ?>" /></td></tr> 51 51 </table> 52 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> 53 <p >53 <p class="error"> 54 54 <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 <?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> 56 56 <?php $mem->show_help("add_domain"); ?> 57 57 <p> </p>
Note: See TracChangeset
for help on using the changeset viewer.
