Better success messages
This commit is contained in:
parent
e3f358a62c
commit
47bd662e96
|
@ -21,7 +21,7 @@ if (processForm()) {
|
|||
$_POST['value']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -12,7 +12,7 @@ if (processForm()) {
|
|||
$_POST['cname']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -12,7 +12,7 @@ if (processForm()) {
|
|||
$_POST['dname']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -12,7 +12,7 @@ if (processForm()) {
|
|||
$_POST['ip']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -68,7 +68,7 @@ if (processForm()) {
|
|||
$_POST['vp'] . 'm',
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -16,7 +16,7 @@ if (processForm()) {
|
|||
$_POST['host']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -12,7 +12,7 @@ if (processForm()) {
|
|||
$_POST['ns']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -24,7 +24,7 @@ if (processForm()) {
|
|||
$_POST['target']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -21,7 +21,7 @@ if (processForm()) {
|
|||
$_POST['fp']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -25,7 +25,7 @@ if (processForm()) {
|
|||
$_POST['content']
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -13,7 +13,7 @@ if (processForm()) {
|
|||
"\"" . $_POST['txt'] . "\""
|
||||
));
|
||||
|
||||
output(200, 'Enregistrement ajouté');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -47,10 +47,10 @@ if (processForm()) {
|
|||
|
||||
knotcConfExec([
|
||||
"set 'zone[" . $_POST['domain'] . "]'",
|
||||
"set 'zone[" . $_POST['domain'] . "].template' 'niver-ns'",
|
||||
"set 'zone[" . $_POST['domain'] . "].template' 'niver'",
|
||||
]);
|
||||
|
||||
output(200, 'La requête a été traitée.');
|
||||
output(200, 'La zone a été créée.');
|
||||
}
|
||||
|
||||
$proof = getAuthToken();
|
||||
|
|
|
@ -5,7 +5,7 @@ if (processForm()) {
|
|||
|
||||
nsDeleteZone($_POST['zone']);
|
||||
|
||||
output(200, 'Zone effacée.');
|
||||
output(200, 'La zone a été supprimée.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -35,7 +35,7 @@ if (processForm()) {
|
|||
$_POST['key']
|
||||
));
|
||||
|
||||
output(200, 'La requête a été envoyée à Knot');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -14,7 +14,7 @@ if (processForm()) {
|
|||
$_POST['ip']
|
||||
));
|
||||
|
||||
output(200, 'Glue record ajouté');
|
||||
output(200, 'Glue ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -11,7 +11,7 @@ if (processForm()) {
|
|||
$_POST['ns']
|
||||
));
|
||||
|
||||
output(200, 'Modification effectuée avec succès');
|
||||
output(200, 'Enregistrement ajouté/retiré.');
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue