[debian-edu-commits] debian-edu/slbackup-php.git (#26) - master (branch) updated: debian/0.3-3-1-g43b8b7b

Mike Gabriel sunweaver at alioth.debian.org
Fri Mar 22 22:06:14 UTC 2013


The branch, master has been updated
  discards  b485d30be7cca2e8d639b95faf58371ec0531813 (commit)
  discards  ad0beba3586cbb887fa0728d31851ecc93f256e4 (commit)
  discards  6bf0dcfd1d7d02be06a41358841f236b320900c9 (commit)
  discards  538079e60787e01d9242bb1ccf767a3852d5fc8f (commit)
  discards  601f13c780add72382cb3f47c9f486035c2b7f0f (commit)
  discards  0a134ae89f71035c271e064cae9d3fafd33a06c9 (commit)
  discards  eefe33e23d0691a8c7c222b9f01c723f0675b5d4 (commit)
  discards  fba9ea406c75b2e88578f6b09c53c2194d58d085 (commit)
  discards  ccc46f6a03c8a1c68174d45a029f5d5d5ffa51ef (commit)
  discards  0a3634a7af569f21d184413c22104d2ca1e13860 (commit)
  discards  ecb8f44c8d600699a10aeab7716b9fd4b1e55c73 (commit)
  discards  4f24c2d657b5ad7ffe479386eee60459e7214a93 (commit)
  discards  72fe08243473f9df4fa0cf4cff88471955aa9a5a (commit)
  discards  c54a0417454ee8519db880bb07104951c5e0c082 (commit)
  discards  0e8ca51727aa8098a1cbb89fbbd31238c6692f84 (commit)
  discards  fb963e548a3cffd16dd05a8da7396cfe5bd7f35c (commit)
  discards  89b4c949a9cd83b3192df7317b8f7101cf7c3a87 (commit)
  discards  3c77169dfdf82059bbe5269593dfdd52c10581b0 (commit)
  discards  1bb5972f1d51735c43b22b15a7717a6ea8a7c89b (commit)
  discards  96208813c483e0bdc93f6cf8d21da0bcda7d62d0 (commit)
  discards  f68a79e11b90426d7baee08d90dd246c84c6de54 (commit)
  discards  5461a7ae35195fb837a98d3ded1b0e2f95b272a1 (commit)
  discards  b60a89e8a9f1ccd8ddc9c4562c9f0f2bff2b456b (commit)
  discards  c17e25b597b425083ed4204a07278c5b23cdb466 (commit)
  discards  3b16f711e65e802bee6679f0408dacec76e6a4e6 (commit)
  discards  40e1d2689abfe531dc029e9c397c9e508ce136d1 (commit)
  discards  aa63f1c6303f313e748c1666e91dec1ea636617a (commit)
  discards  d199838b5b4130334ded50a65a6cca81a41b076c (commit)
  discards  c801d0dd88e86f810d66157e6be4891ebb8fa838 (commit)
  discards  5a046126feae0662bb12948de6188e31d8d29991 (commit)
  discards  b2d37c7fddaeb66e8d8eda7c856adce300724145 (commit)
  discards  a81b1cb699b1e3e5f0e518392f7361180e11470f (commit)
  discards  001683bbec269e774dd565d46f9f677fe01b4f3d (commit)
  discards  8a69349218f145567e68c4db59ba7dc95050ed78 (commit)
  discards  9664a72c2768ea2094d1bc22627b01b0c64d6370 (commit)
  discards  90d69abfb1bc6695aeb329c436614743234cebd9 (commit)
  discards  a54f4452bff65d249a6aa74c7be1fd2356f37788 (commit)
  discards  03468a78bfd13e9d2a4285b49789c79979f60e9a (commit)
  discards  076f534078306927b96a59f21e2d88af90b16ea0 (commit)
  discards  2271e54879de3377e5a37571d2a69098669607be (commit)
  discards  943f01c8b738108f46c90b00ca328e5b355b49a6 (commit)
  discards  d069319abc7c68711657dcf812678c2f95425ce6 (commit)
  discards  cda362d8e3a2bc7439199eb0aba8bbc0e43b372a (commit)
  discards  43a591f89390c751012342f107dfd222dcee4434 (commit)
  discards  ab9aa39055c84d6b718e1d3919a223d9349e0262 (commit)
  discards  846a5c60389ee4ce4c9d961650b261715f238100 (commit)
  discards  67facac926750228225f284135f446330dbe8ac8 (commit)
  discards  f2afa3de72d037b25a6c50948137bca76068ae12 (commit)
  discards  e7001061ed9b4dc127d98029dbcfa8d5e5b1e70f (commit)
  discards  071d5628436190c4aa195a5ea5baa70554275e42 (commit)
  discards  23b07069ae6acf7bfa9a31a0ebba52da29b999be (commit)
  discards  5c3763cf8b83c0b5595e37d895acb6050bc08171 (commit)
  discards  43aa8f4a6b18f84e91780123eb7f9684c8852d4b (commit)
  discards  336d035df77055eabff6053c16d5e6aeed8dc3bd (commit)
  discards  c40e4ba7b210cd584dd6c687cd0d048b40815de9 (commit)
  discards  07f35188631c681057bcef6c2e94675397d359a0 (commit)
  discards  3953607810f8c71ca2ea16ea3e7fd44f767f3c9a (commit)
  discards  9ab516944fb5f4f6121a1e93bd12c6207e92312e (commit)
  discards  6774adb0c275f342029ed4dec3d7807304e4d6e9 (commit)
  discards  23e6c7e825ef7570de4a7840d6dd7f517fa4d8de (commit)
  discards  ff0c8b84f95720de80843446a60e96f39cc10dfe (commit)
  discards  547c4cdc50b7b5c40b56960268d8f3fdf207821c (commit)
  discards  7521db53f58e3417c578b3661d4a351ee4729dc8 (commit)
  discards  240d2026ec45a985bfd189d3cf6223eceb8adde2 (commit)
  discards  bca97967eda799865459e655cd5ab45c843fd0d9 (commit)
  discards  a0a5f5a53caca23171cc9195fd61f702816fc877 (commit)
  discards  31032c7cacb59e3e953813ed31061f1b0bb3db1c (commit)
  discards  a4fea16dc8659abab018f528450076b73d62e3f5 (commit)
  discards  5feb87d4b7ec6b2c94d8c56beb98cbfd2e6433bf (commit)
  discards  199215d2693c2942b277e049ac741b8e4553e74c (commit)
       via  43b8b7bb30dde14aa3ee9c4dbab4fa6d4c4c0cce (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (b485d30be7cca2e8d639b95faf58371ec0531813)
            \
             N -- N -- N (43b8b7bb30dde14aa3ee9c4dbab4fa6d4c4c0cce)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   45 +-
 Makefile                                           |    9 +-
 debian/README.source                               |    7 -
 debian/changelog                                   |   12 +
 debian/compat                                      |    2 +-
 debian/control                                     |   24 +-
 .../001_slbackup-php_cookie+request-merge.patch    |   75 +
 ...02_slbackup-php_restore-paths-with-blanks.patch |  149 ++
 ...lbackup-php_fix-failed-in-status-template.patch |   13 +
 .../004_slbackup-php_translate-status-for.patch    |   13 +
 .../099_slbackup-php_i18n-pot-po-update.patch      | 1579 ++++++++++++++++++++
 .../100_slbackup-php_fix-language-detection.patch  |   98 ++
 debian/patches/101_slbackup-php_i18n-de.patch      |  303 ++++
 debian/patches/series                              |    7 +
 debian/po/sv.po                                    |    4 +-
 debian/rules                                       |   14 +-
 debian/slbackup.desktop                            |    4 +-
 debian/source/format                               |    2 +-
 debian/watch                                       |    4 -
 po/de.po                                           |  290 ----
 po/es.po                                           |  230 ++--
 po/fr.po                                           |  288 ----
 po/nb_NO.po                                        |  224 ++--
 po/slbackup-php.pot                                |  215 ++--
 po/sv.po                                           |  250 ++--
 src/functions.php                                  |   69 +-
 src/index.php                                      |   63 +-
 templates/login.tpl                                |    4 +-
 templates/maint.tpl                                |    2 +-
 templates/restore.tpl                              |   18 +-
 templates/status.tpl                               |   10 +-
 31 files changed, 2775 insertions(+), 1252 deletions(-)
 create mode 100644 debian/patches/001_slbackup-php_cookie+request-merge.patch
 create mode 100644 debian/patches/002_slbackup-php_restore-paths-with-blanks.patch
 create mode 100644 debian/patches/003_slbackup-php_fix-failed-in-status-template.patch
 create mode 100644 debian/patches/004_slbackup-php_translate-status-for.patch
 create mode 100644 debian/patches/099_slbackup-php_i18n-pot-po-update.patch
 create mode 100644 debian/patches/100_slbackup-php_fix-language-detection.patch
 create mode 100644 debian/patches/101_slbackup-php_i18n-de.patch
 create mode 100644 debian/patches/series
 delete mode 100644 debian/watch
 delete mode 100644 po/de.po
 delete mode 100644 po/fr.po

The diff of changes is:
diff --git a/ChangeLog b/ChangeLog
index 2f301cb..1815842 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,46 +1,3 @@
-Thu, 12 Jul 2012                Mike Gabriel
-
-        * Release 0.4.3:
-          - Add changes of 0.4.2 to this file, the ChangeLog
-            maintenance had been forgotten for 0.4.2.
-
-Thu, 12 Jul 2012                Mike Gabriel
-
-        * Release 0.4.2:
-          - Avoid empty $bindir directory.
-          - Fix building of .mo files.
-          - Fix nonhttps URL parameter.
-        * Pick packaging files from debian/0.4.1-1 (prep. uploaded to
-          mentors.debian.net).
-
-Sun, 08 Jul 2012                Mike Gabriel
-
-        * Release 0.4.1:
-          - Stop shipping smarty-gettext-like code.
-          - Do not update .po files on normal build/install.
-          - po/sv.po got lost, re-created the file from an earlier version.
-        * Drop smarty-gettext build-dependency.
-
-Sun, 01 Jul 2012                Mike Gabriel
-
-        * Release 0.4.0:
-          - Accept patch slbackup-php_cookie+request-merge.patch from Debian.
-          - Accept patch slbackup-php_restore-paths-with-blanks.patch from Debian.
-          - Accept patch slbackup-php_fix-failed-in-status-template.patch from Debian.
-          - Accept patch slbackup-php_translate-status-for.patch from Debian.
-          - Accept patch slbackup-php_i18n-pot-po-update.patch from Debian.
-          - Accept patch slbackup-php_fix-language-detection.patch from Debian.
-          - Accept patch slbackup-php_i18n-de.patch from Debian.
-          - Accept patch slbackup-php_chmod-cron-file.patch from Debian.
-          - Accept patch slbackup-php_i18n-fr.patch from Debian.
-          - Use smarty3.
-          - Split up smarty3-gettext code from functions.php.
-        * Use packaging files from latest Debian package (0.3-3).
-
-Wed, 16 Jan 2007                Patrick Winnertz
-
-        * Add --language=PHP to the xgettext options
-
 Wed, 25 Apr 2007                Finn-Arne Johansen
 
         * Release 0.2
@@ -62,6 +19,6 @@ Fri, 13 Apr 2007                Finn-Arne Johansen
 
         * Release 0.0.1
         * First version reelased in public
-        Copyright 2007 by Finn-Arne Johansen, BzzWare AS, Norway
+	Copyright 2007 by Finn-Arne Johansen, BzzWare AS, Norway
         See the accompanying file "COPYRIGHT" for details.  
         THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
diff --git a/Makefile b/Makefile
index 415685f..68e6a82 100644
--- a/Makefile
+++ b/Makefile
@@ -39,8 +39,8 @@ po/*.po: po/slbackup-php.pot
 	cp $@ $@.bak ; \
 	msgmerge $@.bak $^ > $@ 
 
-locales/mo-stamp:
-	for po in po/*.po ; do \
+locales/mo-stamp: po/*.po
+	for po in $^ ; do \
 	    locale=$$(basename $$po .po) ; \
 	    echo $$locale ; \
 	    mkdir -p locales/$$locale/LC_MESSAGES ; \
@@ -52,10 +52,9 @@ mo-files: locales/mo-stamp
 
 po/slbackup-php.pot: src/*.php templates/*.tpl
 	tsmarty2c.php templates | \
-	    xgettext --add-comments --language=PHP --default-domain=slbackup-php \
+	    xgettext --add-comments --default-domain=slbackup-php \
 	        - src/*.php --output po/slbackup-php.pot
 
-po-files: po/*.po
 
 install: all
 	install -d $(DESTDIR)$(sharedir)
@@ -67,7 +66,7 @@ install: all
 	install -d $(DESTDIR)$(scriptdir)
 	install -d $(DESTDIR)$(templatedir)
 	install -d $(DESTDIR)$(localedir)
-	#install -d $(DESTDIR)$(bindir)
+	install -d $(DESTDIR)$(bindir)
 
 
 	for locale in $$(find locales -type f -name $(PACKAGE).mo -printf "%P ") ; do \
diff --git a/debian/README.source b/debian/README.source
index e53b155..5dde0bf 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,10 +1,3 @@
-UPSTREAM
---------
-slbackup and slbackup-php upstream are developed on Alioth SVN:
-http://anonscm.debian.org/viewvc/slbackup/
-
-PATCH SYSTEM
-------------
 This package uses quilt to manage all modifications to the upstream
 source.  Changes are stored in the source package as diffs in
 debian/patches and applied during the build.
diff --git a/debian/changelog b/debian/changelog
index 59de552..0f16097 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -42,6 +42,17 @@ slbackup-php (0.3-3) unstable; urgency=low
   * Add patch: 003_slbackup-php_fix-failed-in-status-template.patch,
     for last failed backup really show timestamp of the last failed backup
     and not erroneously the timestamp of the last successful backup.
+  * Add patch: 004_slbackup-php_translate-status-for.patch, make the headline
+    of the status page template translatable.
+  * Add patch: 099_slbackup-php_i18n-pot-po-update.patch, update pot file
+    and merge po files, translate status page headline for all available
+    languages.
+  * Add patch: 100_slbackup-php_fix-language-detection.patch. Automatically
+    detect locales like de_DE.UTF-8 from a .mo files named de.po.
+  * Add patch: 101_slbackup-php_i18n-de.patch, German translation for SL-Backup
+    (WebGUI).
+  * Update patch: 100_slbackup-php_fix-language-detection.patch. Detect
+    Norwegian (nb_NO) locale and set it. (Browser still in English.)
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Wed, 18 Jan 2012 17:05:14 +0100
 
@@ -112,6 +123,7 @@ slbackup-php (0.3-1) unstable; urgency=low
     Thanks to everybody who provided a translation!
   * Added translation of slbackup-php itself. 
     Thanks to Daniel Nylander.
+  * 
 
  -- Patrick Winnertz <patrick.winnertz at skolelinux.org>  Fri, 13 Jul 2007 21:16:33 +0200
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..7ed6ff8 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+5
diff --git a/debian/control b/debian/control
index 566a0e9..f1a4e9b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,31 +1,18 @@
 Source: slbackup-php
 Section: misc
 Priority: optional
-Maintainer: Debian Edu Packaging Team <debian-edu-pkg-team at lists.alioth.debian.org>
+Maintainer: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
 Uploaders:
- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>,
  Patrick Winnertz <winnie at debian.org>,
  Morten Werner Olsen <werner at debian.org>,
  Finn-Arne Johansen <faj at bzz.no>
-Standards-Version: 3.9.3
-Build-Depends:
- debhelper (>= 7.0.50~),
- po-debconf,
-Homepage: http://anonscm.debian.org/gitweb/?p=debian-edu/upstream/slbackup-php.git;a=summary
-Vcs-Git: git://git.debian.org/debian-edu/slbackup-php.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-edu/slbackup-php.git;a=summary
+Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 5), po-debconf, smarty-gettext, php5-cli, quilt (>= 0.46-7~)
 
 Package: slbackup-php
 Architecture: all
-Depends:
- ${misc:Depends},
- libapache2-mod-php5,
- apache2,
- smarty3,
- ssh,
- php5-cli,
- smarty-gettext (>= 1.0b1-7)
-Description: Web-based administration tool for slbackup
+Depends: ${misc:Depends}, libapache2-mod-php5, apache2, smarty, ssh, php5-cli, smarty-gettext 
+Description: web-based administration tool for slbackup
  Slbackup-php provides the necessary functions to maintain a slbackup
  repository.
  .
@@ -35,4 +22,3 @@ Description: Web-based administration tool for slbackup
   - verifying SSH keys and successful backups;
   - restoring from backups;
   - removing old backups from the repository.
-
diff --git a/debian/patches/001_slbackup-php_cookie+request-merge.patch b/debian/patches/001_slbackup-php_cookie+request-merge.patch
new file mode 100644
index 0000000..4ad804d
--- /dev/null
+++ b/debian/patches/001_slbackup-php_cookie+request-merge.patch
@@ -0,0 +1,75 @@
+Description: Fix returning to the login page on every click
+ Fix returning to the login page on every click
+ 
+ This patch closes Debian BTS issue #655832.
+.
+ This patch is not forwarded to upstream as Debian Edu
+ seems to become upstream and package maintainer for
+ next (wheezy) release.
+Forwarded: not-needed
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+--- a/src/index.php
++++ b/src/index.php
+@@ -570,21 +570,33 @@
+ loadConfig () ;
+ require('/usr/share/php/smarty/libs/Smarty.class.php') ; 
+ session_start() ;
+-$authenticated = ($_COOKIE['Authenticated'] == "True") ;
+ loadLocale () ; 
+ ob_start ();
+ 
+ $smarty = new Smarty();
+ $smarty->template_dir = $smarty_templ ; 
+ $smarty->compile_dir = $smarty_compile ; 
++unset ($_COOKIE['smarty_templ']);
++unset ($_COOKIE['smarty_compile']);
+ 
+ # fetch script to use whith passing the ssh-password
+ $ssh_askpass = sprintf ("%s/script/mypass.sh", 
+                         dirname (dirname ($_SERVER["SCRIPT_FILENAME"])));
+ 
++$arguments = $_REQUEST;
++
++# merge _COOKIE and _REQUEST
++$allowed_cookie_keys = array('nonhttps', 'xorstring', 'PHPSESSID', 'locale',);
++foreach ($_COOKIE as $key => $value) {
++    if ((! array_key_exists($key, $arguments)) && (in_array($key, $allowed_cookie_keys))) {
++	if (is_string($key) && is_string($value)) {
++	    $arguments[$key] = $value;
++	}
++    }
++}
+ 
+ # Fetch arguments passed as the script is executed
+-foreach ($_REQUEST as $key => $value) {
++foreach ($arguments as $key => $value) {
+     switch ($key) {
+         case "smarty_templ": 
+         case "smarty_compile": 
+@@ -597,7 +609,7 @@
+             break ; 
+         case "xorstring": 
+             if (empty($passwd))
+-		$xorstring = $value ; 
++		$xorstring = base64_decode($value) ; 
+             else break ; 
+             if (empty ($value))
+                 break ; 
+@@ -640,6 +652,8 @@
+     }
+ }
+ 
++unset ($arguments);
++
+ if ($submit == "logout") {
+     unset ($passwd) ; 
+     unset ($xorstring) ; 
+@@ -666,7 +680,7 @@
+     $xorstring = xorstring ($encrypt, $passwd) ; 
+ }
+ 
+-setcookie ('xorstring', $xorstring) ; 
++setcookie ('xorstring', base64_encode($xorstring)) ; 
+ 
+ $scheduler = readcron ($passwd) ; 
+ 
diff --git a/debian/patches/002_slbackup-php_restore-paths-with-blanks.patch b/debian/patches/002_slbackup-php_restore-paths-with-blanks.patch
new file mode 100644
index 0000000..2eb5c31
--- /dev/null
+++ b/debian/patches/002_slbackup-php_restore-paths-with-blanks.patch
@@ -0,0 +1,149 @@
+Description: Fix restoring files with blanks in their name.
+ Fix restoring files with blanks in their name.
+ 
+ This patch is not forwarded to upstream as Debian Edu
+ seems to become upstream and package maintainer for
+ next (wheezy) release.
+ 
+ This patch closes Debian BTS issue #565181.
+Forwarded: not-needed
+Author: Cyril ETCHEVERRIA <cyril.e at wanadoo.fr>
+--- a/templates/restore.tpl
++++ b/templates/restore.tpl
+@@ -42,13 +42,13 @@
+ 	        <IMG SRC="/icons/generic.gif" alt="[   ]">
+ 	    {/if}    
+ 	    {if $dir.type == "file"}
+-		<A HREF=index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}</A>
++		<A HREF="index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}</A>
+ 	    {elseif $dir.type == "delfile"}
+-		<A HREF=index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}(deleted)</A>
++		<A HREF="index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}(deleted)</A>
+ 	    {elseif $dir.type == deldir}
+-		<A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name} ({t}Deleted{/t})</A>
++		<A HREF="index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name} ({t}Deleted{/t})</A>
+ 	    {else}
+-		<A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}</A>
++		<A HREF="index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}</A>
+ 	    {/if}    
+ 	    <BR>
+ 	{/foreach}
+@@ -59,13 +59,13 @@
+ 	        <IMG SRC="/icons/transfer.gif" alt="[   ]">
+ 	    {/if}    
+ 	    {if $version.type == "parent"}
+-		<A HREF=index.php?restorelocation&client={$client}&sub={$version.sub}&location={$location}>{$version.name}</A>
++		<A HREF="index.php?restorelocation&client={$client}&sub={$version.sub}&location={$location}">{$version.name}</A>
+ 	    {elseif $version.type == "currentfile"}
+-		<A HREF=index.php?restorefile&client={$client}&file={$version.sub}&location={$location}&revision=current>current</A>
++		<A HREF="index.php?restorefile&client={$client}&file={$version.sub}&location={$location}&revision=current">current</A>
+ 	    {elseif $version.type == "diff.gz"}
+-		<A HREF=index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}>{$version.ts}</A>
++		<A HREF="index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}">{$version.ts}</A>
+ 	    {elseif $version.type == "snapshot.gz"}
+-		<A HREF=index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}>{$version.ts}</A>
++		<A HREF="index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}">{$version.ts}</A>
+ 	    {else}
+ 		unknown snapshot type $version.type
+ 	    {/if}    
+--- a/src/index.php
++++ b/src/index.php
+@@ -71,7 +71,7 @@
+ function removesnapshots ($passwd, $clientdir, $snapshot) {
+ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
+ 
+-    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force --remove-older-than %s %s'", 
++    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force --remove-older-than %s \"%s\"'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $snapshot, $clientdir) ; 
+ 
+@@ -98,7 +98,7 @@
+ function listsnapshots ($passwd, $clientdir) {
+ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
+ 
+-    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data -maxdepth 1 -name \"increments.*\" -printf %s'", 
++    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data\" -maxdepth 1 -name \"increments.*\" -printf %s'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, '"%P\n"') ; 
+ 
+@@ -126,7 +126,7 @@
+ function fetchfile ($passwd, $clientdir, $location, $file) {
+ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
+ 
+-    $cmd = sprintf ("ssh %s %s@%s 'cat %s%s/%s'", 
++    $cmd = sprintf ("ssh %s %s@%s 'cat \"%s%s/%s\"'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $file ) ; 
+ 
+@@ -169,7 +169,7 @@
+     } else unset ($tempfile) ; 
+     if (empty($tempfile))
+         return ; 
+-    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force %s/rdiff-backup-data/increments%s/%s %s'", 
++    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force \"%s/rdiff-backup-data/increments%s/%s %s\"'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $file, $tempfile ) ; 
+ 
+@@ -180,7 +180,7 @@
+ 	fclose ($pipes[1]) ; 
+ 	proc_close ($proc) ; 
+     } 
+-    $cmd = sprintf ("ssh %s %s@%s 'cat %s && rm %s'", 
++    $cmd = sprintf ("ssh %s %s@%s 'cat \"%s\" && rm \"%s\"'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $tempfile, $tempfile) ; 
+     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
+@@ -213,7 +213,7 @@
+ 
+     $env = array ('SSH_ASKPASS' => $ssh_askpass, 
+ 		  'DISPLAY' => ':nowhere') ; 
+-    $cmd = sprintf ("ssh %s %s@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type f -name %s'", 
++    $cmd = sprintf ("ssh %s %s@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"%s\"'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $parent, $base ) ; 
+     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
+@@ -230,7 +230,7 @@
+ 	proc_close ($proc) ; 
+     }
+     $baselen= strlen ($base) ; 
+-    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type f -name \"%s*.gz\"'", 
++    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"%s*.gz\"'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $parent, $base ) ; 
+ 
+@@ -283,7 +283,7 @@
+ 
+     $env = array ('SSH_ASKPASS' => $ssh_askpass, 
+ 		  'DISPLAY' => ':nowhere') ; 
+-    $cmd = sprintf ("ssh %s %s@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type d'", 
++    $cmd = sprintf ("ssh %s %s@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type d'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $sub ) ; 
+     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
+@@ -299,7 +299,7 @@
+ 	fclose ($pipes[1]) ; 
+ 	proc_close ($proc) ; 
+     }
+-    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type d'", 
++    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type d'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $sub ) ; 
+     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
+@@ -322,7 +322,7 @@
+ 	fclose ($pipes[1]) ; 
+ 	proc_close ($proc) ; 
+     }
+-    $cmd = sprintf ("ssh %s %s@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type f'", 
++    $cmd = sprintf ("ssh %s %s@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type f'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $sub ) ; 
+ 
+@@ -339,7 +339,7 @@
+ 	fclose ($pipes[1]) ; 
+ 	proc_close ($proc) ; 
+     }
+-    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type f -name \"*.snapshot.gz\"'", 
++    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"*.snapshot.gz\"'",
+    		     $ssh_options, $backupuser, 
+ 		     $backuphost, $clientdir, $location, $sub ) ; 
+     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
diff --git a/debian/patches/003_slbackup-php_fix-failed-in-status-template.patch b/debian/patches/003_slbackup-php_fix-failed-in-status-template.patch
new file mode 100644
index 0000000..0939b66
--- /dev/null
+++ b/debian/patches/003_slbackup-php_fix-failed-in-status-template.patch
@@ -0,0 +1,13 @@
+Index: slbackup-php/templates/status.tpl
+===================================================================
+--- slbackup-php.orig/templates/status.tpl	2012-01-17 20:18:55.000000000 +0100
++++ slbackup-php/templates/status.tpl	2012-01-17 20:19:40.000000000 +0100
+@@ -29,7 +29,7 @@
+        {if $values.ok > $values.failed }
+            {t 1=$values.ok|date_format:"%c"}OK at %1{/t}
+        {elseif $values.failed <> ''}
+-           {t 1=$values.ok|date_format:"%c"}Failed at %1{/t}
++           {t 1=$values.failed|date_format:"%c"}Failed at %1{/t}
+        {elseif $values.started == ''}
+            {t}Client never backed up{/t}
+        {/if}
diff --git a/debian/patches/004_slbackup-php_translate-status-for.patch b/debian/patches/004_slbackup-php_translate-status-for.patch
new file mode 100644
index 0000000..6e72c19
--- /dev/null
+++ b/debian/patches/004_slbackup-php_translate-status-for.patch
@@ -0,0 +1,13 @@
+Index: slbackup-php/templates/status.tpl
+===================================================================
+--- slbackup-php.orig/templates/status.tpl	2012-01-17 20:39:39.000000000 +0100
++++ slbackup-php/templates/status.tpl	2012-01-17 20:39:40.000000000 +0100
+@@ -21,7 +21,7 @@
+     <H2>{t}Clients{/t}</H2>
+     <UL>
+     {foreach from=$log.clients key=client item=values}
+-       <LI>Status for {$client}
++       <LI>{t 1=$client}Status for %1{/t}
+        <BR>
+        {if $values.started > $values.ok and $values.started > $values.failed }
+            Backup started as {$values.started|date_format:"%c"}, and is still in progress<BR>
diff --git a/debian/patches/099_slbackup-php_i18n-pot-po-update.patch b/debian/patches/099_slbackup-php_i18n-pot-po-update.patch
new file mode 100644
index 0000000..b9ffe44
--- /dev/null
+++ b/debian/patches/099_slbackup-php_i18n-pot-po-update.patch
@@ -0,0 +1,1579 @@
+Index: slbackup-php/po/es.po
+===================================================================
+--- slbackup-php.orig/po/es.po	2012-01-17 20:41:36.000000000 +0100
++++ slbackup-php/po/es.po	2012-01-17 20:55:57.000000000 +0100
+@@ -7,271 +7,279 @@
+ msgstr ""
+ "Project-Id-Version: es\n"
+ "Report-Msgid-Bugs-To: \n"
+-"POT-Creation-Date: 2007-04-25 10:31+0200\n"
+-"PO-Revision-Date: 2007-05-22 15:56+0000\n"
+-"Last-Translator: José L. Redrejo Rodríguez\n"
++"POT-Creation-Date: 2012-01-17 20:55+0100\n"
++"PO-Revision-Date: 2012-01-17 20:44+0100\n"
++"Last-Translator: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>\n"
+ "Language-Team:  <es at li.org>\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=UTF-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
+ "X-Generator: KBabel 1.11.1\n"
+ 
+-#. templates/maint.tpl
+-#. templates/header.tpl
+-#: standard input:2 standard input:26
+-msgid "Maintenance"
+-msgstr "Mantenimiento"
+-
+-#. templates/maint.tpl
+-#. templates/config.tpl
+-#. templates/restore.tpl
+-#: standard input:5 standard input:74 standard input:110
+-msgid "Choose"
+-msgstr "Elija"
+-
+-#. templates/maint.tpl
+-#: standard input:8
+-msgid "Oldest snapshot to keep:"
+-msgstr "La copia más antigua a mantener:"
+-
+-#. templates/maint.tpl
+-#: standard input:11
+-msgid "Delete older"
+-msgstr "Borrar lo más viejo"
+-
+-#. templates/header.tpl
+-#: standard input:14
+-msgid "SLBackup Configuration"
+-msgstr "Configuración de SLBackup"
+-
+-#. templates/header.tpl
+-#: standard input:17
+-msgid "Status"
+-msgstr "Estado"
+-
+-#. templates/header.tpl
+-#: standard input:20
+-msgid "Config"
+-msgstr "Configuración"
+-
+-#. templates/header.tpl
+-#: standard input:23
+-msgid "Restore"
+-msgstr "Restaurar"
+-
+-#. templates/header.tpl
+-#: standard input:29
+-msgid "Logout"
+-msgstr "Salir"
+-
+ #. templates/config.tpl
+-#: standard input:32
++#: standard input:2
+ msgid "Server scheduler"
+ msgstr "Programar el servidor"
+ 
+ #. templates/config.tpl
+-#: standard input:35
++#: standard input:5
+ msgid "Backup enabled"
+ msgstr "Copia de seguridad habilitada"
+ 
+ #. templates/config.tpl
+-#: standard input:38
++#: standard input:8
+ msgid "Run backup at"
+ msgstr "Ejecutar la copia de seguridad a las"
+ 
+ #. templates/config.tpl
+-#: standard input:41 standard input:62 src/index.php:924
++#: standard input:11 input:32 src/index.php:938
+ msgid "Update"
+ msgstr "Actualizar"
+ 
+ #. templates/config.tpl
+ #. templates/login.tpl
+-#: standard input:44 standard input:65 standard input:95 standard input:170
++#: standard input:14 input:35 input:65 input:161
+ msgid "Reset"
+ msgstr "Reiniciar"
+ 
+ #. templates/config.tpl
+-#: standard input:47
++#: standard input:17
+ msgid "Server config"
+ msgstr "Configuración del servidor"
+ 
+ #. templates/config.tpl
+-#: standard input:50 standard input:83
++#: standard input:20 input:53
+ msgid "Address"
+ msgstr "Dirección"
+ 
+ #. templates/config.tpl
+-#: standard input:53
++#: standard input:23
+ msgid "Destdir"
+ msgstr "DirecciónFinal"
+ 
+ #. templates/config.tpl
+-#: standard input:56
++#: standard input:26
+ msgid "Servertype"
+ msgstr "TipoServidor"
+ 
+ #. templates/config.tpl
+-#: standard input:59 standard input:92
++#: standard input:29 input:62
+ msgid "User"
+ msgstr "Usuario"
+ 
+ #. templates/config.tpl
+-#: standard input:68
++#: standard input:38
+ msgid "Client config"
+ msgstr "Configuración del cliente"
+ 
+ #. templates/config.tpl
+-#: standard input:71
++#: standard input:41
+ msgid "Client:"
+ msgstr "Cliente:"
+ 
+ #. templates/config.tpl
+-#: standard input:77
++#. templates/restore.tpl
++#. templates/maint.tpl
++#: standard input:44 input:113 input:167
++msgid "Choose"
++msgstr "Elija"
++
++#. templates/config.tpl
++#: standard input:47
+ msgid "New"
+ msgstr "Nuevo"
+ 
+ #. templates/config.tpl
+-#: standard input:80
++#: standard input:50
+ msgid "Remove"
+ msgstr "Eliminar"
+ 
+ #. templates/config.tpl
+-#: standard input:86
++#: standard input:56
+ msgid "Backup Age"
+ msgstr "Antiguedad de la copia"
+ 
+ #. templates/config.tpl
+-#: standard input:89
++#: standard input:59
+ msgid "Clienttype"
+ msgstr "TipoCliente"
+ 
+ #. templates/config.tpl
+ #. templates/restore.tpl
+-#: standard input:98 standard input:113
++#: standard input:68 input:116
+ msgid "Locations:"
+ msgstr "Lugares:"
+ 
+ #. templates/config.tpl
+-#: standard input:101 src/index.php:922
++#: standard input:71 src/index.php:936
+ msgid "Add"
+ msgstr "Añadir"
+ 
+ #. templates/config.tpl
+-#: standard input:104
++#: standard input:74
+ msgid "Delete"
+ msgstr "Borrar"
+ 
+-#. templates/restore.tpl
+-#: standard input:107
+-msgid "Client to restore"
+-msgstr "Cliente a restaurar"
+-
+-#. templates/restore.tpl
+-#: standard input:116
+-msgid "Browse"
+-msgstr "Explorar"
+-
+-#. templates/restore.tpl
+-#: standard input:119
+-msgid "Restore of %1"
+-msgstr "Restauración de %1"
+-
+-#. templates/restore.tpl
+-#: standard input:122
+-msgid "Deleted"
+-msgstr "Borrado"
+-
+ #. templates/status.tpl
+-#: standard input:125
++#: standard input:77
+ msgid "Clients"
+ msgstr "Clientes"
+ 
+ #. templates/status.tpl
+-#: standard input:128
++#: standard input:80
++msgid "Status for %1"
++msgstr "Estado para %1"
++
++#. templates/status.tpl
++#: standard input:83
+ msgid "OK at %1"
+ msgstr "OK en %1"
+ 
+ #. templates/status.tpl
+-#: standard input:131
++#: standard input:86
+ msgid "Failed at %1"
+ msgstr "Falló en %1"
+ 
+ #. templates/status.tpl
+-#: standard input:134
++#: standard input:89
+ msgid "Client never backed up"
+ msgstr "Nunca se ha hecho copia de ese cliente"
+ 
+ #. templates/status.tpl
+-#: standard input:137
++#: standard input:92
+ msgid "ssh-keys are working"
+ msgstr "las claves de ssh funcionan"
+ 
+ #. templates/status.tpl
+-#: standard input:140
++#: standard input:95
+ msgid "rdiff-backup-versions differ"
+ msgstr "las versiones de diferencia de copias no son iguales"
+ 
+ #. templates/status.tpl
+-#: standard input:143
++#: standard input:98
+ msgid "ssh-keys are not working"
+ msgstr "las claves de ssh no funcionan"
+ 
+ #. templates/status.tpl
+-#: standard input:146
++#: standard input:101
+ msgid "Backup status"
+ msgstr "Estado de la copia"
+ 
+ #. templates/status.tpl
+-#: standard input:149
++#: standard input:104
+ msgid "Backup last finished at %1"
+ msgstr "La última copia de seguridad acabó a las %1"
+ 
+ #. templates/status.tpl
+-#: standard input:152
++#: standard input:107
+ msgid "A new backup started at %1"
+ msgstr "Una nueva copia de seguridad comenzó a las %1"
+ 
++#. templates/restore.tpl
++#: standard input:110
++msgid "Client to restore"
++msgstr "Cliente a restaurar"
++
++#. templates/restore.tpl
++#: standard input:119
++msgid "Browse"
++msgstr "Explorar"
++
++#. templates/restore.tpl
++#: standard input:122
++msgid "Restore of %1"
++msgstr "Restauración de %1"
++
++#. templates/restore.tpl
++#: standard input:125
++msgid "Deleted"
++msgstr "Borrado"
++
++#. templates/header.tpl
++#: standard input:128
++msgid "SLBackup Configuration"
++msgstr "Configuración de SLBackup"
++
++#. templates/header.tpl
++#: standard input:131
++msgid "Status"
++msgstr "Estado"
++
++#. templates/header.tpl
++#: standard input:134
++msgid "Config"
++msgstr "Configuración"
++
++#. templates/header.tpl
++#: standard input:137
++msgid "Restore"
++msgstr "Restaurar"
++
++#. templates/header.tpl
++#. templates/maint.tpl
++#: standard input:140 input:164
++msgid "Maintenance"
++msgstr "Mantenimiento"
++
++#. templates/header.tpl
++#: standard input:143
++msgid "Logout"
++msgstr "Salir"
++
+ #. templates/login.tpl
+-#: standard input:155
++#: standard input:146
+ msgid "To read the configuration, you must log in as %1 on %2."
+ msgstr "Para leer la configuración, debe entrar como %1 en %2."
+ 
+ #. templates/login.tpl
+-#: standard input:158
++#: standard input:149
+ msgid "Please enter the password for the %1 account on %2:"
+ msgstr "Introduzca la contraseña para la cuenta %1 en %2:"
+ 
+ #. templates/login.tpl
+-#: standard input:161
++#: standard input:152
+ msgid ""
+ "WARNING: you are about to send you password over an unencrypted link, please "
+ "ask your administrator to enable https"
+-msgstr "AVISO: Está a punto de enviar su contraseña por un enlace sin encriptar, solicite a su administrador que habilite https"
++msgstr ""
++"AVISO: Está a punto de enviar su contraseña por un enlace sin encriptar, "
++"solicite a su administrador que habilite https"
+ 
+ #. templates/login.tpl
+-#: standard input:164
++#: standard input:155
+ msgid ""
+ "Login to this application is denied without the use of https. Please ask "
+ "your administrator to enable https"
+-msgstr "No está autorizado entrar en esta aplicación sin usar https. Solicite a su administrador que habilite https"
++msgstr ""
++"No está autorizado entrar en esta aplicación sin usar https. Solicite a su "
++"administrador que habilite https"
+ 
+ #. templates/login.tpl
+-#: standard input:167
++#: standard input:158
+ msgid "Login"
+ msgstr "Entrar"
+ 
+-#: src/index.php:735
++#. templates/maint.tpl
++#: standard input:170
++msgid "Oldest snapshot to keep:"
++msgstr "La copia más antigua a mantener:"
++
++#. templates/maint.tpl
++#: standard input:173
++msgid "Delete older"
++msgstr "Borrar lo más viejo"
++
++#: src/index.php:749
+ #, php-format
+ msgid "No client specified :("
+ msgstr "No se ha especificado un cliente :("
+ 
+-#: src/index.php:740
++#: src/index.php:754
+ #, php-format
+ msgid "Unable to find %s in the list of clients."
+ msgstr "No se ha podido encontrar a %s en la lista de clientes."
+ 
+-#: src/index.php:774
++#: src/index.php:788
+ #, php-format
+ msgid "Unable to find %s in the locations of %s."
+ msgstr "No se ha podido encontrar a %s en los lugares de %s."
+-
+Index: slbackup-php/po/nb_NO.po
+===================================================================
+--- slbackup-php.orig/po/nb_NO.po	2012-01-17 20:41:36.000000000 +0100
++++ slbackup-php/po/nb_NO.po	2012-01-17 20:55:57.000000000 +0100
+@@ -7,242 +7,237 @@
+ msgstr ""
+ "Project-Id-Version: slbackup 0.0.1\n"
+ "Report-Msgid-Bugs-To: \n"
+-"POT-Creation-Date: 2007-04-25 10:31+0200\n"
+-"PO-Revision-Date: 2007-04-25 10:34+0200\n"
+-"Last-Translator: Finn-Arne Johansen<faj at bzz.no>\n"
++"POT-Creation-Date: 2012-01-17 20:55+0100\n"
++"PO-Revision-Date: 2012-01-17 20:47+0100\n"
++"Last-Translator: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>\n"
+ "Language-Team: Norsk bokmål\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=utf-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
+ 
+-#. templates/maint.tpl
+-#. templates/header.tpl
+-#: standard input:2 input:26
+-msgid "Maintenance"
+-msgstr "Vedlikehold"
+-
+-#. templates/maint.tpl
+ #. templates/config.tpl
+-#. templates/restore.tpl
+-#: standard input:5 input:74 input:110
+-msgid "Choose"
+-msgstr "Velg"
+-
+-#. templates/maint.tpl
+-#: standard input:8
+-msgid "Oldest snapshot to keep:"
+-msgstr "Eldste kopi som skal beholdes:"
+-
+-#. templates/maint.tpl
+-#: standard input:11
+-msgid "Delete older"
+-msgstr "Slett eldre"
+-
+-#. templates/header.tpl
+-#: standard input:14
+-msgid "SLBackup Configuration"
+-msgstr "SLBackup Konfigurasjon"
+-
+-#. templates/header.tpl
+-#: standard input:17
+-msgid "Status"
+-msgstr "Status"
+-
+-#. templates/header.tpl
+-#: standard input:20
+-msgid "Config"
+-msgstr "Konfigurasjon"
+-
+-#. templates/header.tpl
+-#: standard input:23
+-msgid "Restore"
+-msgstr "Gjennopprett"
+-
+-#. templates/header.tpl
+-#: standard input:29
+-msgid "Logout"
+-msgstr "Logg ut"
+-
+-#. templates/config.tpl
+-#: standard input:32
++#: standard input:2
+ msgid "Server scheduler"
+ msgstr "Tidsplanlegging"
+ 
+ #. templates/config.tpl
+-#: standard input:35
++#: standard input:5
+ msgid "Backup enabled"
+ msgstr "Sikkerhetskopiering aktivert"
+ 
+ #. templates/config.tpl
+-#: standard input:38
++#: standard input:8
+ msgid "Run backup at"
+ msgstr "Kjør sikkerhetskopiering klokken"
+ 
+ #. templates/config.tpl
+-#: standard input:41 input:62 src/index.php:924
++#: standard input:11 input:32 src/index.php:938
+ msgid "Update"
+ msgstr "Oppdater"
+ 
+ #. templates/config.tpl
+ #. templates/login.tpl
+-#: standard input:44 input:65 input:95 input:170
++#: standard input:14 input:35 input:65 input:161
+ msgid "Reset"
+ msgstr "Tilbakestill"
+ 
+ #. templates/config.tpl
+-#: standard input:47
++#: standard input:17
+ msgid "Server config"
+ msgstr "Konfigurasjon for tjener"
+ 
+ #. templates/config.tpl
+-#: standard input:50 input:83
++#: standard input:20 input:53
+ msgid "Address"
+ msgstr "Adresse"
+ 
+ #. templates/config.tpl
+-#: standard input:53
++#: standard input:23
+ msgid "Destdir"
+ msgstr "Målkatalog"
+ 
+ #. templates/config.tpl
+-#: standard input:56
++#: standard input:26
+ msgid "Servertype"
+ msgstr "Type"
+ 
+ #. templates/config.tpl
+-#: standard input:59 input:92
++#: standard input:29 input:62
+ msgid "User"
+ msgstr "Bruker"
+ 
+ #. templates/config.tpl
+-#: standard input:68
++#: standard input:38
+ msgid "Client config"
+ msgstr "Konfigurasjon av klienter"
+ 
+ #. templates/config.tpl
+-#: standard input:71
++#: standard input:41
+ msgid "Client:"
+ msgstr "Klient:"
+ 
+ #. templates/config.tpl
+-#: standard input:77
++#. templates/restore.tpl
++#. templates/maint.tpl
++#: standard input:44 input:113 input:167
++msgid "Choose"
++msgstr "Velg"
++
++#. templates/config.tpl
++#: standard input:47
+ msgid "New"
+ msgstr "Ny"
+ 
+ #. templates/config.tpl
+-#: standard input:80
++#: standard input:50
+ msgid "Remove"
+ msgstr "Slett"
+ 
+ #. templates/config.tpl
+-#: standard input:86
++#: standard input:56
+ msgid "Backup Age"
+ msgstr "Alder på backup"
+ 
+ #. templates/config.tpl
+-#: standard input:89
++#: standard input:59
+ msgid "Clienttype"
+ msgstr "Type"
+ 
+ #. templates/config.tpl
+ #. templates/restore.tpl
+-#: standard input:98 input:113
++#: standard input:68 input:116
+ msgid "Locations:"
+ msgstr "Kataloger:"
+ 
+ #. templates/config.tpl
+-#: standard input:101 src/index.php:922
++#: standard input:71 src/index.php:936
+ msgid "Add"
+ msgstr "Legg til"
+ 
+ #. templates/config.tpl
+-#: standard input:104
++#: standard input:74
+ msgid "Delete"
+ msgstr "Slett"
+ 
+-#. templates/restore.tpl
+-#: standard input:107
+-msgid "Client to restore"
+-msgstr "Klient som skal gjenskapes"
+-
+-#. templates/restore.tpl
+-#: standard input:116
+-msgid "Browse"
+-msgstr "Bla"
+-
+-#. templates/restore.tpl
+-#: standard input:119
+-msgid "Restore of %1"
+-msgstr "Gjennoppretting av %1"
+-
+-#. templates/restore.tpl
+-#: standard input:122
+-msgid "Deleted"
+-msgstr "Slettet"
+-
+ #. templates/status.tpl
+-#: standard input:125
++#: standard input:77
+ msgid "Clients"
+ msgstr "Klient"
+ 
+ #. templates/status.tpl
+-#: standard input:128
++#: standard input:80
++msgid "Status for %1"
++msgstr "Status for %1"
++
++#. templates/status.tpl
++#: standard input:83
+ msgid "OK at %1"
+ msgstr "OK %1"
+ 
+ #. templates/status.tpl
+-#: standard input:131
++#: standard input:86
+ msgid "Failed at %1"
+ msgstr "Feiler %1"
+ 
+ #. templates/status.tpl
+-#: standard input:134
++#: standard input:89
+ msgid "Client never backed up"
+ msgstr "Det er aldri tatt sikkerhetskopi av klienten"
+ 
+ #. templates/status.tpl
+-#: standard input:137
++#: standard input:92
+ msgid "ssh-keys are working"
+ msgstr "sshnøkler er satt rett opp"
+ 
+ #. templates/status.tpl
+-#: standard input:140
++#: standard input:95
+ msgid "rdiff-backup-versions differ"
+ msgstr "Det er forskjellig versjon av rdiff-backup"
+ 
+ #. templates/status.tpl
+-#: standard input:143
++#: standard input:98
+ msgid "ssh-keys are not working"
+ msgstr "sshnøkler er ikke satt korrekt opp"
+ 
+ #. templates/status.tpl
+-#: standard input:146
++#: standard input:101
+ msgid "Backup status"
+ msgstr "Status for Sikkerhetskopiering"
+ 
+ #. templates/status.tpl
+-#: standard input:149
++#: standard input:104
+ msgid "Backup last finished at %1"
+ msgstr "Sikkerhetskopiering ble fullført %1"
+ 
+ #. templates/status.tpl
+-#: standard input:152
++#: standard input:107
+ msgid "A new backup started at %1"
+ msgstr "En ny sikkerhetskopieringsjobb ble startet %1"
+ 
++#. templates/restore.tpl
++#: standard input:110
++msgid "Client to restore"
++msgstr "Klient som skal gjenskapes"
++
++#. templates/restore.tpl
++#: standard input:119
++msgid "Browse"
++msgstr "Bla"
++
++#. templates/restore.tpl
++#: standard input:122
++msgid "Restore of %1"
++msgstr "Gjennoppretting av %1"
++
++#. templates/restore.tpl
++#: standard input:125
++msgid "Deleted"
++msgstr "Slettet"
++
++#. templates/header.tpl
++#: standard input:128
++msgid "SLBackup Configuration"
++msgstr "SLBackup Konfigurasjon"
++
++#. templates/header.tpl
++#: standard input:131
++msgid "Status"
++msgstr "Status"
++
++#. templates/header.tpl
++#: standard input:134
++msgid "Config"
++msgstr "Konfigurasjon"
++
++#. templates/header.tpl
++#: standard input:137
++msgid "Restore"
++msgstr "Gjennopprett"
++
++#. templates/header.tpl
++#. templates/maint.tpl
++#: standard input:140 input:164
++msgid "Maintenance"
++msgstr "Vedlikehold"
++
++#. templates/header.tpl
++#: standard input:143
++msgid "Logout"
++msgstr "Logg ut"
++
+ #. templates/login.tpl
+-#: standard input:155
++#: standard input:146
+ msgid "To read the configuration, you must log in as %1 on %2."
+ msgstr ""
+ "For å se på konfigurasjonen, må du logge inn som bruker %1 på maskinen %2"
+ 
+ #. templates/login.tpl
+-#: standard input:158
++#: standard input:149
+ msgid "Please enter the password for the %1 account on %2:"
+ msgstr "Legg inn passordet for bruker %1 på %2:"
+ 
+ #. templates/login.tpl
+-#: standard input:161
++#: standard input:152
+ msgid ""
+ "WARNING: you are about to send you password over an unencrypted link, please "
+ "ask your administrator to enable https"
+@@ -252,29 +247,40 @@
+ "for denne applikasjonen"
+ 
+ #. templates/login.tpl
+-#: standard input:164
++#: standard input:155
+ msgid ""
+ "Login to this application is denied without the use of https. Please ask "
+ "your administrator to enable https"
+ msgstr ""
+-"Det er ikke mulig å logge inn uten bruk av https. Be din administrator om å sette opp bruken av https"
++"Det er ikke mulig å logge inn uten bruk av https. Be din administrator om å "
++"sette opp bruken av https"
+ 
+ #. templates/login.tpl
+-#: standard input:167
++#: standard input:158
+ msgid "Login"
+ msgstr "Logg inn"
+ 
+-#: src/index.php:735
++#. templates/maint.tpl
++#: standard input:170
++msgid "Oldest snapshot to keep:"
++msgstr "Eldste kopi som skal beholdes:"
++
++#. templates/maint.tpl
++#: standard input:173
++msgid "Delete older"
++msgstr "Slett eldre"
++
++#: src/index.php:749
+ #, php-format
+ msgid "No client specified :("
+ msgstr "Ingen klient ble valgt å slette"
+ 
+-#: src/index.php:740
++#: src/index.php:754
+ #, php-format
+ msgid "Unable to find %s in the list of clients."
+ msgstr "Fant ikke klienten %s i listen."
+ 
+-#: src/index.php:774
++#: src/index.php:788
+ #, php-format
+ msgid "Unable to find %s in the locations of %s."
+ msgstr "Finner ikke %s i listen av kataloger."
+Index: slbackup-php/po/slbackup-php.pot
+===================================================================
+--- slbackup-php.orig/po/slbackup-php.pot	2012-01-17 20:40:16.000000000 +0100
++++ slbackup-php/po/slbackup-php.pot	2012-01-17 20:55:57.000000000 +0100
+@@ -8,7 +8,7 @@
+ msgstr ""
+ "Project-Id-Version: PACKAGE VERSION\n"
+ "Report-Msgid-Bugs-To: \n"
+-"POT-Creation-Date: 2007-04-25 10:31+0200\n"
++"POT-Creation-Date: 2012-01-17 20:55+0100\n"
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+ "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+ "Language-Team: LANGUAGE <LL at li.org>\n"
+@@ -16,261 +16,266 @@
+ "Content-Type: text/plain; charset=CHARSET\n"
+ "Content-Transfer-Encoding: 8bit\n"
+ 
+-#. templates/maint.tpl
+-#. templates/header.tpl
+-#: standard input:2 standard input:26
+-msgid "Maintenance"
+-msgstr ""
+-
+-#. templates/maint.tpl
+ #. templates/config.tpl
+-#. templates/restore.tpl
+-#: standard input:5 standard input:74 standard input:110
+-msgid "Choose"
+-msgstr ""
+-
+-#. templates/maint.tpl
+-#: standard input:8
+-msgid "Oldest snapshot to keep:"
+-msgstr ""
+-
+-#. templates/maint.tpl
+-#: standard input:11
+-msgid "Delete older"
+-msgstr ""
+-
+-#. templates/header.tpl
+-#: standard input:14
+-msgid "SLBackup Configuration"
+-msgstr ""
+-
+-#. templates/header.tpl
+-#: standard input:17
+-msgid "Status"
+-msgstr ""
+-
+-#. templates/header.tpl
+-#: standard input:20
+-msgid "Config"
+-msgstr ""
+-
+-#. templates/header.tpl
+-#: standard input:23
+-msgid "Restore"
+-msgstr ""
+-
+-#. templates/header.tpl
+-#: standard input:29
+-msgid "Logout"
+-msgstr ""
+-
+-#. templates/config.tpl
+-#: standard input:32
++#: standard input:2
+ msgid "Server scheduler"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:35
++#: standard input:5
+ msgid "Backup enabled"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:38
++#: standard input:8
+ msgid "Run backup at"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:41 standard input:62 src/index.php:924
++#: standard input:11 standard input:32 src/index.php:938
+ msgid "Update"
+ msgstr ""
+ 
+ #. templates/config.tpl
+ #. templates/login.tpl
+-#: standard input:44 standard input:65 standard input:95 standard input:170
++#: standard input:14 standard input:35 standard input:65 standard input:161
+ msgid "Reset"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:47
++#: standard input:17
+ msgid "Server config"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:50 standard input:83
++#: standard input:20 standard input:53
+ msgid "Address"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:53
++#: standard input:23
+ msgid "Destdir"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:56
++#: standard input:26
+ msgid "Servertype"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:59 standard input:92
++#: standard input:29 standard input:62
+ msgid "User"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:68
++#: standard input:38
+ msgid "Client config"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:71
++#: standard input:41
+ msgid "Client:"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:77
++#. templates/restore.tpl
++#. templates/maint.tpl
++#: standard input:44 standard input:113 standard input:167
++msgid "Choose"
++msgstr ""
++
++#. templates/config.tpl
++#: standard input:47
+ msgid "New"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:80
++#: standard input:50
+ msgid "Remove"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:86
++#: standard input:56
+ msgid "Backup Age"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:89
++#: standard input:59
+ msgid "Clienttype"
+ msgstr ""
+ 
+ #. templates/config.tpl
+ #. templates/restore.tpl
+-#: standard input:98 standard input:113
++#: standard input:68 standard input:116
+ msgid "Locations:"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:101 src/index.php:922
++#: standard input:71 src/index.php:936
+ msgid "Add"
+ msgstr ""
+ 
+ #. templates/config.tpl
+-#: standard input:104
++#: standard input:74
+ msgid "Delete"
+ msgstr ""
+ 
+-#. templates/restore.tpl
+-#: standard input:107
+-msgid "Client to restore"
+-msgstr ""
+-
+-#. templates/restore.tpl
+-#: standard input:116
+-msgid "Browse"
+-msgstr ""
+-
+-#. templates/restore.tpl
+-#: standard input:119
+-msgid "Restore of %1"
+-msgstr ""
+-
+-#. templates/restore.tpl
+-#: standard input:122
+-msgid "Deleted"
++#. templates/status.tpl
++#: standard input:77
++msgid "Clients"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:125
+-msgid "Clients"
++#: standard input:80
++msgid "Status for %1"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:128
++#: standard input:83
+ msgid "OK at %1"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:131
++#: standard input:86
+ msgid "Failed at %1"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:134
++#: standard input:89
+ msgid "Client never backed up"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:137
++#: standard input:92
+ msgid "ssh-keys are working"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:140
++#: standard input:95
+ msgid "rdiff-backup-versions differ"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:143
++#: standard input:98
+ msgid "ssh-keys are not working"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:146
++#: standard input:101
+ msgid "Backup status"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:149
++#: standard input:104
+ msgid "Backup last finished at %1"
+ msgstr ""
+ 
+ #. templates/status.tpl
+-#: standard input:152
++#: standard input:107
+ msgid "A new backup started at %1"
+ msgstr ""
+ 
++#. templates/restore.tpl
++#: standard input:110
++msgid "Client to restore"
++msgstr ""
++
++#. templates/restore.tpl
++#: standard input:119
++msgid "Browse"
++msgstr ""
++
++#. templates/restore.tpl
++#: standard input:122
++msgid "Restore of %1"
++msgstr ""
++
++#. templates/restore.tpl
++#: standard input:125
++msgid "Deleted"
++msgstr ""
++
++#. templates/header.tpl
++#: standard input:128
++msgid "SLBackup Configuration"
++msgstr ""
++
++#. templates/header.tpl
++#: standard input:131
++msgid "Status"
++msgstr ""
++
++#. templates/header.tpl
++#: standard input:134
++msgid "Config"
++msgstr ""
++
++#. templates/header.tpl
++#: standard input:137
++msgid "Restore"
++msgstr ""
++
++#. templates/header.tpl
++#. templates/maint.tpl
++#: standard input:140 standard input:164
++msgid "Maintenance"
++msgstr ""
++
++#. templates/header.tpl
++#: standard input:143
++msgid "Logout"
++msgstr ""
++
+ #. templates/login.tpl
+-#: standard input:155
++#: standard input:146
+ msgid "To read the configuration, you must log in as %1 on %2."
+ msgstr ""
+ 
+ #. templates/login.tpl
+-#: standard input:158
++#: standard input:149
+ msgid "Please enter the password for the %1 account on %2:"
+ msgstr ""
+ 
+ #. templates/login.tpl
+-#: standard input:161
++#: standard input:152
+ msgid ""
+ "WARNING: you are about to send you password over an unencrypted link, please "
+ "ask your administrator to enable https"
+ msgstr ""
+ 
+ #. templates/login.tpl
+-#: standard input:164
++#: standard input:155
+ msgid ""
+ "Login to this application is denied without the use of https. Please ask "
+ "your administrator to enable https"
+ msgstr ""
+ 
+ #. templates/login.tpl
+-#: standard input:167
++#: standard input:158
+ msgid "Login"
+ msgstr ""
+ 
+-#: src/index.php:735
++#. templates/maint.tpl
++#: standard input:170
++msgid "Oldest snapshot to keep:"
++msgstr ""
++
++#. templates/maint.tpl
++#: standard input:173
++msgid "Delete older"
++msgstr ""
++
++#: src/index.php:749
+ #, php-format
+ msgid "No client specified :("
+ msgstr ""
+ 
+-#: src/index.php:740
++#: src/index.php:754
+ #, php-format
+ msgid "Unable to find %s in the list of clients."
+ msgstr ""
+ 
+-#: src/index.php:774
++#: src/index.php:788
+ #, php-format
+ msgid "Unable to find %s in the locations of %s."
+ msgstr ""
+Index: slbackup-php/po/sv.po
+===================================================================
+--- slbackup-php.orig/po/sv.po	2012-01-17 20:41:36.000000000 +0100
++++ slbackup-php/po/sv.po	2012-01-17 20:55:57.000000000 +0100
+@@ -7,278 +7,278 @@
+ msgstr ""
+ "Project-Id-Version: slbackup-php\n"
+ "Report-Msgid-Bugs-To: \n"
+-"POT-Creation-Date: 2007-04-25 10:31+0200\n"
+-"PO-Revision-Date: 2007-05-22 00:22+0100\n"
+-"Last-Translator: Daniel Nylander <po at danielnylander.se>\n"
++"POT-Creation-Date: 2012-01-17 20:55+0100\n"
++"PO-Revision-Date: 2012-01-17 20:48+0100\n"
++"Last-Translator: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>\n"
+ "Language-Team: Swedish <tp-sv at listor.tp-sv.se>\n"
+ "MIME-Version: 1.0\n"
+ "Content-Type: text/plain; charset=utf-8\n"
+ "Content-Transfer-Encoding: 8bit\n"
+ 
+-#. templates/maint.tpl
+-#. templates/header.tpl
+-#: standard input:2
+-#: standard input:26
+-msgid "Maintenance"
+-msgstr "Underhåll"
+-
+-#. templates/maint.tpl
+ #. templates/config.tpl
+-#. templates/restore.tpl
+-#: standard input:5
+-#: standard input:74
+-#: standard input:110
+-msgid "Choose"
+-msgstr "Välj"
+-
+-#. templates/maint.tpl
+-#: standard input:8
+-msgid "Oldest snapshot to keep:"
+-msgstr "Äldsta ögonblicksbild att spara:"
+-
+-#. templates/maint.tpl
+-#: standard input:11
+-msgid "Delete older"
+-msgstr "Ta bort äldre"
+-
+-#. templates/header.tpl
+-#: standard input:14
+-msgid "SLBackup Configuration"
+-msgstr "Konfiguration av SLBackup"
+-
+-#. templates/header.tpl
+-#: standard input:17
+-msgid "Status"
+-msgstr "Status"
+-
+-#. templates/header.tpl
+-#: standard input:20
+-msgid "Config"
+-msgstr "Konfiguration"
+-
+-#. templates/header.tpl
+-#: standard input:23
+-msgid "Restore"
+-msgstr "Återskapa"
+-
+-#. templates/header.tpl
+-#: standard input:29
+-msgid "Logout"
+-msgstr "Logga ut"
+-
+-#. templates/config.tpl
+-#: standard input:32
++#: standard input:2
+ msgid "Server scheduler"
+ msgstr "Schemaläggare"
+ 
+ #. templates/config.tpl
+-#: standard input:35
++#: standard input:5
+ msgid "Backup enabled"
+ msgstr "Säkerhetskopiering aktiverad"
+ 
+ #. templates/config.tpl
+-#: standard input:38
++#: standard input:8
+ msgid "Run backup at"
+ msgstr "Kör säkerhetskopiering klockan"
+ 
+ #. templates/config.tpl
+-#: standard input:41
+-#: standard input:62
+-#: src/index.php:924
++#: standard input:11 input:32 src/index.php:938
+ msgid "Update"
+ msgstr "Uppdatera"
+ 
+ #. templates/config.tpl
+ #. templates/login.tpl
+-#: standard input:44
+-#: standard input:65
+-#: standard input:95
+-#: standard input:170
++#: standard input:14 input:35 input:65 input:161
+ msgid "Reset"
+ msgstr "Nollställ"
+ 
+ #. templates/config.tpl
+-#: standard input:47
++#: standard input:17
+ msgid "Server config"
+ msgstr "Serverkonfiguration"
+ 
+ #. templates/config.tpl
+-#: standard input:50
+-#: standard input:83
++#: standard input:20 input:53
+ msgid "Address"
+ msgstr "Adress"
+ 
+ #. templates/config.tpl
+-#: standard input:53
++#: standard input:23
+ msgid "Destdir"
+ msgstr "Målkatalog"
+ 
+ #. templates/config.tpl
+-#: standard input:56
++#: standard input:26
+ msgid "Servertype"
+ msgstr "Servertyp"
+ 
+ #. templates/config.tpl
+-#: standard input:59
+-#: standard input:92
++#: standard input:29 input:62
+ msgid "User"
+ msgstr "Användare"
+ 
+ #. templates/config.tpl
+-#: standard input:68
++#: standard input:38
+ msgid "Client config"
+ msgstr "Klientkonfiguration"
+ 
+ #. templates/config.tpl
+-#: standard input:71
++#: standard input:41
+ msgid "Client:"
+ msgstr "Klient:"
+ 
+ #. templates/config.tpl
+-#: standard input:77
++#. templates/restore.tpl
++#. templates/maint.tpl
++#: standard input:44 input:113 input:167
++msgid "Choose"
++msgstr "Välj"
++
++#. templates/config.tpl
++#: standard input:47
+ msgid "New"
+ msgstr "Ny"
+ 
+ #. templates/config.tpl
+-#: standard input:80
++#: standard input:50
+ msgid "Remove"
+ msgstr "Ta bort"
+ 
+ #. templates/config.tpl
+-#: standard input:86
++#: standard input:56
+ msgid "Backup Age"
+ msgstr "Ålder för säkerhetskopior"
+ 
+ #. templates/config.tpl
+-#: standard input:89
++#: standard input:59
+ msgid "Clienttype"
+ msgstr "Klienttyp"
+ 
+ #. templates/config.tpl
+ #. templates/restore.tpl
+-#: standard input:98
+-#: standard input:113
++#: standard input:68 input:116
+ msgid "Locations:"
+ msgstr "Platser:"
+ 
+ #. templates/config.tpl
+-#: standard input:101
+-#: src/index.php:922
++#: standard input:71 src/index.php:936
+ msgid "Add"
+ msgstr "Lägg till"
+ 
+ #. templates/config.tpl
+-#: standard input:104
++#: standard input:74
+ msgid "Delete"
+ msgstr "Ta bort"
+ 
+-#. templates/restore.tpl
+-#: standard input:107
+-msgid "Client to restore"
+-msgstr "Klient att återskapa"
+-
+-#. templates/restore.tpl
+-#: standard input:116
+-msgid "Browse"
+-msgstr "Bläddra"
+-
+-#. templates/restore.tpl
+-#: standard input:119
+-msgid "Restore of %1"
+-msgstr "Återskapandet av %1"
+-
+-#. templates/restore.tpl
+-#: standard input:122
+-msgid "Deleted"
+-msgstr "Borttaget"
+-
+ #. templates/status.tpl
+-#: standard input:125
++#: standard input:77
+ msgid "Clients"
+ msgstr "Klienter"
+ 
+ #. templates/status.tpl
+-#: standard input:128
++#: standard input:80
++msgid "Status for %1"
++msgstr "Status för %1"
++
++#. templates/status.tpl
++#: standard input:83
+ msgid "OK at %1"
+ msgstr "OK %1"
+ 
+ #. templates/status.tpl
+-#: standard input:131
++#: standard input:86
+ msgid "Failed at %1"
+ msgstr "Misslyckades %1"
+ 
+ #. templates/status.tpl
+-#: standard input:134
++#: standard input:89
+ msgid "Client never backed up"
+ msgstr "Klienten har aldrig säkerhetskopierats"
+ 
+ #. templates/status.tpl
+-#: standard input:137
++#: standard input:92
+ msgid "ssh-keys are working"
+ msgstr "ssh-nycklarna är rätt konfigurerade"
+ 
+ #. templates/status.tpl
+-#: standard input:140
++#: standard input:95
+ msgid "rdiff-backup-versions differ"
+ msgstr "rdiff-backup-versionerna stämmer inte överens"
+ 
+ #. templates/status.tpl
+-#: standard input:143
++#: standard input:98
+ msgid "ssh-keys are not working"
+ msgstr "ssh-nycklarna är felkonfigurerade"
+ 
+ #. templates/status.tpl
+-#: standard input:146
++#: standard input:101
+ msgid "Backup status"
+ msgstr "Status för säkerhetskopiering"
+ 
+ #. templates/status.tpl
+-#: standard input:149
++#: standard input:104
+ msgid "Backup last finished at %1"
+ msgstr "Säkerhetskopieringen färdigställdes %1"
+ 
+ #. templates/status.tpl
+-#: standard input:152
++#: standard input:107
+ msgid "A new backup started at %1"
+ msgstr "En ny säkerhetskopiering startades %1"
+ 
++#. templates/restore.tpl
++#: standard input:110
++msgid "Client to restore"
++msgstr "Klient att återskapa"
++
++#. templates/restore.tpl
++#: standard input:119
++msgid "Browse"
++msgstr "Bläddra"
++
++#. templates/restore.tpl
++#: standard input:122
++msgid "Restore of %1"
++msgstr "Återskapandet av %1"
++
++#. templates/restore.tpl
++#: standard input:125
++msgid "Deleted"
++msgstr "Borttaget"
++
++#. templates/header.tpl
++#: standard input:128
++msgid "SLBackup Configuration"
++msgstr "Konfiguration av SLBackup"
++
++#. templates/header.tpl
++#: standard input:131
++msgid "Status"
++msgstr "Status"
++
++#. templates/header.tpl
++#: standard input:134
++msgid "Config"
++msgstr "Konfiguration"
++
++#. templates/header.tpl
++#: standard input:137
++msgid "Restore"
++msgstr "Återskapa"
++
++#. templates/header.tpl
++#. templates/maint.tpl
++#: standard input:140 input:164
++msgid "Maintenance"
++msgstr "Underhåll"
++
++#. templates/header.tpl
++#: standard input:143
++msgid "Logout"
++msgstr "Logga ut"
++
+ #. templates/login.tpl
+-#: standard input:155
++#: standard input:146
+ msgid "To read the configuration, you must log in as %1 on %2."
+ msgstr "För att läsa konfiguration måste du logga in som %1 på %2."
+ 
+ #. templates/login.tpl
+-#: standard input:158
++#: standard input:149
+ msgid "Please enter the password for the %1 account on %2:"
+ msgstr "Ange lösenordet för %1-kontot på %2:"
+ 
+ #. templates/login.tpl
+-#: standard input:161
+-msgid "WARNING: you are about to send you password over an unencrypted link, please ask your administrator to enable https"
+-msgstr "VARNING: du är på väg att skicka ditt lösenord över en okrypterad förbindelse, be din administratör att aktivera https"
++#: standard input:152
++msgid ""
++"WARNING: you are about to send you password over an unencrypted link, please "
++"ask your administrator to enable https"
++msgstr ""
++"VARNING: du är på väg att skicka ditt lösenord över en okrypterad "
++"förbindelse, be din administratör att aktivera https"
+ 
+ #. templates/login.tpl
+-#: standard input:164
+-msgid "Login to this application is denied without the use of https. Please ask your administrator to enable https"
+-msgstr "Inloggning till det här programmet nekas därför att https inte används. Be din administratör att aktivera https"
++#: standard input:155
++msgid ""
++"Login to this application is denied without the use of https. Please ask "
++"your administrator to enable https"
++msgstr ""
++"Inloggning till det här programmet nekas därför att https inte används. Be "
++"din administratör att aktivera https"
+ 
+ #. templates/login.tpl
+-#: standard input:167
++#: standard input:158
+ msgid "Login"
+ msgstr "Logga in"
+ 
+-#: src/index.php:735
++#. templates/maint.tpl
++#: standard input:170
++msgid "Oldest snapshot to keep:"
++msgstr "Äldsta ögonblicksbild att spara:"
++
++#. templates/maint.tpl
++#: standard input:173
++msgid "Delete older"
++msgstr "Ta bort äldre"
++
++#: src/index.php:749
+ #, php-format
+ msgid "No client specified :("
+ msgstr "Ingen klient angiven :("
+ 
+-#: src/index.php:740
++#: src/index.php:754
+ #, php-format
+ msgid "Unable to find %s in the list of clients."
+ msgstr "Kunde inte hitta %s i listan över klienter."
+ 
+-#: src/index.php:774
++#: src/index.php:788
+ #, php-format
+ msgid "Unable to find %s in the locations of %s."
+ msgstr "Kunde inte hitta %s i platserna för %s."
+-
diff --git a/debian/patches/100_slbackup-php_fix-language-detection.patch b/debian/patches/100_slbackup-php_fix-language-detection.patch
new file mode 100644
index 0000000..0f4216e
--- /dev/null
+++ b/debian/patches/100_slbackup-php_fix-language-detection.patch
@@ -0,0 +1,98 @@
+Index: slbackup-php/src/functions.php
+===================================================================
+--- slbackup-php.orig/src/functions.php	2012-01-18 16:17:18.000000000 +0100
++++ slbackup-php/src/functions.php	2012-01-18 16:20:06.000000000 +0100
+@@ -60,13 +60,15 @@
+ }
+ 
+ function loadLocale () {
+-    $found_locale = $_COOKIE['locale'] ;
+-    
++    $found_locale = "";
++    if (array_key_exists('locale', $_COOKIE))
++	$found_locale = $_COOKIE['locale'];
++
+     if ($found_locale == "" && $handle = @opendir ('../locales')) {
+-	$all_locales = array () ; 
++	$translations = array () ; 
+ 	while (false !== ($file = readdir ($handle))) {
+ 	    if (is_dir ('../locales/' . $file . '/LC_MESSAGES')) {
+-		$all_locales = array_merge ($all_locales, array ($file)) ; 
++		$translations = array_merge ($translations, array ($file)) ; 
+ 	    }
+ 	}
+ 	closedir ($handle) ; 
+@@ -76,32 +78,56 @@
+ 	    $lang_accept[$i] = split(";", $lang_accept[$i]) ; 
+ 	    $lang_accept[$i] = $lang_accept[$i][0] ; 
+ 	}
+-	if (!empty($lang_accept[0]))
+-	foreach ($lang_accept as $lang) {
+-	    if (!isset ($locale_exact)) {
+-		foreach ($all_locales as $locales) {
+-		    if ($locales == $lang)
+-			$locale_exact = $lang ; 
+-		    elseif (!isset ($locale_match)) {
+-			if (strpos ($locales, $lang) === 0)
+-			    $locale_match = $locales ; 
++
++	if (!empty($lang_accept[0])) {
++	    foreach ($lang_accept as $lang) {
++		if (!isset ($locale_exact)) {
++		    foreach ($translations as $translation) {
++			if ($translation == $lang)
++			    $locale_exact = $lang ; 
++			elseif (!isset ($locale_match)) {
++			    if (strpos ($translation, $lang) === 0)
++				$locale_match = $translation ; 
++			}
+ 		    }
+ 		}
+ 	    }
++	    if (isset ($locale_exact)) 
++		$found_locale=$locale_exact ; 
++	    elseif (isset ($locale_match))
++		$found_locale=$locale_match ; 
+ 	}
+-	if (isset ($locale_exact)) 
+-	    $found_locale=$locale_exact ; 
+-	elseif (isset ($locale_match))
+-	    $found_locale=$locale_match ; 
++
++	$locales = array();
++	$locales_utf8 = array();
++	if (isset($found_locale) && !empty($lang_accept[0])) {
++	    $found_locale_tuple = split('_', $found_locale)
++	    if (count($found_locale_tuple) > 1) {
++		$locales[] = $found_locale;
++		$locales_utf8[] = $found_locale.'.UTF-8';
++	    }
++	    foreach ($lang_accept as $lang) {
++		$lang_tuple = split('-',$lang);
++		if (count($lang_tuple) > 1) {
++		    $language = strtolower($lang_tuple[0]);
++		    $country = strtoupper($lang_tuple[1]);
++		    $locales[] = $language . '_' . $country;
++		    $locales_utf8[] = $language . '_' . $country . '.UTF-8';
++		}
++	    }
++	    $locales_all = array_merge ($locales_utf8, $locales);
++	    $found_locale = setlocale (LC_ALL, $locales_all) ; 
++	}
++
+ 	if (isset ($found_locale))
+ 	    setcookie ( 'locale', $found_locale) ;
+ 	unset ($all_locales, $lang_accept, $locale_match, $locale_exact, $lang, $locales) ; 
+     }
+-	
++
+     if (isset ($found_locale)) {
+-        $locale = setlocale (LC_ALL, $found_locale) ; 
+-	if (empty($locale)) 
+-	    setlocale (LC_ALL, $found_locale . ".UTF8"); 
++	$locale = setlocale (LC_ALL, $found_locale) ; 
++	if (empty($locale))
++	    $locale = setlocale (LC_ALL, $found_locale . ".UTF8");
+ 	bindtextdomain ("slbackup-php", "../locales/"); 
+ 	bind_textdomain_codeset ("slbackup-php", "UTF-8");
+ 	textdomain ("slbackup-php"); 
diff --git a/debian/patches/101_slbackup-php_i18n-de.patch b/debian/patches/101_slbackup-php_i18n-de.patch
new file mode 100644
index 0000000..d269250
--- /dev/null
+++ b/debian/patches/101_slbackup-php_i18n-de.patch
@@ -0,0 +1,303 @@
+Description: German translation of the SLBackup WebGUI
+ German translation of the SLBackup WebGUI.
+ 
+ This patch is not forwarded to upstream as Debian Edu
+ seems to become upstream and package maintainer for
+ next (wheezy) release.
+Forwarded: not-needed
+Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+Index: slbackup-php/po/de.po
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ slbackup-php/po/de.po	2012-01-17 20:55:10.000000000 +0100
+@@ -0,0 +1,290 @@
++# translation of de.po to
++# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
++# This file is distributed under the same license as the PACKAGE package.
++# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
++#
++msgid ""
++msgstr ""
++"Project-Id-Version: de\n"
++"Report-Msgid-Bugs-To: \n"
++"POT-Creation-Date: 2012-01-17 20:54+0100\n"
++"PO-Revision-Date: 2012-01-17 20:55+0100\n"
++"Last-Translator: Mike Gabriel <m.gabriel at das-netzwerkteam.de>\n"
++"Language-Team:  <debian-edu at lists.debian.org>\n"
++"MIME-Version: 1.0\n"
++"Content-Type: text/plain; charset=UTF-8\n"
++"Content-Transfer-Encoding: 8bit\n"
++"X-Generator: KBabel 1.11.1\n"
++
++#. templates/config.tpl
++#: standard input:2
++msgid "Server scheduler"
++msgstr "Datensicherung planen"
++
++#. templates/config.tpl
++#: standard input:5
++msgid "Backup enabled"
++msgstr "Backups aktiviert"
++
++#. templates/config.tpl
++#: standard input:8
++msgid "Run backup at"
++msgstr "Datensicherung ausführen um"
++
++#. templates/config.tpl
++#: standard input:11
++#: input:32
++#: src/index.php:938
++msgid "Update"
++msgstr "Aktualisieren"
++
++#. templates/config.tpl
++#. templates/login.tpl
++#: standard input:14
++#: input:35
++#: input:65
++#: input:161
++msgid "Reset"
++msgstr "Zurücksetzen"
++
++#. templates/config.tpl
++#: standard input:17
++msgid "Server config"
++msgstr "Server-Konfiguration"
++
++#. templates/config.tpl
++#: standard input:20
++#: input:53
++msgid "Address"
++msgstr "Adresse"
++
++#. templates/config.tpl
++#: standard input:23
++msgid "Destdir"
++msgstr "Zielverzeichnis"
++
++#. templates/config.tpl
++#: standard input:26
++msgid "Servertype"
++msgstr "Server-Typ"
++
++#. templates/config.tpl
++#: standard input:29
++#: input:62
++msgid "User"
++msgstr "Benutzer"
++
++#. templates/config.tpl
++#: standard input:38
++msgid "Client config"
++msgstr "Client-Konfiguration"
++
++#. templates/config.tpl
++#: standard input:41
++msgid "Client:"
++msgstr "Client-System:"
++
++#. templates/config.tpl
++#. templates/restore.tpl
++#. templates/maint.tpl
++#: standard input:44
++#: input:113
++#: input:167
++msgid "Choose"
++msgstr "Auswählen"
++
++#. templates/config.tpl
++#: standard input:47
++msgid "New"
++msgstr "Neu"
++
++#. templates/config.tpl
++#: standard input:50
++msgid "Remove"
++msgstr "Entfernen"
++
++#. templates/config.tpl
++#: standard input:56
++msgid "Backup Age"
++msgstr "Backup-Alter"
++
++#. templates/config.tpl
++#: standard input:59
++msgid "Clienttype"
++msgstr "Client-Typ"
++
++#. templates/config.tpl
++#. templates/restore.tpl
++#: standard input:68
++#: input:116
++msgid "Locations:"
++msgstr "Speicherorte:"
++
++#. templates/config.tpl
++#: standard input:71
++#: src/index.php:936
++msgid "Add"
++msgstr "Hinzufügen"
++
++#. templates/config.tpl
++#: standard input:74
++msgid "Delete"
++msgstr "Löschen"
++
++#. templates/status.tpl
++#: standard input:77
++msgid "Clients"
++msgstr "Client-Systeme"
++
++#. templates/status.tpl
++#: standard input:80
++msgid "Status for %1"
++msgstr "Status für %1"
++
++#. templates/status.tpl
++#: standard input:83
++msgid "OK at %1"
++msgstr "Erfolgreich ausgeführt um %1"
++
++#. templates/status.tpl
++#: standard input:86
++msgid "Failed at %1"
++msgstr "Fehlgeschlagen um %1"
++
++#. templates/status.tpl
++#: standard input:89
++msgid "Client never backed up"
++msgstr "Client-System wurde noch nie gesichert"
++
++#. templates/status.tpl
++#: standard input:92
++msgid "ssh-keys are working"
++msgstr "SSH-Schlüssel sind einsatzbereit"
++
++#. templates/status.tpl
++#: standard input:95
++msgid "rdiff-backup-versions differ"
++msgstr "rdiff-Backup Versionen sind unterschiedlich"
++
++#. templates/status.tpl
++#: standard input:98
++msgid "ssh-keys are not working"
++msgstr "SSH-Schlüssel funktionieren nicht"
++
++#. templates/status.tpl
++#: standard input:101
++msgid "Backup status"
++msgstr "Backup-Status"
++
++#. templates/status.tpl
++#: standard input:104
++msgid "Backup last finished at %1"
++msgstr "Letzte Datensicherung beendet um %1"
++
++#. templates/status.tpl
++#: standard input:107
++msgid "A new backup started at %1"
++msgstr "Eine neue Sicherung wurde um %1 gestartet"
++
++#. templates/restore.tpl
++#: standard input:110
++msgid "Client to restore"
++msgstr "Wiederherzustellendes Client-System auswählen"
++
++#. templates/restore.tpl
++#: standard input:119
++msgid "Browse"
++msgstr "Durchsuchen"
++
++#. templates/restore.tpl
++#: standard input:122
++msgid "Restore of %1"
++msgstr "Wiederherstellung von %1"
++
++#. templates/restore.tpl
++#: standard input:125
++msgid "Deleted"
++msgstr "Gelöscht"
++
++#. templates/header.tpl
++#: standard input:128
++msgid "SLBackup Configuration"
++msgstr "SL-Backup Konfiguration"
++
++#. templates/header.tpl
++#: standard input:131
++msgid "Status"
++msgstr "Status"
++
++#. templates/header.tpl
++#: standard input:134
++msgid "Config"
++msgstr "Konfiguration"
++
++#. templates/header.tpl
++#: standard input:137
++msgid "Restore"
++msgstr "Wiederherstellen"
++
++#. templates/header.tpl
++#. templates/maint.tpl
++#: standard input:140
++#: input:164
++msgid "Maintenance"
++msgstr "Wartung"
++
++#. templates/header.tpl
++#: standard input:143
++msgid "Logout"
++msgstr "Abmelden"
++
++#. templates/login.tpl
++#: standard input:146
++msgid "To read the configuration, you must log in as %1 on %2."
++msgstr "Um die Konfiguration einzusehen, müssen Sie sich als %1 auf %2 anmelden."
++
++#. templates/login.tpl
++#: standard input:149
++msgid "Please enter the password for the %1 account on %2:"
++msgstr "Bitte das Kennwort für das Konto %1 auf %2 eingeben:"
++
++#. templates/login.tpl
++#: standard input:152
++msgid "WARNING: you are about to send you password over an unencrypted link, please ask your administrator to enable https"
++msgstr "WARNUNG: Sie sind kurz davor, Ihr Kennwort über eine nicht-verschlüsselte Verbindung zu schicken. Bitten Sie Ihren System-Administrator darum, Verschlüsselung für die SL-Backup Seite zu aktivieren."
++
++#. templates/login.tpl
++#: standard input:155
++msgid "Login to this application is denied without the use of https. Please ask your administrator to enable https"
++msgstr "Anmeldung an dieser Anwendung wird verweigert, wenn Webseiten-Verschlüsselung (https) deaktiviert ist. Bitten Sie Ihren System-Administrator darum, Verschlüsselung für die SL-Backup Seite zu aktivieren."
++
++#. templates/login.tpl
++#: standard input:158
++msgid "Login"
++msgstr "Anmeldung"
++
++#. templates/maint.tpl
++#: standard input:170
++msgid "Oldest snapshot to keep:"
++msgstr "Älteste Sicherungskopie, die aufbewahrt werden soll:"
++
++#. templates/maint.tpl
++#: standard input:173
++msgid "Delete older"
++msgstr "Ältere löschen"
++
++#: src/index.php:749
++#, php-format
++msgid "No client specified :("
++msgstr "Kein Client-System ausgewählt :("
++
++#: src/index.php:754
++#, php-format
++msgid "Unable to find %s in the list of clients."
++msgstr "Kann %s nicht in der Liste der Client-Systeme finden."
++
++#: src/index.php:788
++#, php-format
++msgid "Unable to find %s in the locations of %s."
++msgstr "Kann %s nicht unter den gesicherten Verzeichnissen von %s finden."
++
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ecdc4e1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,7 @@
+001_slbackup-php_cookie+request-merge.patch
+002_slbackup-php_restore-paths-with-blanks.patch
+003_slbackup-php_fix-failed-in-status-template.patch
+004_slbackup-php_translate-status-for.patch
+099_slbackup-php_i18n-pot-po-update.patch
+100_slbackup-php_fix-language-detection.patch
+101_slbackup-php_i18n-de.patch
diff --git a/debian/po/sv.po b/debian/po/sv.po
index dca18c2..03be800 100644
--- a/debian/po/sv.po
+++ b/debian/po/sv.po
@@ -1,5 +1,5 @@
-# Swedish translation for slbackup-php.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Swedish translation of slbackup-php debconf template.
+# Copyright (C) 2007 Free Software Foundation, Inc. 
 # This file is distributed under the same license as the slbackup-php package.
 # Daniel Nylander <po at danielnylander.se>, 2007.
 #
diff --git a/debian/rules b/debian/rules
index 742c564..0fe30b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,13 +2,7 @@
 # -*- makefile -*-
 
 
-build: build-stamp build-arch build-indep
-
-build-arch:
-# nothing to be done here
-
-build-indep:
-	debconf-updatepo
+build: build-stamp
 
 build-stamp:  
 	dh_testdir
@@ -20,12 +14,15 @@ clean:
 	dh_testroot
 	rm -f build-stamp
 	[ ! -f Makefile ] || $(MAKE) clean
+	dh_quilt_unpatch
 	dh_clean
+	debconf-updatepo
 
 install: build
 	dh_testdir
 	dh_testroot
-	dh_clean
+	dh_clean -k
+	dh_quilt_patch
 	-$(MAKE) mo-files
 	dh_installdirs
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/slbackup-php prefix=/usr
@@ -38,6 +35,7 @@ binary-indep: build install
 	dh_testroot
 	dh_installchangelogs 
 	dh_installdocs ./ChangeLog 
+	#dh_installdocs 
 	mv $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/ChangeLog $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/changelog
 	dh_installcron
 	dh_installdebconf
diff --git a/debian/slbackup.desktop b/debian/slbackup.desktop
index 0fe733f..718be69 100644
--- a/debian/slbackup.desktop
+++ b/debian/slbackup.desktop
@@ -4,8 +4,8 @@ Name=slbackup-php
 GenericName=SLBackup configuration tool
 Comment=Webpage for configuring slbackup
 Version=1.0
-TryExec=x-www-browser http://localhost/slbackup-php/?nonhttps=warn
-Exec=x-www-browser http://localhost/slbackup-php/?nonhttps=warn
+TryExec=x-www-browser https://tjener/slbackup-php/
+Exec=x-www-browser https://tjener/slbackup-php/
 Terminal=false
 Type=Application
 Categories=Application;Network;System;Security
diff --git a/debian/source/format b/debian/source/format
index 163aaf8..d3827e7 100644
--- a/debian/source/format
+++ b/debian/source/format
@@ -1 +1 @@
-3.0 (quilt)
+1.0
diff --git a/debian/watch b/debian/watch
deleted file mode 100644
index b06bbc3..0000000
--- a/debian/watch
+++ /dev/null
@@ -1,4 +0,0 @@
-version=3
-http://alioth.debian.org/frs/?group_id=30229 \
-  /frs/download.php/.*/slbackup-php-(.*)\.tar\.gz
-
diff --git a/po/de.po b/po/de.po
deleted file mode 100644
index 4b28ba0..0000000
--- a/po/de.po
+++ /dev/null
@@ -1,290 +0,0 @@
-# translation of de.po to
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: de\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-01-17 20:54+0100\n"
-"PO-Revision-Date: 2012-01-17 20:55+0100\n"
-"Last-Translator: Mike Gabriel <m.gabriel at das-netzwerkteam.de>\n"
-"Language-Team:  <debian-edu at lists.debian.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.1\n"
-
-#. templates/config.tpl
-#: standard input:2
-msgid "Server scheduler"
-msgstr "Datensicherung planen"
-
-#. templates/config.tpl
-#: standard input:5
-msgid "Backup enabled"
-msgstr "Backups aktiviert"
-
-#. templates/config.tpl
-#: standard input:8
-msgid "Run backup at"
-msgstr "Datensicherung ausführen um"
-
-#. templates/config.tpl
-#: standard input:11
-#: input:32
-#: src/index.php:938
-msgid "Update"
-msgstr "Aktualisieren"
-
-#. templates/config.tpl
-#. templates/login.tpl
-#: standard input:14
-#: input:35
-#: input:65
-#: input:161
-msgid "Reset"
-msgstr "Zurücksetzen"
-
-#. templates/config.tpl
-#: standard input:17
-msgid "Server config"
-msgstr "Server-Konfiguration"
-
-#. templates/config.tpl
-#: standard input:20
-#: input:53
-msgid "Address"
-msgstr "Adresse"
-
-#. templates/config.tpl
-#: standard input:23
-msgid "Destdir"
-msgstr "Zielverzeichnis"
-
-#. templates/config.tpl
-#: standard input:26
-msgid "Servertype"
-msgstr "Server-Typ"
-
-#. templates/config.tpl
-#: standard input:29
-#: input:62
-msgid "User"
-msgstr "Benutzer"
-
-#. templates/config.tpl
-#: standard input:38
-msgid "Client config"
-msgstr "Client-Konfiguration"
-
-#. templates/config.tpl
-#: standard input:41
-msgid "Client:"
-msgstr "Client-System:"
-
-#. templates/config.tpl
-#. templates/restore.tpl
-#. templates/maint.tpl
-#: standard input:44
-#: input:113
-#: input:167
-msgid "Choose"
-msgstr "Auswählen"
-
-#. templates/config.tpl
-#: standard input:47
-msgid "New"
-msgstr "Neu"
-
-#. templates/config.tpl
-#: standard input:50
-msgid "Remove"
-msgstr "Entfernen"
-
-#. templates/config.tpl
-#: standard input:56
-msgid "Backup Age"
-msgstr "Backup-Alter"
-
-#. templates/config.tpl
-#: standard input:59
-msgid "Clienttype"
-msgstr "Client-Typ"
-
-#. templates/config.tpl
-#. templates/restore.tpl
-#: standard input:68
-#: input:116
-msgid "Locations:"
-msgstr "Speicherorte:"
-
-#. templates/config.tpl
-#: standard input:71
-#: src/index.php:936
-msgid "Add"
-msgstr "Hinzufügen"
-
-#. templates/config.tpl
-#: standard input:74
-msgid "Delete"
-msgstr "Löschen"
-
-#. templates/status.tpl
-#: standard input:77
-msgid "Clients"
-msgstr "Client-Systeme"
-
-#. templates/status.tpl
-#: standard input:80
-msgid "Status for %1"
-msgstr "Status für %1"
-
-#. templates/status.tpl
-#: standard input:83
-msgid "OK at %1"
-msgstr "Erfolgreich ausgeführt um %1"
-
-#. templates/status.tpl
-#: standard input:86
-msgid "Failed at %1"
-msgstr "Fehlgeschlagen um %1"
-
-#. templates/status.tpl
-#: standard input:89
-msgid "Client never backed up"
-msgstr "Client-System wurde noch nie gesichert"
-
-#. templates/status.tpl
-#: standard input:92
-msgid "ssh-keys are working"
-msgstr "SSH-Schlüssel sind einsatzbereit"
-
-#. templates/status.tpl
-#: standard input:95
-msgid "rdiff-backup-versions differ"
-msgstr "rdiff-Backup Versionen sind unterschiedlich"
-
-#. templates/status.tpl
-#: standard input:98
-msgid "ssh-keys are not working"
-msgstr "SSH-Schlüssel funktionieren nicht"
-
-#. templates/status.tpl
-#: standard input:101
-msgid "Backup status"
-msgstr "Backup-Status"
-
-#. templates/status.tpl
-#: standard input:104
-msgid "Backup last finished at %1"
-msgstr "Letzte Datensicherung beendet um %1"
-
-#. templates/status.tpl
-#: standard input:107
-msgid "A new backup started at %1"
-msgstr "Eine neue Sicherung wurde um %1 gestartet"
-
-#. templates/restore.tpl
-#: standard input:110
-msgid "Client to restore"
-msgstr "Wiederherzustellendes Client-System auswählen"
-
-#. templates/restore.tpl
-#: standard input:119
-msgid "Browse"
-msgstr "Durchsuchen"
-
-#. templates/restore.tpl
-#: standard input:122
-msgid "Restore of %1"
-msgstr "Wiederherstellung von %1"
-
-#. templates/restore.tpl
-#: standard input:125
-msgid "Deleted"
-msgstr "Gelöscht"
-
-#. templates/header.tpl
-#: standard input:128
-msgid "SLBackup Configuration"
-msgstr "SL-Backup Konfiguration"
-
-#. templates/header.tpl
-#: standard input:131
-msgid "Status"
-msgstr "Status"
-
-#. templates/header.tpl
-#: standard input:134
-msgid "Config"
-msgstr "Konfiguration"
-
-#. templates/header.tpl
-#: standard input:137
-msgid "Restore"
-msgstr "Wiederherstellen"
-
-#. templates/header.tpl
-#. templates/maint.tpl
-#: standard input:140
-#: input:164
-msgid "Maintenance"
-msgstr "Wartung"
-
-#. templates/header.tpl
-#: standard input:143
-msgid "Logout"
-msgstr "Abmelden"
-
-#. templates/login.tpl
-#: standard input:146
-msgid "To read the configuration, you must log in as %1 on %2."
-msgstr "Um die Konfiguration einzusehen, müssen Sie sich als %1 auf %2 anmelden."
-
-#. templates/login.tpl
-#: standard input:149
-msgid "Please enter the password for the %1 account on %2:"
-msgstr "Bitte das Kennwort für das Konto %1 auf %2 eingeben:"
-
-#. templates/login.tpl
-#: standard input:152
-msgid "WARNING: you are about to send you password over an unencrypted link, please ask your administrator to enable https"
-msgstr "WARNUNG: Sie sind kurz davor, Ihr Kennwort über eine nicht-verschlüsselte Verbindung zu schicken. Bitten Sie Ihren System-Administrator darum, Verschlüsselung für die SL-Backup Seite zu aktivieren."
-
-#. templates/login.tpl
-#: standard input:155
-msgid "Login to this application is denied without the use of https. Please ask your administrator to enable https"
-msgstr "Anmeldung an dieser Anwendung wird verweigert, wenn Webseiten-Verschlüsselung (https) deaktiviert ist. Bitten Sie Ihren System-Administrator darum, Verschlüsselung für die SL-Backup Seite zu aktivieren."
-
-#. templates/login.tpl
-#: standard input:158
-msgid "Login"
-msgstr "Anmeldung"
-
-#. templates/maint.tpl
-#: standard input:170
-msgid "Oldest snapshot to keep:"
-msgstr "Älteste Sicherungskopie, die aufbewahrt werden soll:"
-
-#. templates/maint.tpl
-#: standard input:173
-msgid "Delete older"
-msgstr "Ältere löschen"
-
-#: src/index.php:749
-#, php-format
-msgid "No client specified :("
-msgstr "Kein Client-System ausgewählt :("
-
-#: src/index.php:754
-#, php-format
-msgid "Unable to find %s in the list of clients."
-msgstr "Kann %s nicht in der Liste der Client-Systeme finden."
-
-#: src/index.php:788
-#, php-format
-msgid "Unable to find %s in the locations of %s."
-msgstr "Kann %s nicht unter den gesicherten Verzeichnissen von %s finden."
-
diff --git a/po/es.po b/po/es.po
index e196a16..b0ad27f 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,279 +7,271 @@ msgid ""
 msgstr ""
 "Project-Id-Version: es\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-01-17 20:55+0100\n"
-"PO-Revision-Date: 2012-01-17 20:44+0100\n"
-"Last-Translator: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>\n"
+"POT-Creation-Date: 2007-04-25 10:31+0200\n"
+"PO-Revision-Date: 2007-05-22 15:56+0000\n"
+"Last-Translator: José L. Redrejo Rodríguez\n"
 "Language-Team:  <es at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "X-Generator: KBabel 1.11.1\n"
 
+#. templates/maint.tpl
+#. templates/header.tpl
+#: standard input:2 standard input:26
+msgid "Maintenance"
+msgstr "Mantenimiento"
+
+#. templates/maint.tpl
+#. templates/config.tpl
+#. templates/restore.tpl
+#: standard input:5 standard input:74 standard input:110
+msgid "Choose"
+msgstr "Elija"
+
+#. templates/maint.tpl
+#: standard input:8
+msgid "Oldest snapshot to keep:"
+msgstr "La copia más antigua a mantener:"
+
+#. templates/maint.tpl
+#: standard input:11
+msgid "Delete older"
+msgstr "Borrar lo más viejo"
+
+#. templates/header.tpl
+#: standard input:14
+msgid "SLBackup Configuration"
+msgstr "Configuración de SLBackup"
+
+#. templates/header.tpl
+#: standard input:17
+msgid "Status"
+msgstr "Estado"
+
+#. templates/header.tpl
+#: standard input:20
+msgid "Config"
+msgstr "Configuración"
+
+#. templates/header.tpl
+#: standard input:23
+msgid "Restore"
+msgstr "Restaurar"
+
+#. templates/header.tpl
+#: standard input:29
+msgid "Logout"
+msgstr "Salir"
+
 #. templates/config.tpl
-#: standard input:2
+#: standard input:32
 msgid "Server scheduler"
 msgstr "Programar el servidor"
 
 #. templates/config.tpl
-#: standard input:5
+#: standard input:35
 msgid "Backup enabled"
 msgstr "Copia de seguridad habilitada"
 
 #. templates/config.tpl
-#: standard input:8
+#: standard input:38
 msgid "Run backup at"
 msgstr "Ejecutar la copia de seguridad a las"
 
 #. templates/config.tpl
-#: standard input:11 input:32 src/index.php:938
+#: standard input:41 standard input:62 src/index.php:924
 msgid "Update"
 msgstr "Actualizar"
 
 #. templates/config.tpl
 #. templates/login.tpl
-#: standard input:14 input:35 input:65 input:161
+#: standard input:44 standard input:65 standard input:95 standard input:170
 msgid "Reset"
 msgstr "Reiniciar"
 
 #. templates/config.tpl
-#: standard input:17
+#: standard input:47
 msgid "Server config"
 msgstr "Configuración del servidor"
 
 #. templates/config.tpl
-#: standard input:20 input:53
+#: standard input:50 standard input:83
 msgid "Address"
 msgstr "Dirección"
 
 #. templates/config.tpl
-#: standard input:23
+#: standard input:53
 msgid "Destdir"
 msgstr "DirecciónFinal"
 
 #. templates/config.tpl
-#: standard input:26
+#: standard input:56
 msgid "Servertype"
 msgstr "TipoServidor"
 
 #. templates/config.tpl
-#: standard input:29 input:62
+#: standard input:59 standard input:92
 msgid "User"
 msgstr "Usuario"
 
 #. templates/config.tpl
-#: standard input:38
+#: standard input:68
 msgid "Client config"
 msgstr "Configuración del cliente"
 
 #. templates/config.tpl
-#: standard input:41
+#: standard input:71
 msgid "Client:"
 msgstr "Cliente:"
 
 #. templates/config.tpl
-#. templates/restore.tpl
-#. templates/maint.tpl
-#: standard input:44 input:113 input:167
-msgid "Choose"
-msgstr "Elija"
-
-#. templates/config.tpl
-#: standard input:47
+#: standard input:77
 msgid "New"
 msgstr "Nuevo"
 
 #. templates/config.tpl
-#: standard input:50
+#: standard input:80
 msgid "Remove"
 msgstr "Eliminar"
 
 #. templates/config.tpl
-#: standard input:56
+#: standard input:86
 msgid "Backup Age"
 msgstr "Antiguedad de la copia"
 
 #. templates/config.tpl
-#: standard input:59
+#: standard input:89
 msgid "Clienttype"
 msgstr "TipoCliente"
 
 #. templates/config.tpl
 #. templates/restore.tpl
-#: standard input:68 input:116
+#: standard input:98 standard input:113
 msgid "Locations:"
 msgstr "Lugares:"
 
 #. templates/config.tpl
-#: standard input:71 src/index.php:936
+#: standard input:101 src/index.php:922
 msgid "Add"
 msgstr "Añadir"
 
 #. templates/config.tpl
-#: standard input:74
+#: standard input:104
 msgid "Delete"
 msgstr "Borrar"
 
+#. templates/restore.tpl
+#: standard input:107
+msgid "Client to restore"
+msgstr "Cliente a restaurar"
+
+#. templates/restore.tpl
+#: standard input:116
+msgid "Browse"
+msgstr "Explorar"
+
+#. templates/restore.tpl
+#: standard input:119
+msgid "Restore of %1"
+msgstr "Restauración de %1"
+
+#. templates/restore.tpl
+#: standard input:122
+msgid "Deleted"
+msgstr "Borrado"
+
 #. templates/status.tpl
-#: standard input:77
+#: standard input:125
 msgid "Clients"
 msgstr "Clientes"
 
 #. templates/status.tpl
-#: standard input:80
-msgid "Status for %1"
-msgstr "Estado para %1"
-
-#. templates/status.tpl
-#: standard input:83
+#: standard input:128
 msgid "OK at %1"
 msgstr "OK en %1"
 
 #. templates/status.tpl
-#: standard input:86
+#: standard input:131
 msgid "Failed at %1"
 msgstr "Falló en %1"
 
 #. templates/status.tpl
-#: standard input:89
+#: standard input:134
 msgid "Client never backed up"
 msgstr "Nunca se ha hecho copia de ese cliente"
 
 #. templates/status.tpl
-#: standard input:92
+#: standard input:137
 msgid "ssh-keys are working"
 msgstr "las claves de ssh funcionan"
 
 #. templates/status.tpl
-#: standard input:95
+#: standard input:140
 msgid "rdiff-backup-versions differ"
 msgstr "las versiones de diferencia de copias no son iguales"
 
 #. templates/status.tpl
-#: standard input:98
+#: standard input:143
 msgid "ssh-keys are not working"
 msgstr "las claves de ssh no funcionan"
 
 #. templates/status.tpl
-#: standard input:101
+#: standard input:146
 msgid "Backup status"
 msgstr "Estado de la copia"
 
 #. templates/status.tpl
-#: standard input:104
+#: standard input:149
 msgid "Backup last finished at %1"
 msgstr "La última copia de seguridad acabó a las %1"
 
 #. templates/status.tpl
-#: standard input:107
+#: standard input:152
 msgid "A new backup started at %1"
 msgstr "Una nueva copia de seguridad comenzó a las %1"
 
-#. templates/restore.tpl
-#: standard input:110
-msgid "Client to restore"
-msgstr "Cliente a restaurar"
-
-#. templates/restore.tpl
-#: standard input:119
-msgid "Browse"
-msgstr "Explorar"
-
-#. templates/restore.tpl
-#: standard input:122
-msgid "Restore of %1"
-msgstr "Restauración de %1"
-
-#. templates/restore.tpl
-#: standard input:125
-msgid "Deleted"
-msgstr "Borrado"
-
-#. templates/header.tpl
-#: standard input:128
-msgid "SLBackup Configuration"
-msgstr "Configuración de SLBackup"
-
-#. templates/header.tpl
-#: standard input:131
-msgid "Status"
-msgstr "Estado"
-
-#. templates/header.tpl
-#: standard input:134
-msgid "Config"
-msgstr "Configuración"
-
-#. templates/header.tpl
-#: standard input:137
-msgid "Restore"
-msgstr "Restaurar"
-
-#. templates/header.tpl
-#. templates/maint.tpl
-#: standard input:140 input:164
-msgid "Maintenance"
-msgstr "Mantenimiento"
-
-#. templates/header.tpl
-#: standard input:143
-msgid "Logout"
-msgstr "Salir"
-
 #. templates/login.tpl
-#: standard input:146
+#: standard input:155
 msgid "To read the configuration, you must log in as %1 on %2."
 msgstr "Para leer la configuración, debe entrar como %1 en %2."
 
 #. templates/login.tpl
-#: standard input:149
+#: standard input:158
 msgid "Please enter the password for the %1 account on %2:"
 msgstr "Introduzca la contraseña para la cuenta %1 en %2:"
 
 #. templates/login.tpl
-#: standard input:152
+#: standard input:161
 msgid ""
 "WARNING: you are about to send you password over an unencrypted link, please "
 "ask your administrator to enable https"
-msgstr ""
-"AVISO: Está a punto de enviar su contraseña por un enlace sin encriptar, "
-"solicite a su administrador que habilite https"
+msgstr "AVISO: Está a punto de enviar su contraseña por un enlace sin encriptar, solicite a su administrador que habilite https"
 
 #. templates/login.tpl
-#: standard input:155
+#: standard input:164
 msgid ""
 "Login to this application is denied without the use of https. Please ask "
 "your administrator to enable https"
-msgstr ""
-"No está autorizado entrar en esta aplicación sin usar https. Solicite a su "
-"administrador que habilite https"
+msgstr "No está autorizado entrar en esta aplicación sin usar https. Solicite a su administrador que habilite https"
 
 #. templates/login.tpl
-#: standard input:158
+#: standard input:167
 msgid "Login"
 msgstr "Entrar"
 
-#. templates/maint.tpl
-#: standard input:170
-msgid "Oldest snapshot to keep:"
-msgstr "La copia más antigua a mantener:"
-
-#. templates/maint.tpl
-#: standard input:173
-msgid "Delete older"
-msgstr "Borrar lo más viejo"
-
-#: src/index.php:749
+#: src/index.php:735
 #, php-format
 msgid "No client specified :("
 msgstr "No se ha especificado un cliente :("
 
-#: src/index.php:754
+#: src/index.php:740
 #, php-format
 msgid "Unable to find %s in the list of clients."
 msgstr "No se ha podido encontrar a %s en la lista de clientes."
 
-#: src/index.php:788
+#: src/index.php:774
 #, php-format
 msgid "Unable to find %s in the locations of %s."
 msgstr "No se ha podido encontrar a %s en los lugares de %s."
+
diff --git a/po/fr.po b/po/fr.po
deleted file mode 100644
index 9b99737..0000000
--- a/po/fr.po
+++ /dev/null
@@ -1,288 +0,0 @@
-# Translation of slbackup-php to French
-# Copyright (C) 2012 Debian French l10n team <debian-l10n-french at lists.debian.org>
-# This file is distributed under the same license as the slbackup-php package.
-#
-# David Prévot <david at tilapin.org>, 2012.
-msgid ""
-msgstr ""
-"Project-Id-Version: slbackup-php\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-01-17 20:55+0100\n"
-"PO-Revision-Date: 2012-03-18 21:58-0400\n"
-"Last-Translator: David Prévot <david at tilapin.org>\n"
-"Language-Team: French <debian-l10n-french at lists.debian.org>\n"
-"Language: fr\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.2\n"
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-
-#. templates/config.tpl
-#: standard input:2
-msgid "Server scheduler"
-msgstr "Programmation du serveur"
-
-#. templates/config.tpl
-#: standard input:5
-msgid "Backup enabled"
-msgstr "Sauvegarde activée"
-
-#. templates/config.tpl
-#: standard input:8
-msgid "Run backup at"
-msgstr "Démarrer la sauvegarde à"
-
-#. templates/config.tpl
-#: standard input:11 input:32 src/index.php:938
-msgid "Update"
-msgstr "Mettre à jour"
-
-#. templates/config.tpl
-#. templates/login.tpl
-#: standard input:14 input:35 input:65 input:161
-msgid "Reset"
-msgstr "Réinitialiser"
-
-#. templates/config.tpl
-#: standard input:17
-msgid "Server config"
-msgstr "Configuration du serveur"
-
-#. templates/config.tpl
-#: standard input:20 input:53
-msgid "Address"
-msgstr "Adresse"
-
-#. templates/config.tpl
-#: standard input:23
-msgid "Destdir"
-msgstr "Rép. dest."
-
-#. templates/config.tpl
-#: standard input:26
-msgid "Servertype"
-msgstr "Type serveur"
-
-#. templates/config.tpl
-#: standard input:29 input:62
-msgid "User"
-msgstr "Utilisateur"
-
-#. templates/config.tpl
-#: standard input:38
-msgid "Client config"
-msgstr "Configuration du client"
-
-#. templates/config.tpl
-#: standard input:41
-msgid "Client:"
-msgstr "Client :"
-
-#. templates/config.tpl
-#. templates/restore.tpl
-#. templates/maint.tpl
-#: standard input:44 input:113 input:167
-msgid "Choose"
-msgstr "Choisir"
-
-#. templates/config.tpl
-#: standard input:47
-msgid "New"
-msgstr "Nouveau"
-
-#. templates/config.tpl
-#: standard input:50
-msgid "Remove"
-msgstr "Retirer"
-
-#. templates/config.tpl
-#: standard input:56
-msgid "Backup Age"
-msgstr "Âge de la sauvegarde"
-
-#. templates/config.tpl
-#: standard input:59
-msgid "Clienttype"
-msgstr "Type client"
-
-#. templates/config.tpl
-#. templates/restore.tpl
-#: standard input:68 input:116
-msgid "Locations:"
-msgstr "Emplacements :"
-
-#. templates/config.tpl
-#: standard input:71 src/index.php:936
-msgid "Add"
-msgstr "Ajouter"
-
-#. templates/config.tpl
-#: standard input:74
-msgid "Delete"
-msgstr "Supprimer"
-
-#. templates/status.tpl
-#: standard input:77
-msgid "Clients"
-msgstr "Clients"
-
-#. templates/status.tpl
-#: standard input:80
-msgid "Status for %1"
-msgstr "État de %1"
-
-#. templates/status.tpl
-#: standard input:83
-msgid "OK at %1"
-msgstr "Bon à %1"
-
-#. templates/status.tpl
-#: standard input:86
-msgid "Failed at %1"
-msgstr "Échoué à %1"
-
-#. templates/status.tpl
-#: standard input:89
-msgid "Client never backed up"
-msgstr "Client jamais sauvegardé"
-
-#. templates/status.tpl
-#: standard input:92
-msgid "ssh-keys are working"
-msgstr "Les clefs SSH fonctionnent"
-
-#. templates/status.tpl
-#: standard input:95
-msgid "rdiff-backup-versions differ"
-msgstr "Les versions de rdiff-backup sont différentes"
-
-#. templates/status.tpl
-#: standard input:98
-msgid "ssh-keys are not working"
-msgstr "Les clefs SSH ne fonctionnent pas"
-
-#. templates/status.tpl
-#: standard input:101
-msgid "Backup status"
-msgstr "État de sauvegarde"
-
-#. templates/status.tpl
-#: standard input:104
-msgid "Backup last finished at %1"
-msgstr "La dernière sauvegarde s'est terminée à %1"
-
-#. templates/status.tpl
-#: standard input:107
-msgid "A new backup started at %1"
-msgstr "Une nouvelle sauvegarde a commencé à %1"
-
-#. templates/restore.tpl
-#: standard input:110
-msgid "Client to restore"
-msgstr "Client à restaurer"
-
-#. templates/restore.tpl
-#: standard input:119
-msgid "Browse"
-msgstr "Parcourir"
-
-#. templates/restore.tpl
-#: standard input:122
-msgid "Restore of %1"
-msgstr "Restauration de %1"
-
-#. templates/restore.tpl
-#: standard input:125
-msgid "Deleted"
-msgstr "Supprimé"
-
-#. templates/header.tpl
-#: standard input:128
-msgid "SLBackup Configuration"
-msgstr "Configuration de SLBackup"
-
-#. templates/header.tpl
-#: standard input:131
-msgid "Status"
-msgstr "État"
-
-#. templates/header.tpl
-#: standard input:134
-msgid "Config"
-msgstr "Configuration"
-
-#. templates/header.tpl
-#: standard input:137
-msgid "Restore"
-msgstr "Restaurer"
-
-#. templates/header.tpl
-#. templates/maint.tpl
-#: standard input:140 input:164
-msgid "Maintenance"
-msgstr "Maintenance"
-
-#. templates/header.tpl
-#: standard input:143
-msgid "Logout"
-msgstr "Déconnexion"
-
-#. templates/login.tpl
-#: standard input:146
-msgid "To read the configuration, you must log in as %1 on %2."
-msgstr ""
-"Pour lire la configuration, vous devez vous connecter en tant que %1 sur %2."
-
-#. templates/login.tpl
-#: standard input:149
-msgid "Please enter the password for the %1 account on %2:"
-msgstr "Veuillez entrer le mot de passe du compte %1 sur %2 :"
-
-#. templates/login.tpl
-#: standard input:152
-msgid ""
-"WARNING: you are about to send you password over an unencrypted link, please "
-"ask your administrator to enable https"
-msgstr ""
-"Attention : vous allez envoyer votre mot de passe sur un lien non chiffré, "
-"veuillez demander à l'administrateur d'activer HTTPS."
-
-#. templates/login.tpl
-#: standard input:155
-msgid ""
-"Login to this application is denied without the use of https. Please ask "
-"your administrator to enable https"
-msgstr ""
-"La connexion à cette application n'est pas permise sans HTTPS. Veuillez "
-"demander à l'administrateur d'activer HTTPS."
-
-#. templates/login.tpl
-#: standard input:158
-msgid "Login"
-msgstr "Connexion"
-
-#. templates/maint.tpl
-#: standard input:170
-msgid "Oldest snapshot to keep:"
-msgstr "Plus vieil instantané à garder :"
-
-#. templates/maint.tpl
-#: standard input:173
-msgid "Delete older"
-msgstr "Effacer les plus anciens"
-
-#: src/index.php:749
-#, php-format
-msgid "No client specified :("
-msgstr "Pas de client indiqué"
-
-#: src/index.php:754
-#, php-format
-msgid "Unable to find %s in the list of clients."
-msgstr "Impossible de trouver %s dans la liste des clients."
-
-#: src/index.php:788
-#, php-format
-msgid "Unable to find %s in the locations of %s."
-msgstr "Impossible de trouver %s dans les emplacements de %s."
diff --git a/po/nb_NO.po b/po/nb_NO.po
index f40d030..1c43dcc 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -7,237 +7,242 @@ msgid ""
 msgstr ""
 "Project-Id-Version: slbackup 0.0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-01-17 20:55+0100\n"
-"PO-Revision-Date: 2012-01-17 20:47+0100\n"
-"Last-Translator: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>\n"
+"POT-Creation-Date: 2007-04-25 10:31+0200\n"
+"PO-Revision-Date: 2007-04-25 10:34+0200\n"
+"Last-Translator: Finn-Arne Johansen<faj at bzz.no>\n"
 "Language-Team: Norsk bokmål\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#. templates/maint.tpl
+#. templates/header.tpl
+#: standard input:2 input:26
+msgid "Maintenance"
+msgstr "Vedlikehold"
+
+#. templates/maint.tpl
 #. templates/config.tpl
-#: standard input:2
+#. templates/restore.tpl
+#: standard input:5 input:74 input:110
+msgid "Choose"
+msgstr "Velg"
+
+#. templates/maint.tpl
+#: standard input:8
+msgid "Oldest snapshot to keep:"
+msgstr "Eldste kopi som skal beholdes:"
+
+#. templates/maint.tpl
+#: standard input:11
+msgid "Delete older"
+msgstr "Slett eldre"
+
+#. templates/header.tpl
+#: standard input:14
+msgid "SLBackup Configuration"
+msgstr "SLBackup Konfigurasjon"
+
+#. templates/header.tpl
+#: standard input:17
+msgid "Status"
+msgstr "Status"
+
+#. templates/header.tpl
+#: standard input:20
+msgid "Config"
+msgstr "Konfigurasjon"
+
+#. templates/header.tpl
+#: standard input:23
+msgid "Restore"
+msgstr "Gjennopprett"
+
+#. templates/header.tpl
+#: standard input:29
+msgid "Logout"
+msgstr "Logg ut"
+
+#. templates/config.tpl
+#: standard input:32
 msgid "Server scheduler"
 msgstr "Tidsplanlegging"
 
 #. templates/config.tpl
-#: standard input:5
+#: standard input:35
 msgid "Backup enabled"
 msgstr "Sikkerhetskopiering aktivert"
 
 #. templates/config.tpl
-#: standard input:8
+#: standard input:38
 msgid "Run backup at"
 msgstr "Kjør sikkerhetskopiering klokken"
 
 #. templates/config.tpl
-#: standard input:11 input:32 src/index.php:938
+#: standard input:41 input:62 src/index.php:924
 msgid "Update"
 msgstr "Oppdater"
 
 #. templates/config.tpl
 #. templates/login.tpl
-#: standard input:14 input:35 input:65 input:161
+#: standard input:44 input:65 input:95 input:170
 msgid "Reset"
 msgstr "Tilbakestill"
 
 #. templates/config.tpl
-#: standard input:17
+#: standard input:47
 msgid "Server config"
 msgstr "Konfigurasjon for tjener"
 
 #. templates/config.tpl
-#: standard input:20 input:53
+#: standard input:50 input:83
 msgid "Address"
 msgstr "Adresse"
 
 #. templates/config.tpl
-#: standard input:23
+#: standard input:53
 msgid "Destdir"
 msgstr "Målkatalog"
 
 #. templates/config.tpl
-#: standard input:26
+#: standard input:56
 msgid "Servertype"
 msgstr "Type"
 
 #. templates/config.tpl
-#: standard input:29 input:62
+#: standard input:59 input:92
 msgid "User"
 msgstr "Bruker"
 
 #. templates/config.tpl
-#: standard input:38
+#: standard input:68
 msgid "Client config"
 msgstr "Konfigurasjon av klienter"
 
 #. templates/config.tpl
-#: standard input:41
+#: standard input:71
 msgid "Client:"
 msgstr "Klient:"
 
 #. templates/config.tpl
-#. templates/restore.tpl
-#. templates/maint.tpl
-#: standard input:44 input:113 input:167
-msgid "Choose"
-msgstr "Velg"
-
-#. templates/config.tpl
-#: standard input:47
+#: standard input:77
 msgid "New"
 msgstr "Ny"
 
 #. templates/config.tpl
-#: standard input:50
+#: standard input:80
 msgid "Remove"
 msgstr "Slett"
 
 #. templates/config.tpl
-#: standard input:56
+#: standard input:86
 msgid "Backup Age"
 msgstr "Alder på backup"
 
 #. templates/config.tpl
-#: standard input:59
+#: standard input:89
 msgid "Clienttype"
 msgstr "Type"
 
 #. templates/config.tpl
 #. templates/restore.tpl
-#: standard input:68 input:116
+#: standard input:98 input:113
 msgid "Locations:"
 msgstr "Kataloger:"
 
 #. templates/config.tpl
-#: standard input:71 src/index.php:936
+#: standard input:101 src/index.php:922
 msgid "Add"
 msgstr "Legg til"
 
 #. templates/config.tpl
-#: standard input:74
+#: standard input:104
 msgid "Delete"
 msgstr "Slett"
 
+#. templates/restore.tpl
+#: standard input:107
+msgid "Client to restore"
+msgstr "Klient som skal gjenskapes"
+
+#. templates/restore.tpl
+#: standard input:116
+msgid "Browse"
+msgstr "Bla"
+
+#. templates/restore.tpl
+#: standard input:119
+msgid "Restore of %1"
+msgstr "Gjennoppretting av %1"
+
+#. templates/restore.tpl
+#: standard input:122
+msgid "Deleted"
+msgstr "Slettet"
+
 #. templates/status.tpl
-#: standard input:77
+#: standard input:125
 msgid "Clients"
 msgstr "Klient"
 
 #. templates/status.tpl
-#: standard input:80
-msgid "Status for %1"
-msgstr "Status for %1"
-
-#. templates/status.tpl
-#: standard input:83
+#: standard input:128
 msgid "OK at %1"
 msgstr "OK %1"
 
 #. templates/status.tpl
-#: standard input:86
+#: standard input:131
 msgid "Failed at %1"
 msgstr "Feiler %1"
 
 #. templates/status.tpl
-#: standard input:89
+#: standard input:134
 msgid "Client never backed up"
 msgstr "Det er aldri tatt sikkerhetskopi av klienten"
 
 #. templates/status.tpl
-#: standard input:92
+#: standard input:137
 msgid "ssh-keys are working"
 msgstr "sshnøkler er satt rett opp"
 
 #. templates/status.tpl
-#: standard input:95
+#: standard input:140
 msgid "rdiff-backup-versions differ"
 msgstr "Det er forskjellig versjon av rdiff-backup"
 
 #. templates/status.tpl
-#: standard input:98
+#: standard input:143
 msgid "ssh-keys are not working"
 msgstr "sshnøkler er ikke satt korrekt opp"
 
 #. templates/status.tpl
-#: standard input:101
+#: standard input:146
 msgid "Backup status"
 msgstr "Status for Sikkerhetskopiering"
 
 #. templates/status.tpl
-#: standard input:104
+#: standard input:149
 msgid "Backup last finished at %1"
 msgstr "Sikkerhetskopiering ble fullført %1"
 
 #. templates/status.tpl
-#: standard input:107
+#: standard input:152
 msgid "A new backup started at %1"
 msgstr "En ny sikkerhetskopieringsjobb ble startet %1"
 
-#. templates/restore.tpl
-#: standard input:110
-msgid "Client to restore"
-msgstr "Klient som skal gjenskapes"
-
-#. templates/restore.tpl
-#: standard input:119
-msgid "Browse"
-msgstr "Bla"
-
-#. templates/restore.tpl
-#: standard input:122
-msgid "Restore of %1"
-msgstr "Gjennoppretting av %1"
-
-#. templates/restore.tpl
-#: standard input:125
-msgid "Deleted"
-msgstr "Slettet"
-
-#. templates/header.tpl
-#: standard input:128
-msgid "SLBackup Configuration"
-msgstr "SLBackup Konfigurasjon"
-
-#. templates/header.tpl
-#: standard input:131
-msgid "Status"
-msgstr "Status"
-
-#. templates/header.tpl
-#: standard input:134
-msgid "Config"
-msgstr "Konfigurasjon"
-
-#. templates/header.tpl
-#: standard input:137
-msgid "Restore"
-msgstr "Gjennopprett"
-
-#. templates/header.tpl
-#. templates/maint.tpl
-#: standard input:140 input:164
-msgid "Maintenance"
-msgstr "Vedlikehold"
-
-#. templates/header.tpl
-#: standard input:143
-msgid "Logout"
-msgstr "Logg ut"
-
 #. templates/login.tpl
-#: standard input:146
+#: standard input:155
 msgid "To read the configuration, you must log in as %1 on %2."
 msgstr ""
 "For å se på konfigurasjonen, må du logge inn som bruker %1 på maskinen %2"
 
 #. templates/login.tpl
-#: standard input:149
+#: standard input:158
 msgid "Please enter the password for the %1 account on %2:"
 msgstr "Legg inn passordet for bruker %1 på %2:"
 
 #. templates/login.tpl
-#: standard input:152
+#: standard input:161
 msgid ""
 "WARNING: you are about to send you password over an unencrypted link, please "
 "ask your administrator to enable https"
@@ -247,40 +252,29 @@ msgstr ""
 "for denne applikasjonen"
 
 #. templates/login.tpl
-#: standard input:155
+#: standard input:164
 msgid ""
 "Login to this application is denied without the use of https. Please ask "
 "your administrator to enable https"
 msgstr ""
-"Det er ikke mulig å logge inn uten bruk av https. Be din administrator om å "
-"sette opp bruken av https"
+"Det er ikke mulig å logge inn uten bruk av https. Be din administrator om å sette opp bruken av https"
 
 #. templates/login.tpl
-#: standard input:158
+#: standard input:167
 msgid "Login"
 msgstr "Logg inn"
 
-#. templates/maint.tpl
-#: standard input:170
-msgid "Oldest snapshot to keep:"
-msgstr "Eldste kopi som skal beholdes:"
-
-#. templates/maint.tpl
-#: standard input:173
-msgid "Delete older"
-msgstr "Slett eldre"
-
-#: src/index.php:749
+#: src/index.php:735
 #, php-format
 msgid "No client specified :("
 msgstr "Ingen klient ble valgt å slette"
 
-#: src/index.php:754
+#: src/index.php:740
 #, php-format
 msgid "Unable to find %s in the list of clients."
 msgstr "Fant ikke klienten %s i listen."
 
-#: src/index.php:788
+#: src/index.php:774
 #, php-format
 msgid "Unable to find %s in the locations of %s."
 msgstr "Finner ikke %s i listen av kataloger."
diff --git a/po/slbackup-php.pot b/po/slbackup-php.pot
index d6864f8..01805e8 100644
--- a/po/slbackup-php.pot
+++ b/po/slbackup-php.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-01-17 20:55+0100\n"
+"POT-Creation-Date: 2007-04-25 10:31+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -16,266 +16,261 @@ msgstr ""
 "Content-Type: text/plain; charset=CHARSET\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#. templates/maint.tpl
+#. templates/header.tpl
+#: standard input:2 standard input:26
+msgid "Maintenance"
+msgstr ""
+
+#. templates/maint.tpl
 #. templates/config.tpl
-#: standard input:2
+#. templates/restore.tpl
+#: standard input:5 standard input:74 standard input:110
+msgid "Choose"
+msgstr ""
+
+#. templates/maint.tpl
+#: standard input:8
+msgid "Oldest snapshot to keep:"
+msgstr ""
+
+#. templates/maint.tpl
+#: standard input:11
+msgid "Delete older"
+msgstr ""
+
+#. templates/header.tpl
+#: standard input:14
+msgid "SLBackup Configuration"
+msgstr ""
+
+#. templates/header.tpl
+#: standard input:17
+msgid "Status"
+msgstr ""
+
+#. templates/header.tpl
+#: standard input:20
+msgid "Config"
+msgstr ""
+
+#. templates/header.tpl
+#: standard input:23
+msgid "Restore"
+msgstr ""
+
+#. templates/header.tpl
+#: standard input:29
+msgid "Logout"
+msgstr ""
+
+#. templates/config.tpl
+#: standard input:32
 msgid "Server scheduler"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:5
+#: standard input:35
 msgid "Backup enabled"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:8
+#: standard input:38
 msgid "Run backup at"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:11 standard input:32 src/index.php:938
+#: standard input:41 standard input:62 src/index.php:924
 msgid "Update"
 msgstr ""
 
 #. templates/config.tpl
 #. templates/login.tpl
-#: standard input:14 standard input:35 standard input:65 standard input:161
+#: standard input:44 standard input:65 standard input:95 standard input:170
 msgid "Reset"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:17
+#: standard input:47
 msgid "Server config"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:20 standard input:53
+#: standard input:50 standard input:83
 msgid "Address"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:23
+#: standard input:53
 msgid "Destdir"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:26
+#: standard input:56
 msgid "Servertype"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:29 standard input:62
+#: standard input:59 standard input:92
 msgid "User"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:38
+#: standard input:68
 msgid "Client config"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:41
+#: standard input:71
 msgid "Client:"
 msgstr ""
 
 #. templates/config.tpl
-#. templates/restore.tpl
-#. templates/maint.tpl
-#: standard input:44 standard input:113 standard input:167
-msgid "Choose"
-msgstr ""
-
-#. templates/config.tpl
-#: standard input:47
+#: standard input:77
 msgid "New"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:50
+#: standard input:80
 msgid "Remove"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:56
+#: standard input:86
 msgid "Backup Age"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:59
+#: standard input:89
 msgid "Clienttype"
 msgstr ""
 
 #. templates/config.tpl
 #. templates/restore.tpl
-#: standard input:68 standard input:116
+#: standard input:98 standard input:113
 msgid "Locations:"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:71 src/index.php:936
+#: standard input:101 src/index.php:922
 msgid "Add"
 msgstr ""
 
 #. templates/config.tpl
-#: standard input:74
+#: standard input:104
 msgid "Delete"
 msgstr ""
 
-#. templates/status.tpl
-#: standard input:77
-msgid "Clients"
+#. templates/restore.tpl
+#: standard input:107
+msgid "Client to restore"
+msgstr ""
+
+#. templates/restore.tpl
+#: standard input:116
+msgid "Browse"
+msgstr ""
+
+#. templates/restore.tpl
+#: standard input:119
+msgid "Restore of %1"
+msgstr ""
+
+#. templates/restore.tpl
+#: standard input:122
+msgid "Deleted"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:80
-msgid "Status for %1"
+#: standard input:125
+msgid "Clients"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:83
+#: standard input:128
 msgid "OK at %1"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:86
+#: standard input:131
 msgid "Failed at %1"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:89
+#: standard input:134
 msgid "Client never backed up"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:92
+#: standard input:137
 msgid "ssh-keys are working"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:95
+#: standard input:140
 msgid "rdiff-backup-versions differ"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:98
+#: standard input:143
 msgid "ssh-keys are not working"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:101
+#: standard input:146
 msgid "Backup status"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:104
+#: standard input:149
 msgid "Backup last finished at %1"
 msgstr ""
 
 #. templates/status.tpl
-#: standard input:107
+#: standard input:152
 msgid "A new backup started at %1"
 msgstr ""
 
-#. templates/restore.tpl
-#: standard input:110
-msgid "Client to restore"
-msgstr ""
-
-#. templates/restore.tpl
-#: standard input:119
-msgid "Browse"
-msgstr ""
-
-#. templates/restore.tpl
-#: standard input:122
-msgid "Restore of %1"
-msgstr ""
-
-#. templates/restore.tpl
-#: standard input:125
-msgid "Deleted"
-msgstr ""
-
-#. templates/header.tpl
-#: standard input:128
-msgid "SLBackup Configuration"
-msgstr ""
-
-#. templates/header.tpl
-#: standard input:131
-msgid "Status"
-msgstr ""
-
-#. templates/header.tpl
-#: standard input:134
-msgid "Config"
-msgstr ""
-
-#. templates/header.tpl
-#: standard input:137
-msgid "Restore"
-msgstr ""
-
-#. templates/header.tpl
-#. templates/maint.tpl
-#: standard input:140 standard input:164
-msgid "Maintenance"
-msgstr ""
-
-#. templates/header.tpl
-#: standard input:143
-msgid "Logout"
-msgstr ""
-
 #. templates/login.tpl
-#: standard input:146
+#: standard input:155
 msgid "To read the configuration, you must log in as %1 on %2."
 msgstr ""
 
 #. templates/login.tpl
-#: standard input:149
+#: standard input:158
 msgid "Please enter the password for the %1 account on %2:"
 msgstr ""
 
 #. templates/login.tpl
-#: standard input:152
+#: standard input:161
 msgid ""
 "WARNING: you are about to send you password over an unencrypted link, please "
 "ask your administrator to enable https"
 msgstr ""
 
 #. templates/login.tpl
-#: standard input:155
+#: standard input:164
 msgid ""
 "Login to this application is denied without the use of https. Please ask "
 "your administrator to enable https"
 msgstr ""
 
 #. templates/login.tpl
-#: standard input:158
+#: standard input:167
 msgid "Login"
 msgstr ""
 
-#. templates/maint.tpl
-#: standard input:170
-msgid "Oldest snapshot to keep:"
-msgstr ""
-
-#. templates/maint.tpl
-#: standard input:173
-msgid "Delete older"
-msgstr ""
-
-#: src/index.php:749
+#: src/index.php:735
 #, php-format
 msgid "No client specified :("
 msgstr ""
 
-#: src/index.php:754
+#: src/index.php:740
 #, php-format
 msgid "Unable to find %s in the list of clients."
 msgstr ""
 
-#: src/index.php:788
+#: src/index.php:774
 #, php-format
 msgid "Unable to find %s in the locations of %s."
 msgstr ""
diff --git a/po/sv.po b/po/sv.po
index 8689303..962b470 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,278 +7,278 @@ msgid ""
 msgstr ""
 "Project-Id-Version: slbackup-php\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-01-17 20:55+0100\n"
-"PO-Revision-Date: 2012-01-17 20:48+0100\n"
-"Last-Translator: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>\n"
+"POT-Creation-Date: 2007-04-25 10:31+0200\n"
+"PO-Revision-Date: 2007-05-22 00:22+0100\n"
+"Last-Translator: Daniel Nylander <po at danielnylander.se>\n"
 "Language-Team: Swedish <tp-sv at listor.tp-sv.se>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#. templates/config.tpl
+#. templates/maint.tpl
+#. templates/header.tpl
 #: standard input:2
+#: standard input:26
+msgid "Maintenance"
+msgstr "Underhåll"
+
+#. templates/maint.tpl
+#. templates/config.tpl
+#. templates/restore.tpl
+#: standard input:5
+#: standard input:74
+#: standard input:110
+msgid "Choose"
+msgstr "Välj"
+
+#. templates/maint.tpl
+#: standard input:8
+msgid "Oldest snapshot to keep:"
+msgstr "Äldsta ögonblicksbild att spara:"
+
+#. templates/maint.tpl
+#: standard input:11
+msgid "Delete older"
+msgstr "Ta bort äldre"
+
+#. templates/header.tpl
+#: standard input:14
+msgid "SLBackup Configuration"
+msgstr "Konfiguration av SLBackup"
+
+#. templates/header.tpl
+#: standard input:17
+msgid "Status"
+msgstr "Status"
+
+#. templates/header.tpl
+#: standard input:20
+msgid "Config"
+msgstr "Konfiguration"
+
+#. templates/header.tpl
+#: standard input:23
+msgid "Restore"
+msgstr "Återskapa"
+
+#. templates/header.tpl
+#: standard input:29
+msgid "Logout"
+msgstr "Logga ut"
+
+#. templates/config.tpl
+#: standard input:32
 msgid "Server scheduler"
 msgstr "Schemaläggare"
 
 #. templates/config.tpl
-#: standard input:5
+#: standard input:35
 msgid "Backup enabled"
 msgstr "Säkerhetskopiering aktiverad"
 
 #. templates/config.tpl
-#: standard input:8
+#: standard input:38
 msgid "Run backup at"
 msgstr "Kör säkerhetskopiering klockan"
 
 #. templates/config.tpl
-#: standard input:11 input:32 src/index.php:938
+#: standard input:41
+#: standard input:62
+#: src/index.php:924
 msgid "Update"
 msgstr "Uppdatera"
 
 #. templates/config.tpl
 #. templates/login.tpl
-#: standard input:14 input:35 input:65 input:161
+#: standard input:44
+#: standard input:65
+#: standard input:95
+#: standard input:170
 msgid "Reset"
 msgstr "Nollställ"
 
 #. templates/config.tpl
-#: standard input:17
+#: standard input:47
 msgid "Server config"
 msgstr "Serverkonfiguration"
 
 #. templates/config.tpl
-#: standard input:20 input:53
+#: standard input:50
+#: standard input:83
 msgid "Address"
 msgstr "Adress"
 
 #. templates/config.tpl
-#: standard input:23
+#: standard input:53
 msgid "Destdir"
 msgstr "Målkatalog"
 
 #. templates/config.tpl
-#: standard input:26
+#: standard input:56
 msgid "Servertype"
 msgstr "Servertyp"
 
 #. templates/config.tpl
-#: standard input:29 input:62
+#: standard input:59
+#: standard input:92
 msgid "User"
 msgstr "Användare"
 
 #. templates/config.tpl
-#: standard input:38
+#: standard input:68
 msgid "Client config"
 msgstr "Klientkonfiguration"
 
 #. templates/config.tpl
-#: standard input:41
+#: standard input:71
 msgid "Client:"
 msgstr "Klient:"
 
 #. templates/config.tpl
-#. templates/restore.tpl
-#. templates/maint.tpl
-#: standard input:44 input:113 input:167
-msgid "Choose"
-msgstr "Välj"
-
-#. templates/config.tpl
-#: standard input:47
+#: standard input:77
 msgid "New"
 msgstr "Ny"
 
 #. templates/config.tpl
-#: standard input:50
+#: standard input:80
 msgid "Remove"
 msgstr "Ta bort"
 
 #. templates/config.tpl
-#: standard input:56
+#: standard input:86
 msgid "Backup Age"
 msgstr "Ålder för säkerhetskopior"
 
 #. templates/config.tpl
-#: standard input:59
+#: standard input:89
 msgid "Clienttype"
 msgstr "Klienttyp"
 
 #. templates/config.tpl
 #. templates/restore.tpl
-#: standard input:68 input:116
+#: standard input:98
+#: standard input:113
 msgid "Locations:"
 msgstr "Platser:"
 
 #. templates/config.tpl
-#: standard input:71 src/index.php:936
+#: standard input:101
+#: src/index.php:922
 msgid "Add"
 msgstr "Lägg till"
 
 #. templates/config.tpl
-#: standard input:74
+#: standard input:104
 msgid "Delete"
 msgstr "Ta bort"
 
+#. templates/restore.tpl
+#: standard input:107
+msgid "Client to restore"
+msgstr "Klient att återskapa"
+
+#. templates/restore.tpl
+#: standard input:116
+msgid "Browse"
+msgstr "Bläddra"
+
+#. templates/restore.tpl
+#: standard input:119
+msgid "Restore of %1"
+msgstr "Återskapandet av %1"
+
+#. templates/restore.tpl
+#: standard input:122
+msgid "Deleted"
+msgstr "Borttaget"
+
 #. templates/status.tpl
-#: standard input:77
+#: standard input:125
 msgid "Clients"
 msgstr "Klienter"
 
 #. templates/status.tpl
-#: standard input:80
-msgid "Status for %1"
-msgstr "Status för %1"
-
-#. templates/status.tpl
-#: standard input:83
+#: standard input:128
 msgid "OK at %1"
 msgstr "OK %1"
 
 #. templates/status.tpl
-#: standard input:86
+#: standard input:131
 msgid "Failed at %1"
 msgstr "Misslyckades %1"
 
 #. templates/status.tpl
-#: standard input:89
+#: standard input:134
 msgid "Client never backed up"
 msgstr "Klienten har aldrig säkerhetskopierats"
 
 #. templates/status.tpl
-#: standard input:92
+#: standard input:137
 msgid "ssh-keys are working"
 msgstr "ssh-nycklarna är rätt konfigurerade"
 
 #. templates/status.tpl
-#: standard input:95
+#: standard input:140
 msgid "rdiff-backup-versions differ"
 msgstr "rdiff-backup-versionerna stämmer inte överens"
 
 #. templates/status.tpl
-#: standard input:98
+#: standard input:143
 msgid "ssh-keys are not working"
 msgstr "ssh-nycklarna är felkonfigurerade"
 
 #. templates/status.tpl
-#: standard input:101
+#: standard input:146
 msgid "Backup status"
 msgstr "Status för säkerhetskopiering"
 
 #. templates/status.tpl
-#: standard input:104
+#: standard input:149
 msgid "Backup last finished at %1"
 msgstr "Säkerhetskopieringen färdigställdes %1"
 
 #. templates/status.tpl
-#: standard input:107
+#: standard input:152
 msgid "A new backup started at %1"
 msgstr "En ny säkerhetskopiering startades %1"
 
-#. templates/restore.tpl
-#: standard input:110
-msgid "Client to restore"
-msgstr "Klient att återskapa"
-
-#. templates/restore.tpl
-#: standard input:119
-msgid "Browse"
-msgstr "Bläddra"
-
-#. templates/restore.tpl
-#: standard input:122
-msgid "Restore of %1"
-msgstr "Återskapandet av %1"
-
-#. templates/restore.tpl
-#: standard input:125
-msgid "Deleted"
-msgstr "Borttaget"
-
-#. templates/header.tpl
-#: standard input:128
-msgid "SLBackup Configuration"
-msgstr "Konfiguration av SLBackup"
-
-#. templates/header.tpl
-#: standard input:131
-msgid "Status"
-msgstr "Status"
-
-#. templates/header.tpl
-#: standard input:134
-msgid "Config"
-msgstr "Konfiguration"
-
-#. templates/header.tpl
-#: standard input:137
-msgid "Restore"
-msgstr "Återskapa"
-
-#. templates/header.tpl
-#. templates/maint.tpl
-#: standard input:140 input:164
-msgid "Maintenance"
-msgstr "Underhåll"
-
-#. templates/header.tpl
-#: standard input:143
-msgid "Logout"
-msgstr "Logga ut"
-
 #. templates/login.tpl
-#: standard input:146
+#: standard input:155
 msgid "To read the configuration, you must log in as %1 on %2."
 msgstr "För att läsa konfiguration måste du logga in som %1 på %2."
 
 #. templates/login.tpl
-#: standard input:149
+#: standard input:158
 msgid "Please enter the password for the %1 account on %2:"
 msgstr "Ange lösenordet för %1-kontot på %2:"
 
 #. templates/login.tpl
-#: standard input:152
-msgid ""
-"WARNING: you are about to send you password over an unencrypted link, please "
-"ask your administrator to enable https"
-msgstr ""
-"VARNING: du är på väg att skicka ditt lösenord över en okrypterad "
-"förbindelse, be din administratör att aktivera https"
+#: standard input:161
+msgid "WARNING: you are about to send you password over an unencrypted link, please ask your administrator to enable https"
+msgstr "VARNING: du är på väg att skicka ditt lösenord över en okrypterad förbindelse, be din administratör att aktivera https"
 
 #. templates/login.tpl
-#: standard input:155
-msgid ""
-"Login to this application is denied without the use of https. Please ask "
-"your administrator to enable https"
-msgstr ""
-"Inloggning till det här programmet nekas därför att https inte används. Be "
-"din administratör att aktivera https"
+#: standard input:164
+msgid "Login to this application is denied without the use of https. Please ask your administrator to enable https"
+msgstr "Inloggning till det här programmet nekas därför att https inte används. Be din administratör att aktivera https"
 
 #. templates/login.tpl
-#: standard input:158
+#: standard input:167
 msgid "Login"
 msgstr "Logga in"
 
-#. templates/maint.tpl
-#: standard input:170
-msgid "Oldest snapshot to keep:"
-msgstr "Äldsta ögonblicksbild att spara:"
-
-#. templates/maint.tpl
-#: standard input:173
-msgid "Delete older"
-msgstr "Ta bort äldre"
-
-#: src/index.php:749
+#: src/index.php:735
 #, php-format
 msgid "No client specified :("
 msgstr "Ingen klient angiven :("
 
-#: src/index.php:754
+#: src/index.php:740
 #, php-format
 msgid "Unable to find %s in the list of clients."
 msgstr "Kunde inte hitta %s i listan över klienter."
 
-#: src/index.php:788
+#: src/index.php:774
 #, php-format
 msgid "Unable to find %s in the locations of %s."
 msgstr "Kunde inte hitta %s i platserna för %s."
+
diff --git a/src/functions.php b/src/functions.php
index 3eb90c6..6df4065 100644
--- a/src/functions.php
+++ b/src/functions.php
@@ -60,15 +60,13 @@ function loadConfig () {
 }
 
 function loadLocale () {
-    $found_locale = "";
-    if (array_key_exists('locale', $_COOKIE))
-	$found_locale = $_COOKIE['locale'];
-
+    $found_locale = $_COOKIE['locale'] ;
+    
     if ($found_locale == "" && $handle = @opendir ('../locales')) {
-	$translations = array () ; 
+	$all_locales = array () ; 
 	while (false !== ($file = readdir ($handle))) {
 	    if (is_dir ('../locales/' . $file . '/LC_MESSAGES')) {
-		$translations = array_merge ($translations, array ($file)) ; 
+		$all_locales = array_merge ($all_locales, array ($file)) ; 
 	    }
 	}
 	closedir ($handle) ; 
@@ -78,56 +76,32 @@ function loadLocale () {
 	    $lang_accept[$i] = split(";", $lang_accept[$i]) ; 
 	    $lang_accept[$i] = $lang_accept[$i][0] ; 
 	}
-
-	if (!empty($lang_accept[0])) {
-	    foreach ($lang_accept as $lang) {
-		if (!isset ($locale_exact)) {
-		    foreach ($translations as $translation) {
-			if ($translation == $lang)
-			    $locale_exact = $lang ; 
-			elseif (!isset ($locale_match)) {
-			    if (strpos ($translation, $lang) === 0)
-				$locale_match = $translation ; 
-			}
+	if (!empty($lang_accept[0]))
+	foreach ($lang_accept as $lang) {
+	    if (!isset ($locale_exact)) {
+		foreach ($all_locales as $locales) {
+		    if ($locales == $lang)
+			$locale_exact = $lang ; 
+		    elseif (!isset ($locale_match)) {
+			if (strpos ($locales, $lang) === 0)
+			    $locale_match = $locales ; 
 		    }
 		}
 	    }
-	    if (isset ($locale_exact)) 
-		$found_locale=$locale_exact ; 
-	    elseif (isset ($locale_match))
-		$found_locale=$locale_match ; 
-	}
-
-	$locales = array();
-	$locales_utf8 = array();
-	if (isset($found_locale) && !empty($lang_accept[0])) {
-	    $found_locale_tuple = split('_', $found_locale);
-	    if (count($found_locale_tuple) > 1) {
-		$locales[] = $found_locale;
-		$locales_utf8[] = $found_locale.'.UTF-8';
-	    }
-	    foreach ($lang_accept as $lang) {
-		$lang_tuple = split('-',$lang);
-		if (count($lang_tuple) > 1) {
-		    $language = strtolower($lang_tuple[0]);
-		    $country = strtoupper($lang_tuple[1]);
-		    $locales[] = $language . '_' . $country;
-		    $locales_utf8[] = $language . '_' . $country . '.UTF-8';
-		}
-	    }
-	    $locales_all = array_merge ($locales_utf8, $locales);
-	    $found_locale = setlocale (LC_ALL, $locales_all) ; 
 	}
-
+	if (isset ($locale_exact)) 
+	    $found_locale=$locale_exact ; 
+	elseif (isset ($locale_match))
+	    $found_locale=$locale_match ; 
 	if (isset ($found_locale))
 	    setcookie ( 'locale', $found_locale) ;
 	unset ($all_locales, $lang_accept, $locale_match, $locale_exact, $lang, $locales) ; 
     }
-
+	
     if (isset ($found_locale)) {
-	$locale = setlocale (LC_ALL, $found_locale) ; 
-	if (empty($locale))
-	    $locale = setlocale (LC_ALL, $found_locale . ".UTF8");
+        $locale = setlocale (LC_ALL, $found_locale) ; 
+	if (empty($locale)) 
+	    setlocale (LC_ALL, $found_locale . ".UTF8"); 
 	bindtextdomain ("slbackup-php", "../locales/"); 
 	bind_textdomain_codeset ("slbackup-php", "UTF-8");
 	textdomain ("slbackup-php"); 
@@ -166,5 +140,4 @@ function debug ($mixed) {
     print_r ($mixed);
     echo "\n</pre>\n" ; 
 }
-
 ?>
diff --git a/src/index.php b/src/index.php
index af2fad9..0af7099 100644
--- a/src/index.php
+++ b/src/index.php
@@ -71,7 +71,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 function removesnapshots ($passwd, $clientdir, $snapshot) {
 global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 
-    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force --remove-older-than %s \"%s\"'",
+    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force --remove-older-than %s %s'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $snapshot, $clientdir) ; 
 
@@ -98,7 +98,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 function listsnapshots ($passwd, $clientdir) {
 global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 
-    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data\" -maxdepth 1 -name \"increments.*\" -printf %s | sort '", 
+    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data -maxdepth 1 -name \"increments.*\" -printf %s'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, '"%P\n"') ; 
 
@@ -126,7 +126,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 function fetchfile ($passwd, $clientdir, $location, $file) {
 global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 
-    $cmd = sprintf ("ssh %s %s@%s 'cat \"%s%s/%s\"'",
+    $cmd = sprintf ("ssh %s %s@%s 'cat %s%s/%s'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $file ) ; 
 
@@ -169,7 +169,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
     } else unset ($tempfile) ; 
     if (empty($tempfile))
         return ; 
-    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force \"%s/rdiff-backup-data/increments%s/%s %s\"'",
+    $cmd = sprintf ("ssh %s %s@%s 'rdiff-backup --force %s/rdiff-backup-data/increments%s/%s %s'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $file, $tempfile ) ; 
 
@@ -180,7 +180,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 	fclose ($pipes[1]) ; 
 	proc_close ($proc) ; 
     } 
-    $cmd = sprintf ("ssh %s %s@%s 'cat \"%s\" && rm \"%s\"'",
+    $cmd = sprintf ("ssh %s %s@%s 'cat %s && rm %s'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $tempfile, $tempfile) ; 
     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
@@ -213,7 +213,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 
     $env = array ('SSH_ASKPASS' => $ssh_askpass, 
 		  'DISPLAY' => ':nowhere') ; 
-    $cmd = sprintf ("ssh %s %s@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"%s\"'",
+    $cmd = sprintf ("ssh %s %s@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type f -name %s'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $parent, $base ) ; 
     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
@@ -230,7 +230,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 	proc_close ($proc) ; 
     }
     $baselen= strlen ($base) ; 
-    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"%s*.gz\"'",
+    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type f -name \"%s*.gz\"'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $parent, $base ) ; 
 
@@ -283,7 +283,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 
     $env = array ('SSH_ASKPASS' => $ssh_askpass, 
 		  'DISPLAY' => ':nowhere') ; 
-    $cmd = sprintf ("ssh %s %s@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type d'",
+    $cmd = sprintf ("ssh %s %s@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type d'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $sub ) ; 
     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
@@ -299,7 +299,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 	fclose ($pipes[1]) ; 
 	proc_close ($proc) ; 
     }
-    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type d'",
+    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type d'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $sub ) ; 
     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
@@ -322,7 +322,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 	fclose ($pipes[1]) ; 
 	proc_close ($proc) ; 
     }
-    $cmd = sprintf ("ssh %s %s@%s 'find \"%s%s/%s\" -maxdepth 1 -mindepth 1 -type f'",
+    $cmd = sprintf ("ssh %s %s@%s 'find %s%s/%s -maxdepth 1 -mindepth 1 -type f'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $sub ) ; 
 
@@ -339,7 +339,7 @@ global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
 	fclose ($pipes[1]) ; 
 	proc_close ($proc) ; 
     }
-    $cmd = sprintf ("ssh %s %s@%s 'find \"%s/rdiff-backup-data/increments%s/%s\" -maxdepth 1 -mindepth 1 -type f -name \"*.snapshot.gz\"'",
+    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data/increments%s/%s -maxdepth 1 -mindepth 1 -type f -name \"*.snapshot.gz\"'", 
    		     $ssh_options, $backupuser, 
 		     $backuphost, $clientdir, $location, $sub ) ; 
     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
@@ -406,8 +406,6 @@ global $backuphost, $backupuser, $backupcron, $ssh_options, $ssh_askpass ;
 
     $env = array ('SSH_ASKPASS' => $ssh_askpass, 
 		  'DISPLAY' => ':nowhere') ; 
-
-    // cat crontab file on remote backup server
     $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ; 
     if (is_resource ($proc)) {
 	fprintf ($pipes[0], "%s\n", $passwd) ; 
@@ -416,19 +414,6 @@ global $backuphost, $backupuser, $backupcron, $ssh_options, $ssh_askpass ;
 	fclose ($pipes[0]) ; 
 	proc_close ($proc) ; 
 	}
-
-    // chmod on the remote backup job file
-    $cmd = sprintf ("ssh %s %s@%s 'chmod 0644 %s'",
-		     $ssh_options, $backupuser,
-		     $backuphost, $backupcron) ;
-    $proc = proc_open ($cmd, $desc, $pipes, '/tmp', $env) ;
-    if (is_resource ($proc)) {
-	fprintf ($pipes[0], "%s\n", $passwd) ;
-	fclose ($pipes[1]) ;
-	fclose ($pipes[0]) ;
-	proc_close ($proc) ;
-	}
-
 }
 
 
@@ -583,50 +568,36 @@ global $backuphost, $backupuser, $logfile, $ssh_options, $ssh_askpass ;
 
 require_once ('functions.php') ; 
 loadConfig () ;
-require('/usr/share/php/smarty3/Smarty.class.php') ; 
+require('/usr/share/php/smarty/libs/Smarty.class.php') ; 
 session_start() ;
+$authenticated = ($_COOKIE['Authenticated'] == "True") ;
 loadLocale () ; 
 ob_start ();
 
 $smarty = new Smarty();
 $smarty->template_dir = $smarty_templ ; 
 $smarty->compile_dir = $smarty_compile ; 
-unset ($_COOKIE['smarty_templ']);
-unset ($_COOKIE['smarty_compile']);
 
 # fetch script to use whith passing the ssh-password
 $ssh_askpass = sprintf ("%s/script/mypass.sh", 
                         dirname (dirname ($_SERVER["SCRIPT_FILENAME"])));
 
-$arguments = $_REQUEST;
-
-# merge _COOKIE and _REQUEST
-$allowed_cookie_keys = array('nonhttps', 'xorstring', 'PHPSESSID', 'locale',);
-foreach ($_COOKIE as $key => $value) {
-    if ((! array_key_exists($key, $arguments)) && (in_array($key, $allowed_cookie_keys))) {
-	if (is_string($key) && is_string($value)) {
-	    $arguments[$key] = $value;
-	}
-    }
-}
 
 # Fetch arguments passed as the script is executed
-foreach ($arguments as $key => $value) {
+foreach ($_REQUEST as $key => $value) {
     switch ($key) {
         case "smarty_templ": 
         case "smarty_compile": 
         case "locale": 
         case "PHPSESSID": 
             break ;
-        case "nonhttps":
-            $nonhttps = $value ;
         case "Passwd": 
             $passwd = $value ; 
             $submit = "status" ; 
             break ; 
         case "xorstring": 
             if (empty($passwd))
-		$xorstring = base64_decode($value) ; 
+		$xorstring = $value ; 
             else break ; 
             if (empty ($value))
                 break ; 
@@ -669,8 +640,6 @@ foreach ($arguments as $key => $value) {
     }
 }
 
-unset ($arguments);
-
 if ($submit == "logout") {
     unset ($passwd) ; 
     unset ($xorstring) ; 
@@ -697,7 +666,7 @@ if (empty($encrypt) || empty ($xorstring)) {
     $xorstring = xorstring ($encrypt, $passwd) ; 
 }
 
-setcookie ('xorstring', base64_encode($xorstring)) ; 
+setcookie ('xorstring', $xorstring) ; 
 
 $scheduler = readcron ($passwd) ; 
 
diff --git a/templates/login.tpl b/templates/login.tpl
index 22bf015..487e104 100644
--- a/templates/login.tpl
+++ b/templates/login.tpl
@@ -22,13 +22,13 @@
     <FORM action="index.php" name=login method=POST>
 	{t 1=$backupuser 2=$backuphost}To read the configuration, you must log in as %1 on %2.{/t}<BR>
 	{t 1=$backupuser 2=$backuphost}Please enter the password for the %1 account on %2:{/t}<BR>
-	{if $nonhttps == "warn"}
+	{if $nonhttps == "warn" }
 	    <B>
 	    {t}WARNING: you are about to send you password over an unencrypted link, please ask your administrator to enable https{/t}
 	    <BR>
 	    </B>
         {/if}
-	{if $nonhttps == "deny"}
+	{if $nonhttps == "deny" }
 	    <B>
 	    {t}Login to this application is denied without the use of https. Please ask your administrator to enable https{/t}
 	    <BR>
diff --git a/templates/maint.tpl b/templates/maint.tpl
index 41752aa..50489bc 100644
--- a/templates/maint.tpl
+++ b/templates/maint.tpl
@@ -23,7 +23,7 @@
 	{html_options name=client values=$clients output=$clients 
 	              selected=$client}
 	<INPUT type=submit name=maint value="{t}Choose{/t}">
-	{if $client <> ""}
+	{if $client <> "" }
 	<INPUT type=hidden name=selected value="{$client}">
         {t}Oldest snapshot to keep:{/t}</TD>
 	{html_options name=snapshot values=$snapshots output=$snapshots
diff --git a/templates/restore.tpl b/templates/restore.tpl
index af52faa..2a19f78 100644
--- a/templates/restore.tpl
+++ b/templates/restore.tpl
@@ -28,7 +28,7 @@
 	              selected=$location}
 	<INPUT type=submit name=restorelocation value="{t}Browse{/t}">
 	<BR>
-	{if $sub <> ""}
+	{if $sub <> "" }
 	    <H3>{t 1=$sub}Restore of %1{/t}</H3>
 	{/if}
 	{foreach item=dir name=dir from=$loc}
@@ -42,13 +42,13 @@
 	        <IMG SRC="/icons/generic.gif" alt="[   ]">
 	    {/if}    
 	    {if $dir.type == "file"}
-		<A HREF="index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}</A>
+		<A HREF=index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}</A>
 	    {elseif $dir.type == "delfile"}
-		<A HREF="index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}(deleted)</A>
+		<A HREF=index.php?restorefile&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}(deleted)</A>
 	    {elseif $dir.type == deldir}
-		<A HREF="index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name} ({t}Deleted{/t})</A>
+		<A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name} ({t}Deleted{/t})</A>
 	    {else}
-		<A HREF="index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}">{$dir.name}</A>
+		<A HREF=index.php?restorelocation&client={$client}&sub={$dir.sub}&location={$location}>{$dir.name}</A>
 	    {/if}    
 	    <BR>
 	{/foreach}
@@ -59,13 +59,13 @@
 	        <IMG SRC="/icons/transfer.gif" alt="[   ]">
 	    {/if}    
 	    {if $version.type == "parent"}
-		<A HREF="index.php?restorelocation&client={$client}&sub={$version.sub}&location={$location}">{$version.name}</A>
+		<A HREF=index.php?restorelocation&client={$client}&sub={$version.sub}&location={$location}>{$version.name}</A>
 	    {elseif $version.type == "currentfile"}
-		<A HREF="index.php?restorefile&client={$client}&file={$version.sub}&location={$location}&revision=current">current</A>
+		<A HREF=index.php?restorefile&client={$client}&file={$version.sub}&location={$location}&revision=current>current</A>
 	    {elseif $version.type == "diff.gz"}
-		<A HREF="index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}">{$version.ts}</A>
+		<A HREF=index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}>{$version.ts}</A>
 	    {elseif $version.type == "snapshot.gz"}
-		<A HREF="index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}">{$version.ts}</A>
+		<A HREF=index.php?restorefile&client={$client}&parent={$version.parent}&location={$location}&revision={$version.revision}&name={$version.name}>{$version.ts}</A>
 	    {else}
 		unknown snapshot type $version.type
 	    {/if}    
diff --git a/templates/status.tpl b/templates/status.tpl
index 12c1831..56448b6 100644
--- a/templates/status.tpl
+++ b/templates/status.tpl
@@ -21,15 +21,15 @@
     <H2>{t}Clients{/t}</H2>
     <UL>
     {foreach from=$log.clients key=client item=values}
-       <LI>{t 1=$client}Status for %1{/t}
+       <LI>Status for {$client}
        <BR>
-       {if $values.started > $values.ok and $values.started > $values.failed}
+       {if $values.started > $values.ok and $values.started > $values.failed }
            Backup started as {$values.started|date_format:"%c"}, and is still in progress<BR>
        {/if}
-       {if $values.ok > $values.failed}
+       {if $values.ok > $values.failed }
            {t 1=$values.ok|date_format:"%c"}OK at %1{/t}
        {elseif $values.failed <> ''}
-           {t 1=$values.failed|date_format:"%c"}Failed at %1{/t}
+           {t 1=$values.ok|date_format:"%c"}Failed at %1{/t}
        {elseif $values.started == ''}
            {t}Client never backed up{/t}
        {/if}
@@ -48,7 +48,7 @@
     <H2>{t}Backup status{/t}</H2>
 
     {t 1=$log.end|date_format:"%c"}Backup last finished at %1{/t}<BR>
-    {if $log.start > $log.end}
+    {if $log.start > $log.end }
 	{t 1=$log.start|date_format:"%c"}A new backup started at %1{/t}<BR>
     {/if}
     </Body>


hooks/post-receive
-- 
slbackup-php.git (Debian package slbackup-php)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "slbackup-php.git" (Debian package slbackup-php).




More information about the debian-edu-commits mailing list