[slbackup-commit] CVS update: slbackup-php/templates header.tpl
maint.tpl
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Tue Apr 17 09:24:37 UTC 2007
User: finnarne-guest
Date: 07/04/17 09:24:37
Modified: templates header.tpl
Added: templates maint.tpl
Log:
added maintenance (cleanup) of old backups
Revision Changes Path
1.2 +1 -0 slbackup-php/templates/header.tpl
Index: header.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/header.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- header.tpl 17 Apr 2007 06:18:58 -0000 1.1
+++ header.tpl 17 Apr 2007 09:24:37 -0000 1.2
@@ -31,6 +31,7 @@
<li><A HREF=index.php?status=submit>{t}Status{/t}</A></li>
<li><A HREF=index.php?config=submit>{t}Config{/t}</A></li>
<li><A HREF=index.php?restore=submit>{t}Restore{/t}</A></li>
+ <li><A HREF=index.php?maint=submit>{t}Maintenance{/t}</A></li>
<li><A HREF=index.php?logout=submit>{t}Logout{/t}</A></li>
</ul>
1.1 slbackup-php/templates/maint.tpl
Index: maint.tpl
===================================================================
{*
slbackup-php, an administration tool for slbackup
Copyright (C) 2007 Finn-Arne Johansen <faj at bzz.no>, Bzzware AS, Norway
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*}
{include file="header.tpl"}
<FORM action="index.php" method=post>
<H2>{t}Maintenance{/t}</H2>
{html_options name=client values=$clients output=$clients
selected=$client}
<INPUT type=submit name=maint value="{t}Choose{/t}">
{if $client <> "" }
<INPUT type=hidden name=selected value="{$client}">
{t}Oldest snapshot to keep:{/t}</TD>
{html_options name=snapshot values=$snapshots output=$snapshots
selected=$snapshot}
<INPUT type=submit name=removesnapshot value="{t}Delete older{/t}">
{/if}
<HR>
{foreach item=removedss from=$removed}
{$removedss}<BR>
{/foreach}
</FORM>
</HTML>
More information about the slbackup-commit
mailing list