|
Revision 2104, 2.7 kB
(checked in by anarcat, 9 months ago)
|
Standardisation de l'interface web d'AlternC, qui passe maintenant la
validation du w3c
Refonte de certains styles et couleurs, tel que discuté sur la liste de
discussion.
Des modifications locales peuvent maintenant être faites dans
styles/custom.css qui n'est pas distribué avec AlternC et donc jamais
remplacé.
Contribution de Marc Angles
Sponsorisé par Koumbit
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
require_once("../class/config.php"); |
|---|
| 31 |
|
|---|
| 32 |
if (!$admin->enabled) { |
|---|
| 33 |
__("This page is restricted to authorized staff"); |
|---|
| 34 |
exit(); |
|---|
| 35 |
} |
|---|
| 36 |
|
|---|
| 37 |
include("head.php"); |
|---|
| 38 |
?> |
|---|
| 39 |
</head> |
|---|
| 40 |
<body> |
|---|
| 41 |
<h3><?php __("Admin Control Panel"); ?></h3> |
|---|
| 42 |
<?php |
|---|
| 43 |
if ($error) { |
|---|
| 44 |
echo "<p class=\"error\">$error</p></body></html>"; |
|---|
| 45 |
} |
|---|
| 46 |
?> |
|---|
| 47 |
<ul id="adm_panel"> |
|---|
| 48 |
<li class="lst1"><a href="adm_tld.php"><?php __("Manage allowed domains (TLD)"); ?></a></li> |
|---|
| 49 |
<li class="lst2"><a href="adm_defquotas.php"><?php __("Change the default quotas"); ?></a></li> |
|---|
| 50 |
<li class="lst1"><a href="adm_doms.php"><?php __("Manage installed domains"); ?></a></li> |
|---|
| 51 |
<li class="lst2"><a href="adm_slaveip.php"><?php __("Manage allowed ip for slave zone transfers"); ?></a></li> |
|---|
| 52 |
<li class="lst1"><a href="adm_slaveaccount.php"><?php __("Manage allowed accounts for slave zone transfers"); ?></a></li> |
|---|
| 53 |
<li class="lst1"><a href="adm_mxaccount.php"><?php __("Manage allowed accounts for secondary mx"); ?></a></li> |
|---|
| 54 |
<li class="lst2"><a href="adm_variables.php"><?php __("Configure AlternC variables"); ?></a></li> |
|---|
| 55 |
<li class="lst1"><a href="quota_show_all.php"><?php __("Show all quotas"); ?></a></li> |
|---|
| 56 |
<li class="lst1"><a href="stats_members.php"><?php __("Account creation statistics"); ?></a></li> |
|---|
| 57 |
<?php |
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
$d=opendir("."); |
|---|
| 61 |
if ($d) { |
|---|
| 62 |
$lst=1; |
|---|
| 63 |
while ($c=readdir($d)) { |
|---|
| 64 |
if (substr($c,0,10)=="adminmenu_") { |
|---|
| 65 |
echo "<tr class=\"lst$lst\">"; |
|---|
| 66 |
include($c); |
|---|
| 67 |
echo "</tr>\n"; |
|---|
| 68 |
$lst=3-$lst; |
|---|
| 69 |
} |
|---|
| 70 |
} |
|---|
| 71 |
} |
|---|
| 72 |
|
|---|
| 73 |
closedir($d); |
|---|
| 74 |
?> |
|---|
| 75 |
</ul> |
|---|
| 76 |
</body> |
|---|
| 77 |
</html> |
|---|
| 78 |
|
|---|
| 79 |
|
|---|
| 80 |
|
|---|