Changeset 2113
- Timestamp:
- 04/11/08 03:01:59 (5 months ago)
- Files:
-
- alternc/trunk/bureau/admin/dom_editdns.php (modified) (1 diff)
- alternc/trunk/bureau/admin/dom_subdodel.php (modified) (1 diff)
- alternc/trunk/bureau/admin/dom_subdoedit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/admin/dom_editdns.php
r107 r2113 54 54 <h3><?php printf(_("Editing domain %s"),$domain); ?></h3> 55 55 <p> 56 <?php printf(_("The domain %s has been changed. The modifications will take effect in 5 minutes."),$domain); ?><br /> 56 <?php 57 printf(_("The domain %s has been changed."),$domain); 58 # take the current time 59 $t = time(); 60 # that modulo (%) there computes the time of the next cron job 61 # 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)))); 63 ?><br /> 57 64 <a href="login.php" target="_top"><?php __("Click here to continue"); ?></a> 58 65 </p> alternc/trunk/bureau/admin/dom_subdodel.php
r1905 r2113 48 48 exit(); 49 49 } else { 50 echo "<p class=\"error\">"._("The subdomain has been deleted. Changes will take place in 5 minutes.")."</p>"; 50 # take the current time 51 $t = time(); 52 # that modulo (%) there computes the time of the next cron job 53 # 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)))); 55 echo "<p class=\"error\">".$error."</p>"; 51 56 } 52 57 ?> alternc/trunk/bureau/admin/dom_subdoedit.php
r1 r2113 51 51 $error=$err->errstr(); 52 52 } else { 53 $error=_("The modifications will take effect in 5 minutes."); 53 # take the current time 54 $t = time(); 55 # that modulo (%) there computes the time of the next cron job 56 # 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)))); 54 58 } 55 59 include("dom_edit.php");
