Bug#700257: Correction for slbackup-php login ans checkbox option

Monsieur Cyril ETCHEVERRIA cyril.e at wanadoo.fr
Fri Jun 14 15:34:58 UTC 2013


Package: slbackup-php
Severity: normal


Correction __________________________________________________
/usr/share/slbackup-php/web# diff index.php.orig index.php
622a623
>             break ;
656a658
>             break ;
711,712c713,714
<     sscanf ($array[0], "%d", $config["minutes"]) ; 
<     sscanf ($array[1], "%d", $config["hours"]) ; 
---
>     sscanf ($array[0], "%s", $config["minutes"]) ; 
>     sscanf ($array[1], "%s", $config["hours"]) ; 
Correction __________________________________________________
/usr/share/slbackup-php/templates# diff config.tpl.orig config.tpl
48,49c48
< 		    {html_options name=server_type values=$types 
< 		                  output=$types selected=$server_type}
---
> 		    {html_options name=server_type values=$types output=$types selected=$server_type}
69,70c68
< 	{html_options name=client values=$clients output=$clients 
< 	              selected=$client}
---
> 	{html_options name=client values=$clients output=$clients selected=$client}
90,91c88
< 		    {html_options name=client_type values=$types 
< 		                  output=$types selected=$client_type}
---

> 		    {html_options name=client_type values=$types output=$types selected=$client_type}

/usr/share/slbackup-php/templates# diff maint.tpl.orig maint.tpl
23,24c23
< 	{html_options name=client values=$clients output=$clients 
< 	              selected=$client}
---
> 	{html_options name=client values=$clients output=$clients selected=$client}
29,30c28
< 	{html_options name=snapshot values=$snapshots output=$snapshots
< 	              selected=$snapshot}
---
> 	{html_options name=snapshot values=$snapshots output=$snapshots selected=$snapshot}


/usr/share/slbackup-php/templates# diff restore.tpl.orig restore.tpl
23,24c23
< 	{html_options name=client values=$clients output=$clients 
< 	              selected=$client}
---
> 	{html_options name=client values=$clients output=$clients selected=$client}
27,28c26
< 	{html_options name=location values=$locations output=$locations 
< 	              selected=$location}
---
> 	{html_options name=location values=$locations output=$locations selected=$location}

Missing File _________________________________________________
# cat /etc/slbackup/config.php 
<?
######################################################
# Fichier de configuration de slbackup-php
######################################################

# Comportement sur acces non sécurisé (mot de passe root en clair sur le réseaux)
# les valeurs sont "warn", "allow", "deny".
#$nonhttps	=	"warn";
# Chemin relatif des templates
#$smarty_templ	=	"../templates";
# Chemin du spool des php temporaires
#$smarty_compile	=	"/var/spool/slbackup-php";

$backuphost	="nom du serveur slbackup" ;
#$backupuser	="root" ;
#$backupconf	="/etc/slbackup/slbackup.conf" ;
#$backupcron	="/etc/cron.d/slbackup" ;
# option -v pour un log plus détaillé dans >>>> /tmp/error.log <<<<<<<
$ssh_options	="-v -o StrictHostKeyChecking=no" ;
#$logfile	="/var/log/slbackup/slbackup.log" ;

?>
______________________________________________________________

-- System Information:
Debian Release: 6.0.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
For all your IT requirements visit: http://www.transtec.co.uk



More information about the Debian-edu-pkg-team mailing list