adding information for noerase domains, Fixes #10

This commit is contained in:
Benjamin Sonntag 2015-09-25 18:02:23 +02:00
parent c0d656774e
commit d4c43a9717
4 changed files with 17 additions and 5 deletions

View File

@ -3,7 +3,7 @@
$Id: adm_doedit.php,v 1.6 2006/01/24 05:03:30 joe Exp $
----------------------------------------------------------------------
AlternC - Web Hosting System
Copyright (C) 2006 Le réseau Koumbit Inc.
Copyright (C) 2006 Le reseau Koumbit Inc.
http://koumbit.org/
Copyright (C) 2002 by the AlternC Development Team.
http://alternc.org/
@ -77,4 +77,3 @@ if (!$admin->update_mem($uid, $nmail, $nom, $prenom, $pass, $enabled, $canpass,
$error=_("The member has been successfully edited");
include("adm_list.php");
}
?>

View File

@ -254,11 +254,12 @@ sub_domains_edit($domain);
<!-- *****************************************
modification des parametres dns
-->
<?php
</div>
<?php
if (!$r['noerase']) {
?>
</div>
<div id="tabsdom-params">
<h3><?php __("DNS &amp; Email parameters"); ?></h3>
<form action="dom_editdns.php?domain=<?php echo urlencode($r["name"]) ?>" method="post" id="fdns" name="fdns" onSubmit="return destruction_alert();">
@ -326,7 +327,13 @@ if (!$r['noerase']) {
</form>
</div> <!-- tabsdom-delete -->
</div> <!-- tabsdom -->
<?php } // noerase ?>
<?php } else { // noerase
?>
<div id="tabsdom-params">
<p class="alert alert-info"><?php __("This domain is locked, only a server administrator can unlock it."); ?></p>
</div>
<?php
}  ?>
<script type="text/javascript">
//document.forms['main'].sub.focus(); // not with tabs

View File

@ -44,6 +44,9 @@ msgid ""
"currently not enabled."
msgstr "AlternC ne peut pas fonctionner correctement sans les ACL activées sur le système de fichiers. Les ACL ne sont actuellement pas actives."
msgid "This domain is locked, only a server administrator can unlock it."
msgstr "Ce domaine est verrouillé, seul un administrateur peut le déverrouiller."
#. Type: note
#. Description
#: ../alternc.templates:1001

View File

@ -45,6 +45,9 @@ msgstr ""
msgid "Your current password is incorrect, please try again."
msgstr "Votre mot de passe actuel est incorrect, réessayez."
msgid "This domain is locked, only a server administrator can unlock it."
msgstr "Ce domaine est verrouillé, seul un administrateur peut le déverrouiller."
#: ../../squirrelmail/alternc_changepass/change.php:88
msgid ""
"Your password has been successfully changed. Don't forget to change it in "