Changeset 12103


Ignore:
Timestamp:
Sep 8, 2011, 12:46:35 PM (13 years ago)
Author:
plg
Message:

feature 2431: only keep MySQL on installation form

Location:
trunk
Files:
34 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/install.tpl

    r12028 r12103  
    2727<script type="text/javascript">
    2828$(function() {
    29     $option_selected = $('#dblayer option:selected').attr('value');
    30     if ($option_selected=='sqlite' || $option_selected=='pdo-sqlite') {
    31        $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().hide();
    32     }
    33     if ($option_selected=='mysql') {
    34         $('#experimentalDbEngines').hide();
    35     }
    36 
    37     $('#dblayer').change(function() {
    38         $db = this;
    39         if ($db.value=='sqlite' || $db.value=='pdo-sqlite') {
    40            $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().hide();
    41         } else {
    42            $('input[name=dbhost],input[name=dbuser],input[name=dbpasswd]').parent().parent().show();
    43         }
    44 
    45         if ($db.value=='mysql') {
    46             $('#experimentalDbEngines').hide();
    47         }
    48         else {
    49             $('#experimentalDbEngines').show();
    50         }
    51       });
    52   });
    53 
    5429$(document).ready(function() {
    5530  $("a.externalLink").click(function() {
     
    249224
    250225  <table class="table2">
    251     {if count($F_DB_ENGINES)>1}
    252     <tr>
    253       <td style="width: 30%;" class="fieldname">{'Database type'|@translate}</td>
    254       <td>
    255         <select name="dblayer" id="dblayer">
    256           {foreach from=$F_DB_ENGINES key=k item=v}
    257           <option value="{$k}"
    258                   {if $k==$F_DB_LAYER and $v.available} selected="selected"{/if}
    259                   {if !$v.available} disabled="disabled"{/if}
    260                   >{$v.label}</option>
    261           {/foreach}
    262         </select>   
    263       </td>
    264       <td class="fielddesc">{'The type of database your piwigo data will be store in'|@translate}</td>
    265     {else}
    266     <td colspan="3">
    267     <input type="hidden" name="dbengine" value="{$F_DB_LAYER}">
    268     </td>
    269     {/if}
    270     </tr>
    271     <tr id="experimentalDbEngines">
    272       <td colspan="3">
    273 <div class="warnings">
    274       {'SQLite and PostgreSQL are currently in experimental state.'|@translate}
    275       <a href="http://piwigo.org/forum/viewtopic.php?id=15927" class="externalLink">{'Learn more'|@translate}</a>
    276 </div>
    277       </td>
    278     </tr>
    279226    <tr>
    280227      <td style="width: 30%;" class="fieldname">{'Host'|@translate}</td>
  • trunk/install.php

    r12008 r12103  
    9797define('DEFAULT_PREFIX_TABLE', 'piwigo_');
    9898
    99 // default database engine proposed if severals are available
    100 // choices : sqlite, mysql, pgsql, pdo-sqlite
    101 // see include/dblayer/dblayers.inc.php
    102 define('DEFAULT_DB_ENGINE', 'mysql');
    103 
    104 // database engine default choice between sqlite (native or via pdo)
    105 // if the twice are available.
    106 define('DEFAULT_DB_SQLITE', 'native');
    107 
    10899if (isset($_POST['install']))
    109100{
     
    151142$dbpasswd = (!empty($_POST['dbpasswd'])) ? $_POST['dbpasswd'] : '';
    152143$dbname = (!empty($_POST['dbname'])) ? $_POST['dbname'] : '';
    153 $dblayer = (!empty($_POST['dblayer'])) ? $_POST['dblayer'] : DEFAULT_DB_ENGINE;
     144$dblayer = 'mysql';
    154145
    155146$admin_name = (!empty($_POST['admin_name'])) ? $_POST['admin_name'] : '';
     
    420411
    421412//------------------------------------------------------ start template output
    422 $dbengines = available_engines();
    423 
    424413foreach ($languages->fs_languages as $language_code => $fs_language)
    425414{
     
    437426    'RELEASE' => PHPWG_VERSION,
    438427    'F_ACTION' => 'install.php?language=' . $language,
    439     'F_DB_ENGINES' => $dbengines,
    440     'F_DB_LAYER' => $dblayer,
    441428    'F_DB_HOST' => $dbhost,
    442429    'F_DB_USER' => $dbuser,
  • trunk/language/ar_SA/install.lang.php

    r8728 r12103  
    3333$lang['Connection to server succeed, but it was impossible to connect to database'] = 'تم الاتصال بالخادم الموقع ، لكن لم يتم يتم الاتصال بقاعدة البيانات';
    3434$lang['Can\'t connect to server'] = 'لا يمكن الاتصال بالخادم';
    35 $lang['Database type'] = 'نوع قاعدة البيانات';
    36 $lang['The type of database your piwigo data will be store in'] = 'قاعدة بيانات المعرض Piwigo سوف تخزن ';
    3735$lang['Host'] = 'المضيف';
    3836$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
     
    6967$lang['Download the config file'] = 'تحميل ملف التكوين';
    7068$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'يمكنك تحميل ملف التكوين وتحميله إلى الدليل المحلي';
    71 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'تحت التجربية حاليا  SQLite و PostgreSQL ';
    7269$lang['Learn more'] = 'تعلم أكثر';
    7370
  • trunk/language/ca_ES/install.lang.php

    r10222 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = "La connexió amb el servidor ha estat exitosa, però la connexió amb la base de dades ha estat impossible";
    3636$lang['Can\'t connect to server'] = "No es pot connectar amb el servidor";
    37 $lang['Database type'] = "Tipus de base de dades";
    38 $lang['The type of database your piwigo data will be store in'] = "El tipus de base de dades on s'emmagatzemaran les dades de la teva galeria Piwigo";
    3937$lang['Host'] = "Amfitrió";
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = "localhost, sql.multimania.com, toto.freesurf.fr";
     
    7169$lang['Download the config file'] = 'Descarregueu el fitxer de configuració';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Podeu descarregar el fitxer de configuració i penjar-lo al directori local/config de la vostra instal·lació.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite i PostgreSQL s\'estant executant en mode experimental.';
    7471$lang['Learn more'] = 'Apreneu-ne més';
    7572?>
  • trunk/language/cs_CZ/install.lang.php

    r12073 r12103  
    5656$lang['Webmaster mail address'] = 'E-mail správce';
    5757$lang['Visitors will be able to contact site administrator with this mail'] = 'Návštěvníci mohou pomocí tohoto e-mailu správce kontaktovat';
    58 $lang['Database type'] = 'Typ databáze';
    59 $lang['The type of database your piwigo data will be store in'] = 'Typ databáze Vaší Piwigo databáze bude uložen';
    6058$lang['PHP 5 is required'] = 'Je nutný PHP 5';
    6159$lang['It appears your webhost is currently running PHP %s.'] = 'Na Vašem webhostingu je PHP %s.';
     
    7270$lang['Download the config file'] = 'Stáhnout konfigurační soubor';
    7371$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Můžete stáhnout konfigurační soubor a nahrát jej do adrešáře local/config Vaší instalace.';
    74 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite a PostgreSQL se aktuálně teprve testují.';
    7572$lang['Learn more'] = 'Zjistit více';
    7673$lang['Just another Piwigo gallery'] = 'Jen další galerie Piwigo';
  • trunk/language/da_DK/install.lang.php

    r8728 r12103  
    6464$lang['Hope to see you back soon.'] = 'Håber snart at se dig igen.';
    6565
    66 $lang['Database type'] = 'Database type';
    67 $lang['The type of database your piwigo data will be store in'] = 'Din Piwigo database vil blive lagret i';
    6866$lang['Congratulations, Piwigo installation is completed'] = 'Tillykke, Piwigo installationen er slut';
    6967$lang['An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'] = 'En alternativ måde er at kopiere teksten i boksen ovenover og sætte den ind i filen "local/config/database.inc.php" (Advarsel : database.inc.php må kun indeholde hvad der er i tekstfeltet, ingen linieskift eller andet.)';
     
    7169$lang['Download the config file'] = 'Download config filen';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Du kan downloade config filen og uploade den til local/config i din installation.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite og PostgreSQL er i øjeblikket kun som eksperiment.';
    7471$lang['Learn more'] = 'Lær mere';
    7572?>
  • trunk/language/de_DE/install.lang.php

    r9631 r12103  
    6767$lang['Hope to see you back soon.'] = 'Wir hoffen, Sie sind bald wieder zurück.';
    6868
    69 $lang['Database type'] = 'Datenbanktyp';
    70 $lang['The type of database your piwigo data will be store in'] = 'Der Typ der Datenbank, die Piwigo-Daten werden gespeichert in';
    7169$lang['Congratulations, Piwigo installation is completed'] = 'Glückwunsch, Sie haben Piwigo erfolgreich installiert';
    7270
     
    7573$lang['Download the config file'] = 'Lade die Konfigurationsdatei herunter';
    7674$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'SIe können die Konfigurationsdatei herunterladen und in den Ordner local/config ihrer Installation hochladen.';
    77 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'Die Unterstüztung von SQLite und PostgreSQL befindet sich noch in einem experimentellen Stadium.';
    7875$lang['Learn more'] = 'Mehr Informationen';
    7976?>
  • trunk/language/en_UK/install.lang.php

    r12008 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = "Connection to server successful, but the connection to the database is impossible";
    3636$lang['Can\'t connect to server'] = "Cannot connect to server";
    37 $lang['Database type'] = "Database type";
    38 $lang['The type of database your piwigo data will be store in'] = "The type of database your Piwigo data will be store in";
    3937$lang['Host'] = "Host";
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = "localhost, sql.multimania.com, toto.freesurf.fr";
     
    7169$lang['Download the config file'] = 'Download the config file';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'You can download the config file and upload it to local/config directory of your installation.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite and PostgreSQL are currently in experimental state.';
    7471$lang['Learn more'] = 'Learn more';
    7572$lang['Just another Piwigo gallery'] = 'Just another Piwigo gallery';
  • trunk/language/es_ES/install.lang.php

    r8728 r12103  
    6868
    6969
    70 $lang['Database type'] = 'Tipo de base de datos';
    71 $lang['The type of database your piwigo data will be store in'] = 'La base de datos en la cual será almacenado su dato Piwigo';
    7270$lang['Congratulations, Piwigo installation is completed'] = 'Félicitation, Piwigo está completamente instalado';
    7371
     
    7674$lang['Download the config file'] = 'Descargar el fichero de configuración';
    7775$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Usted puede descargar el fichero de configuración y carga en el repertorio local/config de su instalación Piwigo.';
    78 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite y PostgreSQL están actualmente en estado experimental.';
    7976$lang['Learn more'] = 'Más información';
    8077?>
  • trunk/language/fa_IR/install.lang.php

    r8728 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = "ارتباط با سرور با موفقيت انجام شد اما ارتباط با سرور پايگاه داده با مشکل مواجه شد.";
    3636$lang['Can\'t connect to server'] = "ارتباط با سرور ممکن نيست";
    37 $lang['Database type'] = "نوع پايگاه داده";
    38 $lang['The type of database your piwigo data will be store in'] = "نوع پايگاه داده گالري شما در اينجا قرار مي‌گيرد";
    3937$lang['Host'] = "ميزبان";
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = "localhost, sql.multimania.com, toto.freesurf.fr";
     
    7169$lang['Download the config file'] = 'دريافت فايل پيکربندي';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'شما مي‌توانيد فايل پيکربندي را دانلود کنيد و آن را در دايرکتوري local/config در محلي که گالري را نصب کرديد آپلود کنيد.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite and PostgreSQL are currently in experimental state.';
    74 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite و PostgreSQL در حال آزمایش هستند.(استفاده از آن‌ها یک ریسک است!)';
    7571$lang['Learn more'] = 'اطلاعات بيشتر در اين‌باره';
    7672?>
  • trunk/language/fr_CA/install.lang.php

    r8728 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = "La connexion au serveur est OK, mais la connection à cette base de données est impossible";
    3636$lang['Can\'t connect to server'] = "Impossible de se connecter au serveur";
    37 $lang['Database type'] = "Type de base de données";
    38 $lang['The type of database your piwigo data will be store in'] = "La base de données dans laquelle seront stockées vos données Piwigo";
    3937$lang['Host'] = "Hôte";
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = "localhost, sql.multimania.com, toto.freesurf.fr";
     
    7270$lang['Download the config file'] = 'Télécharger le fichier de configuration';
    7371$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Vous pouvez télécharger le fichier de configuration et le transférer dans le répertoire local/config de votre installation Piwigo.';
    74 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'Les types SQLite et PostgreSQL sont actuellement en phase expérimentale.';
    7572$lang['Learn more'] = 'En savoir plus';
    7673?>
  • trunk/language/fr_FR/install.lang.php

    r12008 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = "La connexion au serveur est OK, mais la connection à cette base de données est impossible";
    3636$lang['Can\'t connect to server'] = "Impossible de se connecter au serveur";
    37 $lang['Database type'] = "Type de base de données";
    38 $lang['The type of database your piwigo data will be store in'] = "La base de données dans laquelle seront stockées vos données Piwigo";
    3937$lang['Host'] = "Hôte";
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = "localhost, sql.multimania.com, toto.freesurf.fr";
     
    7270$lang['Download the config file'] = 'Télécharger le fichier de configuration';
    7371$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Vous pouvez télécharger le fichier de configuration et le transférer dans le répertoire local/config de votre installation Piwigo.';
    74 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'Les types SQLite et PostgreSQL sont actuellement en phase expérimentale.';
    7572$lang['Learn more'] = 'En savoir plus';
    7673$lang['Just another Piwigo gallery'] = 'Une galerie Piwigo de plus';
  • trunk/language/he_IL/install.lang.php

    r8728 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = "התחבר לשרת בהצלחה, אך לא הצליח להתחבר לבסיס נתונים";
    3636$lang['Can\'t connect to server'] = "לא מצליח להתחבר לשרת";
    37 $lang['Database type'] = "סוג בסיס הנתונים";
    38 $lang['The type of database your piwigo data will be store in'] = "סוג בסיס הנתונים שהגלריה שלך תהיה מאוחסנת בו";
    3937$lang['Host'] = "שרת מארח";
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = "localhost, sql.multimania.com, toto.freesurf.fr";
     
    7169$lang['Download the config file'] = 'הורד את קובץ config';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'אתה יכול להוריד את קובץ config ולהעלות אותו אל local/config בתיקיית ההתקנה שלך.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite ו PostgreSQL כרגע במצב ניסיוני.';
    7471$lang['Learn more'] = 'למד עוד';
    7572?>
  • trunk/language/hr_HR/install.lang.php

    r8728 r12103  
    5858
    5959// piwigo 2.1
    60 $lang['Database type'] = 'Vrsta baze podataka';
    61 $lang['The type of database your piwigo data will be store in'] = 'Vrsta baze podataka u kojoj će se pohraniti vaši Piwigo podatci';
    6260$lang['PHP 5 is required'] = 'PHP 5 je obvezan';
    6361$lang['It appears your webhost is currently running PHP %s.'] = 'Čini se da vaše web mjesto trenutno koristi PHP inačicu %s.';
  • trunk/language/hu_HU/install.lang.php

    r12083 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = 'A kapcsolat a kiszolgálóval rendben, de nem sikerült csatlakozni az adatbázishoz';
    3636$lang['Can\'t connect to server'] = 'Nem sikerült kapcsolódni a szerverhez';
    37 $lang['Database type'] = "Adatbázis típusa";
    38 $lang['The type of database your piwigo data will be store in'] = "Az adatbázis típusa a Piwigo adatok tárolására";
    3937$lang['Host'] = 'MySQL host';
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql, stb.';
     
    7169$lang['Download the config file'] = 'Konfigurációs fájl letöltése';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Letöltheti a konfigurációs fájlt és töltse fel a telepítésének local/config könyvtárába.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite és PostgreSQL jelenleg kísérleti állapotban.';
    7471$lang['Learn more'] = 'Bővebben';
    7572$lang['Just another Piwigo gallery'] = 'Csak egy újabb Piwigo galéria';
  • trunk/language/it_IT/install.lang.php

    r12021 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = 'Connessione al server riuscita, ma non è stato possibile connettersi al database';
    3636$lang['Can\'t connect to server'] = 'Impossibile connettersi al server';
    37 $lang['Database type'] = 'Tipo database';
    38 $lang['The type of database your piwigo data will be store in'] = 'Il tipo di database dove verranno inseriti i dati di Piwigo';
    3937$lang['Host'] = 'Host';
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql.multimania.com, pluto.libero.it';
     
    7270$lang['Download the config file'] = 'Scaricare il file di configurazione';
    7371$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'È possibile scaricare il file di configurazione e caricarlo in local/config della vostra installazione di Piwigo.';
    74 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite e PostgreSQL sono attualmente in stato sperimentale.';
    7572$lang['Learn more'] = 'Per saperne di più';
    7673$lang['Just another Piwigo gallery'] = 'Una galleria Piwigo in più ';
  • trunk/language/ja_JP/install.lang.php

    r8728 r12103  
    5656$lang['Webmaster mail address'] = 'ウェブマスタメールアドレス';
    5757$lang['Visitors will be able to contact site administrator with this mail'] = 'ビジターは、このメールアドレスでサイト管理者に連絡することができます。';
    58 $lang['Database type'] = 'データベース種';
    59 $lang['The type of database your piwigo data will be store in'] = 'あなたのPiwigoデータが保存されているデータベース種';
    6058$lang['PHP 5 is required'] = 'PHP 5は必要';
    6159$lang['It appears your webhost is currently running PHP %s.'] = 'あなたのウェブホストは現在PHP %sを使っているらしいです。';
     
    7270$lang['Download the config file'] = 'config ファイルをダウンロードします。';
    7371$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'config ファイルをダウンロードし、インストールされた local/config ディレクトリーにアップロードすることができます。';
    74 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite と PostgreSQL は現在試験中です。';
    7572$lang['Learn more'] = '詳細はこちら';
    7673?>
  • trunk/language/ka_GE/install.lang.php

    r8728 r12103  
    5757$lang['Visitors will be able to contact site administrator with this mail'] = 'გამოყენებული იქნება მომხმარებლების მიერ ადმინისტრატორთან კავშირისათვის';
    5858
    59 $lang['Database type'] = 'მონაცემთა ბაზის ტიპი';
    60 $lang['The type of database your piwigo data will be store in'] = 'მონაცემთა ბაზის ტიპი შენახული იქნება';
    6159$lang['PHP 5 is required'] = 'საჭიროა PHP 5';
    6260$lang['It appears your webhost is currently running PHP %s.'] = 'სავარაუდოდ თქვენი ხოსტინგი ამჟამად იყენებს PHP %s.';
     
    7371$lang['Download the config file'] = 'ავტვირთოთ კონფიგურაციის ფაილი';
    7472$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'თქვენ შეგიძლიათ ატვირთოთ კონფიგურაციის ფაილი და გადასცეთ იგი local/config directory ში.';
    75 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite და PostgreSQL ამჟამად იმყოპება ექსპერიმენტის სტადიაში.';
    7673$lang['Learn more'] = 'გავიგოთ მეტი';
    7774?>
  • trunk/language/lv_LV/install.lang.php

    r8728 r12103  
    3333$lang['Connection to server succeed, but it was impossible to connect to database'] = "Savienojums ar serveri sekmigs, bet savienojums ar datu bazi nav iespejams";
    3434$lang['Can\'t connect to server'] = "Nevar savienoties ar serveri";
    35 $lang['Database type'] = "Datubazes tips";
    36 $lang['The type of database your piwigo data will be store in'] = "Datu bazes tips, kur tiks galbati Jusu Ptwigo dati.";
    3735$lang['Host'] = "Hosts";
    3836$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = "localhost, sql.multimania.com, toto.freesurf.fr";
     
    6967$lang['Download the config file'] = 'Lejupladet config failu';
    7068$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Jums jalejupielade configuracijas fails un jaielade tas Jusu instalacijas local/config mape.';
    71 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite un PostgreSQL patlaban darbojas eksperimentala režima.';
    7269$lang['Learn more'] = 'Uzzini vairak';
    7370?>
  • trunk/language/nl_NL/install.lang.php

    r8728 r12103  
    5656$lang['Webmaster mail address'] = 'Email-adres van de webbeheerder';
    5757$lang['Visitors will be able to contact site administrator with this mail'] = 'Met dit email-adres kunnen bezoekers contact opnemen met de beheerder';
    58 $lang['Database type'] = 'Database type';
    59 $lang['The type of database your piwigo data will be store in'] = 'Het type database waarin uw Piwigo-gegevens worden opgeslagen';
    6058$lang['PHP 5 is required'] = 'PHP 5 is vereist';
    6159$lang['It appears your webhost is currently running PHP %s.'] = 'Het lijkt er op dat uw webhost momenteel gebruik maakt van PHP %s.';
     
    7270$lang['Download the config file'] = 'Download het config-bestand';
    7371$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'U kunt het config-bestand downloaden en het uploaden naar de local/config directory van uw Piwigo-installatie.';
    74 $lang['SQLite and PostgreSQL are currently in experimental state.'] =
    7572'SQLite en PostgreSQL zijn momenteel nog in een experimenteel stadium.';
    7673$lang['Learn more'] = 'Leer meer';
  • trunk/language/no_NO/install.lang.php

    r8728 r12103  
    3333$lang['Connection to server succeed, but it was impossible to connect to database'] = 'Tilkobling til server er ok, men tilkobling til databasen er ikke mulig';
    3434$lang['Can\'t connect to server'] = 'Kan ikke koble til server';
    35 $lang['Database type'] = 'Database type';
    36 $lang['The type of database your piwigo data will be store in'] = 'Type database dine Piwigo data vil bli lagret i';
    3735$lang['Host'] = 'Host';
    3836$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
     
    6967$lang['Download the config file'] = 'Last ned konfig fil';
    7068$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Du kan laste ned konfig filen og laste den opp til local/config mappen i din installasjon.';
    71 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite og PostgreSQL er foreløpig i en eksperimentell fase.';
    7269$lang['Learn more'] = 'Lær mer';
    7370
  • trunk/language/pl_PL/install.lang.php

    r8728 r12103  
    6767$lang['Hope to see you back soon.'] = 'Do zobaczenia wkrótce.';
    6868//For 2.1.0
    69 $lang['Database type'] = 'Typ bazy danych';
    70 $lang['The type of database your piwigo data will be store in'] = 'Typ bazy danych Twojego Piwigo zostanie zapisany w';
    7169$lang['Congratulations, Piwigo installation is completed'] = 'Gratulacje, instalacja Piwigo zakończona sukcesem';
    7270$lang['An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'] = 'Alternatywnym rozwiązaniem jest skopiować tekst z powyższego textbox i wkleić do pliku "local/config/database.inc.php" (Uwaga : database.inc.php musi zawierać to co jest w textbox i nie może zawierać znaków spacji oraz enter)';
     
    7472$lang['Download the config file'] = 'Pobierz plik konfiguracyjny';
    7573$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Możesz pobrać plik konfiguracyjny i wgrać go do katalogu lokalnego/z konfiguracją.';
    76 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'Wsparcie dla SQLite oraz PostgreSQL jest eksperymentalne.';
    7774$lang['Learn more'] = 'Dowiedz się więcej';
    7875?>
  • trunk/language/pt_PT/install.lang.php

    r10151 r12103  
    6767$lang['Hope to see you back soon.'] = 'Espero que volte em breve.';
    6868
    69 $lang['Database type'] = 'Tipo de Base de Dados';
    70 $lang['The type of database your piwigo data will be store in'] = 'O tipo de base de dados em que a sua informação Piwigo será guardada';
    7169$lang['Congratulations, Piwigo installation is completed'] = 'Parabéns, a sua instalação Piwigo está completa';
    7270$lang['An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'] = 'Uma solução alternativa será copiar o texto na caixa abaixo e colá-lo no ficheiro "local/config/database.inc.php" (Atenção : database.inc.php apenas deverá conter o que está na área de texto, não insira nenhuma linha nova ou espaço em branco)';
     
    7472$lang['Download the config file'] = 'Guardar ficheiro de configuração';
    7573$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Pode guardar o ficheiro de configuração no seu computador e de seguida enviá-lo para a pasta /local/config da sua instalação.';
    76 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite e PostgreSQL ainda estão em fase experimental.';
    7774$lang['Learn more'] = 'Saber mais';
    7875?>
  • trunk/language/ru_RU/install.lang.php

    r9849 r12103  
    5353$lang['Webmaster mail address'] = 'Электронная почта вебмастера';
    5454$lang['Visitors will be able to contact site administrator with this mail'] = 'Будет использоваться для контакта посетителей с администратором';
    55 $lang['Database type'] = 'Тип базы данных';
    56 $lang['The type of database your piwigo data will be store in'] = 'Тип базы данных будет храниться в';
    5755$lang['PHP 5 is required'] = 'Требуется PHP 5';
    5856$lang['It appears your webhost is currently running PHP %s.'] = 'Кажется, что Ваш хостинг в настоящее время под управлением  PHP %s.';
     
    6967$lang['Download the config file'] = 'Загрузить файл конфигурации';
    7068$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Вы можете загрузить файл конфигурации и передать его в local/config directory.';
    71 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite и PostgreSQL в настоящее время находятся в стадии эксперимента.';
    7269$lang['Learn more'] = 'Узнать больше';
    7370?>
  • trunk/language/sh_RS/install.lang.php

    r8728 r12103  
    3434$lang['Connection to server succeed, but it was impossible to connect to database'] = 'Konekcija na server uspešna, ali konecija na bazu je nemoguca';
    3535$lang['Can\'t connect to server'] = 'Nemoguce povezivanje na server';
    36 $lang['Database type'] = 'Tip baze';
    37 $lang['The type of database your piwigo data will be store in'] = 'Tip baze gde ce Vaši Piwigo podaci biti smešteni';
    3836$lang['Host'] = 'Host';
    3937$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
  • trunk/language/sk_SK/install.lang.php

    r8728 r12103  
    6161
    6262// missing translations 2.1.0
    63 $lang['Database type'] = 'Typ databázy';
    64 $lang['The type of database your piwigo data will be store in'] = 'Typ databázy Vašej Piwigo databázy bude uložený';
    6563$lang['PHP 5 is required'] = 'Je nutné PHP 5';
    6664$lang['It appears your webhost is currently running PHP %s.'] = 'Na Vašom webhostingu je PHP %s.';
     
    7775$lang['Download the config file'] = 'Stiahnuť konfiguračný súbor';
    7876$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Môžete stiahnuť konfiguračný súbor a nahrať ho do adresára local/config Vašej inštalácie.';
    79 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite a PostgreSQL sa aktuálne zatiaľ testujú.';
    8077$lang['Learn more'] = 'Zistiť viac';
    8178?>
  • trunk/language/sr_RS/install.lang.php

    r8728 r12103  
    3434$lang['Connection to server succeed, but it was impossible to connect to database'] = 'Повезивање на сервер успешно, али повезивање на базу је немогућа';
    3535$lang['Can\'t connect to server'] = 'Немогуће повезивање на сервер';
    36 $lang['Database type'] = 'Тип базе';
    37 $lang['The type of database your piwigo data will be store in'] = 'Тип базе где ће Ваши Piwigo подаци бити смештени';
    3836$lang['Host'] = 'Хост';
    3937$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
     
    7068$lang['Download the config file'] = 'Сними на рачунар конфигурациону датотеку';
    7169$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Можете снимити на рацунар конфигурациону датотеку и послати је на local/config директоријум Ваше инсталације.';
    72 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite и PostgreSQL су тренутно у фази испитивања.';
    7370$lang['Learn more'] = 'Научите више';
    7471?>
  • trunk/language/sv_SE/install.lang.php

    r8919 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = 'Ansluten till server, men kunde inte ansluta till databasen.';
    3636$lang['Can\'t connect to server'] = 'Kan inte ansluta till servern';
    37 $lang['Database type'] = 'Databas typ';
    38 $lang['The type of database your piwigo data will be store in'] = 'Ange vilken typ av databas din Piwigo data ska lagras i.';
    3937$lang['Host'] = 'Värd';
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
     
    7169$lang['Download the config file'] = 'Ladda ner konfigurations filen';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Du kan ladda ner konfigurationsfilen och ladda upp den till local/config .';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite och PostgreSQL är för tillfället i försöksstadie.';
    7471$lang['Learn more'] = 'Läs mer';
    7572?>
  • trunk/language/tr_TR/install.lang.php

    r9041 r12103  
    3535$lang['Connection to server succeed, but it was impossible to connect to database'] = 'Sunucuya bağlantı başarılı, ama veritabanına bağlantı kurulamadı';
    3636$lang['Can\'t connect to server'] = 'Sunucuya bağlanamadı';
    37 $lang['Database type'] = 'Veritabanı türü';
    38 $lang['The type of database your piwigo data will be store in'] = 'Piwigo verilerinizi depolama türü';
    3937$lang['Host'] = 'Host';
    4038$lang['localhost, sql.multimania.com, toto.freesurf.fr'] = 'localhost, sql.multimania.com, toto.freesurf.fr';
     
    7169$lang['Download the config file'] = 'Yapılandırma dosyasını indir';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Yapılandırma dosyasını indirip düzenleyebilir ve kurulum dizininde local/config bölümüne yükleyebilirsiniz.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite ve PostgreSQL deneysel durumda.';
    7471$lang['Learn more'] = 'Daha fazla bilgi edinin';
    7572?>
  • trunk/language/vi_VN/install.lang.php

    r12062 r12103  
    6464$lang["You may referer to your hosting provider's support and see how you could switch to PHP 5 by yourself."] = "Bạn nên yêu cầu hỗ trợ từ nhà cung cấp máy chủ và tìm hiểu xem nếu có thể tự chuyển được sang phiên bản PHP 5.";
    6565$lang['Hope to see you back soon.'] = 'Hi vọng nhận được phản hồi của bạn sớm.';
    66 $lang['Database type'] = 'Dạng cơ sở dữ liệu';
    67 $lang['The type of database your piwigo data will be store in'] = 'Dạng cơ sở dữ liệu Piwigo của bạn sẽ được lưu vào';
    6866$lang['Congratulations, Piwigo installation is completed'] = 'Xin chúc mừng, việc cài đặt Piwigo đã hoàn tất';
    6967$lang['An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'] = 'Một giải pháp khác là chép những dòng text trên và dán chúng vào tệp tin nằm vị trí "local/config/database.inc.php" (Cảnh báo: tệp tin database.inc.php chỉ có những nội dung trong phạm vi nhập text, không được thêm hàng hoặc ký tự nào khác)';
     
    7169$lang['Download the config file'] = 'Tải tệp tin cấu hình xuống';
    7270$lang['You can download the config file and upload it to local/config directory of your installation.'] = 'Bạn có thể tải tệp tin cấu hình và upload nó vào thư mục local/config của thư mục cài đặt Piwigo.';
    73 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite và PostgreSQL hiện đang được thử nghiệm.';
    7471$lang['Learn more'] = 'Tìm hiểu thêm';
    7572$lang['Just another Piwigo gallery'] = 'Lại thêm một thư viện Piwigo nữa';
  • trunk/language/zh_CN/install.lang.php

    r8728 r12103  
    6666$lang["You may referer to your hosting provider's support and see how you could switch to PHP 5 by yourself."] = '你应该联系你的主机管理员并向其请教如何设置PHP 5.';
    6767$lang['Hope to see you back soon.'] = '希望下次再见到你...';
    68 $lang['Database type'] = '数据库类型';
    69 $lang['The type of database your piwigo data will be store in'] = '用来存放您的 Piwigo 数据的数据库的类型';
    7068$lang['Congratulations, Piwigo installation is completed'] = '恭喜,Piwigo 已安装完成。';
    7169$lang['An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'] = '另一个解决办法是,将以上文本框里的文本拷贝到 "local/config/database.inc.php" 文件里(注意:database.inc.php 必须只能包含此文本框里的内容,没有换行或者空格字符)';
     
    7371$lang['Download the config file'] = '下载配置文件';
    7472$lang['You can download the config file and upload it to local/config directory of your installation.'] = '您可以下载配置文件,然后上传到 local/config 目录以完成您的安装.';
    75 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite 和 PostgreSQL 现在还处在实验阶段.';
    7673$lang['Learn more'] = '了解更多';
    7774?>
  • trunk/language/zh_TW/install.lang.php

    r9616 r12103  
    6666$lang["You may referer to your hosting provider's support and see how you could switch to PHP 5 by yourself."] = '你應該聯繫你的主機管理員並向其請教如何設置PHP 5.';
    6767$lang['Hope to see you back soon.'] = '希望下次再見到你...';
    68 $lang['Database type'] = '數據庫類型';
    69 $lang['The type of database your piwigo data will be store in'] = '用來存放您的 Piwigo 數據的數據庫的類型';
    7068$lang['Congratulations, Piwigo installation is completed'] = '恭喜,Piwigo 已安裝完成。';
    7169$lang['An alternate solution is to copy the text in the box above and paste it into the file "local/config/database.inc.php" (Warning : database.inc.php must only contain what is in the textarea, no line return or space character)'] = '另一個解決辦法是,將以上文本框裡的文本拷貝到 "local/config/database.inc.php" 文件裡(注意:database.inc.php 必須只能包含此文本框裡的內容,沒有換行或者空格字符)';
     
    7371$lang['Download the config file'] = '下載配置文件';
    7472$lang['You can download the config file and upload it to local/config directory of your installation.'] = '您可以下載配置文件,然後上傳到 local/config 目錄以完成您的安裝.';
    75 $lang['SQLite and PostgreSQL are currently in experimental state.'] = 'SQLite 和 PostgreSQL 現在還處在實驗階段.';
    7673$lang['Learn more'] = '瞭解更多';
    7774?>
  • trunk/plugins/language_switch/flags.tpl

    r9906 r12103  
    2020{foreach from=$lang_switch.flags key=code item=flag name=f}
    2121          <li>
    22             <a rel="nofollow" href="{$SCRIPT_NAME}{$flag.url}">
     22            <a rel="nofollow" href="{$flag.url}">
    2323              <img class="flags" src="{$flag.img}" alt="{$flag.alt}" title="{$flag.alt}"/> {$flag.title}
    2424            </a>
  • trunk/plugins/language_switch/language_switch.inc.php

    r11123 r12103  
    101101   
    102102    $url_starting = get_query_string_diff(array('lang'));
     103
     104    echo htmlspecialchars($url_starting).'<br>';
    103105   
    104106    foreach ($available_lang as $code => $displayname)
    105107    {
    106       $qlc = array (
    107         'url' => str_replace(
    108           array('=&amp;','?&amp;'),
    109           array('&amp;','?'),
    110           add_url_params($url_starting, array('lang'=> $code))
    111           ),
     108      $qlc = array (
     109        // 'url' => duplicate_index_url().'&amp;lang='.$code,
     110        'url' => add_url_params(duplicate_index_url(), array('lang'=> $code)),
     111        // 'url' => str_replace(
     112        //   array('=&amp;','?&amp;'),
     113        //   array('&amp;','?'),
     114        //   add_url_params($url_starting, array('lang'=> $code))
     115        //   ),
    112116        'alt' => ucwords($displayname),
    113117        'title' => substr($displayname, 0, -4), // remove [FR] or [RU]
Note: See TracChangeset for help on using the changeset viewer.