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

finnarne-guest at alioth.debian.org finnarne-guest at alioth.debian.org
Mon Apr 16 15:58:53 UTC 2007


  User: finnarne-guest
  Date: 07/04/16 15:58:53

  Modified:    templates menu.tpl
  Added:       templates restore.tpl
  Log:
  Added the begining of a restor
  Made status the default choice if nothing else is detected
  
  Revision  Changes    Path
  1.2       +2 -1      slbackup-php/templates/menu.tpl
  
  Index: menu.tpl
  ===================================================================
  RCS file: /cvsroot/slbackup/slbackup-php/templates/menu.tpl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- menu.tpl	13 Apr 2007 20:44:48 -0000	1.1
  +++ menu.tpl	16 Apr 2007 15:58:53 -0000	1.2
  @@ -22,8 +22,9 @@
     <form name=menu method=post>
       <INPUT type=hidden name=xorstring value="{$xorstring}">
       <ul>
  -        <li><input type=submit name=config value="{t}Config{/t}"></li>
           <li><input type=submit name=status value="{t}Status{/t}"></li>
  +        <li><input type=submit name=config value="{t}Config{/t}"></li>
  +        <li><input type=submit name=restore value="{t}Restore{/t}"></li>
           <li><input type=submit name=logout value="{t}Logout{/t}"></li>
      </ul>
   
  
  
  
  1.1                  slbackup-php/templates/restore.tpl
  
  Index: restore.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.
  *}
  <html>
      <head>
  	<title>{t}SLBackup Configuration{/t}</title>
      </head>
      <body>
      {include file="menu.tpl"}
  
      <FORM method=post>
  	<INPUT type=hidden name=xorstring value="{$xorstring}">
  	<H2>{t}Client to restore{/t}</H2>
  	{html_options name=client values=$clients output=$clients 
  	              selected=$client}
  	<INPUT type=submit name=restoreclient value="{t}Choose{/t}">
          {t}Locations:{/t}</TD>
  	{html_options name=client values=$locations output=$locations 
  	              selected=$location}
  	<INPUT type=submit name=restorelocation value="{t}Browse{/t}">
      </FORM>
  </HTML>
  
  
  



More information about the slbackup-commit mailing list