[slbackup-commit] CVS update: slbackup-php/templates status.tpl
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Wed Apr 18 05:15:18 UTC 2007
User: finnarne-guest
Date: 07/04/18 05:15:18
Modified: templates status.tpl
Log:
Report if keys are working or if rdiff-backup versions differ
Revision Changes Path
1.5 +12 -3 slbackup-php/templates/status.tpl
Index: status.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/status.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- status.tpl 17 Apr 2007 20:46:25 -0000 1.4
+++ status.tpl 18 Apr 2007 05:15:18 -0000 1.5
@@ -27,11 +27,20 @@
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:"%c"}
+ {t 1=$values.ok|date_format:"%c"}OK at %1{/t}
{elseif $values.failed <> ''}
- Failed at {$values.ok|date_format:"%c"}
+ {t 1=$values.ok|date_format:"%c"}Failed at %1{/t}
{elseif $values.started == ''}
- Client never backed up
+ {t}Client never backed up{/t}
+ {/if}
+ <BR>
+ {if $checkkeysandversions.clients.$client.ssh == 'ok'}
+ {t}ssh-keys are working{/t}<BR>
+ {if $checkkeysandversions.clients.$client.rdiff-backup <> $checkkeysandversions.version}
+ {t}rdiff-backup-versions differ{/t}
+ {/if}
+ {else}
+ {t}ssh-keys are not working{/t}
{/if}
</LI>
{/foreach}
More information about the slbackup-commit
mailing list