another last minute fix: fix parse error in timing display
This commit is contained in:
		
							parent
							
								
									7cfa0db5ed
								
							
						
					
					
						commit
						d85ced9da1
					
				| 
						 | 
				
			
			@ -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)))); 
 | 
			
		||||
?><br />
 | 
			
		||||
<a href="login.php" target="_top"><?php __("Click here to continue"); ?></a>
 | 
			
		||||
</p>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 "<p class=\"error\">".$error."</p>";
 | 
			
		||||
	}
 | 
			
		||||
?>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue