[slbackup-commit] CVS update: slbackup-php/templates restore.tpl
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Mon Apr 16 21:08:41 UTC 2007
User: finnarne-guest
Date: 07/04/16 21:08:41
Modified: templates restore.tpl
Log:
Added code to browse the backuplocation
Revision Changes Path
1.2 +8 -1 slbackup-php/templates/restore.tpl
Index: restore.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/restore.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- restore.tpl 16 Apr 2007 15:58:53 -0000 1.1
+++ restore.tpl 16 Apr 2007 21:08:41 -0000 1.2
@@ -30,8 +30,15 @@
selected=$client}
<INPUT type=submit name=restoreclient value="{t}Choose{/t}">
{t}Locations:{/t}</TD>
- {html_options name=client values=$locations output=$locations
+ {html_options name=location values=$locations output=$locations
selected=$location}
<INPUT type=submit name=restorelocation value="{t}Browse{/t}">
+ <BR>
+ {foreach item=dir name=dir from=$loc.d}
+ [dir] {$dir} <BR>
+ {/foreach}
+ {foreach item=file name=file from=$loc.f}
+ [file] {$file} <BR>
+ {/foreach}
</FORM>
</HTML>
More information about the slbackup-commit
mailing list