modifications topbar et ergonomie

This commit is contained in:
Chantal Bernard-Putz 2010-05-02 05:34:36 +00:00
parent 4699e1af58
commit b24581ddf0
9 changed files with 24 additions and 7 deletions

View File

@ -44,6 +44,8 @@ getFields($fields);
?>
<h3><?php __("New AlternC account"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";

View File

@ -42,6 +42,8 @@ include_once("head.php");
?>
<?php if ($error) echo "<font color=\"red\">$error</font><br />"; ?>
<h3><?php __("File browser preferences"); ?></h3>
<hr id="topbar"/>
<br />
<form action="bro_pref.php" method="post">
@ -135,4 +137,4 @@ for($i=0;$i<count($bro->l_icons);$i++) {
</table>
</form>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -58,13 +58,15 @@ $dom->unlock();
?>
<h3><?php printf(_("Editing domain %s"),$domain); ?></h3>
<hr id="topbar"/>
<br />
<p>
<?php
printf(_("The domain %s has been changed."),$domain);
$t = time();
// 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))));
?><br />
?><br /><br />
<span class="ina"><a href="login.php" target="_top"><?php __("Click here to continue"); ?></a></span>
</p>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -51,7 +51,8 @@ $dom->unlock();
exit();
}
?>
<hr />
<hr id="topbar"/>
<br />
<!-- *****************************************
gestion du sous-domaine
-->

View File

@ -46,6 +46,8 @@ $dom->unlock();
?>
<h3><?=sprintf(_("Deleting the subdomain %s:"),"http://".(($sub)?$sub.".":$sub).$domain); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";

View File

@ -37,6 +37,8 @@ if (!$quota->cancreate("ftp")) {
?>
<h3><?php __("Create a new ftp account"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";

View File

@ -43,6 +43,8 @@ if (!$r=$ftp->get_list($domain)) {
?>
<h3><?php __("FTP accounts list"); ?></h3>
<hr id="topbar"/>
<br />
<?php
if ($error && !$noftp) {

View File

@ -32,6 +32,8 @@ include_once("head.php");
?>
<h3><?php __("Protect a folder"); ?></h3>
<hr id="topbar"/>
<br />
<p>
<?php __("Enter the name of the folder you want to protect. It must already exists."); ?>
</p>
@ -61,4 +63,4 @@ include_once("head.php");
<script type="text/javascript">
document.forms['main'].dir.focus();
</script>
<?php include_once("foot.php"); ?>
<?php include_once("foot.php"); ?>

View File

@ -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>
<hr id="topbar"/>
<br />
<?php
if ($error) {
echo "<p class=\"error\">$error</p>";
@ -56,6 +58,6 @@ if (!$hta->change_pass($user,$newpass,$dir)) {
else {
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"); ?>