Commit 9517d27d authored by Antoine Beaupré's avatar Antoine Beaupré

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
parent aad2d5ef
......@@ -202,7 +202,7 @@ bureau/admin/sta2_doedit_raw.php -text
bureau/admin/sta2_edit_raw.php -text
bureau/admin/sta2_list.php -text
bureau/admin/stats_members.php -text
bureau/admin/styles/style.css -text
bureau/admin/styles/base.css -text
bureau/admin/template.php -text
bureau/admin/web_list.php -text
bureau/admin/webmail/.htaccess -text
......@@ -243,7 +243,6 @@ bureau/locales/fr_FR/LC_MESSAGES/messages.po -text
bureau/locales/manual.pot -text
bureau/locales/messages.pot -text
bureau/locales/pt_BR/LC_MESSAGES/messages.po -text
bureau/style.css -text
debian/.cvsignore -text
debian/README.Debian -text
debian/alternc.cron.d -text
......
......@@ -56,7 +56,8 @@ if (!$mem->setid($id)) {
<html>
<head>
<title><?php __("AlternC Desktop"); ?></title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<frameset cols="225px,*">
......
......@@ -44,17 +44,16 @@ include("head.php");
echo "<p class=\"error\">$error</p></body></html>";
}
?>
<blockquote>
<table border="0" cellpadding="4" cellspacing="0">
<tr class="lst1"><td><a href="adm_tld.php"><?php __("Manage allowed domains (TLD)"); ?></a></td></tr>
<tr class="lst2"><td><a href="adm_defquotas.php"><?php __("Change the default quotas"); ?></a></td></tr>
<tr class="lst1"><td><a href="adm_doms.php"><?php __("Manage installed domains"); ?></a></td></tr>
<tr class="lst2"><td><a href="adm_slaveip.php"><?php __("Manage allowed ip for slave zone transfers"); ?></a></td></tr>
<tr class="lst1"><td><a href="adm_slaveaccount.php"><?php __("Manage allowed accounts for slave zone transfers"); ?></a></td></tr>
<tr class="lst1"><td><a href="adm_mxaccount.php"><?php __("Manage allowed accounts for secondary mx"); ?></a></td></tr>
<tr class="lst2"><td><a href="adm_variables.php"><?php __("Configure AlternC variables"); ?></a></td></tr>
<tr class="lst1"><td><a href="quota_show_all.php"><?php __("Show all quotas"); ?></a></td></tr>
<tr class="lst1"><td><a href="stats_members.php"><?php __("Account creation statistics"); ?></a></td></tr>
<ul id="adm_panel">
<li class="lst1"><a href="adm_tld.php"><?php __("Manage allowed domains (TLD)"); ?></a></li>
<li class="lst2"><a href="adm_defquotas.php"><?php __("Change the default quotas"); ?></a></li>
<li class="lst1"><a href="adm_doms.php"><?php __("Manage installed domains"); ?></a></li>
<li class="lst2"><a href="adm_slaveip.php"><?php __("Manage allowed ip for slave zone transfers"); ?></a></li>
<li class="lst1"><a href="adm_slaveaccount.php"><?php __("Manage allowed accounts for slave zone transfers"); ?></a></li>
<li class="lst1"><a href="adm_mxaccount.php"><?php __("Manage allowed accounts for secondary mx"); ?></a></li>
<li class="lst2"><a href="adm_variables.php"><?php __("Configure AlternC variables"); ?></a></li>
<li class="lst1"><a href="quota_show_all.php"><?php __("Show all quotas"); ?></a></li>
<li class="lst1"><a href="stats_members.php"><?php __("Account creation statistics"); ?></a></li>
<?php
// here we include any "adminmenu_*" file content
......@@ -73,9 +72,7 @@ if ($d) {
closedir($d);
?>
</table>
</blockquote>
</ul>
</body>
</html>
......
......@@ -42,7 +42,7 @@ if (!$hlist[$hid]) {
<html>
<head>
<title>Aide en ligne <?php echo $host ?></title>
<link rel="stylesheet" href="styles/style.css" type="text/css">
<link rel="stylesheet" href="/admin/styles/base.css" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset cols="30%,*" onload="window.focus(); return true;">
......@@ -54,7 +54,3 @@ if (!$hlist[$hid]) {
Your browser must support frames
</noframes>
</html>
ames
</noframes>
</html>
......@@ -129,20 +129,18 @@ include("head.php");
</head>
<body>
<table border="0" width="100%" cellspacing="0">
<tr><td>
<div id="browser">
<h3><?php __("File browser"); ?></h3>
<hr />
<table width="100%"><tr><td valign="top">
<a href="bro_main.php?R=/"><?php echo $mem->user["login"]; ?></a>&nbsp;/&nbsp;<?php echo $bro->PathList($R,"bro_main.php") ?><br />
<small>
<?php if ($error) echo "<font color=\"red\">$error</font>"; ?>
</td><td valign="top" align="right">
<h3><?php __("File browser"); ?></h3>
<form action="bro_main.php" method="post" name="nn" id="nn">
<input type="hidden" name="R" value="<?php echo $R; ?>" />
<table><tr>
<table id="add-file"><tr>
<td><input type="text" class="int" name="nomfich" size="22" maxlength="255" /></td>
<td><input type="submit" class="inb" value="<?php __("Create"); ?>" /></td>
</tr><tr><td>
......
......@@ -82,7 +82,8 @@ if ($select) {
<!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">
<head>
<title>Browser for folder</title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<?php
......@@ -100,7 +101,8 @@ if ($select) {
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>Recherche d'un dossier</title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
/* Fonction appelle lors du lancement d'un popup Fichier : */
......
......@@ -41,7 +41,8 @@ if (!$mem->checkid()) {
<html>
<head>
<title>Administration de <?php echo $host ?></title>
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
</head>
<frameset cols="225px,*">
<frame src="menu.php" name="left">
......
......@@ -45,9 +45,16 @@ exit();
if ($error) echo "<p class=\"error\">$error</p>";
?>
<form method="post" action="dom_doadd.php" id="main">
<table><tr><td>
<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" />
</td></tr><tr><td></td><td><input type="submit" class="inb" name="submit" value="<?php __("Add this domain"); ?>" /></td></tr>
<table><thead><?php __("Domain hosting"); ?></thead><tbody>
<tr>
<th><label for="newdomain"><?php __("Domain name"); ?> : www.</label></th>
<td><input type="text" class="int" id="newdomain" name="newdomain" value="<?php echo $newdomain ?>" size="32" maxlength="255" /></td>
</tr>
<tr>
<th></th>
<td><input type="submit" class="inb" name="submit" value="<?php __("Add this domain"); ?>" /></td>
</tr>
</tbody>
</table>
<p>
<input type="checkbox" name="dns" class="inc" value="1" id="yndns" <?php if ($dns=="1") echo "checked=\"checked\""; ?> /><br />
......
......@@ -48,7 +48,8 @@ include("head.php");
}
?>
<form method="post" action="ftp_doadd.php" name="main">
<table border="1" cellspacing="0" cellpadding="4">
<table><thead><?php __("Create a new ftp account"); ?></thead>
<tbody>
<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" />
<label for="login"><?php __("Username"); ?></label></th><td>
<select class="inl" name="prefixe"><?php $ftp->select_prefix_list($prefixe); ?></select>&nbsp;<b>_</b>&nbsp;<input type="text" class="int" name="login" id="login" value="<?php echo $login; ?>" size="20" maxlength="64" />
......@@ -63,7 +64,7 @@ include("head.php");
</script>
</td></tr>
<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Create this new FTP account."); ?>" /></td></tr>
</table>
</tbody></table>
</form>
<?php $mem->show_help("ftp_add"); ?>
</body>
......
......@@ -56,8 +56,7 @@ if ($error) {
<p class="error"><?php echo $error ?></p>
<?php } ?>
<form method="post" action="ftp_del.php">
<table cellspacing="0" cellpadding="4">
<tr><th colspan="2">&nbsp;</th><th><?php __("Username"); ?></th><th><?php __("Folder"); ?></th></tr>
<?php
reset($r);
$col=1;
......@@ -65,25 +64,24 @@ while (list($key,$val)=each($r))
{
$col=3-$col;
?>
<tr class="lst<?php echo $col; ?>">
<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>
<td><a href="ftp_edit.php?id=<?php echo $val["id"] ?>"><?php __("Edit"); ?></a></td>
<td><label for="del_<?php echo $val["id"]; ?>"><?php echo $val["login"] ?></label></td>
<td><code>/<?php echo $val["dir"] ?></code></td>
</tr>
<dl>
<dt><input type="checkbox" class="inc" id="del_<?php echo $val["id"]; ?>" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>" /><strong><?php __("Username"); ?>:</strong> <label for="del_<?php echo $val["id"]; ?>"><?php echo $val["login"] ?></label></dt>
<dd><span><?php __("Folder"); ?></span> <code>/<?php echo $val["dir"] ?></code></dd>
<dd><a href="ftp_edit.php?id=<?php echo $val["id"] ?>"><?php __("Edit"); ?></a></dd>
<dd><span></span></dd>
</dl>
<?php
}
?>
<tr><td colspan="5"><input type="submit" name="submit" class="inb" value="<?php __("Delete checked accounts"); ?>" /></td></tr>
</table>
<div class="delete"><input type="submit" name="submit" class="inb" value="<?php __("Delete checked accounts"); ?>" /></div>
</form>
<?php if ($quota->cancreate("ftp")) { ?>
<p>
<p class="add">
<a href="ftp_add.php"><?php __("Create a new ftp account"); ?></a>
</p>
<?php }
$mem->show_help("ftp_list");
?>
</body>
......
......@@ -32,7 +32,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>Bureau</title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" language="javascript" src="/admin/js/alternc.js">
</script>
......@@ -56,7 +56,7 @@ include("head.php");
// -->
</script></td>
</tr>
<tr><td colspan="2"><input type="submit" class="inb" value="<?php __("Protect this folder"); ?>" /></td></tr>
<tr><td class="add" colspan="2"><input type="submit" class="inb" value="<?php __("Protect this folder"); ?>" /></td></tr>
</table>
</form>
......
......@@ -41,39 +41,48 @@ $H=getenv("HTTP_HOST");
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title>AlternC Desktop</title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body onload="document.forms['fmain'].username.focus();">
<h1><?php echo _("Administration of")." ".$H ?></h1>
<body class="login" onload="document.forms['fmain'].username.focus();">
<?php if ($error) echo "<font color=red>$error</font>"; ?>
<p><?php echo _("Enter your username and password to connect to the virtual desktop")." [ ".$H." ]" ?></p>
<p id="logo"><a href="http://alternc.org">
<img src="alternc.png" width="120" height="82" border="0" alt="<?php __("AlternC, Opensource hosting control panel"); ?>" title="<?php __("AlternC, Opensource hosting control panel"); ?>" /></a>
</p>
<div id="wrapper">
<form action="login.php" method="post" target="_top" id="fmain" name="fmain">
<div class="dlogin">
<table border="1" cellspacing="0" cellpadding="4" width="300" class="login">
<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" autocomplete="off" /></td></tr>
<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" autocomplete="off" /></td></tr>
<tr><td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Enter"); ?>" /></td></tr>
<tr><td colspan="2" align="right"><label><input type="checkbox" class="inc" id="restrictip" name="restrictip" value="1" checked="checked"><?php __("Restrict this session to my ip address"); ?></label></td></tr>
</table>
</div>
</form>
<p>&nbsp;</p>
<table width="100%" style="border: 0">
<tr><td style="text-align: left">
<?php __("You must accept the session cookie to log-in"); ?>
<br />
<?php __("You can use a different language: "); ?>
<?php
foreach($locales as $l) {
?>
<a href="?setlang=<?php echo $l; ?>"><?php __($l); ?></a>&nbsp;
<?php } ?>
</td>
<td style="text-align: right">
<p> <a href="http://alternc.org"><img src="alternc.png" width="120" height="82" border="0" alt="<?php __("AlternC, Opensource hosting control panel"); ?>" title="<?php __("AlternC, Opensource hosting control panel"); ?>" /></a></p>
</td>
<table>
<thead>
<tr><td colspan="2"><?php echo _("Administration of")." ".$H ?></td></tr>
</thead>
<tfoot>
<tr><td colspan="2">
<p><?php __("You must accept the session cookie to log-in"); ?></p>
<p><?php __("You can use a different language: "); ?>
<?php
foreach($locales as $l) {
?>
<a href="?setlang=<?php echo $l; ?>"><?php __($l); ?></a>
<?php } ?>
</p>
</td></tr>
</tfoot>
<tbody>
<tr><td class="forminfo" colspan="2"><?php echo _("Enter your username and password to connect to the virtual desktop")."<br />[ ".$H." ]" ?></td></tr>
<tr>
<td class="username"><label for="username"><?php echo _("Username"); ?></label></td>
<td class="input_username"><input type="text" class="int" name="username" id="username" value="" maxlength="128" size="20" /></td>
</tr>
<tr>
<td class="pass"><label for="password"><?php echo _("Password"); ?></label></td>
<td class="input_pass"><input type="password" class="int" name="password" id="password" value="" maxlength="128" size="20" /></td>
</tr>
<tr><td class="login" colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Enter"); ?>" /></td></tr>
<tr><td class="cookie_ack" colspan="2"><label><input type="checkbox" class="inc" id="restrictip" name="restrictip" value="1" checked="checked" /><?php __("Restrict this session to my ip address"); ?></label></td></tr>
</tbody>
</table>
</form>
</div>
</body>
</html>
......@@ -40,10 +40,11 @@ if (!$mem->checkid()) {
<html>
<head>
<title><?php __("AlternC Desktop"); ?></title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<frameset cols="225px,*">
<frameset frameborder="0" cols="225px,*">
<frame src="menu.php" name="left" />
<frame src="main.php" name="right" />
<noframes>
......
......@@ -33,7 +33,10 @@ include("head.php");
?>
</head>
<body>
<?php
<h3>Ce bureau est un lieu de dveloppement pour arranger minimalement alterc dans l'objectif d'y faire un "theme" plus joli et personnalisable</h3>
<div id="info"><?php
// Show last login information :
__("Last Login: ");
......@@ -87,14 +90,8 @@ if($admin->enabled) {
}
}
/*
<h3>
Le bureau AlternC de ce serveur est en travaux actuellement.<br />
Il se peut que certaines parties du bureau soient inaccessibles ponctuellement.<br />
Si une partie du bureau ne fonctionne pas pendant longtemps, n'hsitez pas, contactez le
mainteneur par mail : <a href="mailto:root@heberge.info">root@heberge.info</a>
</h3>
*/
?>
?></div>
</body>
</html>
......@@ -36,7 +36,8 @@ $mem->del_session();
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
<title><?php __("Disconnected"); ?></title>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
<link rel="stylesheet" href="styles/base.css" type="text/css" />
<link rel="stylesheet" href="styles/custom.css" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
......
......@@ -38,8 +38,8 @@ if ($help_setting) {
?>
</head>
<body>
<div align="center"><h3><?php __("Settings of your account"); ?></h3></div>
<body id="mem_param">
<h3><?php __("Settings of your account"); ?></h3>
<?php
if ($error) {
echo "<font color=red>$error</font></body></html>";
......@@ -47,66 +47,57 @@ if ($help_setting) {
}
?>
<hr />
<p>
<?php __("Password change"); ?> : <br />
<?php
if (!$mem->user["canpass"]) {
__("You cannot change your password");
echo "</p>";
} else {
__("help_chg_passwd"); ?>
</p>
<form method="post" action="mem_passwd.php">
<table border="1" cellspacing="0" cellpadding="4">
<thead><tr><td colspan="2"><?php __("Password change"); ?></td></tr></thead>
<tr><td colspan="2">
<?php
if (!$mem->user["canpass"]) {
__("You cannot change your password");
}
else {
__("help_chg_passwd");
?>
</td></tr>
<tr><th><?php __("Old password"); ?></th><td><input type="password" class="int" name="oldpass" value="<?php echo $oldpass; ?>" size="20" maxlength="128" /></td></tr>
<tr><th><?php __("New password"); ?> (1)</th><td><input type="password" class="int" name="newpass" value="<?php echo $newpass; ?>" size="20" maxlength="60" /></td></tr>
<tr><th><?php __("New password"); ?> (2)</th><td><input type="password" class="int" name="newpass2" value="<?php echo $newpass2; ?>" size="20" maxlength="61" /></td></tr>
<tr><td align="center" colspan="3"><input type="submit" class="inb" name="submit" value="<?php __("Change my password"); ?>" /></td></tr>
<tr><td colspan="3"><input type="submit" class="inb" name="submit" value="<?php __("Change my password"); ?>" /></td></tr>
</table>
</form>
<p>&nbsp;</p>
<?php } ?>
<hr />
<form method="post" action="mem_chgmail.php">
<table border="1" cellspacing="0" cellpadding="4">
<tr><td colspan="2"><?php __("Change the email of the account"); ?><br />
<?php __("help_chg_mail"); ?></td></tr>
<thead><tr><td colspan="2"><?php __("Change the email of the account"); ?></td></tr></thead>
<tr><td colspan="2"><?php __("help_chg_mail"); ?></td></tr>
<tr><th><?php __("Current mailbox"); ?></th><td><big><code><?php echo $mem->user["mail"]; ?></code></big></td></tr>
<tr><th><?php __("New mailbox"); ?></th><td><input type="text" class="int" name="newmail" value="<?php echo $newmail; ?>" size="40" maxlength="128" /></td></tr>
<tr><td style="text-align: center" colspan="3"><input type="submit" class="inb" name="submit" value="<?php __("Change my mail"); ?>" /></td></tr>
<tr><td colspan="3"><input type="submit" class="inb" name="submit" value="<?php __("Change my mail"); ?>" /></td></tr>
</table>
</form>
<p>&nbsp;</p>
<hr />
<form method="post" action="mem_param.php">
<table border="1" cellspacing="0" cellpadding="4">
<tr><td colspan="2"><?php __("Online help settings"); ?><br />
<?php __("help_help_settings"); ?></td></tr>
<thead><tr><td colspan="2"><?php __("Online help settings");?></td></tr></thead>
<tr><td colspan="2"><?php __("help_help_settings"); ?></td></tr>
<tr><th><label for="showhelp"><?php __("Do you want to see the help texts and links on each page?"); ?></label></th><td><input type="checkbox" class="inc" id="showhelp" name="showhelp" value="1" <?php if ($mem->get_help_param()) echo "checked=\"checked\""; ?> /></td></tr>
<tr><td align="center" colspan="3"><input type="submit" class="inb" name="help_setting" value="<?php __("Change these settings"); ?>" /></td></tr>
<tr><td colspan="3"><input type="submit" class="inb" name="help_setting" value="<?php __("Change these settings"); ?>" /></td></tr>
</table>
</form>
<p>&nbsp;</p>
<?php
if ($mem->user["su"]) {
?>
<hr />
<p>
<?php __("Admin preferences"); ?> :
</p>
<form method="post" action="mem_admin.php">
<table border="1" cellspacing="0" cellpadding="4">
<tr><th><?php __("Members list view"); ?></th><td><select name="admlist" class="inl">
<option value="0"<?php if ($mem->user["admlist"]==0) echo " selected=\"selected\""; ?>><?php __("Large view"); ?></option>
<option value="1"<?php if ($mem->user["admlist"]==1) echo " selected=\"selected\""; ?>><?php __("Short view"); ?></option>
</select></td></tr>
<tr><td align="center" colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Change my admin preferences"); ?>" /></td></tr>
</table>
<table border="1" cellspacing="0" cellpadding="4">
<thead><tr><td colspan="2"><?php __("Admin preferences"); ?></td></tr></thead>
<tr><th><?php __("Members list view"); ?></th><td><select name="admlist" class="inl">
<option value="0"<?php if ($mem->user["admlist"]==0) echo " selected=\"selected\""; ?>><?php __("Large view"); ?></option>
<option value="1"<?php if ($mem->user["admlist"]==1) echo " selected=\"selected\""; ?>><?php __("Short view"); ?></option>
</select></td></tr>
<tr><td colspan="2"><input type="submit" class="inb" name="submit" value="<?php __("Change my admin preferences"); ?>" /></td></tr>
</table>
</form>
<p>&nbsp;</p>
<?php } ?>
<hr />
</body>
......
......@@ -33,11 +33,14 @@ include("head.php");
?>
<base target="right" />
</head>
<body>
<body id="menu">
<div id="alternc-logo"><a href="http://alternc.org"><!-- img src="alternc.png" width="120" height="82" border="0" alt="AlternC" / -->AlternC</a>
<span><?php echo "$L_VERSION"; ?></span>
</div>
<h3>Menu <?php echo $mem->user["login"]; ?></h3>
<table border="1" cellspacing="0" cellpadding="4">
<tr><td nowrap="nowrap"><a href="main.php"><?php __("Front page") ?></a><br/></td></tr>
<dl id="menu-list">
<dt id="home"><?php __("Front page") ?></dt>
<dd class="link"><a href="main.php"><?php __("Front page") ?></a></dd>
<?php
$MENUPATH="/var/alternc/bureau/admin/";
$tt=fopen("menulist.txt","rb");
......@@ -51,10 +54,5 @@ fclose($tt);
?>
</table>
<p> <a href="http://alternc.org"><img src="alternc.png" width="120" height="82" border="0" alt="AlternC" /></a></p>
<p><?php echo "$L_VERSION"; ?>
</p>
</body>
</html>
......@@ -35,12 +35,10 @@
if ($mem->checkRight())
{ ?>
<tr><td nowrap>
<a href="adm_list.php"><font color="red"><?php __("Manage the members"); ?></font></a><br>
<a href="adm_panel.php"><font color="red"><?php __("Admin Control Panel"); ?></font></a><br>
<a href="/admin/sql/?server=2"><font color="red"><?php __("General SQL Admin"); ?></font></a><br>
</td></tr>
<dt id="reseller">Reseller</dt>
<dd><a href="adm_list.php"><?php __("Manage the members"); ?></a></dd>
<dd><a href="adm_panel.php"><?php __("Admin Control Panel"); ?></a></dd>
<dd><a href="/admin/sql/?server=2"><?php __("General SQL Admin"); ?></a></dd>
<?php
}
?>
......@@ -29,6 +29,5 @@
*/
?>
<tr><td nowrap="nowrap">
<a href="http://doc.alternc.org/user/" target="help"><?php __("Online help"); ?></a><br />
</td></tr>
<dt id="help"><?php __("Online help"); ?></dt>
<dd><a href="http://doc.alternc.org/user/" target="help"><?php __("Online help"); ?></a></dd>
......@@ -30,6 +30,5 @@
/* ############# BROUTEUR ############# */
?>
<tr><td nowrap="nowrap">
<a href="bro_main.php"><?php __("File browser"); ?></a><br />
</td></tr>
<dt id="browser"><?php __("File browser"); ?></dt>
<dd><a href="bro_main.php"><?php __("File browser"); ?></a></dd>
......@@ -32,17 +32,16 @@
$q=$quota->getquota("dom");
if ($q["t"]>0) {
?>
<tr><td nowrap="nowrap">
<?php __("Domains"); ?><br />
<dt><?php __("Domains"); ?></dt>
<?php if ($quota->cancreate("dom")) { ?>
- <a href="dom_add.php"><?php __("Add a domain"); ?></a><br />
<dd class="action"><a href="dom_add.php"><?php __("Add a domain"); ?></a></dd>
<?php }
/* Enumeration des domaines : */
$domain=$dom->enum_domains();
reset($domain);
while (list($key,$val)=each($domain)) {
?>
- <a href="dom_edit.php?domain=<?php echo urlencode($val) ?>"><?php echo $val ?></a><br />
<dd class="element"><a href="dom_edit.php?domain=<?php echo urlencode($val) ?>"><?php echo $val ?></a></dd>
<?php } ?>
</td></tr>
</dd></dt>
<?php } ?>
......@@ -32,7 +32,6 @@
$q=$quota->getquota("ftp");
if ($q["t"]>0) {
?>
<tr><td nowrap="nowrap">
<a href="ftp_list.php"><?php __("FTP accounts"); ?></a><br />
</td></tr>
<dt id="ftp"><?php __("FTP accounts"); ?></dt>
<dd><a href="ftp_list.php"><?php __("FTP accounts"); ?></a></dd>
<?php } ?>
......@@ -28,7 +28,7 @@
----------------------------------------------------------------------
*/
?>
<tr><td nowrap="nowrap">
<a href="mem_param.php"><?php __("Settings"); ?></a><br />
<a href="mem_logout.php" target="_parent"><?php __("Logout"); ?></a><br />
</td></tr>
<dt id="settings"><?php __("Settings"); ?></dt>
<dd><a href="mem_param.php"><?php __("Settings"); ?></a></dd>
<dt id="logout"><?php __("Logout"); ?></dt>
<dd><a href="mem_logout.php" target="_parent"><?php __("Logout"); ?></a></dd>
......@@ -28,6 +28,5 @@
----------------------------------------------------------------------
*/
?>
<tr><td nowrap="nowrap">
<a href="quota_show.php"><?php __("Show my quotas"); ?></a><br />
</td></tr>
<dt id="quota"><?php __("Show my quotas"); ?></dt>
<dd><a href="quota_show.php"><?php __("Show my quotas"); ?></a></dd>
......@@ -30,12 +30,10 @@
$r=$quota->getquota("mysql");
if ($r["t"]) {
?>
<tr><td nowrap="nowrap">
MySQL<br />
- <a href="sql_users_list.php"><?php __("MySQL Users") ?></a><br />
- <a href="sql_list.php"><?php __("Databases"); ?></a><br />
- <a target="_blank" href="sql_admin.php"><?php __("SQL Admin"); ?></a><br />
</td></tr>
<dt id="mysql">MySQL</dt>
<dd><a href="sql_users_list.php"><?php __("MySQL Users") ?></a></dd>
<dd><a href="sql_list.php"><?php __("Databases"); ?></a></dd>
<dd><a target="_blank" href="sql_admin.php"><?php __("SQL Admin"); ?></a></dd>
<?php
}
?>
......@@ -33,7 +33,6 @@ $q=$quota->getquota("sta2");
$r=$quota->getquota("dom");
if ($q["t"]>0 && $r["u"]>0) {
?>
<tr><td nowrap="nowrap">
<a href="sta2_list.php"><?php __("Raw web statistics"); ?></a><br />
</td></tr>
<dt id="stats"><?php __("Raw web statistics"); ?></dt>
<dd><a href="sta2_list.php"><?php __("Raw web statistics"); ?></a></dd>
<?php } ?>
......@@ -30,6 +30,5 @@
/* ############# WEB ACCESS ############# */
?>
<tr><td nowrap="nowrap">
<a href="hta_list.php"><?php __("Protected folders"); ?></a><br />
</td></tr>
<dt id="web-access"><?php __("Protected folders"); ?></dt>
<dd><a href="hta_list.php"><?php __("Protected folders"); ?></a></dd>
body {
font-family: sans-serif;
font-size: 85%;
}
.hlp {
color: #202020;
}
td {
color: #000000;
}
th {
/* color: #007799;*/
}
h3 {
color: #CB781A;
}
h4 {
color: #007777;
}
hr {
border: none;
border-top: 1px solid #000;
}
.inp {
/* Should not be use anymore !!! */
border-color: blue;
border-width: 5px;
background-color: #500000;
color: white;
}
.inc, .inl {
border-style: none;
color: black;
}
.inb {
border: 1px solid #aaa;
color: black;
}
.int {
border: 1px solid #aaa;