From d85ced9da1cd059e6f6277950dd38d30faa236db Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= 
Date: Mon, 14 Apr 2008 03:42:42 +0000
Subject: [PATCH] another last minute fix: fix parse error in timing display
---
 bureau/admin/dom_editdns.php   | 2 +-
 bureau/admin/dom_subdodel.php  | 2 +-
 bureau/admin/dom_subdoedit.php | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
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)))); 
 ?>
 
 
diff --git a/bureau/admin/dom_subdodel.php b/bureau/admin/dom_subdodel.php
index 689c0c38..a6b1e6d8 100644
--- a/bureau/admin/dom_subdodel.php
+++ b/bureau/admin/dom_subdodel.php
@@ -51,7 +51,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
-        $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)))); 
 	    echo "".$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;