diff --git a/bureau/admin/dom_editdns.php b/bureau/admin/dom_editdns.php
index 7a6c4631..5ef5a33d 100644
--- a/bureau/admin/dom_editdns.php
+++ b/bureau/admin/dom_editdns.php
@@ -59,7 +59,7 @@ include("head.php");
$t = time();
# that modulo (%) there computes the time of the next cron job
# 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))));
?>
".$error."
"; } ?> diff --git a/bureau/admin/dom_subdoedit.php b/bureau/admin/dom_subdoedit.php index 3200aa1d..18848ce4 100644 --- a/bureau/admin/dom_subdoedit.php +++ b/bureau/admin/dom_subdoedit.php @@ -54,7 +54,7 @@ if (!$r) { $t = time(); # that modulo (%) there computes the time of the next cron job # XXX: we assume the cron job is at every 5 minutes - $error=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)))); + $error=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)))); } include("dom_edit.php"); exit;