Index: /extensions/autoupdate/branches/2.0/autoupdate.php
===================================================================
--- /extensions/autoupdate/branches/2.0/autoupdate.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/autoupdate.php	(revision 9623)
@@ -0,0 +1,145 @@
+<?php
+
+if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
+
+include(AUTOUPDATE_PATH.'include/functions.inc.php');
+include(PHPWG_ROOT_PATH.'admin/include/pclzip.lib.php');
+
+/*
+STEP:
+0 = check is needed. If version is latest or check fail, we stay on step 0
+1 = new version on same branch AND new branch are available => user may choose upgrade.
+2 = upgrade on same branch
+3 = upgrade on different branch
+*/
+$step = isset($_GET['step']) ? $_GET['step'] : 0;
+$upgrade_to = isset($_GET['to']) ? $_GET['to'] : '';
+
+// +-----------------------------------------------------------------------+
+// |                                Step 0                                 |
+// +-----------------------------------------------------------------------+
+if ($step == 0)
+{
+  $template->assign(array(
+    'CHECK_VERSION' => false,
+    'DEV_VERSION' => false,
+    )
+  );
+
+  if (preg_match('/(\d+\.\d+)\.(\d+)/', PHPWG_VERSION, $matches))
+  {
+    $url = PHPWG_URL.'/download/all_versions.php';
+    $url .= '?rand='.md5(uniqid(rand(), true)); // Avoid server cache
+
+    if (@fetchRemote($url, $result)
+      and $all_versions = @explode("\n", $result)
+      and is_array($all_versions))
+    {
+      $template->assign('CHECK_VERSION', true);
+
+      $last_version = trim($all_versions[0]);
+      $upgrade_to = $last_version;
+
+      if (version_compare(PHPWG_VERSION, $last_version, '<'))
+      {
+        $new_branch = preg_replace('/(\d+\.\d+)\.\d+/', '$1', $last_version);
+        $actual_branch = $matches[1];
+
+        if ($new_branch == $actual_branch)
+        {
+          $step = 2;
+        }
+        else
+        {
+          $step = 3;
+
+          // Check if new version exists in same branch
+          foreach ($all_versions as $version)
+          {
+            $new_branch = preg_replace('/(\d+\.\d+)\.\d+/', '$1', $version);
+
+            if ($new_branch == $actual_branch)
+            {
+              if (version_compare(PHPWG_VERSION, $version, '<'))
+              {
+                $step = 1;
+              }
+              break;
+            }
+          }
+        }
+      }
+    }
+  }
+  else
+  {
+    $template->assign('DEV_VERSION', true);
+  }
+}
+
+// +-----------------------------------------------------------------------+
+// |                                Step 1                                 |
+// +-----------------------------------------------------------------------+
+if ($step == 1)
+{
+  $template->assign(array(
+    'MINOR_VERSION' => $version,
+    'MAJOR_VERSION' => $last_version,
+    )
+  );
+}
+
+// +-----------------------------------------------------------------------+
+// |                                Step 2                                 |
+// +-----------------------------------------------------------------------+
+if ($step == 2 and is_webmaster())
+{
+  if (isset($_POST['submit']) and isset($_POST['upgrade_to']))
+  {
+    autoupdate_upgrade_to($_POST['upgrade_to'], $step);
+  }
+}
+
+// +-----------------------------------------------------------------------+
+// |                                Step 3                                 |
+// +-----------------------------------------------------------------------+
+if ($step == 3 and is_webmaster())
+{
+  if (isset($_POST['saveTemplate']) and version_compare(PHPWG_VERSION, '2.1', '<'))
+  {
+    autoupdate_save_template_dir();
+  }
+
+  if (isset($_POST['dumpDatabase']))
+  {
+    autoupdate_dump_database();
+  }
+
+  if (isset($_POST['submit']) and isset($_POST['upgrade_to']))
+  {
+    autoupdate_upgrade_to($_POST['upgrade_to'], $step);
+  }
+}
+
+// +-----------------------------------------------------------------------+
+// |                        Process template                               |
+// +-----------------------------------------------------------------------+
+
+if (!is_webmaster())
+{
+  array_push($page['errors'], l10n('Webmaster status is required.'));
+}
+
+$template->assign(array(
+  'STEP'          => $step,
+  'AU_URL'        => get_admin_plugin_menu_link(AUTOUPDATE_PATH . '/autoupdate.php'),
+  'PHPWG_VERSION' => PHPWG_VERSION,
+  'UPGRADE_TO'    => $upgrade_to,
+  'RELEASE_URL'   => PHPWG_URL.'/releases/'.$upgrade_to,
+  )
+);
+
+$template->set_filename('plugin_admin_content', realpath(AUTOUPDATE_PATH.'template/autoupdate.tpl'));
+$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content');
+
+?>
Index: /extensions/autoupdate/branches/2.0/include/functions.inc.php
===================================================================
--- /extensions/autoupdate/branches/2.0/include/functions.inc.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/include/functions.inc.php	(revision 9623)
@@ -0,0 +1,428 @@
+<?php
+
+if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
+
+function autoupdate_deltree($path, $move_to_trash=false)
+{
+  if (is_dir($path))
+  {
+    $fh = opendir($path);
+    while ($file = readdir($fh))
+    {
+      if ($file != '.' and $file != '..')
+      {
+        $pathfile = $path . '/' . $file;
+        if (is_dir($pathfile))
+        {
+          autoupdate_deltree($pathfile, $move_to_trash);
+        }
+        else
+        {
+          @unlink($pathfile);
+        }
+      }
+    }
+    closedir($fh);
+    if (@rmdir($path))
+    {
+      return true;
+    }
+    elseif ($move_to_trash)
+    {
+      $trash = PHPWG_ROOT_PATH.'_trash';
+      if (!is_dir($trash))
+      {
+        @mkgetdir($trash);
+      }
+      return @rename($path, $trash . '/'.md5(uniqid(rand(), true)));
+    }
+    else
+    {
+      return false;
+    }
+  }
+}
+
+function autoupdate_add_index($path)
+{
+  if (is_dir($path))
+  {
+    $fh = opendir($path);
+    while ($file = readdir($fh))
+    {
+      if ($file != '.' and $file != '..')
+      {
+        $pathfile = $path . '/' . $file;
+        if (is_dir($pathfile))
+        {
+          autoupdate_add_index($pathfile);
+        }
+      }
+    }
+    $fp = @fopen($path.'/index.php', 'w');
+    @fwrite($fp, AU_DEFAULT_INDEX);
+    @fclose($fp);
+    closedir($fh);
+  }
+}
+
+function process_obsolete_list($file)
+{
+  if (file_exists(PHPWG_ROOT_PATH.$file)
+    and $old_files = file(PHPWG_ROOT_PATH.$file, FILE_IGNORE_NEW_LINES)
+    and !empty($old_files))
+  {
+    array_push($old_files, $file);
+    foreach($old_files as $old_file)
+    {
+      $path = PHPWG_ROOT_PATH.$old_file;
+      if (is_file($path))
+      {
+        @unlink($path);
+      }
+      elseif (is_dir($path))
+      {
+        autoupdate_deltree($path, true);
+      }
+    }
+  }
+}
+
+function move_local_files($dir)
+{
+  global $page, $cfgBase, $cfgUser, $cfgPassword, $cfgHote, $prefixeTable;
+
+  if ((!is_dir($dir) and !mkdir($dir, 0777))
+    or (!is_dir($dir.'/config') and !mkdir($dir.'/config'))
+    or (!is_dir($dir.'/css') and !mkdir($dir.'/css'))
+    or (!is_dir($dir.'/language') and !mkdir($dir.'/language')))
+  {
+    autoupdate_deltree($dir);
+    array_push($page['errors'], l10n('Unable to write new local directory.'));
+    return;
+  }
+
+  // Add index.php
+  autoupdate_add_index($dir);
+
+  // mysql.inc.php
+  $file = PHPWG_ROOT_PATH.'include/mysql.inc.php';
+  if (is_readable($file))
+  {
+    $file_content = '<?php
+$conf[\'dblayer\'] = \'mysql\';
+$conf[\'db_base\'] = \''.$cfgBase.'\';
+$conf[\'db_user\'] = \''.$cfgUser.'\';
+$conf[\'db_password\'] = \''.$cfgPassword.'\';
+$conf[\'db_host\'] = \''.$cfgHote.'\';
+
+$prefixeTable = \''.$prefixeTable.'\';
+
+define(\'PHPWG_INSTALLED\', true);';
+    if (defined('PWG_CHARSET'))
+    {
+      $file_content.= '
+define(\'PWG_CHARSET\', \'utf-8\');
+define(\'DB_CHARSET\', \'utf8\');
+define(\'DB_COLLATE\', \'\');';
+    }
+    $file_content.= '
+?>';
+    $new_config_file = $dir.'/config/database.inc.php';
+
+    if (!($fp = @fopen($new_config_file, 'w'))
+      or !@fwrite($fp, $file_content)
+      or !@fclose($fp))
+    {
+      array_push($page['errors'], l10n('Unable to write new local directory.'));
+      return;
+    }
+    @chmod($new_config_file, 0755);
+  }
+
+  // config_local.inc.php
+  $file = PHPWG_ROOT_PATH.'include/config_local.inc.php';
+  if (is_readable($file))
+  {
+    copy($file, $dir.'/config/config.inc.php');
+    @chmod($file, 0755);
+  }
+
+  // languages
+  $language_dir = opendir(PHPWG_ROOT_PATH.'language');
+  while ($file = readdir($language_dir))
+  {
+    $path = PHPWG_ROOT_PATH.'language/'.$file;
+    if (!is_link($path) and is_dir($path) and is_readable($path.'/local.lang.php'))
+    {
+      $content = file_get_contents($path.'/local.lang.php');
+      $langdef = explode('.',$file);
+      if (count($langdef)>1)
+      {
+        $content = utf8_encode($content);
+      }
+      $filename = $dir.'/language/'.$langdef[0].'.lang.php';
+      $fp = @fopen($filename, 'w');
+      @fwrite($fp, $content);
+      @fclose($fp);
+      @chmod($filename, 0755);
+    }
+  }
+  closedir($language_dir);
+
+  // template-common/local-layout.css
+  $file = PHPWG_ROOT_PATH.'template-common/local-layout.css';
+  if (is_readable($file))
+  {
+    copy($file, $dir.'/css/rules.css');
+    @chmod($file, 0755);
+  }
+
+  // template/xxx/local-layout.css
+  $known_templates = array(
+    'yoga'     => 'default',
+    'floPure'  => 'Pure_default',
+    'floOs'    => 'OS_default',
+    'gally'    => 'gally-default',
+    'simple'   => 'simple',
+  );
+
+  foreach ($known_templates as $old_tpl => $new_tpl)
+  {
+    $file = PHPWG_ROOT_PATH.'template/'.$old_tpl.'/local-layout.css';
+    if (is_readable($file))
+    {
+      copy($file, $dir.'/css/'.$new_tpl.'-rules.css');
+      @chmod($file, 0755);
+    }
+  }
+}
+
+function autoupdate_save_template_dir()
+{
+  global $page, $conf;
+
+  $path = $conf['local_data_dir'].'/autoupdate';
+
+  if (@mkgetdir($path)
+    and ($zip = tempnam($path, 'zip'))
+    and ($archive = new pclZip($zip))
+    and ($v_list = $archive->add(PHPWG_ROOT_PATH.'template', PCLZIP_OPT_REMOVE_PATH, PHPWG_ROOT_PATH))
+    and is_array($v_list)
+    and !empty($v_list))
+  {
+    $http_headers = array(
+      'Content-Length: '.@filesize($zip),
+      'Content-Type: application/zip',
+      'Content-Disposition: attachment; filename="template.zip";',
+      'Content-Transfer-Encoding: binary',
+      );
+
+    foreach ($http_headers as $header) {
+      header($header);
+    }
+
+    @readfile($zip);
+    autoupdate_deltree($conf['local_data_dir'].'/autoupdate');
+    exit();
+  }
+  else
+  {
+    array_push($page['errors'], l10n('Unable to send template directory.'));
+  }
+}
+
+function autoupdate_dump_database()
+{
+  global $page, $conf, $cfgBase;
+
+  if (version_compare(PHPWG_VERSION, '2.1', '<'))
+  {
+    $conf['db_base'] = $cfgBase;
+  }
+
+  include(AUTOUPDATE_PATH.'include/mysqldump.php');
+
+  $path = $conf['local_data_dir'].'/autoupdate';
+
+  if (@mkgetdir($path)
+    and ($backupFile = tempnam($path, 'sql'))
+    and ($dumper = new MySQLDump($conf['db_base'],$backupFile,false,false)))
+  {
+    foreach (get_defined_constants() as $constant => $value)
+    {
+      if (preg_match('/_TABLE$/', $constant))
+      {
+        $dumper->getTableStructure($value);
+
+        if ($constant == 'HISTORY_TABLE' and !isset($_POST['includeHistory']))
+        {
+          continue;
+        }
+
+        $dumper->getTableData($value);
+      }
+    }
+  }
+
+  if (@filesize($backupFile))
+  {
+    $http_headers = array(
+      'Content-Length: '.@filesize($backupFile),
+      'Content-Type: text/x-sql',
+      'Content-Disposition: attachment; filename="database.sql";',
+      'Content-Transfer-Encoding: binary',
+      );
+
+    foreach ($http_headers as $header) {
+      header($header);
+    }
+
+    @readfile($backupFile);
+    autoupdate_deltree($conf['local_data_dir'].'/autoupdate');
+    exit();
+  }
+  else
+  {
+    array_push($page['errors'], l10n('Unable to dump database.'));
+  }
+}
+
+function autoupdate_upgrade_to($upgrade_to, &$step)
+{
+  global $page, $conf, $template;
+
+  if (!version_compare($_POST['upgrade_to'], PHPWG_VERSION, '>'))
+  {
+    redirect(get_admin_plugin_menu_link(AUTOUPDATE_PATH . '/autoupdate.php'));
+  }
+
+  if ($step == 2)
+  {
+    preg_match('/(\d+\.\d+)\.(\d+)/', PHPWG_VERSION, $matches);
+    $code =  $matches[1].'.x_to_'.$_POST['upgrade_to'];
+    $dl_code = str_replace(array('.', '_'), '', $code);
+    $remove_path = $code;
+    $obsolete_list = 'obsolete.list';
+  }
+  else
+  {
+    $code = $_POST['upgrade_to'];
+    $dl_code = $code;
+    $remove_path = version_compare($code, '2.0.8', '>=') ? 'piwigo' : 'piwigo-'.$code;
+    $obsolete_list = PHPWG_ROOT_PATH.'install/obsolete.list';
+
+    if (version_compare(PHPWG_VERSION, '2.1', '<'))
+    {
+      move_local_files(PHPWG_ROOT_PATH.'local');
+    }
+  }
+
+  if (empty($page['errors']))
+  {
+    $path = $conf['local_data_dir'].'/autoupdate';
+    $filename = $path.'/'.$code.'.zip';
+    @mkgetdir($path);
+
+    $chunk_num = 0;
+    $end = false;
+    $zip = @fopen($filename, 'w');
+    while (!$end)
+    {
+      $chunk_num++;
+      if (@fetchRemote(PHPWG_URL.'/download/dlcounter.php?code='.$dl_code.'&chunk_num='.$chunk_num, $result)
+        and $input = @unserialize($result))
+      {
+        if (0 == $input['remaining'])
+        {
+          $end = true;
+        }
+        @fwrite($zip, base64_decode($input['data']));
+      }
+      else
+      {
+        $end = true;
+      }
+    }
+    @fclose($zip);
+
+    if (@filesize($filename))
+    {
+      $zip = new PclZip($filename);
+      if ($result = $zip->extract(PCLZIP_OPT_PATH, PHPWG_ROOT_PATH,
+                                  PCLZIP_OPT_REMOVE_PATH, $remove_path,
+                                  PCLZIP_OPT_SET_CHMOD, 0755,
+                                  PCLZIP_OPT_REPLACE_NEWER))
+      {
+        //Check if all files were extracted
+        $error = '';
+        foreach($result as $extract)
+        {
+          if (!in_array($extract['status'], array('ok', 'filtered', 'already_a_directory')))
+          {
+            // Try to change chmod and extract
+            if (@chmod(PHPWG_ROOT_PATH.$extract['filename'], 0777)
+              and ($res = $zip->extract(PCLZIP_OPT_BY_NAME, $remove_path.'/'.$extract['filename'],
+                                        PCLZIP_OPT_PATH, PHPWG_ROOT_PATH,
+                                        PCLZIP_OPT_REMOVE_PATH, $remove_path,
+                                        PCLZIP_OPT_SET_CHMOD, 0755,
+                                        PCLZIP_OPT_REPLACE_NEWER))
+              and isset($res[0]['status'])
+              and $res[0]['status'] == 'ok')
+            {
+              continue;
+            }
+            else
+            {
+              $error .= $extract['filename'].': '.$extract['status']."\n";
+            }
+          }
+        }
+
+        if (empty($error))
+        {
+          process_obsolete_list($obsolete_list);
+          autoupdate_deltree($conf['local_data_dir'].'/autoupdate');
+          invalidate_user_cache(true);
+          $template->delete_compiled_templates();
+          unset($_SESSION['need_update']);
+          if ($step == 2)
+          {
+            array_push($page['infos'], sprintf(l10n('autoupdate_success'), $upgrade_to));
+            $step = -1;
+          }
+          else
+          {
+            redirect(PHPWG_ROOT_PATH.'upgrade.php?now=');
+          }
+        }
+        else
+        {
+          file_put_contents($conf['local_data_dir'].'/autoupdate/log_error.txt', $error);
+          $relative_path = trim(str_replace(dirname(dirname(dirname(dirname(__FILE__)))), '', $conf['local_data_dir']), '/\\');
+          array_push($page['errors'], sprintf(l10n('autoupdate_extract_fail'), PHPWG_ROOT_PATH.$relative_path.'/autoupdate/log_error.txt'));
+        }
+      }
+      else
+      {
+        autoupdate_deltree($conf['local_data_dir'].'/autoupdate');
+        array_push($page['errors'], l10n('autoupdate_fail'));
+      }
+    }
+    else
+    {
+      array_push($page['errors'], l10n('Piwigo cannot retrieve upgrade file from server'));
+    }
+  }
+}
+
+if (!function_exists('is_webmaster'))
+{
+  function is_webmaster($user_status = '')
+  {
+    return is_autorize_status(ACCESS_WEBMASTER, $user_status);
+  }
+}
+
+define('AU_DEFAULT_INDEX', file_get_contents(AUTOUPDATE_PATH.'index.php'));
+?>
Index: /extensions/autoupdate/branches/2.0/include/functions_remote.inc.php
===================================================================
--- /extensions/autoupdate/branches/2.0/include/functions_remote.inc.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/include/functions_remote.inc.php	(revision 9623)
@@ -0,0 +1,112 @@
+<?php
+
+if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
+
+function autoupdate_check_version($version=PHPWG_VERSION)
+{
+  global $conf;
+
+  if (!isset($_SESSION['need_update']))
+  {
+    $_SESSION['need_update'] = null;
+
+    if (preg_match('/(\d+\.\d+)\.(\d+)/', $version, $matches)
+      and @fetchRemote(PHPWG_URL.'/download/all_versions.php', $result))
+    {
+      $all_versions = @explode("\n", $result);
+      $new_version = trim($all_versions[0]);
+      $_SESSION['need_update'] = version_compare($version, $new_version, '<');
+    }
+  }
+
+  if ($_SESSION['need_update'])
+  {
+    return l10n('A new version of Piwigo is available.').'<br>'
+          . '<a href="admin.php?page=plugin&amp;section=autoupdate%2Fautoupdate.php">'.l10n('Click here to upgrade automatically').'</a>';
+  }
+  else
+  {
+    // Gallery is up to date
+    // Check plugins upgrade
+    include_once(PHPWG_ROOT_PATH.'admin/include/plugins.class.php');
+    $plugins = new plugins();
+    $ignore_list = unserialize($conf['autoupdate_ignore_list']);
+
+    if (!isset($_SESSION['plugins_need_update']))
+    {
+      $_SESSION['plugins_need_update'] = null;
+      autoupdate_check_plugins_upgrade($plugins, $ignore_list);
+    }
+    elseif (!empty($_SESSION['plugins_need_update']))
+    {
+      // Check if plugins have been upgraded since last check
+      foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
+      {
+        if (isset($_SESSION['plugins_need_update'][$plugin_id])
+          and $plugins->plugin_version_compare($fs_plugin['version'], $_SESSION['plugins_need_update'][$plugin_id]))
+        {
+          // Plugin have been updated
+          autoupdate_check_plugins_upgrade($plugins, $ignore_list);
+        }
+      }
+    }
+
+    if (!empty($_SESSION['plugins_need_update']))
+    {
+      return l10n('Some upgrades are available for you plugins').'<br>'
+        . '<a href="admin.php?page=plugins_update">'.l10n('Click here see upgrade plugins page').'</a>';
+    }
+  }
+
+  if ($_SESSION['need_update'] === false and $_SESSION['plugins_need_update'] === array())
+  {
+    return l10n('Gallery and plugins are up to date');
+  }
+  else
+  {
+    return l10n('Unable to check upgrades...')
+      . '<br><a href="admin.php?action=check_autoupdate">'
+      . l10n('Click here to check upgrades now') . '</a>';
+  }
+}
+
+function autoupdate_check_plugins_upgrade($plugins, $ignore_list)
+{
+  if ($plugins->get_server_plugins())
+  {
+    $new_ignore_list = array();
+    $_SESSION['plugins_need_update'] = array();
+
+    foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
+    {
+      if (isset($fs_plugin['extension']) and isset($plugins->server_plugins[$fs_plugin['extension']]))
+      {
+        $plugin_info = $plugins->server_plugins[$fs_plugin['extension']];
+
+        if (!$plugins->plugin_version_compare($fs_plugin['version'], $plugin_info['revision_name']))
+        {
+          $fs_plugin_name = htmlspecialchars_decode($fs_plugin['name']);
+
+          if (in_array($fs_plugin_name, $ignore_list))
+          {
+            array_push($new_ignore_list, $fs_plugin_name);
+          }
+          else
+          {
+            $_SESSION['plugins_need_update'][$plugin_id] = $plugin_info['revision_name'];
+          }
+        }
+      }
+    }
+
+    // Update ignore list in database
+    $query = '
+UPDATE '.CONFIG_TABLE.'
+SET value = "'.addslashes(serialize($new_ignore_list)).'"
+WHERE param = "autoupdate_ignore_list"
+;';
+    pwg_query($query);
+  }
+}
+
+?>
Index: /extensions/autoupdate/branches/2.0/include/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/include/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/include/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/include/mysqldump.php
===================================================================
--- /extensions/autoupdate/branches/2.0/include/mysqldump.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/include/mysqldump.php	(revision 9623)
@@ -0,0 +1,421 @@
+<?php
+/**
+* Dump MySQL database
+*
+* Here is an inline example:
+* <code>
+* $connection = @mysql_connect($dbhost,$dbuser,$dbpsw);
+* $dumper = new MySQLDump($dbname,'filename.sql',false,false);
+* $dumper->doDump();
+* </code>
+*
+* Special thanks to:
+* - Andrea Ingaglio <andrea@coders4fun.com> helping in development of all class code
+* - Dylan Pugh for precious advices halfing the size of the output file and for helping in debug
+*
+* @name    MySQLDump
+* @author  Daniele Viganò - CreativeFactory.it <daniele.vigano@creativefactory.it>
+* @version 2.20 - 02/11/2007
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*/
+
+class MySQLDump {
+	/**
+	* @access private
+	*/
+	var $database = null;
+
+	/**
+	* @access private
+	*/
+	var $compress = false;
+
+	/**
+	* @access private
+	*/
+	var $hexValue = false;
+
+  /**
+	* The output filename
+	* @access private
+	*/
+	var $filename = null;
+
+	/**
+	* The pointer of the output file
+	* @access private
+	*/
+	var $file = null;
+
+	/**
+	* @access private
+	*/
+	var $isWritten = false;
+
+	/**
+	* Class constructor
+	* @param string $db The database name
+	* @param string $filepath The file where the dump will be written
+	* @param boolean $compress It defines if the output file is compress (gzip) or not
+	* @param boolean $hexValue It defines if the outup values are base-16 or not
+	*/
+	function MYSQLDump($db = null, $filepath = 'dump.sql', $compress = false, $hexValue = false){
+		$this->compress = $compress;
+		if ( !$this->setOutputFile($filepath) )
+			return false;
+		return $this->setDatabase($db);
+	}
+
+	/**
+	* Sets the database to work on
+	* @param string $db The database name
+	*/
+	function setDatabase($db){
+		$this->database = $db;
+		if ( !@mysql_select_db($this->database) )
+			return false;
+		return true;
+  }
+
+	/**
+	* Returns the database where the class is working on
+	* @return string
+	*/
+  function getDatabase(){
+		return $this->database;
+	}
+
+	/**
+	* Sets the output file type (It can be made only if the file hasn't been already written)
+	* @param boolean $compress If it's true, the output file will be compressed
+	*/
+	function setCompress($compress){
+		if ( $this->isWritten )
+			return false;
+		$this->compress = $compress;
+		$this->openFile($this->filename);
+		return true;
+  }
+
+	/**
+	* Returns if the output file is or not compressed
+	* @return boolean
+	*/
+  function getCompress(){
+		return $this->compress;
+	}
+
+	/**
+	* Sets the output file
+	* @param string $filepath The file where the dump will be written
+	*/
+	function setOutputFile($filepath){
+		if ( $this->isWritten )
+			return false;
+		$this->filename = $filepath;
+		$this->file = $this->openFile($this->filename);
+		return $this->file;
+  }
+
+  /**
+	* Returns the output filename
+	* @return string
+	*/
+  function getOutputFile(){
+		return $this->filename;
+	}
+
+	/**
+	* Writes to file the $table's structure
+	* @param string $table The table name
+	*/
+  function getTableStructure($table){
+		if ( !$this->setDatabase($this->database) )
+			return false;
+		// Structure Header
+		$structure = "-- \n";
+		$structure .= "-- Table structure for table `{$table}` \n";
+		$structure .= "-- \n\n";
+		// Dump Structure
+		$structure .= 'DROP TABLE IF EXISTS `'.$table.'`;'."\n";
+		$structure .= "CREATE TABLE `".$table."` (\n";
+		$records = @mysql_query('SHOW FIELDS FROM `'.$table.'`');
+		if ( @mysql_num_rows($records) == 0 )
+			return false;
+		while ( $record = mysql_fetch_assoc($records) ) {
+			$structure .= '`'.$record['Field'].'` '.$record['Type'];
+			if ( isset($record['Default']) )
+				$structure .= ' DEFAULT \''.$record['Default'].'\'';
+			if ( @strcmp($record['Null'],'YES') != 0 )
+				$structure .= ' NOT NULL';
+			elseif ( is_null($record['Default']) )
+				$structure .= ' DEFAULT NULL';
+			if ( !empty($record['Extra']) )
+				$structure .= ' '.$record['Extra'];
+			$structure .= ",\n";
+		}
+		$structure = @ereg_replace(",\n$", null, $structure);
+
+		// Save all Column Indexes
+		$structure .= $this->getSqlKeysTable($table);
+		$structure .= "\n)";
+
+		//Save table engine
+		$records = @mysql_query("SHOW TABLE STATUS LIKE '".$table."'");
+
+		if ( $record = @mysql_fetch_assoc($records) ) {
+			if ( !empty($record['Engine']) )
+				$structure .= ' ENGINE='.$record['Engine'];
+			if ( !empty($record['Auto_increment']) )
+				$structure .= ' AUTO_INCREMENT='.$record['Auto_increment'];
+		}
+
+		$structure .= ";\n\n-- --------------------------------------------------------\n\n";
+		$this->saveToFile($this->file,$structure);
+	}
+
+	/**
+	* Writes to file the $table's data
+	* @param string $table The table name
+	* @param boolean $hexValue It defines if the output is base 16 or not
+	*/
+	function getTableData($table,$hexValue = true) {
+		if ( !$this->setDatabase($this->database) )
+			return false;
+		// Header
+		$data = "-- \n";
+		$data .= "-- Dumping data for table `$table` \n";
+		$data .= "-- \n\n";
+
+		$records = mysql_query('SHOW FIELDS FROM `'.$table.'`');
+		$num_fields = @mysql_num_rows($records);
+		if ( $num_fields == 0 )
+			return false;
+		// Field names
+		$selectStatement = "SELECT ";
+		$insertStatement = "INSERT INTO `$table` (";
+		$hexField = array();
+		for ($x = 0; $x < $num_fields; $x++) {
+			$record = @mysql_fetch_assoc($records);
+			if ( ($hexValue) && ($this->isTextValue($record['Type'])) ) {
+				$selectStatement .= 'HEX(`'.$record['Field'].'`)';
+				$hexField [$x] = true;
+			}
+			else
+				$selectStatement .= '`'.$record['Field'].'`';
+			$insertStatement .= '`'.$record['Field'].'`';
+			$insertStatement .= ", ";
+			$selectStatement .= ", ";
+		}
+		$insertStatement = @substr($insertStatement,0,-2).') VALUES'."\n";
+		$selectStatement = @substr($selectStatement,0,-2).' FROM `'.$table.'`';
+
+		$records = @mysql_query($selectStatement);
+		$num_rows = @mysql_num_rows($records);
+		$num_fields = @mysql_num_fields($records);
+		// Dump data
+		if ( $num_rows > 0 ) {
+			$data .= $insertStatement;
+			for ($i = 0; $i < $num_rows; $i++) {
+				$record = @mysql_fetch_assoc($records);
+				$data .= ' (';
+				for ($j = 0; $j < $num_fields; $j++) {
+					$field_name = @mysql_field_name($records, $j);
+					if ( @$hexField[$j] && (@strlen($record[$field_name]) > 0) )
+						$data .= "0x".$record[$field_name];
+					elseif (is_null($record[$field_name]))
+						$data .= "NULL";
+					else
+						$data .= "'".@str_replace('\"','"',@mysql_real_escape_string($record[$field_name]))."'";
+					$data .= ',';
+				}
+				$data = @substr($data,0,-1).")";
+				$data .= ( $i < ($num_rows-1) ) ? ',' : ';';
+				$data .= "\n";
+				//if data in greather than 1MB save
+				if (strlen($data) > 1048576) {
+					$this->saveToFile($this->file,$data);
+					$data = '';
+				}
+			}
+			$data .= "\n-- --------------------------------------------------------\n\n";
+			$this->saveToFile($this->file,$data);
+		}
+	}
+
+  /**
+	* Writes to file all the selected database tables structure
+	* @return boolean
+	*/
+	function getDatabaseStructure(){
+		$records = @mysql_query('SHOW TABLES');
+		if ( @mysql_num_rows($records) == 0 )
+			return false;
+    $structure = '';
+		while ( $record = @mysql_fetch_row($records) ) {
+			$structure .= $this->getTableStructure($record[0]);
+		}
+		return true;
+  }
+
+	/**
+	* Writes to file all the selected database tables data
+	* @param boolean $hexValue It defines if the output is base-16 or not
+	*/
+	function getDatabaseData($hexValue = true){
+		$records = @mysql_query('SHOW TABLES');
+		if ( @mysql_num_rows($records) == 0 )
+			return false;
+		while ( $record = @mysql_fetch_row($records) ) {
+			$this->getTableData($record[0],$hexValue);
+		}
+  }
+
+	/**
+	* Writes to file the selected database dump
+	*/
+	function doDump() {
+		$this->saveToFile($this->file,"SET FOREIGN_KEY_CHECKS = 0;\n\n");
+		$this->getDatabaseStructure();
+		$this->getDatabaseData($this->hexValue);
+		$this->saveToFile($this->file,"SET FOREIGN_KEY_CHECKS = 1;\n\n");
+		$this->closeFile($this->file);
+		return true;
+	}
+	
+	/**
+	* @deprecated Look at the doDump() method
+	*/
+	function writeDump($filename) {
+		if ( !$this->setOutputFile($filename) )
+			return false;
+		$this->doDump();
+    $this->closeFile($this->file);
+    return true;
+	}
+
+	/**
+	* @access private
+	*/
+	function getSqlKeysTable ($table) {
+		$primary = "";
+		$unique = array();
+		$index = array();
+		$fulltext = array();
+		$results = mysql_query("SHOW KEYS FROM `{$table}`");
+		if ( @mysql_num_rows($results) == 0 )
+			return false;
+		while($row = mysql_fetch_object($results)) {
+			if (($row->Key_name == 'PRIMARY') AND ($row->Index_type == 'BTREE')) {
+				if ( $primary == "" )
+					$primary = "  PRIMARY KEY  (`{$row->Column_name}`";
+				else
+					$primary .= ", `{$row->Column_name}`";
+			}
+			if (($row->Key_name != 'PRIMARY') AND ($row->Non_unique == '0') AND ($row->Index_type == 'BTREE')) {
+				if ( (empty($unique)) OR (empty($unique[$row->Key_name])) )
+					$unique[$row->Key_name] = "  UNIQUE KEY `{$row->Key_name}` (`{$row->Column_name}`";
+				else
+					$unique[$row->Key_name] .= ", `{$row->Column_name}`";
+			}
+			if (($row->Key_name != 'PRIMARY') AND ($row->Non_unique == '1') AND ($row->Index_type == 'BTREE')) {
+				if ( (empty($index)) OR (empty($index[$row->Key_name])) )
+					$index[$row->Key_name] = "  KEY `{$row->Key_name}` (`{$row->Column_name}`";
+				else
+					$index[$row->Key_name] .= ", `{$row->Column_name}`";
+			}
+			if (($row->Key_name != 'PRIMARY') AND ($row->Non_unique == '1') AND ($row->Index_type == 'FULLTEXT')) {
+				if ( (empty($fulltext)) OR (empty($fulltext[$row->Key_name])) )
+					$fulltext[$row->Key_name] = "  FULLTEXT `{$row->Key_name}` (`{$row->Column_name}`";
+				else
+					$fulltext[$row->Key_name] .= ", `{$row->Column_name}`";
+			}
+		}
+		$sqlKeyStatement = '';
+		// generate primary, unique, key and fulltext
+		if ( $primary != "" ) {
+			$sqlKeyStatement .= ",\n";
+			$primary .= ")";
+			$sqlKeyStatement .= $primary;
+		}
+		if (!empty($unique)) {
+			foreach ($unique as $keyName => $keyDef) {
+				$sqlKeyStatement .= ",\n";
+				$keyDef .= ")";
+				$sqlKeyStatement .= $keyDef;
+
+			}
+		}
+		if (!empty($index)) {
+			foreach ($index as $keyName => $keyDef) {
+				$sqlKeyStatement .= ",\n";
+				$keyDef .= ")";
+				$sqlKeyStatement .= $keyDef;
+			}
+		}
+		if (!empty($fulltext)) {
+			foreach ($fulltext as $keyName => $keyDef) {
+				$sqlKeyStatement .= ",\n";
+				$keyDef .= ")";
+				$sqlKeyStatement .= $keyDef;
+			}
+		}
+		return $sqlKeyStatement;
+	}
+
+  /**
+	* @access private
+	*/
+	function isTextValue($field_type) {
+		switch ($field_type) {
+			case "tinytext":
+			case "text":
+			case "mediumtext":
+			case "longtext":
+			case "binary":
+			case "varbinary":
+			case "tinyblob":
+			case "blob":
+			case "mediumblob":
+			case "longblob":
+				return True;
+				break;
+			default:
+				return False;
+		}
+	}
+	
+	/**
+	* @access private
+	*/
+	function openFile($filename) {
+		$file = false;
+		if ( $this->compress )
+			$file = @gzopen($filename, "w9");
+		else
+			$file = @fopen($filename, "w");
+		return $file;
+	}
+
+  /**
+	* @access private
+	*/
+	function saveToFile($file, $data) {
+		if ( $this->compress )
+			@gzwrite($file, $data);
+		else
+			@fwrite($file, $data);
+		$this->isWritten = true;
+	}
+
+  /**
+	* @access private
+	*/
+	function closeFile($file) {
+		if ( $this->compress )
+			@gzclose($file);
+		else
+			@fclose($file);
+	}
+}
+?>
Index: /extensions/autoupdate/branches/2.0/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/index.php	(revision 9623)
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based picture gallery                                  |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2010 Piwigo Team                  http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/ar_SA/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ar_SA/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ar_SA/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+ترقية المعرض آلياً
Index: /extensions/autoupdate/branches/2.0/language/ar_SA/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ar_SA/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ar_SA/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/ar_SA/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ar_SA/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ar_SA/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'أضغط هنا للترقية الآلية';
+$lang['autoupdate_alert'] = 'هل تريد فعلا ترقية  Piwigoآلياً؟ قد يكتب على الملفات المعدلة يدوياً ';
+$lang['autoupdate_success'] = ' (%s الأصدار) بحمد الله تم تحديث Piwigo الى';
+$lang['autoupdate_fail'] = 'حصل خطأ ما أثناء الترقية.';
+
+$lang['autoupdate_extract_fail'] = 'حدث خطأ أثناء الأستخراج. يرجى التحقق من أذونات الملفات من التثبيت piwigo الخاص.<br><a href="%s">اضغط هنا لإظهار الخطأ</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'لا يمكن Piwigo استرداد ملف الترقية من الملقم';
+$lang['Click here to see Piwigo %s release notes'] = 'Piwigo  اضغط هنا  %s لمشاهدة ملاحظات الاصدار';
+$lang['Some upgrades are available for you plugins'] = 'بعض الترقيات متاحة للإضافات';
+$lang['Click here see upgrade plugins page'] = 'أضغط هنا لرؤيات الترقيات الموجودة للإضافات';
+$lang['Gallery and plugins are up to date'] = 'المعرض و الاضافات حتى الآن';
+$lang['Unable to check upgrades...'] = 'لا يمكن فحص التحديثات ...';
+$lang['Click here to check upgrades now'] = 'أضغط هنا لفحص التحديثات الآن .';
+
+$lang['Notify on admin homepage'] = 'تنبيه المشرف على الصفحة الرئيسية';
+$lang['Don\'t notify on admin homepage'] = 'لا تنبه المشرف على الصفحة الرئيسة';
+
+$lang['Upgrade in progress... Please wait.'] = 'يتم معالجة التحديثات ،لحظات الانتظار .. املئها بالاستغفار';
+$lang['Checking upgrades for gallery and plugins...'] = 'فحص الترقيات للمعرض والإضافات...';
+
+$lang['Upgrade to Piwigo %s'] = ' Piwigo %s الترقية إلى ';
+$lang['Two upgrades are available'] = 'هناك ترقيتان متاحة';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'هذه ترقية ثانوية لتصحيح بعض الأخطاء.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'هذه تحديثات رئيسية مع <a href="%s"> ملحقات جديدة و مميزة</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'بعض الواجهات مع بعض الإضافات قد لا يمكن تشغليها في الوقت الحالي';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'تستطيع ترقية Piwigo إلى %s مباشرة ، بدون  تحديث Piwigo إلى %s (مستحسن )';
+$lang['autoupdate_step_1'] = 'الخطوة الأولى';
+$lang['autoupdate_step_2'] = 'الخطوةالثاني';
+$lang['autoupdate_step_3'] = 'الخطوة الثالثة';
+$lang['Save Template Directory'] = 'حفظ نماذج الدليل';
+$lang['Dump Database'] = 'تفريغ قاعدة البيانات';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'تضمين تاريخ البيانات (تنبيه:يجب توسيع ذاكرة الخادم)ـ';
+$lang['Unable to write new local directory.'] = 'غير قادر على الكتابة  في الدليل المحلي الجديد.';
+$lang['Unable to send template directory.'] = '.غير قادر على ارسال نماذج الدليل';
+$lang['Unable to dump database.'] = 'غير قادرعلى تفريق قاعدة البيانات.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/cs_CZ/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/cs_CZ/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/cs_CZ/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Akutualizuje automaticky Vaši galerii Piwigo.
Index: /extensions/autoupdate/branches/2.0/language/cs_CZ/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/cs_CZ/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/cs_CZ/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/cs_CZ/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/cs_CZ/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/cs_CZ/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Pro automatické provedení aktualizace kliknìte zde';
+$lang['autoupdate_alert'] = 'Jste si jistí, že chcete provést automatickou aktualizaci Piwigo?\nVarování!!! Ruènì provedené zmìny v souborech mohou být aktualizací pøepsány.';
+$lang['autoupdate_success'] = 'Piwigo bylo uspìšnì aktualizováno (verze %s)';
+$lang['autoupdate_fail'] = 'Bìhem aktualizace došlo k chybì.';
+
+$lang['autoupdate_extract_fail'] = 'K chybì došlo bìhem rozbalování. Prosím ovìøte oprávnìní na soubory Vaší instalace Piwigo.<br><a href="%s">Pro zobrazení chybového logu kliknìte zde</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo nemùže získat novou verzi ze serveru';
+$lang['Click here to see Piwigo %s release notes'] = 'Pro informace o nové verzi Piwigo %s kliknìte zde';
+$lang['Some upgrades are available for you plugins'] = 'Pro nìkteré vaše doplòky jsou dostupné aktualizace';
+$lang['Click here see upgrade plugins page'] = 'Pro stránku s aktualizacemi pro doplòky kliknìte zde';
+$lang['Gallery and plugins are up to date'] = 'Galerie Piwigo a doplòky jsou aktuální';
+$lang['Unable to check upgrades...'] = 'Nebylo možné zkontrolovat aktualizace...';
+$lang['Click here to check upgrades now'] = 'Pro kontrolu aktualizací kliknìte zde';
+
+$lang['Notify on admin homepage'] = 'Upozoròovat na domovské stránce administrace';
+$lang['Don\'t notify on admin homepage'] = 'Neupozoròovat na domovské stránce administrace';
+
+$lang['Upgrade in progress... Please wait.'] = 'Aktualizace probíhá... Prosím èekejte.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Kontrolují se aktualizace pro galerii Piwigo a pro doplòky...';
+
+$lang['Upgrade to Piwigo %s'] = 'Aktualizace na Piwigo %s'; 
+$lang['Two upgrades are available'] = '2 aktualizace jsou k dispozici'; 
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Toto je menší aktualizace, pouze oprava chyb.'; 
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Tohle je velká aktualizace, s <a href="%s">novými vlastnostmi</a>.'; 
+$lang['Some themes and plugins may be not available yet.'] = 'Nìkteré šablony a rozšíøení zatím nemusejí být k dispozici.'; 
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Mùžete aktualizovat na verzi Piwigo %s pøímo,není potøeba nejprve aktualizovat na Piwigo %s.'; 
+$lang['autoupdate_step_1'] = 'První krok'; 
+$lang['autoupdate_step_2'] = 'Druhý krok'; 
+$lang['autoupdate_step_3'] = 'Tøetí krok'; 
+$lang['Save Template Directory'] = 'Ulož složku šablony'; 
+$lang['Dump Database'] = 'Výpis Databáze'; 
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Zahrnout data historie (Varování: limit pamìi serveru mùže být pøekroèen)'; 
+$lang['Unable to write new local directory.'] = 'Nelze provést vytvoøení nové složky.'; 
+$lang['Unable to send template directory.'] = 'Nelze odeslat složku šablony.'; 
+$lang['Unable to dump database.'] = 'Nelze provést výpis databáze.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/da_DK/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/da_DK/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/da_DK/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Opgrader dit galleri automatisk
Index: /extensions/autoupdate/branches/2.0/language/da_DK/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/da_DK/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/da_DK/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/da_DK/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/da_DK/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/da_DK/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Klik her for at opgradere automatisk';
+$lang['autoupdate_alert'] = 'Er du sikker på du vil opgradere Piwigoo?\nAdvarsel!!! Filer der er manuelt ændret vil blive overskrevet.';
+$lang['autoupdate_success'] = 'Piwigo er blevet opgraderet (version %s)';
+$lang['autoupdate_fail'] = 'Der opstod en fejl under opgraderingen.';
+
+$lang['autoupdate_extract_fail'] = 'Der opstod en fejl under udpakningen. Tjek fil tilladelserne i din piwigo installation.<br><a href="%s">Klik her for at vis log fejl</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo kan ikke modtage opgraderings filer fra serveren';
+$lang['Click here to see Piwigo %s release notes'] = 'Klik her for at se Piwigo %s release notes';
+$lang['Some upgrades are available for you plugins'] = 'Der er opgraderinger til rådighed til dine plugins';
+$lang['Click here see upgrade plugins page'] = 'Klik her for at gå til opgraderingssiden for plugins';
+$lang['Gallery and plugins are up to date'] = 'Galleri og plugins er up to date';
+$lang['Unable to check upgrades...'] = 'Det er ikke muligt at tjekke for opgraderinger...';
+$lang['Click here to check upgrades now'] = 'Klik her for at tjekke for opgraderinger nu';
+
+$lang['Notify on admin homepage'] = 'Adviser på admin siden';
+$lang['Don\'t notify on admin homepage'] = 'Adviser ikke på admin siden';
+
+$lang['Upgrade in progress... Please wait.'] = 'Opgraderingen er i gang... Vent venligst.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Tjekker for opgraderinger til galleri og plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Opgradering til Piwigo %s';
+$lang['Two upgrades are available'] = 'Der er to opgraderinger til rådighed';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Dette er en mindre opgradering, med kun et par mindre rettelser.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Dette er en væsentlig opgradering, med <a href="%s">nye features</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Nogle temaer og plugins er muligvis ikke klar endnu.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Du kan opgradere til Piwigo %s direkte, uden at opgradere til Piwigo %s (anbefalet).';
+$lang['autoupdate_step_1'] = 'Første punkt';
+$lang['autoupdate_step_2'] = 'Anden punkt';
+$lang['autoupdate_step_3'] = 'Tredje punkt';
+$lang['Save Template Directory'] = 'Gem template biblioteket';
+$lang['Dump Database'] = 'Dump Database';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Inkluder historiske data (Advarsel: server hukommelses begrænsning kan blive overskredet)';
+$lang['Unable to write new local directory.'] = 'Det er ikke muligt at skrive ny lokal bibliotek.';
+$lang['Unable to send template directory.'] = 'Det er ikke muligt at sende template biblioteket.';
+$lang['Unable to dump database.'] = 'Det er ikke muligt at dumpe databasen.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/de_DE/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/de_DE/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/de_DE/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Aktualisieren Sie ihre Galerie manuell.
Index: /extensions/autoupdate/branches/2.0/language/de_DE/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/de_DE/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/de_DE/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/de_DE/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/de_DE/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/de_DE/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Klicken Sie hier um automatisch zu aktualisieren';
+$lang['autoupdate_alert'] = 'Sind Sie sicher, das Sie automatisch Aktualisieren möchten?\nWarnung: manuell modifizierte Dateien werden dabei überschrieben!';
+$lang['autoupdate_success'] = 'Piwigo wurde erfolgreich aktualisiert (version %s)';
+$lang['autoupdate_fail'] = 'Ein Fehler trat während des Aktualisierens auf.';
+
+$lang['autoupdate_extract_fail'] = 'Ein Fehler trat während des Entpackens auf. Bitte prüfen Sie die Schreibrechte ihrer Piwigo Installation.<br><a href="%s">Klicken Sie hier für das Fehlerprotokoll</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo kann die Aktualisierungsdatei nicht vom Server laden';
+$lang['Click here to see Piwigo %s release notes'] = 'Klicken Sie hier für die Piwigo %s Versionshinweise';
+$lang['Some upgrades are available for you plugins'] = 'Einige Aktualisierungen für Plugins sind verfügbar';
+$lang['Click here see upgrade plugins page'] = 'Klicken Sie hier für die Seite der Plugin Aktualisierungen';
+$lang['Gallery and plugins are up to date'] = 'Galerie und Plugins sind aktuell';
+$lang['Unable to check upgrades...'] = 'Die überprüfung auf Aktualisierungen ist nicht möglich...';
+$lang['Click here to check upgrades now'] = 'Klicken Sie hier um auf Aktualisierungen zu prüfen';
+
+$lang['Notify on admin homepage'] = 'Benachrichtigung auf der Admin-Homepage';
+$lang['Don\'t notify on admin homepage'] = 'Keine Benachrichtigung auf der Admin-Homepage';
+
+$lang['Upgrade in progress... Please wait.'] = 'Aktualisierung in Arbeit....Bitte warten.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Suche nach Aktualisierungen für die Galerie und Plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Aktualisiere Piwigo auf Version %s';
+$lang['Two upgrades are available'] = 'Zwei Aktualisierungen sind verfügbar';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Dies ist eine kleine Aktualisierung, nur zur Fehlerbereinigung.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Dies ist eine größere Aktualisierung mit <a href="%s">neuen spannenden Funktionen</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Einige Themen und Plugins sind dadurch nicht mehr verwendbar.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Sie können direkt auf Version %s aktualisieren und Version %s überspringen (empfohlen).';
+$lang['autoupdate_step_1'] = 'Erster Schritt';
+$lang['autoupdate_step_2'] = 'Zweiter Schritt';
+$lang['autoupdate_step_3'] = 'Dritter Schritt';
+$lang['Save Template Directory'] = 'Sichere den Templateordner';
+$lang['Dump Database'] = 'Exportiere die Datenbank';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Füge die Daten der History ein (Warnung: Server-Speichergrenze kann überschritten werden)';
+$lang['Unable to write new local directory.'] = 'Es ist nicht möglich einen neuen Ordner zu erstellen.';
+$lang['Unable to send template directory.'] = 'Es ist nicht möglich den Template-Ordner zu senden.';
+$lang['Unable to dump database.'] = 'Es ist nicht möglich die Datenbank zu exportieren.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/en_UK/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/en_UK/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/en_UK/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Upgrade your gallery automatically.
Index: /extensions/autoupdate/branches/2.0/language/en_UK/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/en_UK/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/en_UK/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/en_UK/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/en_UK/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/en_UK/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Click here to upgrade automatically';
+$lang['autoupdate_alert'] = 'Are you sure you want to autmatically upgrade piwigo?\nWarning!!! Files manually modified could be overwritten.';
+$lang['autoupdate_success'] = 'Piwigo has been successfully upgraded (version %s)';
+$lang['autoupdate_fail'] = 'An error occured during upgrade.';
+
+$lang['autoupdate_extract_fail'] = 'An error occured during extract. Please check files permissions of your piwigo installation.<br><a href="%s">Click here to show log error</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo cannot retrieve upgrade file from server';
+$lang['Click here to see Piwigo %s release notes'] = 'Click here to see Piwigo %s release notes';
+$lang['Some upgrades are available for you plugins'] = 'Some upgrades are available for you plugins';
+$lang['Click here see upgrade plugins page'] = 'Click here see upgrade plugins page';
+$lang['Gallery and plugins are up to date'] = 'Gallery and plugins are up to date';
+$lang['Unable to check upgrades...'] = 'Unable to check upgrades...';
+$lang['Click here to check upgrades now'] = 'Click here to check upgrades now';
+
+$lang['Notify on admin homepage'] = 'Notify on admin homepage';
+$lang['Don\'t notify on admin homepage'] = 'Don\'t notify on admin homepage';
+
+$lang['Upgrade in progress... Please wait.'] = 'Upgrade in progress... Please wait.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Checking upgrades for gallery and plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Upgrade to Piwigo %s';
+$lang['Two upgrades are available'] = 'Two upgrades are available';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'This is a minor upgrade, with only bug corrections.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'This is a major upgrade, with <a href="%s">new exciting features</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Some themes and plugins may be not available yet.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).';
+$lang['autoupdate_step_1'] = 'First Step';
+$lang['autoupdate_step_2'] = 'Second Step';
+$lang['autoupdate_step_3'] = 'Third Step';
+$lang['Save Template Directory'] = 'Save template directory';
+$lang['Dump Database'] = 'Dump Database';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Include history data (Warning: server memory limit may be exceeded)';
+$lang['Unable to write new local directory.'] = 'Unable to write new local directory.';
+$lang['Unable to send template directory.'] = 'Unable to send template directory.';
+$lang['Unable to dump database.'] = 'Unable to dump database.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/es_ES/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/es_ES/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/es_ES/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Ponga al día su galería automáticamente
Index: /extensions/autoupdate/branches/2.0/language/es_ES/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/es_ES/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/es_ES/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/es_ES/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/es_ES/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/es_ES/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Haga clic aquí para una actualización automática';
+$lang['autoupdate_alert'] = '¿ Es usted seguro de querer actualizar piwigo automáticamente?\n¡Atención!!!  Los ficheros modificados manualmente podrián ser dañados.';
+$lang['autoupdate_success'] = 'Piwigo ha sido actualizado con éxito (Versión %s)';
+$lang['autoupdate_fail'] = 'Un error sobrevino durante la actualización.';
+
+$lang['autoupdate_extract_fail'] = 'Imposible extraer los ficheros. Por favor, verifique los permisos de los ficheros de su instalación. <Br> <a href="%s"> Haga clic aquí para ver el informe de error</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo no puede recuperar el fichero de actualización desde el servidor';
+$lang['Click here to see Piwigo %s release notes'] = 'Haga clic aquí para ver las informaciones relativas a Piwigo %s';
+$lang['Some upgrades are available for you plugins'] = 'Hay actualizaciónes disponibles para su plugins';
+$lang['Click here see upgrade plugins page'] = 'Haga clic aquí para visualizar la página de actualización des plugins';
+$lang['Gallery and plugins are up to date'] = 'Su galería y sus plugins están actualizados';
+$lang['Unable to check upgrades...'] = 'Imposible verificar las actualizaciónes...';
+$lang['Click here to check upgrades now'] = 'Haga clic aquí para verificar las actualizaciónes';
+
+$lang['Notify on admin homepage'] = 'Notificar sobre la pagina de inicio de la administración';
+$lang['Don\'t notify on admin homepage'] = 'No notificar sobre la pagina de inicio de la administración';
+
+$lang['Upgrade in progress... Please wait.'] = 'Actualizaciónes progresando... Por favor, espere';
+$lang['Checking upgrades for gallery and plugins...'] = 'Comprobación de las actualizaciónes de la galería y los plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Actualizar a Piwigo %s';
+$lang['Two upgrades are available'] = 'Hay dos actualizaciones disponibles';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Esta es una actualización menor, con la corrección de errores sólo.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Esta es una actualización mayor, con <a href="%s">nuevas características emocionantes</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Algunos temas y plugins pueden no estar disponibles todavía.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Puede actualizar a Piwigo% s directamente, sin actualizar a Piwigo %s (recomendado).';
+$lang['autoupdate_step_1'] = 'Primer paso';
+$lang['autoupdate_step_2'] = 'Segundo Paso';
+$lang['autoupdate_step_3'] = 'Tercer paso';
+$lang['Save Template Directory'] = 'Guardar directorio de plantillas';
+$lang['Dump Database'] = 'Volcar la base de datos';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Incluir datos del historico (Advertencia:el límite de memoria del servidor  puede ser superado)';
+$lang['Unable to write new local directory.'] = 'No se puede escribir en el nuevo directorio local.';
+$lang['Unable to send template directory.'] = 'No se puede enviar directorio de plantillas.';
+$lang['Unable to dump database.'] = 'No se puede volcar la base de datos.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/fr_FR/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/fr_FR/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/fr_FR/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Maintenez votre galerie à jour automatiquement
Index: /extensions/autoupdate/branches/2.0/language/fr_FR/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/fr_FR/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/fr_FR/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/fr_FR/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/fr_FR/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/fr_FR/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Cliquez ici pour une mise à jour automatique';
+$lang['autoupdate_alert'] = 'Etes-vous sûr de vouloir mettre à jour piwigo automatiquement?\nAttention!!! Les fichiers modifiés manuellement pourront être écrasés.';
+$lang['autoupdate_success'] = 'Piwigo a été mis à jour avec succès (version %s)';
+$lang['autoupdate_fail'] = 'Une erreur est survenue pendant la mise à jour.';
+
+$lang['autoupdate_extract_fail'] = 'Impossible d\'extraire les fichiers. Veuillez vérifier les permissions des fichiers de votre installation.<br><a href="%s">Cliquez ici pour voir le rapport d\'erreur</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo ne peut pas récupérer le fichier de mise à jour depuis le serveur';
+$lang['Click here to see Piwigo %s release notes'] = 'Cliquez ici pour afficher les informations relatives à Piwigo %s';
+$lang['Some upgrades are available for you plugins'] = 'Des mises à jour sont disponibles pour vos plugins';
+$lang['Click here see upgrade plugins page'] = 'Cliquez ici pour afficher la page de mise à jour des plugins';
+$lang['Gallery and plugins are up to date'] = 'Votre galerie et vos plugins sont à jour';
+$lang['Unable to check upgrades...'] = 'Impossible de vérifier les mises à jour...';
+$lang['Click here to check upgrades now'] = 'Cliquez ici pour vérifier les mises à jour maintenant';
+
+$lang['Notify on admin homepage'] = 'Notifier sur l\'accueil de l\'administration';
+$lang['Don\'t notify on admin homepage'] = 'Ne pas notifier sur l\'accueil de l\'administration';
+
+$lang['Upgrade in progress... Please wait.'] = 'Mise à jour en cours... Veuillez patienter.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Vérification des mises à jour de la galerie et des plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Mettre à jour vers Piwigo %s';
+$lang['Two upgrades are available'] = 'Deux mises à jour sont disponibles';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Ceci est une mise à jour mineure, avec uniquement des corrections de bugs.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Ceci est une mise à jour majeure, qui contient <a href="%s">un tas de nouveautés</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Certains thèmes ou plugins ne sont peut-être pas encore disponibles.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Vous pouvez mettre à jour vers Piwigo %s directement, sans passer par Piwigo %s (recommandé).';
+$lang['autoupdate_step_1'] = 'Première étape';
+$lang['autoupdate_step_2'] = 'Deuxième étape';
+$lang['autoupdate_step_3'] = 'Troisième étape';
+$lang['Save Template Directory'] = 'Sauvegarder le dossier template';
+$lang['Dump Database'] = 'Sauvegarder la base de données';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Inclure les données de l\'historique (Attention: risque de dépassement de la limite mémoire du serveur)';
+$lang['Unable to write new local directory.'] = 'Impossible d\'écrire le nouveau dossier local.';
+$lang['Unable to send template directory.'] = 'Impossible d\'envoyer le dossier temlate.';
+$lang['Unable to dump database.'] = 'Impossible de sauvegarder la base de données.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/hr_HR/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/hr_HR/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/hr_HR/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Nadogradite automatski vašu galeriju.
Index: /extensions/autoupdate/branches/2.0/language/hr_HR/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/hr_HR/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/hr_HR/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/hr_HR/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/hr_HR/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/hr_HR/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Kliknite ovdje za automatsku nadogradnju';
+$lang['autoupdate_alert'] = 'Sigurno želite pokrenuti automatsku nadogradnju piwigo-a?\nPozor!!! Ručno izmijenjeni zapisi bi mogli biti prepisani.';
+$lang['autoupdate_success'] = 'Piwigo je uspješno nadograđen (inačica %s)';
+$lang['autoupdate_fail'] = 'Došlo je do greške tijekon postupka nadogradnje.';
+
+$lang['autoupdate_extract_fail'] = 'Greška se dogodila tijekom izlučivanja. Molimo provjerite upisne dozvole vaše piwigo postave.<br><a href="%s">Kliknite za prikaz dnevnika greške</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo ne može dohvatiti zapis nadogradnje sa poslužitelja';
+$lang['Click here to see Piwigo %s release notes'] = 'Kliknite ovdje za prikaz zabilješki Piwigo %s izdanja';
+$lang['Some upgrades are available for you plugins'] = 'Dostupne su nadogradnje za neke dodatke (plugin-ove)';
+$lang['Click here see upgrade plugins page'] = 'Kliknite za pregled stranice nadogradnji dodataka';
+$lang['Gallery and plugins are up to date'] = 'Galerija i dodaci su ažurni';
+$lang['Unable to check upgrades...'] = 'Nemoguće je provjeriti nadogradnje...';
+$lang['Click here to check upgrades now'] = 'Kliknite za provjeru nadogradnji sada';
+
+$lang['Notify on admin homepage'] = 'Objavi na upravnoj stranici';
+$lang['Don\'t notify on admin homepage'] = 'Nemoj objaviti na upravnoj stranici';
+
+$lang['Upgrade in progress... Please wait.'] = 'Nadogradnja u tijeku... Molimo sačekajte.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Provjera nadogradnji galerije i dodataka...';
+
+$lang['Upgrade to Piwigo %s'] = 'Nadogradnja na Piwigo inačicu %s';
+$lang['Two upgrades are available'] = 'Dvije su nadogradnje dostupne';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Ovo je manja nadogradnja, samo popravke grešeaka.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Ovo je veća nadogradnja, sa <a href="%s">novim uzbudljivim mogućnostima</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Neke teme i dodaci možda nisu još dostupni.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Možete nadograditi Piwigo na inačicu %s neposredno, bez nadograđivanja na inačicu Piwigo %s (preporučeno).';
+$lang['autoupdate_step_1'] = 'Prvi Korak';
+$lang['autoupdate_step_2'] = 'Drugi Korak';
+$lang['autoupdate_step_3'] = 'Treći Korak';
+$lang['Save Template Directory'] = 'Sačuvaj mapu predložaka';
+$lang['Dump Database'] = 'Isprazni bazu podataka';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Uključi povijest posjeta (Pozor: memorijsko ograničenje poslužitelja može biti premašeno)';
+$lang['Unable to write new local directory.'] = 'Nemoguć upis u novu lokalnu mapu.';
+$lang['Unable to send template directory.'] = 'Nemoguće slanje mape predložaka.';
+$lang['Unable to dump database.'] = 'Nemoguće pražnjenje baze podataka.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/hu_HU/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/hu_HU/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/hu_HU/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+A galéria automatikus frissítése
Index: /extensions/autoupdate/branches/2.0/language/hu_HU/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/hu_HU/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/hu_HU/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/hu_HU/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/hu_HU/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/hu_HU/plugin.lang.php	(revision 9623)
@@ -0,0 +1,41 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Kattintson ide az automatikus frissítéshez';
+$lang['autoupdate_alert'] = 'Biztos benne, hogy el akarja indítani az automatikus frissítést?\nFigyelem!!! A fájlok felülírásra kerülnek, minden egyedi módosítás elvész.';
+$lang['autoupdate_success'] = 'A Piwigo galéria frissítése sikeres (verzió %s)';
+$lang['autoupdate_fail'] = 'Hiba történt frissítés közben.';
+
+$lang['autoupdate_extract_fail'] = 'Hibajelentés (Információ). Kérjük ellenőrizze a telepített fájlok jogosultságait.<br><a href="%s">További információkért kattintson ide</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Nem tudom letölteni a frissítést a Piwigo fájl szerverről';
+$lang['Click here to see Piwigo %s release notes'] = 'Kattintson ide a Piwigo %s kiadási megjegyzések megtekintéséhez';
+$lang['Some upgrades are available for you plugins'] = 'Frissítések találhatók egyes bővítményekhez';
+$lang['Click here see upgrade plugins page'] = 'Kattintson ide a "frissíthető bővítmények" oldal megtekintéséhez ';
+$lang['Gallery and plugins are up to date'] = 'A galéria és a bővítmények a legfrissebbek';
+$lang['Unable to check upgrades...'] = 'A frissítés ellenőrzése nem lehetséges....';
+$lang['Click here to check upgrades now'] = 'Kattintson ide a frissítések ellenőrzéséhez';
+
+$lang['Notify on admin homepage'] = 'Legyen értesítés az "Adminisztráció" oldalon';
+$lang['Don\'t notify on admin homepage'] = 'Ne legyen értesítés az "Adminisztráció" oldalon';
+
+$lang['Upgrade in progress... Please wait.'] = 'Frissítés folyamatban... Kérem várjon.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Galéria és bővítmény frissítések ellenőrzése...';
+
+
+$lang['Upgrade to Piwigo %s'] = 'Frissítés a Piwigo %s verziójára';
+$lang['Two upgrades are available'] = 'Kétféle frissítés érhető el';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Egy kisebb frissítés, kizárólag hibajavítás.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Egy jelentős frissítés, <a href="%s">új, kibővített funkciókkal</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Lehet, hogy néhány téma és bővítmény még nem áll rendelkezésre.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Lehetősége van közvetlenül frissíteni a Piwigo %s verziójára, kihagyva a Piwigo %s verzióját (ajánlott).';
+$lang['autoupdate_step_1'] = 'Első lépés';
+$lang['autoupdate_step_2'] = 'Második lépés';
+$lang['autoupdate_step_3'] = 'Harmadik lépés';
+$lang['Save Template Directory'] = 'Template könyvtár mentése';
+$lang['Dump Database'] = 'Adatbázis mentése';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Előzmények mentése (Figyelem: lehet, hogy a szerver beállított memória limitjét túllépi)';
+$lang['Unable to write new local directory.'] = 'Nem lehet írni az új helyi könyvtárba.';
+$lang['Unable to send template directory.'] = 'Nem lehet adatot küldeni a template könyvtárba.';
+$lang['Unable to dump database.'] = 'Nem lehet biztonsági másolatot készíteni az adatbázisról.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/it_IT/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/it_IT/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/it_IT/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Mantenete aggiorno la vostra galleria automaticamente
Index: /extensions/autoupdate/branches/2.0/language/it_IT/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/it_IT/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/it_IT/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/it_IT/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/it_IT/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/it_IT/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Cliccare qui per un\'aggiornamento automatico';
+$lang['autoupdate_alert'] = 'Siete sicuri di volere aggiornare Piwigo automaticamente?\nAttenzione!!! I file modificati potrebbero essere sovrascritti.';
+$lang['autoupdate_success'] = 'Piwigo e stato aggiornato con successo (versione %s)';
+$lang['autoupdate_fail'] = 'Si è verificato un\'errore durante l\'aggiornamento.';
+
+$lang['autoupdate_extract_fail'] = 'Non è stato possibile estrarre i file. Verificare i permessi dei file della vostra installazione.<br><a href="%s">Cliccare qui per visualizzare il rapporto degli errori</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo non può recuperare i file d\'aggiornamento dal server';
+$lang['Click here to see Piwigo %s release notes'] = 'Cliccare qui per visualizzare le informazioni relative a Piwigo %s';
+$lang['Some upgrades are available for you plugins'] = 'Degli aggiornamenti sono disponibili per i vostri plugins';
+$lang['Click here see upgrade plugins page'] = 'Cliccare qui per visualizzare la pagina di aggiornamento dei plugins';
+$lang['Gallery and plugins are up to date'] = 'La vostra galleria e i vostri plugins sono aggiorno';
+$lang['Unable to check upgrades...'] = 'Non è stato possibile verificare gli aggiornamenti...';
+$lang['Click here to check upgrades now'] = 'Cliccare qui per verificare gli aggiornameti ora';
+
+$lang['Notify on admin homepage'] = 'Notificare sulla pagina principale del amministrazione';
+$lang['Don\'t notify on admin homepage'] = 'Non notificare sulla pagina principale del amministrazione';
+
+$lang['Upgrade in progress... Please wait.'] = 'Aggiornamento in corso... Si prega di attendere.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Verifica aggiornamenti per galleria e plugin...';
+
+$lang['Upgrade to Piwigo %s'] = 'Aggiornamento a Piwigo %s';
+$lang['Two upgrades are available'] = 'Due aggiornamenti sono disponibili';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Questo è un aggiornamento minore, con solo correzioni di bug';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Questo è un aggiornamento importante, con <a href="%s">nuove e interessanti funzionalità</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Alcuni temi e plugin possono non essere ancora disponibili.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'E\' possibile aggiornare a Piwigo %s direttamente, senza passare a Piwigo %s (consigliato).';
+$lang['autoupdate_step_1'] = 'Primo passo';
+$lang['autoupdate_step_2'] = 'Secondo passo';
+$lang['autoupdate_step_3'] = 'Terzo passo';
+$lang['Save Template Directory'] = 'Salvare la template directory';
+$lang['Dump Database'] = 'Salvare Database';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Includere cronologia (Attenzione: può essere superato il limite di memoria del server)';
+$lang['Unable to write new local directory.'] = 'Impossibile creare nuove directory locali.';
+$lang['Unable to send template directory.'] = 'Impossibile inviare la template directory.';
+$lang['Unable to dump database.'] = 'Impossibile eseguire il salvataggio del database.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/ja_JP/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ja_JP/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ja_JP/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/ja_JP/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ja_JP/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ja_JP/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = '自動的にアップグレードするには、ここをクリックしてください。';
+$lang['autoupdate_alert'] = '本当に自動的にPiwigoをアップグレードしてもよろしいですか?\n警告!!! 手動で修正したファイルは、上書きされます。';
+$lang['autoupdate_success'] = 'Piwigoが正常にアップグレードされました (バージョン %s)。';
+$lang['autoupdate_fail'] = 'アップグレード中にエラーが発生しました。';
+
+$lang['autoupdate_extract_fail'] = '解凍中にエラーが発生しました。あなたのPiwigoインストレーションのパーミッションを確認してください。<br /><a href="%s">ログエラーを表示するには、ここをクリックしてください</a>。';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigoは、アップグレードファイルをサーバから検索できません。';
+$lang['Click here to see Piwigo %s release notes'] = 'Piwigo %s リリースノートを閲覧するには、ここをクリックしてください。';
+$lang['Some upgrades are available for you plugins'] = 'あなたのプラグインに関して、いくつかのアップグレードが利用できます。';
+$lang['Click here see upgrade plugins page'] = 'プラグインのアップグレードページを閲覧するには、ここをクリックしてください。';
+$lang['Gallery and plugins are up to date'] = 'ギャラリーおよびプラグインは最新版です。';
+$lang['Unable to check upgrades...'] = 'アップグレードを確認できません ...';
+$lang['Click here to check upgrades now'] = 'アップグレードするには、ここをクリックしてください。';
+
+$lang['Notify on admin homepage'] = '管理ホームページで通知する';
+$lang['Don\'t notify on admin homepage'] = '管理ホームページで通知しない';
+
+$lang['Upgrade in progress... Please wait.'] = 'アップグレード処理中 ... お待ちください。';
+$lang['Checking upgrades for gallery and plugins...'] = 'ギャラリーおよびプラグインのアップグレード確認中 ...';
+
+$lang['Upgrade to Piwigo %s'] = 'Piwigo %s にアップグレード';
+$lang['Two upgrades are available'] = '２個のアップグレードがあります';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'これはマイナーアップグレードだけバグ修正しています。';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'これはメジャーアップグレードで、 いろいろな楽しい<a href="%s">新機能がついています。</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'あるテーマとプラグインはまだできていません。';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Piwigo %sにアップグレードせずに、直接Piwigo %s にアップグレードすることができます（推進）。';
+$lang['autoupdate_step_1'] = '第１ステップ';
+$lang['autoupdate_step_2'] = '第2ステップ';
+$lang['autoupdate_step_3'] = '第３ステップ';
+$lang['Save Template Directory'] = 'テンプレートディレクトリー保存';
+$lang['Dump Database'] = 'ダンプデータベース';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'データ履歴を含む（注意：サーバーメモリー制限する可能性があります。';
+$lang['Unable to write new local directory.'] = '新しいディレクトリーに書き込むことができません。';
+$lang['Unable to send template directory.'] = 'テンプレートディレクトリーに送信できません。';
+$lang['Unable to dump database.'] = 'ダンプデータベースができません。';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/ka_GE/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ka_GE/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ka_GE/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+განაახლეთ თქვენი გალერეა ავტომატურად.
Index: /extensions/autoupdate/branches/2.0/language/ka_GE/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ka_GE/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ka_GE/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/ka_GE/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ka_GE/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ka_GE/plugin.lang.php	(revision 9623)
@@ -0,0 +1,41 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'დაწკაპეთ ავტომატური განახლებისათვის';
+$lang['autoupdate_alert'] = 'თქვენ მართლა გსურთ ავტომატურად განაახლოთ piwigo?\nყურადღება!!! ფაილები, რომლებიც ხელით გაასწორეთ გადაწერილი იქნება.';
+$lang['autoupdate_success'] = 'Piwigo წარმატებით განახლდა (ვერსია %s)';
+$lang['autoupdate_fail'] = 'განახლების დროს მოხდა შეცდომა.';
+
+$lang['autoupdate_extract_fail'] = 'ამოარქივების დროს მოხდა შეცდომა. გთხოვთ, შეამოწმეთ დაშვების უფლება piwigo–ს ფოლდერთან.<br><a href="%s">დაკლიკეთ, რათა ნახოთ ინფორმაცია შეცდომაზე</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo ვერ იღებს განახლების ფაილებს სერვერიდან';
+$lang['Click here to see Piwigo %s release notes'] = 'დაწკაპეთ აქ რათა იხილოთ Piwigo %s  რელიზის შესახებ';
+$lang['Some upgrades are available for you plugins'] = 'ხელმისაწვდომია მოდულების ზოგიერთი განახლება';
+$lang['Click here see upgrade plugins page'] = 'დაწკაპეთ აქ, რათა ეწვიოთ მოდულების განახლების გვერდს';
+$lang['Gallery and plugins are up to date'] = 'გალერეა და მოდულები განახლებულია';
+$lang['Unable to check upgrades...'] = 'განახლების შემოწმება შეუძლებელია...';
+$lang['Click here to check upgrades now'] = 'დაწკპეთ აქ, რათა ეხლავე შეამოწმოთ განახლება';
+
+$lang['Notify on admin homepage'] = 'გამოვიტანოთ შეტყობინება ადმინისტრატორის გვერდზე';
+$lang['Don\'t notify on admin homepage'] = 'არ გამოვიტანოთ შეტყობინება ადმინისტრატორის გვერდზე';
+
+$lang['Upgrade in progress... Please wait.'] = 'მიმდინარეობს განახლების პროცესი... გთხოვთ დაიცადოთ.';
+$lang['Checking upgrades for gallery and plugins...'] = 'განახლების შემოწმება გალერეისა და მოდულებისათვის...';
+
+$lang['Upgrade to Piwigo %s'] = 'განაახლეთ Piwigo %s';
+$lang['Two upgrades are available'] = 'ორი განახლებაა ხელმისაწვდომი';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'ეს მცირე განახლებაა, მხოლოდ შეცდომების შესწორება.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'ეს ძალიან დიდი განახლებაა <a href="%s">საინტერესო სიახლეებით</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'თემების და პლაგინების ნაწილი ჯერჯერობით არ არის ხელმისაწვდომი
+.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'თქვენ პირდაპირ შეგიძლიათ  Piwigo %s გადახვიდეთ,  Piwigo %s განახლების გარეშე(რეკომენდირებულია).';
+$lang['autoupdate_step_1'] = 'პირველი საფეხური';
+$lang['autoupdate_step_2'] = 'მეორე საფეხური';
+$lang['autoupdate_step_3'] = 'მესამე საფეხური';
+$lang['Save Template Directory'] = 'შევინახოთ დირექტორიის შაბლონი';
+$lang['Dump Database'] = 'მონაცემთა ბაზის წაშლა';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'ჩავრთოთ ისტორიის მონაცემები (გაფრთხილება: შესაძლებელია სერვერზე მეხსიერების ლიმიტის  გადაჭარბება)';
+$lang['Unable to write new local directory.'] = 'შეუძლებელია ახალი ლოკალური დირექტორიის ჩაწერა.';
+$lang['Unable to send template directory.'] = 'შეუძლებელია შაბლონის დირექტორიის გაგზავნა.';
+$lang['Unable to dump database.'] = 'შეუძლებელია მონაცემთა ბაზის წაშლა.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/lv_LV/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/lv_LV/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/lv_LV/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Atjaunina Jūsu galeriju automātiski.
Index: /extensions/autoupdate/branches/2.0/language/lv_LV/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/lv_LV/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/lv_LV/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/lv_LV/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/lv_LV/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/lv_LV/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Klikšķiniet te, lai automātiski atjauninātu';
+$lang['autoupdate_alert'] = 'Vai esat pārliecināti, ka vēlaties automātiski atjaunināt?\nBrīdinājums!!! Manuāli modoficētie faili tiks pārrakstīti.';
+$lang['autoupdate_success'] = 'Piwigo ir sekmīgi atjaunināts (versija %s)';
+$lang['autoupdate_fail'] = 'Atjauninot notikusi kļūme.';
+
+$lang['autoupdate_extract_fail'] = 'Atpakošanas laikā notikusi kļūme. Pārbaudiet Jūsu piwigo instalācijas failu atļaujas.<br><a href="%s">Spiest te, lai redzētu log kļūdas</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo nevar ielādēt jauninājuma failu no servera';
+$lang['Click here to see Piwigo %s release notes'] = 'Spiest te, lai lai aplūkotu Piwigo %s laidiena piezīmes';
+$lang['Some upgrades are available for you plugins'] = 'Ir pieejami jauninājumi dažiem Jūsu spraudņiem';
+$lang['Click here see upgrade plugins page'] = 'Spiest te, lai skatītu spraudņu jauninājumu lapu';
+$lang['Gallery and plugins are up to date'] = 'Galerija un spraudņi ir aktuāli (up to date)';
+$lang['Unable to check upgrades...'] = 'Neiespējami pārbaudīt jauninājumus...';
+$lang['Click here to check upgrades now'] = 'Spiest te, lai pārbaudītu jauninājumus tūlīt';
+
+$lang['Notify on admin homepage'] = 'Paziņojums administrācijas lapā';
+$lang['Don\'t notify on admin homepage'] = 'Nepaziņot administrācijas lapā';
+
+$lang['Upgrade in progress... Please wait.'] = 'Notiek jaunināšana... Lūdzu uzgaidiet.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Galerijas un spraudņu jauninājumu pārbaude...';
+
+$lang['Upgrade to Piwigo %s'] = 'Jaunināt uz Piwigo %s';
+$lang['Two upgrades are available'] = 'Pieejami divi jauninājumi';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Šis ir minimālais jauninājums, tikai ar dažu kķūmju labojumiem.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Šis ir lielais jauninājums, ar <a href="%s">jaunām aplikācijas funkcionālām iespējām</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Daži spraudņi un tēmas vēl nav pieejamas.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Jūs varat jaunināt Piwigo uz %s tieši, nejauninot uz Piwigo %s (ieteicams).';
+$lang['autoupdate_step_1'] = 'Pirmais Solis';
+$lang['autoupdate_step_2'] = 'Otrais Solis';
+$lang['autoupdate_step_3'] = 'Trešais Solis';
+$lang['Save Template Directory'] = 'Saglabāt paraugmapi (template)';
+$lang['Dump Database'] = 'Datubāzes damps (dump)';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Ietverot datus pār vēsturi (Brīdinājums: var tikt pārsniegts servera atmiņas limits)';
+$lang['Unable to write new local directory.'] = 'Nevar ierakstīt jaunā lokālā mapē.';
+$lang['Unable to send template directory.'] = 'Nevar nosūtīt paraugmapi.';
+$lang['Unable to dump database.'] = 'Nevar izveidot datubāzes dampu.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/nl_NL/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/nl_NL/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/nl_NL/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Werkt uw galerie automatisch bij naar de nieuwste versie.
Index: /extensions/autoupdate/branches/2.0/language/nl_NL/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/nl_NL/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/nl_NL/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/nl_NL/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/nl_NL/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/nl_NL/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Klik hier om automatisch te upgraden naar de nieuwste versie';
+$lang['autoupdate_alert'] = 'weet u zeker dat u Piwigo automatisch wilt upgraden?\nWaarschuwing!!! Handmatig aangepaste bestanden kunnen overschreven worden!';
+$lang['autoupdate_success'] = 'Piwigo is succesvol bijgewerkt naar de nieuwste versie %s';
+$lang['autoupdate_fail'] = 'Er is iets foutgegaan bij het bijwerken van Piwigo naar de nieuwste versie.';
+
+$lang['autoupdate_extract_fail'] = 'Er is iets foutgegaan bij het uitpakken. Controleer de bestandstoegangen van uw Piwigo-installatie.<br><a href="%s">Klik kier om de fout-logging weer te geven</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo kan het upgrade-bestand niet van de server verkrijgen';
+$lang['Click here to see Piwigo %s release notes'] = 'Klik hier om de Piwigo %s release-aantekeningen te bekijken';
+$lang['Some upgrades are available for you plugins'] = 'Er zijn upgrades beschikbaar voor sommige van uw plugins';
+$lang['Click here see upgrade plugins page'] = 'Klik hier om naar de upgrade-plugins-pagina te gaan';
+$lang['Gallery and plugins are up to date'] = 'Galerie en plugins zijn up to date';
+$lang['Unable to check upgrades...'] = 'Niet mogelijk om upgrades te controleren...';
+$lang['Click here to check upgrades now'] = 'Klik hier om nu naar upgrades te zoeken';
+
+$lang['Notify on admin homepage'] = 'Geef een melding op de admin-startpagina';
+$lang['Don\'t notify on admin homepage'] = 'Geef geen melding op de admin-startpagina';
+
+$lang['Upgrade in progress... Please wait.'] = 'Bezig met upgrade... Even geduld aub.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Bezig met het zoeken naar upgrades voor galerie en plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Upgrade naar Piwigo %s';
+$lang['Two upgrades are available'] = 'Er zijn twee upgrades beschikbaar';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Dit is een kleine upgrade, met enkele bug correcties.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Dit is een grote upgrade, met <a href="%s">spannende nieuwe functies</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Sommige thema\'s en plugins zijn mogelijk nog niet beschikbaar.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'U kunt direct upgraden naar Piwigo versie %s, zonder eerst te upgraden naar Piwigo versie %s (aanbevolen).';
+$lang['autoupdate_step_1'] = 'Eerste stap';
+$lang['autoupdate_step_2'] = 'Tweede stap';
+$lang['autoupdate_step_3'] = 'Derde stap';
+$lang['Save Template Directory'] = 'Bewaar de template directory';
+$lang['Dump Database'] = 'Dump de database';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Neem de historische data ook mee (opgepast: de server geheugen-limiet kan overschreden worden)';
+$lang['Unable to write new local directory.'] = 'Het is niet mogelijk om naar de nieuwe lokale directory te schrijven.';
+$lang['Unable to send template directory.'] = 'Het is niet mogelijk om de template directory te verzenden.';
+$lang['Unable to dump database.'] = 'Het is niet mogelijk om de database te dumpen.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/no_NO/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/no_NO/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/no_NO/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Oppgrader dit galleri autoamtisk.
Index: /extensions/autoupdate/branches/2.0/language/no_NO/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/no_NO/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/no_NO/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/no_NO/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/no_NO/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/no_NO/plugin.lang.php	(revision 9623)
@@ -0,0 +1,39 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Klikk her for å oppgradere automatisk';
+$lang['autoupdate_alert'] = 'Er du sikker på at du vil oppgradere Piwigo automatisk?\nAdvarsel!!! Filer som er manuelt endret kan bli overskrevet.';
+$lang['autoupdate_success'] = 'Piwigo har blitt oppgradert (versjon %s)';
+$lang['autoupdate_fail'] = 'En feil oppstod under oppgraderingen.';
+
+$lang['autoupdate_extract_fail'] = 'En feil oppstod under utpakkingen. Vennligst sjekk fil rettigheter i din piwigo installasjon.<br><a href="%s">Klikk her for å vise feil loggen</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo kan ikke motta oppgraderingsfilen fra serveren';
+$lang['Click here to see Piwigo %s release notes'] = 'Klikk her for å se Piwigos %s utgivelses informasjon';
+$lang['Some upgrades are available for you plugins'] = 'Noen oppgraderinger er tilgjengelig for dine tilleggsprogrammer';
+$lang['Click here see upgrade plugins page'] = 'Klikk her for å se oppgraderingssiden for dine tilleggsverktøy';
+$lang['Gallery and plugins are up to date'] = 'Galleri og tilleggsverktøy er alle oppdaterte';
+$lang['Unable to check upgrades...'] = 'Ike i stand til å sjekke for oppgraderinger...';
+$lang['Click here to check upgrades now'] = 'Klikk her for å sjekke oppgraderinger nå';
+
+$lang['Notify on admin homepage'] = 'Vis beskjed på admin side';
+$lang['Don\'t notify on admin homepage'] = 'Ikke vis beskjed på admin side';
+
+$lang['Upgrade in progress... Please wait.'] = 'Oppgradering pågår... Vennligst vent.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Sjekker etter oppgradering for galleri og tilleggsverktøy...';
+
+$lang['Upgrade to Piwigo %s'] = 'Oppgrader til Piwigo %s';
+$lang['Two upgrades are available'] = 'To oppgraderinger er tilgjengelige';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Dette er en mindre oppgradering, kun med noen interne feilrettinger.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Dette er en omfattende oppgradering, med <a href="%s">nye spennende funksjoner</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Noen temaer og tilleggsverktøy er muligens ikke tilgjengelig foreløpig.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Du kan oppgradere til Piwigo %s direkte, uten å oppgradere til Piwigo %s (anbefalt).';
+$lang['autoupdate_step_1'] = 'Første Skritt';
+$lang['autoupdate_step_2'] = 'Andre Skritt';
+$lang['autoupdate_step_3'] = 'Tredje Skritt';
+$lang['Save Template Directory'] = 'Lagre mal (template) mappe';
+$lang['Dump Database'] = 'Tøm Database';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Inkluder historie data (Advarsel: server minne begrensing kan bli nådd)';
+$lang['Unable to write new local directory.'] = 'Ikke i stand til å skrive ny lokal mappe.';
+$lang['Unable to send template directory.'] = 'Ikke i stand til å sende mal mappe.';
+$lang['Unable to dump database.'] = 'Ikke i stand til å tømme database.';
+?>
Index: /extensions/autoupdate/branches/2.0/language/pl_PL/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/pl_PL/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/pl_PL/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Dokonaj automatycznej aktualizacji swojej galerii
Index: /extensions/autoupdate/branches/2.0/language/pl_PL/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/pl_PL/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/pl_PL/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/pl_PL/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/pl_PL/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/pl_PL/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Kliknij tutaj aby dokonać automatycznej aktualizacji';
+$lang['autoupdate_alert'] = 'Czy na pewno chcesz zaktualizować piwigo automatycznie?\nUwaga!!! Pliki ręcznie modyfikowane mogą zostać nadpisane.';
+$lang['autoupdate_success'] = 'Piwigo zostało zaktualizowane pomyślnie (wersja %s)';
+$lang['autoupdate_fail'] = 'Wystąpił błąd podczas aktualizacji.';
+
+$lang['autoupdate_extract_fail'] = 'Wystąpił błąd podczas rozpokowywania. Sprawdź uprawnienia do plików w katalogu gdize jest zainstalowane piwigo.<br><a href="%s">Kliknij aby zobaczyć błędy</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo nie może ściągnąć pliku aktualizacji z serwera';
+$lang['Click here to see Piwigo %s release notes'] = 'Kliknij tutaj, aby przejść do informacji o wydaniu Piwigo %s ';
+$lang['Some upgrades are available for you plugins'] = 'Są dostępne aktualizacje do niektórych Twoich wtyczek';
+$lang['Click here see upgrade plugins page'] = 'Kliknij tutaj, aby przejść na stronę aktualizacji wtyczek';
+$lang['Gallery and plugins are up to date'] = 'Galeria i wtyczki są aktualne';
+$lang['Unable to check upgrades...'] = 'Nie można sprawdzić aktualizacji...';
+$lang['Click here to check upgrades now'] = 'Kliknij tutaj, aby teraz sprawdzić aktualizacje';
+
+$lang['Notify on admin homepage'] = 'Poinformuj na stronie domowej administratora';
+$lang['Don\'t notify on admin homepage'] = 'Nie informuj na stronie domowej administratora';
+
+$lang['Upgrade in progress... Please wait.'] = 'Trwa aktualizacja... Proszę czekać.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Sprawdzanie aktualizacji dla galerii oraz wtyczek...';
+
+$lang['Upgrade to Piwigo %s'] = 'Uaktualnienie do Piwigo %s';
+$lang['Two upgrades are available'] = 'Dostępne są dwie aktualizacje';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Niniejsza aktualizacja zawiera jedynie poprawki błędów ujawnionych w poprzedniej wersji.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Niniejsza aktualizacja zawiera <a href="%s">nowych, ekscytujących funkcji</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Niektóre z szablonów i wtyczek mogą jeszcze nie być dostępne.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Możesz uaktualnić Piwigo %s bezpośrednio, bez uaktualniania do Piwigo %s (zalecane).';
+$lang['autoupdate_step_1'] = 'Etap pierwszy ';
+$lang['autoupdate_step_2'] = 'Etap drugi';
+$lang['autoupdate_step_3'] = 'Etap trzeci';
+$lang['Save Template Directory'] = 'Zachowaj katalog szablonów';
+$lang['Dump Database'] = 'Baza danych do składowania';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Dołącz historię danych (Uwaga: rozmiar pamięci serwera może zostać przekroczony)';
+$lang['Unable to write new local directory.'] = 'Zapisywanie nowego lokalnego katalogu nie powiodło się.';
+$lang['Unable to send template directory.'] = 'Wysłanie katalog szablonów nie powiodło się.';
+$lang['Unable to dump database.'] = 'Zrzucenie bazy danych nie powiodło się.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/pt_PT/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/pt_PT/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/pt_PT/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Actualize a sua galeria automaticamente.
Index: /extensions/autoupdate/branches/2.0/language/pt_PT/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/pt_PT/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/pt_PT/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/pt_PT/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/pt_PT/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/pt_PT/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Clique aqui para actualizar automaticamente';
+$lang['autoupdate_alert'] = 'Tem a certeza k deseja actualizar Piwigo automaticamente?\nAtenção!!! Ficheiros que foram modificados podem ser re-escritos.';
+$lang['autoupdate_success'] = 'Piwigo foi actualizado com sucesso (versão %s)';
+$lang['autoupdate_fail'] = 'Ocorreu um erro durante a actualização automática.';
+
+$lang['autoupdate_extract_fail'] = 'Ocorreu um erro durante a extração dos ficheiros. Por favior verifique as permissões de escrita da sua instalação Piwigo.<br><a href="%s">Clique aqui para mostrar o relatório de erros</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo não consegue recuperar o ficheiro de actualização do servidor remoto.';
+$lang['Click here to see Piwigo %s release notes'] = 'Clique aqui para ver as notas de lançamento de Piwigo %s';
+$lang['Some upgrades are available for you plugins'] = 'Estão disponíveis algumas actualizações para os seus plugins';
+$lang['Click here see upgrade plugins page'] = 'Clique aqui para ver a página de actualização de plugins';
+$lang['Gallery and plugins are up to date'] = 'Galeria e plugins estão actualizados';
+$lang['Unable to check upgrades...'] = 'Impossível verificar a existência de novas actualizações...';
+$lang['Click here to check upgrades now'] = 'Clique aqui para verificar agora por novas actualizações';
+
+$lang['Notify on admin homepage'] = 'Notificar no Painel Administrativo';
+$lang['Don\'t notify on admin homepage'] = 'Não notificar no Painel Administrativo';
+
+$lang['Upgrade in progress... Please wait.'] = 'Actualização em curso... Aguarde, por favor.';
+$lang['Checking upgrades for gallery and plugins...'] = 'A verificar actualizações para a galeria e plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Actualizar para Piwigo %s';
+$lang['Two upgrades are available'] = 'Duas actualizações disponíveis';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Esta é uma actualização menor, apenas alguns pequenos erros foram corrigidos.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Esta é uma actualização maior, com <a href="%s">novas funcionalidades excitantes</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Alguns temas e plugins poderão não estar ainda disponíveis.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Pode actualizar para Piwigo %s directamente, sem actualizar primeiro para Piwigo %s (recomendado).';
+$lang['autoupdate_step_1'] = 'Primeiro Passo';
+$lang['autoupdate_step_2'] = 'Segundo Passo';
+$lang['autoupdate_step_3'] = 'Terceiro Passo';
+$lang['Save Template Directory'] = 'Salvar a pasta de Modelos';
+$lang['Dump Database'] = 'Descarregar Base de Dados';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Incluir dados históricos (Aviso: pode exceder o limite de memória do servidor)';
+$lang['Unable to write new local directory.'] = 'Impossível criar nova pasta local.';
+$lang['Unable to send template directory.'] = 'Impossível enviar pasta de modelos.';
+$lang['Unable to dump database.'] = 'Impossível descarregar base de dados.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/ru_RU/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ru_RU/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ru_RU/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Upgrade your gallery automatically.
Index: /extensions/autoupdate/branches/2.0/language/ru_RU/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ru_RU/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ru_RU/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/ru_RU/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/ru_RU/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/ru_RU/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Нажмите для автоматического обновления';
+$lang['autoupdate_alert'] = 'Вы действительно хотите автоматически обновить piwigo?\nВнимание!!! Файлы исправленные вручную будут перезаписаны.';
+$lang['autoupdate_success'] = 'Piwigo успешно обновлен (версия %s)';
+$lang['autoupdate_fail'] = 'Во время обновления произошла ошибка.';
+
+$lang['autoupdate_extract_fail'] = 'Во время распаковки произошла ошибка. Пожалуйста, проверьте права доступа к папке установки piwigo.<br><a href="%s">Нажмите, чтобы посмотреть лог ошибки</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo не может получить файлы обновления с сервера';
+$lang['Click here to see Piwigo %s release notes'] = 'Нажмите, чтобы посмотреть заметки к релизу Piwigo %s';
+$lang['Some upgrades are available for you plugins'] = 'Доступны некоторые обновления для плагинов';
+$lang['Click here see upgrade plugins page'] = 'Нажмите сюда, чтобы посмотреть страницу обновления плагинов';
+$lang['Gallery and plugins are up to date'] = 'Галерея и плагины обновлены';
+$lang['Unable to check upgrades...'] = 'Невозможно проверить обновления...';
+$lang['Click here to check upgrades now'] = 'Нажмите сюда, чтобы проверить обновления сейчас';
+
+$lang['Notify on admin homepage'] = 'Уведомлять на странице администратора';
+$lang['Don\'t notify on admin homepage'] = 'Не уведомлять на странице администратора';
+
+$lang['Upgrade in progress... Please wait.'] = 'Идет процесс обновления... Ждите.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Проверка обновлений для галереи и плагинов...';
+
+/*TODO*/$lang['Upgrade to Piwigo %s'] = 'Upgrade to Piwigo %s';
+/*TODO*/$lang['Two upgrades are available'] = 'Two upgrades are available';
+/*TODO*/$lang['This is a minor upgrade, with only bug corrections.'] = 'This is a minor upgrade, with only bug corrections.';
+/*TODO*/$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'This is a major upgrade, with <a href="%s">new exciting features</a>.';
+/*TODO*/$lang['Some themes and plugins may be not available yet.'] = 'Some themes and plugins may be not available yet.';
+/*TODO*/$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).';
+/*TODO*/$lang['autoupdate_step_1'] = 'First Step';
+/*TODO*/$lang['autoupdate_step_2'] = 'Second Step';
+/*TODO*/$lang['autoupdate_step_3'] = 'Third Step';
+/*TODO*/$lang['Save Template Directory'] = 'Save template directory';
+/*TODO*/$lang['Dump Database'] = 'Dump Database';
+/*TODO*/$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Include history data (Warning: server memory limit may be exceeded)';
+/*TODO*/$lang['Unable to write new local directory.'] = 'Unable to write new local directory.';
+/*TODO*/$lang['Unable to send template directory.'] = 'Unable to send template directory.';
+/*TODO*/$lang['Unable to dump database.'] = 'Unable to dump database.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/sk_SK/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/sk_SK/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/sk_SK/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Automatický upgrade Vašej galérie.
Index: /extensions/autoupdate/branches/2.0/language/sk_SK/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/sk_SK/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/sk_SK/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/sk_SK/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/sk_SK/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/sk_SK/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Kliknite sem na automatický upgrade';
+$lang['autoupdate_alert'] = 'Ste si istý, že chcete automaticky upgradovať piwigo?\nUpozornenie!!! Manuálne upravované súbory budú prepísané.';
+$lang['autoupdate_success'] = 'Piwigo bolo úspešne upgradované (verzia %s)';
+$lang['autoupdate_fail'] = 'Pri upgrade sa vyskytla chyba.';
+
+$lang['autoupdate_extract_fail'] = 'Pri rozbaľovaní sa vyskytla chyba. Prosím skontrolujte prístupové práva súborov Vašej inštalácie piwigo.<br><a href="%s">Kliknite sem na zobrazenie logu chyby</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo nemôže získať upgradovací súbor zo servra';
+$lang['Click here to see Piwigo %s release notes'] = 'Kliknite sem na zobrazenie poznámok k vydaniu Piwigo %s';
+$lang['Some upgrades are available for you plugins'] = 'Nejaké upgrady sú dostupné pre Vaše pluginy';
+$lang['Click here see upgrade plugins page'] = 'Kliknite sem na zobrazenie upgradov pluginov';
+$lang['Gallery and plugins are up to date'] = 'Galéria a pluginy sú aktuálne';
+$lang['Unable to check upgrades...'] = 'Nemožno skontrolovať upgrady...';
+$lang['Click here to check upgrades now'] = 'Kliknite sem na skontrolovanie upgradov';
+
+$lang['Notify on admin homepage'] = 'Oznámiť na administrátorskú stránku';
+$lang['Don\'t notify on admin homepage'] = 'Neznámiť na administrátorskú stránku';
+
+$lang['Upgrade in progress... Please wait.'] = 'Prebieha upgrade... Prosím čakajte.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Skontrolovať upgrady pre galériu a pluginy...';
+
+$lang['Upgrade to Piwigo %s'] = 'Upgradovať na Piwigo %s';
+$lang['Two upgrades are available'] = 'Dva upgrady sú dostupné';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Toto je malý upgrade len s opravenými chybami.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Toto je veľký upgrade s <a href="%s">novými funkciami</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Niektoré šablóny a pluginy nemusia byť dostupné.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Môžete priamo upgradovať na Piwigo %s bez upgradu na Piwigo %s (odporúčané).';
+$lang['autoupdate_step_1'] = 'Prvý krok';
+$lang['autoupdate_step_2'] = 'Druhý krok';
+$lang['autoupdate_step_3'] = 'Tretí krok';
+$lang['Save Template Directory'] = 'Uložte adresár šablón';
+$lang['Dump Database'] = 'Odpojiť databázu';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Vrátane historických údajov (Upozornenie: limit pamäte servra môže byť prekročený)';
+$lang['Unable to write new local directory.'] = 'Nemôžem zapisovať do nových lokálnych adfresárov.';
+$lang['Unable to send template directory.'] = 'Nemôžem poslať do adresára šablón.';
+$lang['Unable to dump database.'] = 'Nemôžem odpojiť databázu.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/vi_VN/description.txt
===================================================================
--- /extensions/autoupdate/branches/2.0/language/vi_VN/description.txt	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/vi_VN/description.txt	(revision 9623)
@@ -0,0 +1,1 @@
+Nâng cấp thư viện hình của bản một cách tự động.
Index: /extensions/autoupdate/branches/2.0/language/vi_VN/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/vi_VN/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/vi_VN/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/vi_VN/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/vi_VN/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/vi_VN/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = 'Click vào đây để nâng cấp tự dộng';
+$lang['autoupdate_alert'] = 'Bạn có chắc là muốn nâng cấp tự động piwigo? Cảnh báo! Những tập tin đã được hiệu chỉnh bởi người dùng có thể bị ghi đè.';
+$lang['autoupdate_success'] = 'Piwigo đã được nâng cấp thành công (phiên bản %s)';
+$lang['autoupdate_fail'] = 'Có một lỗi xuất hiện trong quá trình nâng cấp.';
+
+$lang['autoupdate_extract_fail'] = 'Có một lỗi xuất hiện trong quá trình trích xuất tệp tin. Vui lòng kiểm tra quyền hiệu chỉnh tệp tin gói cài đặt Piwigo của bạn.<br><a href="%s">Click vào đây để xem lỗi.</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo không thể nhận được tệp tin nâng cấp từ  máy chủ';
+$lang['Click here to see Piwigo %s release notes'] = 'Click vào đây để xem xem những ghi chú phát hành của phiên bản Piwigo %s';
+$lang['Some upgrades are available for you plugins'] = 'Có một số bản nâng cấp có thể sử dụng được cho những plugins của bạn';
+$lang['Click here see upgrade plugins page'] = 'Click vào đây để xem trang của plugins';
+$lang['Gallery and plugins are up to date'] = 'Thư viện hình và plugin đã được cập nhật';
+$lang['Unable to check upgrades...'] = 'Không thể kiểm tra bản nâng cấp...';
+$lang['Click here to check upgrades now'] = 'Click vào đây đểm kiểm tra bản nâng cấp ngay';
+
+$lang['Notify on admin homepage'] = 'Thông báo trên trang của admin';
+$lang['Don\'t notify on admin homepage'] = 'Không thông báo trên trang của admin';
+
+$lang['Upgrade in progress... Please wait.'] = 'Quá trình nâng cấp đang tiến hành... Vui lòng đợi.';
+$lang['Checking upgrades for gallery and plugins...'] = 'Kiểm tra bản nâng cấp cho thư viện hình và các plugins...';
+
+$lang['Upgrade to Piwigo %s'] = 'Nâng cấp Piwigo lên phiên bản %s';
+$lang['Two upgrades are available'] = 'Có hai bản nâng cấp có thể sử dụng được';
+$lang['This is a minor upgrade, with only bug corrections.'] = 'Đây là bản nâng cấp không quan trọng, chỉ dùng để sửa lỗi nhỏ.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = 'Đây là bản nâng cấp chính, với <a href="%s">những nét mới hấp dẫn.</a>.';
+$lang['Some themes and plugins may be not available yet.'] = 'Một số themes và plugins có thể chưa dùng được.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = 'Bạn có thể nâng cấp trực tiếp lên phiên bản Piwigo %s, mà không cần phải nâng cấp từ phiên bản %s (khuyến cáo).';
+$lang['First Step'] = 'Bước thứ nhất';
+$lang['Second Step'] = 'Bước thứ 2';
+$lang['Third Step'] = 'Bước thứ 3';
+$lang['Save Template Directory'] = 'Lưu lại template của thư mục';
+$lang['Dump Database'] = 'Tạo bản sao cơ sở dữ liệu';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = 'Bao gồm dữ liệu lược sử (Cảnh báo: Giới hạn bộ nhớ của máy chủ có thể bị vượt quá mức.)';
+$lang['Unable to write new local directory.'] = 'Không thể viết lên thư mục cục bộ mới.';
+$lang['Unable to send template directory.'] = 'Không thể gởi template của thư mục.';
+$lang['Unable to dump database.'] = 'Không thể tạo bản sao cơ sở dữ liệu.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/language/zh_CN/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/zh_CN/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/zh_CN/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id$
+// | last update   : $Date$
+// | last modifier : $Author$
+// | revision      : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
Index: /extensions/autoupdate/branches/2.0/language/zh_CN/plugin.lang.php
===================================================================
--- /extensions/autoupdate/branches/2.0/language/zh_CN/plugin.lang.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/language/zh_CN/plugin.lang.php	(revision 9623)
@@ -0,0 +1,40 @@
+<?php
+
+$lang['Click here to upgrade automatically'] = '点击此自动升级';
+$lang['autoupdate_alert'] = '您确定要自动升级 piwigo 吗?\n警告!!! 曾经手工修改过的文件将被覆盖.';
+$lang['autoupdate_success'] = 'Piwigo 已经升级成功 (当前版本 %s)';
+$lang['autoupdate_fail'] = '在升级过程中出现了一个错误.';
+
+$lang['autoupdate_extract_fail'] = '在解压程序时出现了一个错误。请检查您 piwigo 安装文件的读写权限.<br><a href="%s">点击此查看错误日志</a>.';
+
+$lang['Piwigo cannot retrieve upgrade file from server'] = 'Piwigo 不能从服务器中获取升级文件';
+$lang['Click here to see Piwigo %s release notes'] = '点击此查看 Piwigo %s 的版通知';
+$lang['Some upgrades are available for you plugins'] = '您的插件已有更新了';
+$lang['Click here see upgrade plugins page'] = '点击此查看插件升级页面';
+$lang['Gallery and plugins are up to date'] = '图库和插件已是最新版';
+$lang['Unable to check upgrades...'] = '不能检查更新...';
+$lang['Click here to check upgrades now'] = '点击此检查更新';
+
+$lang['Notify on admin homepage'] = '在管理员首页显示通知';
+$lang['Don\'t notify on admin homepage'] = '不要在管理员首页显示通知';
+
+$lang['Upgrade in progress... Please wait.'] = '正在升级... 请稍等。';
+$lang['Checking upgrades for gallery and plugins...'] = '正在检查图库和插件的更新...';
+
+$lang['Upgrade to Piwigo %s'] = '升级到 Piwigo %s';
+$lang['Two upgrades are available'] = '有2个可以升级的';
+$lang['This is a minor upgrade, with only bug corrections.'] = '这是一个次要的升级，只有错误的修正.';
+$lang['This is a major upgrade, with <a href="%s">new exciting features</a>.'] = '这是一个重大的升级, 有 <a href="%s">令人兴奋的新功能</a>.';
+$lang['Some themes and plugins may be not available yet.'] = '一些主题和插件也许还未能用.';
+$lang['You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'] = '您可以直接升级到 Piwigo %s , 而并不需要先升级到 Piwigo %s (recommended).';
+$lang['autoupdate_step_1'] = '第一步';
+$lang['autoupdate_step_2'] = '第二步';
+$lang['autoupdate_step_3'] = '第三步';
+$lang['Save Template Directory'] = '保存模板目录';
+$lang['Dump Database'] = '转存数据库';
+$lang['Include history data (Warning: server memory limit may be exceeded)'] = '包含历史数据 (警告：也许服务器内存已超过限制)';
+$lang['Unable to write new local directory.'] = '不能写到新的本地目录.';
+$lang['Unable to send template directory.'] = '不能发送到模板目录.';
+$lang['Unable to dump database.'] = '不能转存数据库.';
+
+?>
Index: /extensions/autoupdate/branches/2.0/main.inc.php
===================================================================
--- /extensions/autoupdate/branches/2.0/main.inc.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/main.inc.php	(revision 9623)
@@ -0,0 +1,52 @@
+<?php
+/*
+Plugin Name: Piwigo AutoUpgrade
+Version: auto
+Description: Upgrade your gallery automatically.
+Plugin URI: http://piwigo.org/ext/extension_view.php?eid=302
+Author: P@t
+Author URI: http://www.gauchon.com
+*/
+
+if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
+
+define('AUTOUPDATE_PATH' , PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/');
+
+if (script_basename() == 'admin')
+ add_event_handler('get_admin_plugin_menu_links', 'check_for_auto_upgrade');
+
+function check_for_auto_upgrade($plugin_menu_links)
+{
+  global $template, $page, $conf, $header_notes, $prefixeTable;
+
+  load_language('plugin.lang', dirname(__FILE__).'/');
+
+  if ($page['page'] == 'intro')
+  {
+    if (isset($_GET['action']) and 
+      ($_GET['action'] == 'check_autoupdate' or $_GET['action'] == 'check_upgrade' ))
+    {
+      unset($_SESSION['need_update']);
+      unset($_SESSION['plugins_need_update']);
+    }
+
+    if (!isset($_SESSION['need_update']) or !isset($_SESSION['plugins_need_update'])
+      or $_SESSION['need_update'] !== false or $_SESSION['plugins_need_update'] !== array())
+    {
+      $template->set_filename('autoupdate_head', realpath(AUTOUPDATE_PATH.'template/head.tpl'));
+      array_push($header_notes, $template->parse('autoupdate_head', true));
+    }
+  }
+
+  if ($page['page'] == 'plugins_update' and method_exists('template', 'set_prefilter'))
+  {
+    include(dirname(__FILE__).'/plugins_update.php');
+  }
+
+  array_push($plugin_menu_links, array(
+      'NAME' => 'Piwigo AutoUpgrade',
+      'URL' => get_admin_plugin_menu_link(AUTOUPDATE_PATH . '/autoupdate.php')));
+
+  return $plugin_menu_links;
+}
+?>
Index: /extensions/autoupdate/branches/2.0/maintain.inc.php
===================================================================
--- /extensions/autoupdate/branches/2.0/maintain.inc.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/maintain.inc.php	(revision 9623)
@@ -0,0 +1,25 @@
+<?php
+
+function plugin_activate()
+{
+  global $prefixeTable, $conf;
+
+  if (!isset($conf['autoupdate_ignore_list']))
+  {
+    $query = '
+INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
+VALUES ("autoupdate_ignore_list" , "'.addslashes(serialize(array())).'" , "Ignored plugin list for Piwigo Auto Update plugin");';
+
+    pwg_query($query);
+  }
+}
+
+function plugin_uninstall()
+{
+  global $prefixeTable;
+
+  $query = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="autoupdate_ignore_list" LIMIT 1;';
+  pwg_query($query);
+}
+
+?>
Index: /extensions/autoupdate/branches/2.0/plugins_update.php
===================================================================
--- /extensions/autoupdate/branches/2.0/plugins_update.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/plugins_update.php	(revision 9623)
@@ -0,0 +1,39 @@
+<?php
+
+if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
+
+function autoupdate_plugins_update_filter($content, &$smarty)
+{
+  $l_key = version_compare(PHPWG_VERSION, '2.1', '<') ? 'plugins_download' : 'Download file';
+
+  $search = '<a href="{$plugin.URL_DOWNLOAD}">{\''.$l_key.'\'|@translate}</a>';
+
+  $replacement = '  <a href="{$plugin.URL_DOWNLOAD}">{\''.$l_key.'\'|@translate}</a><br>
+    <a href="#" onClick="autoupdate_ignore(\'{$plugin.EXT_NAME|@htmlspecialchars_decode}\', true, {$smarty.foreach.plugins_loop.index}); return false;" id="au_ignore_{$smarty.foreach.plugins_loop.index}_true" {if $plugin.EXT_NAME|@htmlspecialchars_decode|@in_array:$AU_IGNORE_LIST}style="display: none;"{/if}>{\'Don\\\'t notify on admin homepage\'|@translate}</a>
+    <a href="#" onClick="autoupdate_ignore(\'{$plugin.EXT_NAME|@htmlspecialchars_decode}\', false, {$smarty.foreach.plugins_loop.index}); return false;" id="au_ignore_{$smarty.foreach.plugins_loop.index}_false" {if !$plugin.EXT_NAME|@htmlspecialchars_decode|@in_array:$AU_IGNORE_LIST}style="display: none;"{/if}>{\'Notify on admin homepage\'|@translate}</a>';
+
+  return str_replace($search, $replacement, $content);;  
+}
+
+$script_head = '
+<script type="text/javascript">
+function autoupdate_ignore(name, bool, id) {
+  jQuery.post(
+    "'.PHPWG_ROOT_PATH.'plugins/autoupdate/remote.php",
+    { "autoupdate_ignore'.(version_compare(PHPWG_VERSION, '2.1', '<') ? '[]' : '').'": [name, bool] },
+    function(data) {
+      if (data == "ok") {
+        jQuery("#au_ignore_"+id+"_"+bool).hide();
+        jQuery("#au_ignore_"+id+"_"+!bool).show();
+      }
+    }
+  );
+}
+</script>
+';
+
+$template->block_html_head('', $script_head, $smarty, $repeat);
+$template->set_prefilter('plugins', 'autoupdate_plugins_update_filter');
+$template->assign('AU_IGNORE_LIST', unserialize($conf['autoupdate_ignore_list']));
+
+?>
Index: /extensions/autoupdate/branches/2.0/remote.php
===================================================================
--- /extensions/autoupdate/branches/2.0/remote.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/remote.php	(revision 9623)
@@ -0,0 +1,55 @@
+<?php
+
+define('PHPWG_ROOT_PATH','../../');
+define('IN_ADMIN', true);
+include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
+include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
+include_once(PHPWG_ROOT_PATH.'admin/include/functions_plugins.inc.php');
+
+check_status(ACCESS_ADMINISTRATOR);
+
+if (isset($_POST['autoupdate_ignore'])
+  and is_array($_POST['autoupdate_ignore'])
+  and count($_POST['autoupdate_ignore']) == 2)
+{
+  // Add or remove plugin from ignore list
+  $ignore = unserialize($conf['autoupdate_ignore_list']);
+  $ignore = array_flip($ignore);
+
+  if ($_POST['autoupdate_ignore'][1] == "false" and isset($ignore[$_POST['autoupdate_ignore'][0]]))
+  {
+    unset($ignore[$_POST['autoupdate_ignore'][0]]);
+    $ignore = array_flip($ignore);
+  }
+  elseif ($_POST['autoupdate_ignore'][1] == "true" and !isset($ignore[$_POST['autoupdate_ignore'][0]]))
+  {
+    $ignore = array_flip($ignore);
+    array_push($ignore, $_POST['autoupdate_ignore'][0]);
+  }
+  else
+  {
+    die;
+  }
+  sort($ignore);  
+
+  $query = '
+UPDATE '.CONFIG_TABLE.'
+SET value = "'.addslashes(serialize($ignore)).'"
+WHERE param = "autoupdate_ignore_list"
+;';
+  pwg_query($query);
+
+  unset($_SESSION['plugins_need_update']);
+  echo 'ok';
+}
+else
+{
+  // Check if gallery or plugins are up to date
+  load_language('plugin.lang', dirname(__FILE__).'/');
+  header('Content-Type: text/html; charset=UTF-8');
+
+  include(AUTOUPDATE_PATH.'include/functions_remote.inc.php');
+  echo autoupdate_check_version();
+}
+
+?>
Index: /extensions/autoupdate/branches/2.0/template/autoupdate.tpl
===================================================================
--- /extensions/autoupdate/branches/2.0/template/autoupdate.tpl	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/template/autoupdate.tpl	(revision 9623)
@@ -0,0 +1,82 @@
+{html_head}
+{literal}
+<style type="text/css">
+form { width: 750px; }
+fieldset { padding-bottom: 30px; }
+p, form p { text-align: left; margin-left:20px; }
+li { margin: 5px; }
+</style>
+{/literal}
+{/html_head}
+
+<div class="titrePage">
+{if $STEP < 2}
+<h2>Piwigo AutoUpgrade</h2>
+{else}
+<h2>{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}</h2>
+{/if}
+</div>
+
+{if $STEP == 0}
+  {if $CHECK_VERSION}
+    <p>{'You are running the latest version of Piwigo.'|@translate}</p>
+  {elseif $DEV_VERSION} 
+    <p>{'You are running on development sources, no check possible.'|@translate}</p>
+  {else}
+    <p>{'Check for upgrade failed for unknown reasons.'|@translate}</p>
+  {/if}
+{/if}
+
+{if $STEP == 1}
+<h4>{'Two upgrades are available'|@translate}:</h4>
+<p>
+<ul>
+  <li><a href="{$AU_URL}&amp;step=2&amp;to={$MINOR_VERSION}"><strong>{'Upgrade to Piwigo %s'|@translate|@sprintf:$MINOR_VERSION}</strong></a>: {'This is a minor upgrade, with only bug corrections.'|@translate}</li>
+  <li><a href="{$AU_URL}&amp;step=3&amp;to={$MAJOR_VERSION}"><strong>{'Upgrade to Piwigo %s'|@translate|@sprintf:$MAJOR_VERSION}</strong></a>: {'This is a major upgrade, with <a href="%s">new exciting features</a>.'|@translate|@sprintf:$RELEASE_URL} {'Some themes and plugins may be not available yet.'|@translate}</li>
+</ul>
+</p>
+<p>{'You can upgrade to Piwigo %s directly, without upgrading to Piwigo %s (recommended).'|@translate|@sprintf:$MAJOR_VERSION:$MINOR_VERSION}</p>
+{/if}
+
+{if $STEP == 2}
+<p>
+  {'A new version of Piwigo is available.'|@translate}<br>
+  {'This is a minor upgrade, with only bug corrections.'|@translate}
+</p>
+<form action="" method="post">
+<p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}" onClick="return confirm('{'autoupdate_alert'|@translate}');"></p>
+<p><input type="hidden" name="upgrade_to" value="{$UPGRADE_TO}"></p>
+</form>
+{/if}
+
+{if $STEP == 3}
+<p>
+  {'A new version of Piwigo is available.'|@translate}<br>
+  {'This is a major upgrade, with <a href="%s">new exciting features</a>.'|@translate|@sprintf:$RELEASE_URL} {'Some themes and plugins may be not available yet.'|@translate}
+</p>
+<form action="" method="post">
+
+{if version_compare($PHPWG_VERSION, '2.1', '<')}
+{counter assign=i}
+<fieldset>
+  <legend>{'autoupdate_step_'|cat:$i|@translate}</legend>
+  <p><input type="submit" name="saveTemplate" value="{'Save Template Directory'|@translate}"></p>
+</fieldset>
+{/if}
+
+{counter assign=i}
+<fieldset>
+  <legend>{'autoupdate_step_'|cat:$i|@translate}</legend>
+  <p><input type="checkbox" name="includeHistory"> &nbsp; {'Include history data (Warning: server memory limit may be exceeded)'|@translate}</p>
+  <p><input type="submit" name="dumpDatabase" value="{'Dump Database'|@translate}"></p>
+</fieldset>
+
+{counter assign=i}
+<fieldset>
+  <legend>{'autoupdate_step_'|cat:$i|@translate}</legend>
+  <p><input type="submit" name="submit" value="{'Upgrade to Piwigo %s'|@translate|@sprintf:$UPGRADE_TO}" onClick="return confirm('{'autoupdate_alert'|@translate}');"></p>
+</fieldset>
+
+<p><input type="hidden" name="upgrade_to" value="{$UPGRADE_TO}"></p>
+</form>
+{/if}
Index: /extensions/autoupdate/branches/2.0/template/head.tpl
===================================================================
--- /extensions/autoupdate/branches/2.0/template/head.tpl	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/template/head.tpl	(revision 9623)
@@ -0,0 +1,25 @@
+{html_head}
+<script type="text/javascript">
+var mess_error = '{'Unable to check upgrades...'|@translate}<br><a href="admin.php?action=check_autoupdate">{'Click here to check upgrades now'|@translate}</a>';
+
+window.onload = function () {ldelim}
+  jQuery.ajax({ldelim}
+    type: 'GET',
+    url: '{$ROOT_URL|@cat:"plugins/autoupdate/remote.php"}',
+    dataType: 'text',
+    timeout: 10000,  // 10 sec timeout
+    success: function (data) {ldelim}
+      var reg = new RegExp("(warning|notice)","i");
+      if (data.match(reg)) {ldelim}
+        data = mess_error;
+      }
+      jQuery('#autoupdate').html(data);
+    },
+    error: function() {ldelim}
+     jQuery('#autoupdate').html(mess_error);
+    }
+  });
+}
+</script>
+{/html_head}
+<p id="autoupdate"><img src="plugins/autoupdate/template/ajax-loader.gif"> &nbsp; {'Checking upgrades for gallery and plugins...'|@translate}</p>
Index: /extensions/autoupdate/branches/2.0/template/index.php
===================================================================
--- /extensions/autoupdate/branches/2.0/template/index.php	(revision 9623)
+++ /extensions/autoupdate/branches/2.0/template/index.php	(revision 9623)
@@ -0,0 +1,33 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | PhpWebGallery - a PHP based picture gallery                           |
+// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
+// +-----------------------------------------------------------------------+
+// | file          : $Id: index.php 1912 2007-03-16 06:30:07Z rub $
+// | last update   : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $
+// | last modifier : $Author: rub $
+// | revision      : $Revision: 1912 $
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published by  |
+// | the Free Software Foundation                                          |
+// |                                                                       |
+// | This program is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
+// | General Public License for more details.                              |
+// |                                                                       |
+// | You should have received a copy of the GNU General Public License     |
+// | along with this program; if not, write to the Free Software           |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA.                                                                  |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
