root/alternc/trunk/bureau/admin/adm_panel.php

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  $Id: adm_panel.php,v 1.9 2005/08/01 18:25:52 anarcat Exp $
4  ----------------------------------------------------------------------
5  AlternC - Web Hosting System
6  Copyright (C) 2002 by the AlternC Development Team.
7  http://alternc.org/
8  ----------------------------------------------------------------------
9  Based on:
10  Valentin Lacambre's web hosting softwares: http://altern.org/
11  ----------------------------------------------------------------------
12  LICENSE
13
14  This program is free software; you can redistribute it and/or
15  modify it under the terms of the GNU General Public License (GPL)
16  as published by the Free Software Foundation; either version 2
17  of the License, or (at your option) any later version.
18
19  This program is distributed in the hope that it will be useful,
20  but WITHOUT ANY WARRANTY; without even the implied warranty of
21  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  GNU General Public License for more details.
23
24  To read the license please visit http://www.gnu.org/copyleft/gpl.html
25  ----------------------------------------------------------------------
26  Original Author of file: Benjamin Sonntag
27  Purpose of file: Panneau de control de l'administrateur
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 // here we include any "adminmenu_*" file content
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
Note: See TracBrowser for help on using the browser.