modifications topbar et ergonomie
This commit is contained in:
parent
4699e1af58
commit
b24581ddf0
|
@ -44,6 +44,8 @@ getFields($fields);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php __("New AlternC account"); ?></h3>
|
<h3><?php __("New AlternC account"); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if ($error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
|
|
|
@ -42,6 +42,8 @@ include_once("head.php");
|
||||||
?>
|
?>
|
||||||
<?php if ($error) echo "<font color=\"red\">$error</font><br />"; ?>
|
<?php if ($error) echo "<font color=\"red\">$error</font><br />"; ?>
|
||||||
<h3><?php __("File browser preferences"); ?></h3>
|
<h3><?php __("File browser preferences"); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<form action="bro_pref.php" method="post">
|
<form action="bro_pref.php" method="post">
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -58,13 +58,15 @@ $dom->unlock();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php printf(_("Editing domain %s"),$domain); ?></h3>
|
<h3><?php printf(_("Editing domain %s"),$domain); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
printf(_("The domain %s has been changed."),$domain);
|
printf(_("The domain %s has been changed."),$domain);
|
||||||
$t = time();
|
$t = time();
|
||||||
// XXX: we assume the cron job is at every 5 minutes
|
// XXX: we assume the cron job is at every 5 minutes
|
||||||
print strtr(_("The modifications will take effect at %time. Server time is %now."), array('%now' => date('H:i:s', $t), '%time' => date('H:i:s', ($t-($t%300)+300))));
|
print strtr(_("The modifications will take effect at %time. Server time is %now."), array('%now' => date('H:i:s', $t), '%time' => date('H:i:s', ($t-($t%300)+300))));
|
||||||
?><br />
|
?><br /><br />
|
||||||
<span class="ina"><a href="login.php" target="_top"><?php __("Click here to continue"); ?></a></span>
|
<span class="ina"><a href="login.php" target="_top"><?php __("Click here to continue"); ?></a></span>
|
||||||
</p>
|
</p>
|
||||||
<?php include_once("foot.php"); ?>
|
<?php include_once("foot.php"); ?>
|
|
@ -51,7 +51,8 @@ $dom->unlock();
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<hr />
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<!-- *****************************************
|
<!-- *****************************************
|
||||||
gestion du sous-domaine
|
gestion du sous-domaine
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -46,6 +46,8 @@ $dom->unlock();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?=sprintf(_("Deleting the subdomain %s:"),"http://".(($sub)?$sub.".":$sub).$domain); ?></h3>
|
<h3><?=sprintf(_("Deleting the subdomain %s:"),"http://".(($sub)?$sub.".":$sub).$domain); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if ($error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
|
|
|
@ -37,6 +37,8 @@ if (!$quota->cancreate("ftp")) {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php __("Create a new ftp account"); ?></h3>
|
<h3><?php __("Create a new ftp account"); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if ($error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
|
|
|
@ -43,6 +43,8 @@ if (!$r=$ftp->get_list($domain)) {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php __("FTP accounts list"); ?></h3>
|
<h3><?php __("FTP accounts list"); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($error && !$noftp) {
|
if ($error && !$noftp) {
|
||||||
|
|
|
@ -32,6 +32,8 @@ include_once("head.php");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php __("Protect a folder"); ?></h3>
|
<h3><?php __("Protect a folder"); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<p>
|
<p>
|
||||||
<?php __("Enter the name of the folder you want to protect. It must already exists."); ?>
|
<?php __("Enter the name of the folder you want to protect. It must already exists."); ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -49,6 +49,8 @@ if (!$hta->change_pass($user,$newpass,$dir)) {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<h3><?php printf(_("Change the user %s in the protected folder %s"),$user,$dir); ?></h3>
|
<h3><?php printf(_("Change the user %s in the protected folder %s"),$user,$dir); ?></h3>
|
||||||
|
<hr id="topbar"/>
|
||||||
|
<br />
|
||||||
<?php
|
<?php
|
||||||
if ($error) {
|
if ($error) {
|
||||||
echo "<p class=\"error\">$error</p>";
|
echo "<p class=\"error\">$error</p>";
|
||||||
|
@ -56,6 +58,6 @@ if (!$hta->change_pass($user,$newpass,$dir)) {
|
||||||
else {
|
else {
|
||||||
echo "<p>".sprintf(_("The password of the user %s has been successfully changed"),$user)."</p>";
|
echo "<p>".sprintf(_("The password of the user %s has been successfully changed"),$user)."</p>";
|
||||||
}
|
}
|
||||||
echo "<p><a href=\"hta_edit.php?dir=$dir\">"._("Click here to continue")."</a></p>";
|
echo "<p><span class=\"ina\"><a href=\"hta_edit.php?dir=$dir\">"._("Click here to continue")."</a></span></p>";
|
||||||
?>
|
?>
|
||||||
<?php include_once("foot.php"); ?>
|
<?php include_once("foot.php"); ?>
|
Loading…
Reference in New Issue