[slbackup-commit] CVS update: slbackup-php/templates status.tpl

finnarne-guest at alioth.debian.org finnarne-guest at alioth.debian.org
Mon Apr 16 20:07:49 UTC 2007


  User: finnarne-guest
  Date: 07/04/16 20:07:49

  Modified:    templates status.tpl
  Log:
  Print timestamp including time
  
  Revision  Changes    Path
  1.2       +5 -5      slbackup-php/templates/status.tpl
  
  Index: status.tpl
  ===================================================================
  RCS file: /cvsroot/slbackup/slbackup-php/templates/status.tpl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- status.tpl	16 Apr 2007 11:45:33 -0000	1.1
  +++ status.tpl	16 Apr 2007 20:07:48 -0000	1.2
  @@ -30,12 +30,12 @@
          <LI>Status for {$client}
          <BR>
          {if $values.started > $values.ok and $values.started > $values.failed }
  -           Backup started as {$values.started|date_format}, and is still in progress<BR>
  +           Backup started as {$values.started|date_format:"%c"}, and is still in progress<BR>
          {/if}
          {if $values.ok > $values.failed }
  -           OK at {$values.ok|date_format}
  +           OK at {$values.ok|date_format:"%c"}
          {elseif $values.failed <> ''}
  -           Failed at {$values.ok|date_format}
  +           Failed at {$values.ok|date_format:"%c"}
          {elseif $values.started == ''}
              Client never backed up
          {/if}
  @@ -44,9 +44,9 @@
       </UL>
       <H2>{t}Backup status{/t}</H2>
   
  -    {t 1=$log.end|date_format}Backup last finished at %1{/t}<BR>
  +    {t 1=$log.end|date_format:"%c"}Backup last finished at %1{/t}<BR>
       {if $log.start > $values.end }
  -	{t 1=$log.end|date_format}A new backup started at %1{/t}<BR>
  +	{t 1=$log.end|date_format:"%c"}A new backup started at %1{/t}<BR>
       {/if}
       </Body>
   </HTML>
  
  
  



More information about the slbackup-commit mailing list