Changeset 2133

Show
Ignore:
Timestamp:
04/14/08 05:42:42 (5 months ago)
Author:
anarcat
Message:

another last minute fix: fix parse error in timing display

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/admin/dom_editdns.php

    r2113 r2133  
    6060  # that modulo (%) there computes the time of the next cron job 
    6161  # XXX: we assume the cron job is at every 5 minutes 
    62   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))));  
     62  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))));  
    6363?><br /> 
    6464<a href="login.php" target="_top"><?php __("Click here to continue"); ?></a> 
  • alternc/trunk/bureau/admin/dom_subdodel.php

    r2113 r2133  
    5252        # that modulo (%) there computes the time of the next cron job 
    5353        # XXX: we assume the cron job is at every 5 minutes 
    54         $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))));  
     54        $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))));  
    5555            echo "<p class=\"error\">".$error."</p>"; 
    5656        } 
  • alternc/trunk/bureau/admin/dom_subdoedit.php

    r2113 r2133  
    5555  # that modulo (%) there computes the time of the next cron job 
    5656  # XXX: we assume the cron job is at every 5 minutes 
    57   $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)))); 
     57  $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)))); 
    5858} 
    5959include("dom_edit.php");