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

finnarne-guest at alioth.debian.org finnarne-guest at alioth.debian.org
Fri Apr 13 06:41:54 UTC 2007


  User: finnarne-guest
  Date: 07/04/13 06:41:54

  Modified:    templates config.tpl
  Log:
  html_options needs both values and outputs, unless you want a numerical
  output
  
  Revision  Changes    Path
  1.2       +8 -5      slbackup-php/templates/config.tpl
  
  Index: config.tpl
  ===================================================================
  RCS file: /cvsroot/slbackup/slbackup-php/templates/config.tpl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- config.tpl	13 Apr 2007 06:07:38 -0000	1.1
  +++ config.tpl	13 Apr 2007 06:41:54 -0000	1.2
  @@ -28,9 +28,9 @@
   	Backup enabled 
   	<INPUT type=checkbox name=active {$active}>
   	Run backup at
  -	{html_options name=minutes options=$a_minutes selected=$minutes}
  +	{html_options name=minutes values=$a_minutes output=$a_minutes selected=$minutes}
   	:
  -	{html_options name=hours options=$a_hours selected=$hours}
  +	{html_options name=hours values=$a_hours output=$a_hours selected=$hours}
   	<INPUT type=submit name=scheduler value="Update">
   	<INPUT type=reset name=reset value="Reset">
   	<H2>Server config</H2>
  @@ -50,7 +50,8 @@
   	    <TR>
   		<TD>Servertype</TD>
   		<TD>
  -		    {html_options name=server_type options=$types selected=$server_type}
  +		    {html_options name=server_type values=$types 
  +		                  output=$types selected=$server_type}
   		</TD>
   		<TD>User</TD>
   		<TD>
  @@ -70,7 +71,8 @@
   	</TABLE>
   	<H2>Client config</H2>
   	Client: 
  -	{html_options name=client options=$clients selected=$client}
  +	{html_options name=client values=$clients output=$clients 
  +	              selected=$client}
   	<INPUT type=submit name=chooseclient value="Choose">
   	<INPUT type=submit name=addclient value="New">
   	<INPUT type=submit name=delclient value="Remove">
  @@ -90,7 +92,8 @@
   	    <TR>
   		<TD>Clienttype</TD>
   		<TD>
  -		    {html_options name=client_type options=$types selected=$client_type}
  +		    {html_options name=client_type values=$types 
  +		                  output=$types selected=$client_type}
   		</TD>
   		<TD>User</TD>
   		<TD>
  
  
  



More information about the slbackup-commit mailing list