Import de zone: affiche les erreurs après l'import
This commit is contained in:
parent
f25fa5c8a9
commit
c0c4e1e0be
|
@ -54,7 +54,7 @@ if (isset($error) && $error) echo "<p class=\"error\">$error</p>";
|
|||
?>
|
||||
<form method="post" action="dom_doadd.php" id="main">
|
||||
<p>
|
||||
<label for="newdomain"><b><?php __("Domain name"); ?> :</b></label> <span class="int" id="newdomwww">www.</span><input type="text" class="int" id="newdomain" name="newdomain" value="<?php ehe($newdomain); ?>" size="32" maxlength="255" /> <a class="inb" href="dom_import.php"><?php __("Advanced import"); ?></a>
|
||||
<label for="newdomain"><b><?php __("Domain name"); ?> :</b></label> <span class="int" id="newdomwww">www.</span><input type="text" class="int" id="newdomain" name="newdomain" value="<?php ehe($newdomain); ?>" size="32" maxlength="255" /> <a class="inb configure" href="dom_import.php"><?php __("Advanced import"); ?></a>
|
||||
</p>
|
||||
<p>
|
||||
<input type="checkbox" name="dns" class="inc" value="1" id="yndns"<?php cbox($dns=="1"); ?>/> <label for="yndns"><?php __("host my dns here"); ?></label>
|
||||
|
|
|
@ -335,7 +335,10 @@ class m_dom {
|
|||
|
||||
private function import_manual_dns_entry_doit($entry) {
|
||||
global $err;
|
||||
if ( $entry['status'] == 'err' ) return false;
|
||||
if ( $entry['status'] == 'err' ) {
|
||||
$entry['did_it'] = 0;
|
||||
return $entry;
|
||||
}
|
||||
|
||||
$val=$entry['entry_new'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue