Changeset 10198


Ignore:
Timestamp:
Apr 9, 2011, 4:52:15 PM (9 years ago)
Author:
mistic100
Message:

bug:2224 one parameter for change thumnails number (needs some translations)

Location:
trunk
Files:
1 added
47 edited

Legend:

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

    r8711 r10198  
    4646      <li>
    4747        <span class="property">
    48           <label for="nb_image_line">{'Number of photos per row'|@translate}</label>
     48          <label for="nb_image_page">{'Number of photos per page'|@translate}</label>
    4949        </span>
    50         <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
    51       </li>
    52       <li>
    53         <span class="property">
    54           <label for="nb_line_page">{'Number of rows per page'|@translate}</label>
    55         </span>
    56         <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
     50        <input type="text" size="3" maxlength="2" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
    5751      </li>
    5852{if not $SPECIAL_USER}
  • trunk/admin/themes/default/template/user_list.tpl

    r8711 r10198  
    184184<table>
    185185  <tr>
    186     <td>{'Number of photos per row'|@translate}</td>
    187     <td>
    188       <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked"> {'leave'|@translate}</label>
    189       <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set"> {'set to'|@translate}</label>
    190       <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;"
    191              size="3" maxlength="2" type="text" name="nb_image_line" value="{$NB_IMAGE_LINE}">
    192     </td>
    193   </tr>
    194 
    195   <tr>
    196     <td>{'Number of rows per page'|@translate}</td>
    197     <td>
    198       <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked"> {'leave'|@translate}</label>
    199       <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set"> {'set to'|@translate}</label>
    200       <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;"
    201              size="3" maxlength="2" type="text" name="nb_line_page" value="{$NB_LINE_PAGE}">
    202     <td>
     186    <td>{'Number of photos per page'|@translate}</td>
     187    <td>
     188      <label><input type="radio" name="nb_image_page_action" value="leave" checked="checked"> {'leave'|@translate}</label>
     189      <label><input type="radio" name="nb_image_page_action" value="set" id="nb_image_page_action_set"> {'set to'|@translate}</label>
     190      <input onmousedown="document.getElementById('nb_image_page_action_set').checked = true;"
     191             size="3" maxlength="2" type="text" name="nb_image_page" value="{$NB_IMAGE_PAGE}">
     192    </td>
    203193  </tr>
    204194
  • trunk/admin/user_list.php

    r9989 r10198  
    385385
    386386  $formfields =
    387     array('nb_image_line', 'nb_line_page', 'theme', 'language',
     387    array('nb_image_page', 'theme', 'language',
    388388          'recent_period', 'maxwidth', 'expand', 'show_nb_comments',
    389389          'show_nb_hits', 'maxheight', 'status', 'enabled_high',
     
    560560  $template->assign(
    561561    array(
    562       'NB_IMAGE_LINE' => $_POST['nb_image_line'],
    563       'NB_LINE_PAGE' => $_POST['nb_line_page'],
     562      'NB_IMAGE_PAGE' => $_POST['nb_image_page'],
    564563      'MAXWIDTH' => $_POST['maxwidth'],
    565564      'MAXHEIGHT' => $_POST['maxheight'],
     
    572571  $template->assign(
    573572    array(
    574       'NB_IMAGE_LINE' => $default_user['nb_image_line'],
    575       'NB_LINE_PAGE' => $default_user['nb_line_page'],
     573      'NB_IMAGE_PAGE' => $default_user['nb_image_page'],
    576574      'MAXWIDTH' => $default_user['maxwidth'],
    577575      'MAXHEIGHT' => $default_user['maxheight'],
  • trunk/include/functions_user.inc.php

    r9923 r10198  
    244244    $user['internal_status']['guest_must_be_guest'] = true;
    245245  }
    246 
    247   // calculation of the number of picture to display per page
    248   $user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page'];
    249246
    250247  // Check user theme
  • trunk/install/piwigo_structure-mysql.sql

    r10157 r10198  
    405405CREATE TABLE `piwigo_user_infos` (
    406406  `user_id` smallint(5) NOT NULL default '0',
    407   `nb_image_line` tinyint(1) unsigned NOT NULL default '5',
    408   `nb_line_page` tinyint(3) unsigned NOT NULL default '3',
     407  `nb_image_page` tinyint(3) unsigned NOT NULL default '15',
    409408  `status` enum('webmaster','admin','normal','generic','guest') NOT NULL default 'guest',
    410409  `language` varchar(50) NOT NULL default 'en_UK',
  • trunk/install/piwigo_structure-pdo-sqlite.sql

    r10157 r10198  
    468468(
    469469  "user_id" INTEGER default 0 NOT NULL,
    470   "nb_image_line" INTEGER default 5 NOT NULL,
    471   "nb_line_page" INTEGER default 3 NOT NULL,
     470  "nb_image_page" INTEGER default 15 NOT NULL,
    472471  "status" VARCHAR(50) default 'guest',
    473472  "language" VARCHAR(50) default 'en_UK' NOT NULL,
  • trunk/install/piwigo_structure-pgsql.sql

    r10157 r10198  
    569569(
    570570  "user_id" INTEGER default 0 NOT NULL,
    571   "nb_image_line" INTEGER default 5 NOT NULL,
    572   "nb_line_page" INTEGER default 3 NOT NULL,
     571  "nb_image_page" INTEGER default 15 NOT NULL,
    573572  "status" USER_INFOS_STATUS default 'guest'::USER_INFOS_STATUS,
    574573  "language" VARCHAR(50) default 'en_UK' NOT NULL,
  • trunk/install/piwigo_structure-sqlite.sql

    r10157 r10198  
    468468(
    469469  "user_id" INTEGER default 0 NOT NULL,
    470   "nb_image_line" INTEGER default 5 NOT NULL,
    471   "nb_line_page" INTEGER default 3 NOT NULL,
     470  "nb_image_page" INTEGER default 15 NOT NULL,
    472471  "status" VARCHAR(50) default 'guest',
    473472  "language" VARCHAR(50) default 'en_UK' NOT NULL,
  • trunk/language/ar_SA/common.lang.php

    r10048 r10198  
    235235$lang['Most visited'] = 'الصور الأكثر مشاهدة';
    236236$lang['display most visited photos'] = 'أعرض الصور الاكثر مشاهدة';
    237 $lang['The number of photos per row must be a not null scalar'] = 'عدد الصور لكل صف لا يجب ان يكون فارغ';
    238 $lang['Number of photos per row'] = 'عدد الصورلكل صف';
    239 $lang['The number of rows per page must be a not null scalar'] = 'عدد الصورلكل صف لا يجب ان يكون فارغ';
    240 $lang['Number of rows per page'] = 'عدد الصفوف في الصفحة';
     237// $lang['The number of photos per row must be a not null scalar'] = 'عدد الصور لكل صف لا يجب ان يكون فارغ';
     238// $lang['Number of photos per row'] = 'عدد الصورلكل صف';
     239// $lang['The number of rows per page must be a not null scalar'] = 'عدد الصورلكل صف لا يجب ان يكون فارغ';
     240// $lang['Number of rows per page'] = 'عدد الصفوف في الصفحة';
    241241$lang['Unknown identifier'] = 'معرف مجهول';
    242242$lang['New password'] = 'كلمة مرور جديدة';
  • trunk/language/ca_ES/common.lang.php

    r9639 r10198  
    228228$lang['Most visited'] = 'Més visitades';
    229229$lang['display most visited photos'] = 'visualitza les imatges més visitades';
    230 $lang['The number of photos per row must be a not null scalar'] = 'El nombre d\'imatges per fila ha de ser un escalar no nul';
    231 $lang['Number of photos per row'] = 'Nombre d\'imatges per fila';
    232 $lang['The number of rows per page must be a not null scalar'] = 'El nombre de files per pàgina ha de ser un escalar no nul';
    233 $lang['Number of rows per page'] = 'Nombre de files per pàgina';
     230$lang['The number of photos per page must be a not null scalar'] = 'El nombre d\'imatges per pàgina ha de ser un escalar no nul';
     231$lang['Number of photos per page'] = 'Nombre d\'imatges per pàgina';
    234232$lang['Unknown identifier'] = 'identificador desconegut';
    235233$lang['New password'] = 'Nova contrasenya';
  • trunk/language/cs_CZ/common.lang.php

    r9522 r10198  
    236236$lang['Most visited'] = 'Nejčastěji zobrazované';
    237237$lang['display most visited photos'] = 'Nejčastěji zobrazované fotografie';
    238 $lang['The number of photos per row must be a not null scalar'] = 'Počet fotografií v řádku musí být číslo větší než 0.';
    239 $lang['Number of photos per row'] = 'Počet fotografií v řádku';
    240 $lang['The number of rows per page must be a not null scalar'] = 'Počet řádků na stránce musí být číslo větší než 0.';
    241 $lang['Number of rows per page'] = 'Počet řádků na stránce';
     238$lang['The number of photos per page must be a not null scalar'] = 'Počet fotografií v stránce musí být číslo větší než 0.';
     239$lang['Number of photos per page'] = 'Počet fotografií v stránce';
    242240$lang['Unknown identifier'] = 'Neznámý identifikátor';
    243241$lang['New password'] = 'Nové heslo';
  • trunk/language/da_DK/common.lang.php

    r9522 r10198  
    232232$lang['Most visited'] = 'Mest sete';
    233233$lang['display most visited photos'] = 'vis mest sete fotos';
    234 $lang['The number of photos per row must be a not null scalar'] = 'Antallet af fotos pr. række må ikke være nul';
    235 $lang['Number of photos per row'] = 'antallet af fotos pr. række';
    236 $lang['The number of rows per page must be a not null scalar'] = 'Antallet af rækker pr. side må ikke være nul';
    237 $lang['Number of rows per page'] = 'Antallet af rækker pr. side';
     234$lang['The number of photos per page must be a not null scalar'] = 'Antallet af fotos pr. side må ikke være nul';
     235$lang['Number of photos per page'] = 'antallet af fotos pr. side';
    238236$lang['Unknown identifier'] = 'Ukendt identifier';
    239237$lang['New password'] = 'Nyt password';
  • trunk/language/de_DE/common.lang.php

    r9522 r10198  
    232232$lang['Most visited'] = 'Am häufigsten gesehen';
    233233$lang['display most visited photos'] = 'zeige die meistbesuchten Fotos';
    234 $lang['The number of photos per row must be a not null scalar'] = 'Die Anzahl Fotos per Reihe darf nicht Null sein';
    235 $lang['Number of photos per row'] = 'Anzahl Fotos per Reihe';
    236 $lang['The number of rows per page must be a not null scalar'] = 'Die Anzahl der Zeilen pro Seite muss mindestens 1 sein';
    237 $lang['Number of rows per page'] = 'Anzahl der Zeilen pro Seite';
     234$lang['The number of photos per page must be a not null scalar'] = 'Die Anzahl Fotos pro Seite darf nicht Null sein';
     235$lang['Number of photos per page'] = 'Anzahl Fotos pro Seite';
    238236$lang['Unknown identifier'] = 'Identifikatoren unbekannt';
    239237$lang['New password'] = 'Neues Passwort';
  • trunk/language/en_UK/common.lang.php

    r9923 r10198  
    230230$lang['Most visited'] = "Most visited";
    231231$lang['display most visited photos'] = "display most visited photos";
    232 $lang['The number of photos per row must be a not null scalar'] = "The number of photos per row must be a nonzero integer";
    233 $lang['Number of photos per row'] = "Number of photos per row";
    234 $lang['The number of rows per page must be a not null scalar'] = "The number of rows per page must be a nonzero integer";
    235 $lang['Number of rows per page'] = "Number of rows per page";
     232$lang['The number of photos per page must be a not null scalar'] = "The number of photos per page must be a nonzero integer";
     233$lang['Number of photos per page'] = "Number of photos per page";
    236234$lang['Unknown identifier'] = "Unknown identifier";
    237235$lang['New password'] = "New password";
  • trunk/language/es_AR/common.lang.php

    r9940 r10198  
    231231$lang['Most visited'] = 'Las más vistas';
    232232$lang['display most visited photos'] = 'mostrar las imágenes más vistas';
    233 $lang['The number of photos per row must be a not null scalar'] = 'La cantidad de imágenes por línea debe ser un número entero superior a cero';
    234 $lang['Number of photos per row'] = 'Cantidad de diapositivas por línea';
    235 $lang['The number of rows per page must be a not null scalar'] = 'La cantidad de líneas por página debe ser un número entero superior a cero';
    236 $lang['Number of rows per page'] = 'Cantidad de  líneas por página';
     233$lang['The number of photos per page must be a not null scalar'] = 'La cantidad de imágenes por página debe ser un número entero superior a cero';
     234$lang['Number of photos per page'] = 'Cantidad de diapositivas por página';
    237235$lang['Unknown identifier'] = 'Identificador desconocido';
    238236$lang['New password'] = 'Nueva contraseña';
  • trunk/language/es_ES/common.lang.php

    r9869 r10198  
    231231$lang['Most visited'] = 'Imágenes más vistas';
    232232$lang['display most visited photos'] = 'mostrar las fotos más vistas';
    233 $lang['The number of photos per row must be a not null scalar'] = 'La cantidad de fotos por línea debe ser un número entero superior a cero';
    234 $lang['Number of photos per row'] = 'Número de miniaturas por línea';
    235 $lang['The number of rows per page must be a not null scalar'] = 'El número de líneas por página debe ser un numero entero no nulo';
    236 $lang['Number of rows per page'] = 'Número de líneas por pagina';
     233$lang['The number of photos per page must be a not null scalar'] = 'La cantidad de fotos por pagina debe ser un número entero superior a cero';
     234$lang['Number of photos per page'] = 'Número de miniaturas por pagina';
    237235$lang['Unknown identifier'] = 'Identificador desconocido';
    238236$lang['New password'] = 'Nueva contraseña';
  • trunk/language/fa_IR/common.lang.php

    r9522 r10198  
    230230$lang['Most visited'] = "بیشترین بازدید";
    231231$lang['display most visited photos'] = "نمایش عکس‌هایی که بیشترین بازدید را داشته‌اند.";
    232 $lang['The number of photos per row must be a not null scalar'] = "تعداد عکس‌هایی که در هر سطر نمایش داده می‌شود که باید یک عدد غیر صفر باشد.";
    233 $lang['Number of photos per row'] = "تعداد عکس‌هایی که در هر سطر نمایش داده می‌شود";
    234 $lang['The number of rows per page must be a not null scalar'] = "تعداد عکس‌هایی که در هر صفحه نمایش داده می‌شود که باید یک عدد غیر صفر باشد.";
    235 $lang['Number of rows per page'] = "تعداد عکس‌هایی که در هر صفحه نمایش داده می‌شود";
     232// $lang['The number of photos per row must be a not null scalar'] = "تعداد عکس‌هایی که در هر سطر نمایش داده می‌شود که باید یک عدد غیر صفر باشد.";
     233// $lang['Number of photos per row'] = "تعداد عکس‌هایی که در هر سطر نمایش داده می‌شود";
     234// $lang['The number of rows per page must be a not null scalar'] = "تعداد عکس‌هایی که در هر صفحه نمایش داده می‌شود که باید یک عدد غیر صفر باشد.";
     235// $lang['Number of rows per page'] = "تعداد عکس‌هایی که در هر صفحه نمایش داده می‌شود";
    236236$lang['Unknown identifier'] = "ناشناخته!";
    237237$lang['New password'] = "گذرواژه جدید";
  • trunk/language/fr_CA/common.lang.php

    r9522 r10198  
    230230$lang['Most visited'] = 'Plus vues';
    231231$lang['display most visited photos'] = 'afficher les images les plus vues';
    232 $lang['The number of photos per row must be a not null scalar'] = 'Le nombre d\'images par ligne doit être un entier non nul';
    233 $lang['Number of photos per row'] = 'Nombre de miniatures par ligne';
    234 $lang['The number of rows per page must be a not null scalar'] = 'Le nombre de lignes par page doit être un entier non nul';
    235 $lang['Number of rows per page'] = 'Nombre de lignes par page';
     232$lang['The number of photos per page must be a not null scalar'] = 'Le nombre d\'images par page doit être un entier non nul';
     233$lang['Number of photos per page'] = 'Nombre de miniatures par page';
    236234$lang['Unknown identifier'] = 'Identifiants inconnus';
    237235$lang['New password'] = 'Nouveau mot de passe';
  • trunk/language/fr_FR/common.lang.php

    r9923 r10198  
    230230$lang['Most visited'] = 'Plus vues';
    231231$lang['display most visited photos'] = 'afficher les photos les plus vues';
    232 $lang['The number of photos per row must be a not null scalar'] = 'Le nombre de photos par ligne doit être un entier non nul';
    233 $lang['Number of photos per row'] = 'Nombre de miniatures par ligne';
    234 $lang['The number of rows per page must be a not null scalar'] = 'Le nombre de lignes par page doit être un entier non nul';
    235 $lang['Number of rows per page'] = 'Nombre de lignes par page';
     232$lang['The number of photos per page must be a not null scalar'] = 'Le nombre de photos par page doit être un entier non nul';
     233$lang['Number of photos per page'] = 'Nombre de miniatures par page';
    236234$lang['Unknown identifier'] = 'Identifiants inconnus';
    237235$lang['New password'] = 'Nouveau mot de passe';
  • trunk/language/he_IL/common.lang.php

    r9522 r10198  
    230230$lang['Most visited'] = "הכי נצפה";
    231231$lang['display most visited photos'] = "הצג את התמונות הנצפות ביותר";
    232 $lang['The number of photos per row must be a not null scalar'] = 'מספר התמונות בכל שורה חייב להיות מספר שלם שונה מאפס';
    233 $lang['Number of photos per row'] = 'מספר התמונות בכל שורה';
    234 $lang['The number of rows per page must be a not null scalar'] = 'מספר שורות בכל דף חייב להיות מספר שלם שונה מאפס';
    235 $lang['Number of rows per page'] = "מספר שורות לעמוד";
     232// $lang['The number of photos per row must be a not null scalar'] = 'מספר התמונות בכל שורה חייב להיות מספר שלם שונה מאפס';
     233// $lang['Number of photos per row'] = 'מספר התמונות בכל שורה';
     234// $lang['The number of rows per page must be a not null scalar'] = 'מספר שורות בכל דף חייב להיות מספר שלם שונה מאפס';
     235// $lang['Number of rows per page'] = "מספר שורות לעמוד";
    236236$lang['Unknown identifier'] = 'מזהה לא ידוע';
    237237$lang['New password'] = "סיסמה חדשה";
  • trunk/language/hr_HR/common.lang.php

    r9522 r10198  
    231231$lang['Most visited'] = 'Najposjećenije';
    232232$lang['display most visited photos'] = 'prikaz najposjećenijih slika';
    233 $lang['The number of photos per row must be a not null scalar'] = 'broj slika po redu mora biti cjelobrojna vrijednost';
    234 $lang['Number of photos per row'] = 'Broj slika po redu';
    235 $lang['The number of rows per page must be a not null scalar'] = 'Broj redova po stranici mora biti cjelobrojna vrijednost';
    236 $lang['Number of rows per page'] = 'Broj redova po stranici';
     233$lang['The number of photos per page must be a not null scalar'] = 'broj slika po stranici mora biti cjelobrojna vrijednost';
     234$lang['Number of photos per page'] = 'Broj slika po stranici';
    237235$lang['Unknown identifier'] = 'Nepoznata oznaka';
    238236$lang['New password'] = 'Nova zaporka';
  • trunk/language/hu_HU/common.lang.php

    r9955 r10198  
    232232$lang['Most visited'] = 'Legtöbbször nézett';
    233233$lang['display most visited photos'] = 'A leglátogatottabb képek megjelenítése';
    234 $lang['The number of photos per row must be a not null scalar'] = 'A soronkénti képek száma nem lehet 0!';
    235 $lang['Number of photos per row'] = 'Képek száma soronként';
    236 $lang['The number of rows per page must be a not null scalar'] = 'Az oldalankénti sorok száma nem lehet 0!';
    237 $lang['Number of rows per page'] = 'Sorok száma oldalanként';
     234// $lang['The number of photos per row must be a not null scalar'] = 'A soronkénti képek száma nem lehet 0!';
     235// $lang['Number of photos per row'] = 'Képek száma soronként';
     236// $lang['The number of rows per page must be a not null scalar'] = 'Az oldalankénti sorok száma nem lehet 0!';
     237// $lang['Number of rows per page'] = 'Sorok száma oldalanként';
    238238$lang['Unknown identifier'] = 'Ismeretlen azonosító';
    239239$lang['New password'] = 'Új jelszó';
  • trunk/language/is_IS/common.lang.php

    r9862 r10198  
    230230$lang['Most visited'] = 'Oftast heimsótt';
    231231$lang['display most visited photos'] = 'sýna mest heimsóttar myndir';
    232 $lang['The number of photos per row must be a not null scalar'] = 'Fjöldi mynda í röð verða að vera nonzero heiltala';
    233 $lang['Number of photos per row'] = 'Fjöldi mynda í hverri röð';
    234 $lang['The number of rows per page must be a not null scalar'] = 'Fjöldi raða á síðu verða að vera nonzero heiltala';
    235 $lang['Number of rows per page'] = 'Fjöldi raða á síðu';
     232// $lang['The number of photos per row must be a not null scalar'] = 'Fjöldi mynda í röð verða að vera nonzero heiltala';
     233// $lang['Number of photos per row'] = 'Fjöldi mynda í hverri röð';
     234// $lang['The number of rows per page must be a not null scalar'] = 'Fjöldi raða á síðu verða að vera nonzero heiltala';
     235// $lang['Number of rows per page'] = 'Fjöldi raða á síðu';
    236236$lang['Unknown identifier'] = 'Óþekkt auðkenni';
    237237$lang['New password'] = 'Nýtt lykilorð';
  • trunk/language/it_IT/common.lang.php

    r10124 r10198  
    230230$lang['Most visited'] = 'Le più viste';
    231231$lang['display most visited photos'] = 'Mostra le foto le più viste';
    232 $lang['The number of photos per row must be a not null scalar'] = 'Il numero di foto per riga deve essere un intero non nullo';
    233 $lang['Number of photos per row'] = 'Numero di miniature per riga';
    234 $lang['The number of rows per page must be a not null scalar'] = 'Il numero di righe per pagina deve essere un intero non nullo';
    235 $lang['Number of rows per page'] = 'Numero di righe per pagina';
     232$lang['The number of photos per page must be a not null scalar'] = 'Il numero di foto per pagina deve essere un intero non nullo';
     233$lang['Number of photos per page'] = 'Numero di miniature per pagina';
    236234$lang['Unknown identifier'] = 'Identificante sconosciuto';
    237235$lang['New password'] = 'Nuova password';
  • trunk/language/ja_JP/common.lang.php

    r9522 r10198  
    231231$lang['Most visited'] = '最多アクセス';
    232232$lang['display most visited photos'] = '最もアクセスされた写真を表示します。';
    233 $lang['The number of photos per row must be a not null scalar'] = '1行あたりのイメージ数には、空白以外の値を設定してください。';
    234 $lang['Number of photos per row'] = '1行あたりのイメージ数';
    235 $lang['The number of rows per page must be a not null scalar'] = '1ページあたりの行数には、空白以外の値を設定してください。';
    236 $lang['Number of rows per page'] = '1ページあたりの行数';
     233// $lang['The number of photos per row must be a not null scalar'] = '1行あたりのイメージ数には、空白以外の値を設定してください。';
     234// $lang['Number of photos per row'] = '1行あたりのイメージ数';
     235// $lang['The number of rows per page must be a not null scalar'] = '1ページあたりの行数には、空白以外の値を設定してください。';
     236// $lang['Number of rows per page'] = '1ページあたりの行数';
    237237$lang['Unknown identifier'] = '不明なID';
    238238$lang['New password'] = '新しいパスワード';
  • trunk/language/ka_GE/common.lang.php

    r9522 r10198  
    232232$lang['Most visited'] = 'პოპულარურობის მიხედვით';
    233233$lang['display most visited photos'] = 'ვნახოთ ყველაზე პოპულარული ფოტოები';
    234 $lang['The number of photos per row must be a not null scalar'] = 'ფოტოების რიცხვი არ უნდა იყოს ნულის ტოლი';
    235 $lang['Number of photos per row'] = 'ფოტოების რაოდენობა სტრიქონში';
    236 $lang['The number of rows per page must be a not null scalar'] = 'სტრიქონთა რაოდენობა არ უნდა იყოს ნულის ტოლი';
    237 $lang['Number of rows per page'] = 'სტრიქონთა რიცხვი გვერდზე';
     234// $lang['The number of photos per row must be a not null scalar'] = 'ფოტოების რიცხვი არ უნდა იყოს ნულის ტოლი';
     235// $lang['Number of photos per row'] = 'ფოტოების რაოდენობა სტრიქონში';
     236// $lang['The number of rows per page must be a not null scalar'] = 'სტრიქონთა რაოდენობა არ უნდა იყოს ნულის ტოლი';
     237// $lang['Number of rows per page'] = 'სტრიქონთა რიცხვი გვერდზე';
    238238$lang['Unknown identifier'] = 'უცნობი იდენტიფიკატორი';
    239239$lang['New password'] = 'ახალი პაროლი';
  • trunk/language/lv_LV/common.lang.php

    r10071 r10198  
    230230$lang['Most visited'] = "Visapmeklētākie";
    231231$lang['display most visited photos'] = 'parādīt visapmeklētākos fotoattēlus';
    232 $lang['The number of photos per row must be a not null scalar'] = 'Foto skaits rindā nedrīkst būt nulle skalārs lielums';
    233 $lang['Number of photos per row'] = 'Foto skaits rindā';
    234 $lang['The number of rows per page must be a not null scalar'] = "Rindu skaitam lapā jābut lielākam par 0 un veselam skaitlim";
    235 $lang['Number of rows per page'] = "Rindu skaits lapā";
     232$lang['The number of photos per page must be a not null scalar'] = 'Foto skaits lapā nedrīkst būt nulle skalārs lielums';
     233$lang['Number of photos per page'] = 'Foto skaits lapā';
    236234$lang['Unknown identifier'] = "Nezināms identifikators";
    237235$lang['New password'] = "Jauna parole";
  • trunk/language/mk_MK/common.lang.php

    r9522 r10198  
    241241$lang['Most visited'] = 'Најпосетени';
    242242$lang['display most visited photos'] = 'Ги покажува најпосетените фотографии';
    243 $lang['The number of photos per row must be a not null scalar'] = 'Бројот на фотографии во низа не може да биде непостоечки број.';
    244 $lang['Number of photos per row'] = 'Број на фотографии во низа';
    245 $lang['The number of rows per page must be a not null scalar'] = 'Бројот на низи по страна не може да биде непостоечки број.';
    246 $lang['Number of rows per page'] = 'Број на низи по страна';
     243// $lang['The number of photos per row must be a not null scalar'] = 'Бројот на фотографии во низа не може да биде непостоечки број.';
     244// $lang['Number of photos per row'] = 'Број на фотографии во низа';
     245// $lang['The number of rows per page must be a not null scalar'] = 'Бројот на низи по страна не може да биде непостоечки број.';
     246// $lang['Number of rows per page'] = 'Број на низи по страна';
    247247$lang['Unknown identifier'] = 'Unknown identifier';
    248248$lang['New password'] = 'Нова лозинка';
  • trunk/language/nl_NL/common.lang.php

    r10177 r10198  
    232232$lang['Most visited'] = 'Meest bekeken';
    233233$lang['display most visited photos'] = 'Toon de meest bekeken afbeelding';
    234 $lang['The number of photos per row must be a not null scalar'] = 'Het aantal afbeeldingen per rij mag geen ongeldige deling zijn';
    235 $lang['Number of photos per row'] = 'Aantal afbeeldingen per rij';
    236 $lang['The number of rows per page must be a not null scalar'] = 'Het aantal rijen per pagina mag geen ongeldige deling zijn';
    237 $lang['Number of rows per page'] = 'Aantal rijen per pagina';
     234$lang['The number of photos per page must be a not null scalar'] = 'Het aantal afbeeldingen per pagina mag geen ongeldige deling zijn';
     235$lang['Number of photos per page'] = 'Aantal afbeeldingen per pagina';
    238236$lang['Unknown identifier'] = 'Onbekend herkenningsteken';
    239237$lang['New password'] = 'Nieuw wachtwoord';
  • trunk/language/no_NO/common.lang.php

    r9522 r10198  
    268268$lang['Most visited'] = 'Mest besøkte';
    269269$lang['display most visited photos'] = 'vis mest besøkte bilder';
    270 $lang['The number of photos per row must be a not null scalar'] = 'Antall bilder per rad må være større en null';
    271 $lang['Number of photos per row'] = 'Antall bilder per rad';
    272 $lang['The number of rows per page must be a not null scalar'] = 'Antall rader per side må være større en null';
    273 $lang['Number of rows per page'] = 'Antall rader per side';
     270$lang['The number of photos per page must be a not null scalar'] = 'Antall bilder per side må være større en null';
     271$lang['Number of photos per page'] = 'Antall bilder per side';
    274272$lang['Unknown identifier'] = 'Ukjent identifier';
    275273$lang['New password'] = 'Nytt passord';
  • trunk/language/pl_PL/common.lang.php

    r9522 r10198  
    232232$lang['Most visited'] = 'Najczęściej odwiedzane';
    233233$lang['display most visited photos'] = 'pokaż najczęściej odwiedzane zdjęcia';
    234 $lang['The number of photos per row must be a not null scalar'] = 'Liczba zdjęć w wierszu musi być większa od zera';
    235 $lang['Number of photos per row'] = 'Liczba zdjęć w wierszu';
    236 $lang['The number of rows per page must be a not null scalar'] = 'Liczba wierszy na stronie musi być większa od zera';
    237 $lang['Number of rows per page'] = 'Liczba wierszy na stronie';
     234// $lang['The number of photos per row must be a not null scalar'] = 'Liczba zdjęć w wierszu musi być większa od zera';
     235// $lang['Number of photos per row'] = 'Liczba zdjęć w wierszu';
     236// $lang['The number of rows per page must be a not null scalar'] = 'Liczba wierszy na stronie musi być większa od zera';
     237// $lang['Number of rows per page'] = 'Liczba wierszy na stronie';
    238238$lang['Unknown identifier'] = 'Nieznany identyfikator';
    239239$lang['New password'] = 'Nowe hasło';
  • trunk/language/pt_BR/common.lang.php

    r9522 r10198  
    231231$lang['Most visited'] = 'Mais visitadas';
    232232$lang['display most visited photos'] = 'Mostra as imagens mais visitadas';
    233 $lang['The number of photos per row must be a not null scalar'] = 'O número de imagens por linha deve ser inteiro e não nulo';
    234 $lang['Number of photos per row'] = 'Número de imagens por linha';
    235 $lang['The number of rows per page must be a not null scalar'] = 'O número de linhas por página deve ser inteiro e não nulo';
    236 $lang['Number of rows per page'] = 'Número de linhas por página';
     233$lang['The number of photos per page must be a not null scalar'] = 'O número de imagens por página deve ser inteiro e não nulo';
     234$lang['Number of photos per page'] = 'Número de imagens por página';
    237235$lang['Unknown identifier'] = 'Origem desconhecida';
    238236$lang['New password'] = 'Senha nova';
  • trunk/language/pt_PT/common.lang.php

    r10151 r10198  
    231231$lang['Most visited'] = 'Mais vistas';
    232232$lang['display most visited photos'] = 'Mostra as fotos mais vistas';
    233 $lang['The number of photos per row must be a not null scalar'] = 'O número de fotos por linha deve ser inteiro e não nulo';
    234 $lang['Number of photos per row'] = 'Número de imagens por linha';
    235 $lang['The number of rows per page must be a not null scalar'] = 'O número de linhas por página deve ser inteiro e não nulo';
    236 $lang['Number of rows per page'] = 'Número de linhas por página';
     233$lang['The number of photos per page must be a not null scalar'] = 'O número de fotos por página deve ser inteiro e não nulo';
     234$lang['Number of photos per page'] = 'Número de imagens por página';
    237235$lang['Unknown identifier'] = 'Identificador desconhecido';
    238236$lang['New password'] = 'Nova palavra-passe';
  • trunk/language/ro_RO/common.lang.php

    r9522 r10198  
    222222$lang['Most visited'] = 'Cele mai vizionate';
    223223$lang['display most visited photos'] = 'afişează imaginile cele mai vizionate';
    224 $lang['The number of photos per row must be a not null scalar'] = 'Numărul de imagini pe linie trebuie să fie un număr întreg nenul';
    225 $lang['Number of photos per row'] = 'Numărul de miniaturi pe linie';
    226 $lang['The number of rows per page must be a not null scalar'] = 'Numărul de linii pe pagină trebuie să fie un număr întreg nenul';
    227 $lang['Number of rows per page'] = 'Numărul de linii pe pagină';
     224$lang['The number of photos per page must be a not null scalar'] = 'Numărul de imagini pe pagină trebuie să fie un număr întreg nenul';
     225$lang['Number of photos per page'] = 'Numărul de miniaturi pe pagină';
    228226$lang['Unknown identifier'] = 'Identificator necunoscut ';
    229227$lang['New password'] = 'Parolă nouă';
  • trunk/language/ru_RU/common.lang.php

    r10184 r10198  
    232232$lang['Most visited'] = 'По популярности';
    233233$lang['display most visited photos'] = 'показать наиболее популярные фотографии';
    234 $lang['The number of photos per row must be a not null scalar'] = 'Число фотографий в ряду недолжно быть нулевым';
    235 $lang['Number of photos per row'] = 'Число фотографий в ряду';
    236 $lang['The number of rows per page must be a not null scalar'] = 'Число строк на странице должно быть не нулевым целым положительным';
    237 $lang['Number of rows per page'] = 'Число строк на странице';
     234// $lang['The number of photos per row must be a not null scalar'] = 'Число фотографий в ряду недолжно быть нулевым';
     235// $lang['Number of photos per row'] = 'Число фотографий в ряду';
     236// $lang['The number of rows per page must be a not null scalar'] = 'Число строк на странице должно быть не нулевым целым положительным';
     237// $lang['Number of rows per page'] = 'Число строк на странице';
    238238$lang['Unknown identifier'] = 'Неизвестный идентификатор';
    239239$lang['New password'] = 'Новый пароль';
  • trunk/language/sh_RS/common.lang.php

    r9522 r10198  
    231231$lang['Most visited'] = 'Najposjećenije';
    232232$lang['display most visited photos'] = 'prikaz najposjećenijih slika';
    233 $lang['The number of photos per row must be a not null scalar'] = 'broj slika po redu mora biti celobrojna vrednost';
    234 $lang['Number of photos per row'] = 'Broj slika po redu';
    235 $lang['The number of rows per page must be a not null scalar'] = 'Broj redova po stranici mora biti celobrojna vrednost';
    236 $lang['Number of rows per page'] = 'Broj redova po stranici';
     233$lang['The number of photos per page must be a not null scalar'] = 'broj slika po stranici mora biti celobrojna vrednost';
     234$lang['Number of photos per page'] = 'Broj slika po stranici';
    237235$lang['Unknown identifier'] = 'Nepoznata oznaka';
    238236$lang['New password'] = 'Nova lozinka';
  • trunk/language/sk_SK/common.lang.php

    r10073 r10198  
    236236$lang['Most visited'] = 'Najčastejšie zobrazované';
    237237$lang['display most visited photos'] = 'najčastejšie zobrazované fotografie';
    238 $lang['The number of photos per row must be a not null scalar'] = 'Počet fotografií v riadku musí byť číslo väčšie ako 0.';
    239 $lang['Number of photos per row'] = 'Počet fotografií v riadku';
    240 $lang['The number of rows per page must be a not null scalar'] = 'Počet riadkov na stránke musí byť číslo väčšie ako 0.';
    241 $lang['Number of rows per page'] = 'Počet riadkov na stránke';
     238// $lang['The number of photos per row must be a not null scalar'] = 'Počet fotografií v riadku musí byť číslo väčšie ako 0.';
     239// $lang['Number of photos per row'] = 'Počet fotografií v riadku';
     240// $lang['The number of rows per page must be a not null scalar'] = 'Počet riadkov na stránke musí byť číslo väčšie ako 0.';
     241// $lang['Number of rows per page'] = 'Počet riadkov na stránke';
    242242$lang['Unknown identifier'] = 'Neznámy identifikátor';
    243243$lang['New password'] = 'Nové heslo';
  • trunk/language/sl_SL/common.lang.php

    r9779 r10198  
    205205$lang['Most visited'] = 'Najbolj obiskana';
    206206$lang['display most visited photos'] = 'prikaži najbolj obiskane slike';
    207 $lang['The number of photos per row must be a not null scalar'] = 'Število slik v vrstici, mora biti ne prazno celo število.';
    208 $lang['Number of photos per row'] = 'Število slik v vrstici';
    209 $lang['The number of rows per page must be a not null scalar'] = 'Število vrstic na strani, mora biti ne prazno celo število.';
    210 $lang['Number of rows per page'] = 'Število vrstic na stran';
     207// $lang['The number of photos per row must be a not null scalar'] = 'Število slik v vrstici, mora biti ne prazno celo število.';
     208// $lang['Number of photos per row'] = 'Število slik v vrstici';
     209// $lang['The number of rows per page must be a not null scalar'] = 'Število vrstic na strani, mora biti ne prazno celo število.';
     210// $lang['Number of rows per page'] = 'Število vrstic na stran';
    211211$lang['Unknown identifier'] = 'Neznan';
    212212$lang['New password'] = 'Novo geslo';
  • trunk/language/sr_RS/common.lang.php

    r9522 r10198  
    231231$lang['Most visited'] = 'Најпосјећеније';
    232232$lang['display most visited photos'] = 'приказ најпосјећенијих слика';
    233 $lang['The number of photos per row must be a not null scalar'] = 'број слика по реду мора бити целобројна вредност';
    234 $lang['Number of photos per row'] = 'Број слика по реду';
    235 $lang['The number of rows per page must be a not null scalar'] = 'Број редова по страници мора бити целобројна вредност';
    236 $lang['Number of rows per page'] = 'Број редова по страници';
     233// $lang['The number of photos per row must be a not null scalar'] = 'број слика по реду мора бити целобројна вредност';
     234// $lang['Number of photos per row'] = 'Број слика по реду';
     235// $lang['The number of rows per page must be a not null scalar'] = 'Број редова по страници мора бити целобројна вредност';
     236// $lang['Number of rows per page'] = 'Број редова по страници';
    237237$lang['Unknown identifier'] = 'Непозната ознака';
    238238$lang['New password'] = 'Нова лозинка';
  • trunk/language/sv_SE/common.lang.php

    r9522 r10198  
    266266$lang['Most visited'] = 'Mest besökta';
    267267$lang['display most visited photos'] = 'Visa mest besökta bilder';
    268 $lang['The number of photos per row must be a not null scalar'] = 'Antalet bilder per rad måste vara ett heltal';
    269 $lang['Number of photos per row'] = 'Antal bilder per rad';
    270 $lang['The number of rows per page must be a not null scalar'] = 'Antalet rader per sida måste vara ett heltal';
    271 $lang['Number of rows per page'] = 'Antal rader per sida';
     268$lang['The number of photos per page must be a not null scalar'] = 'Antalet bilder per sida måste vara ett heltal';
     269$lang['Number of photos per page'] = 'Antal bilder per sida';
    272270$lang['Unknown identifier'] = 'Okänt användarnamn';
    273271$lang['New password'] = 'Nytt lösenord';
  • trunk/language/tr_TR/common.lang.php

    r9522 r10198  
    234234$lang['Most visited'] = 'En çok görüntülenenler';
    235235$lang['display most visited photos'] = 'en çok görüntülenen resimlerı göster';
    236 $lang['The number of photos per row must be a not null scalar'] = 'Her sıra için gösterilen resim sayısı 0 dan farklı bir tam sayı olmalıdır';
    237 $lang['Number of photos per row'] = 'Her sıra için gösterilen resim sayısı';
    238 $lang['The number of rows per page must be a not null scalar'] = 'Her sayfa için gösterilen resim sayısı 0 dan farklı bir tamsayı olmalıdır';
    239 $lang['Number of rows per page'] = 'Her sayfada gösterilen sıra sayısı';
     236// $lang['The number of photos per row must be a not null scalar'] = 'Her sıra için gösterilen resim sayısı 0 dan farklı bir tam sayı olmalıdır';
     237// $lang['Number of photos per row'] = 'Her sıra için gösterilen resim sayısı';
     238// $lang['The number of rows per page must be a not null scalar'] = 'Her sayfa için gösterilen resim sayısı 0 dan farklı bir tamsayı olmalıdır';
     239// $lang['Number of rows per page'] = 'Her sayfada gösterilen sıra sayısı';
    240240$lang['Unknown identifier'] = 'bilinmeyen kimlik';
    241241$lang['New password'] = 'yeni şifre';
  • trunk/language/uk_UA/common.lang.php

    r9941 r10198  
    258258$lang['Most visited'] = 'Найбільш відвідувані';
    259259$lang['display most visited photos'] = 'показувати найбільш відвідувані фотографії';
    260 $lang['The number of photos per row must be a not null scalar'] = 'Кількість фотографій у рядку повинно бути цілим ненульовим числом';
    261 $lang['Number of photos per row'] = 'Кількість фотографій в рядку';
    262 $lang['The number of rows per page must be a not null scalar'] = 'Кількість рядків на сторінці повинно бути цілим ненульовим числом';
    263 $lang['Number of rows per page'] = 'Кількість рядків на сторінці';
     260// $lang['The number of photos per row must be a not null scalar'] = 'Кількість фотографій у рядку повинно бути цілим ненульовим числом';
     261// $lang['Number of photos per row'] = 'Кількість фотографій в рядку';
     262// $lang['The number of rows per page must be a not null scalar'] = 'Кількість рядків на сторінці повинно бути цілим ненульовим числом';
     263// $lang['Number of rows per page'] = 'Кількість рядків на сторінці';
    264264$lang['Unknown identifier'] = 'Невідомий ідентифікатор';
    265265$lang['New password'] = 'Новий пароль';
  • trunk/language/vi_VN/common.lang.php

    r10068 r10198  
    230230$lang['Most visited'] = 'Hình được xem nhiều nhất';
    231231$lang['display most visited photos'] = 'hiển thị những hình được xem nhiều nhất';
    232 $lang['The number of photos per row must be a not null scalar'] = 'Số hình mỗi hàng phải là đại lượng vô hướng không rỗng';
    233 $lang['Number of photos per row'] = 'Số hình trên mỗi hàng';
    234 $lang['The number of rows per page must be a not null scalar'] = 'Số hàng mỗi trang phải là đại lượng vô hướng không rỗng';
    235 $lang['Number of rows per page'] = 'Số hàng trên mỗi trang';
     232// $lang['The number of photos per row must be a not null scalar'] = 'Số hình mỗi hàng phải là đại lượng vô hướng không rỗng';
     233// $lang['Number of photos per row'] = 'Số hình trên mỗi hàng';
     234// $lang['The number of rows per page must be a not null scalar'] = 'Số hàng mỗi trang phải là đại lượng vô hướng không rỗng';
     235// $lang['Number of rows per page'] = 'Số hàng trên mỗi trang';
    236236$lang['Unknown identifier'] = 'Định danh không xác định';
    237237$lang['New password'] = 'Mật khẩu mới';
  • trunk/language/zh_CN/common.lang.php

    r10173 r10198  
    231231$lang['Most visited'] = "最多观看";
    232232$lang['display most visited photos'] = "显示最多观看的图片";
    233 $lang['The number of photos per row must be a not null scalar'] = "每行图片的数量必须为非零整数";
    234 $lang['Number of photos per row'] = "每行图片的数量";
    235 $lang['The number of rows per page must be a not null scalar'] = "行数必须为非零整数";
    236 $lang['Number of rows per page'] = "每页行数";
     233// $lang['The number of photos per row must be a not null scalar'] = "每行图片的数量必须为非零整数";
     234// $lang['Number of photos per row'] = "每行图片的数量";
     235// $lang['The number of rows per page must be a not null scalar'] = "行数必须为非零整数";
     236// $lang['Number of rows per page'] = "每页行数";
    237237$lang['Unknown identifier'] = "未知标识符";
    238238$lang['New password'] = "新密码";
  • trunk/language/zh_TW/common.lang.php

    r9939 r10198  
    231231$lang['Most visited'] = '最受喜歡';
    232232$lang['display most visited photos'] = '顯示查看次數最多的圖片';
    233 $lang['The number of photos per row must be a not null scalar'] = '每行圖片數必須是非零整數';
    234 $lang['Number of photos per row'] = '每行圖片數';
    235 $lang['The number of rows per page must be a not null scalar'] = '每頁總行數必須是非零整數';
    236 $lang['Number of rows per page'] = '每頁行數';
     233// $lang['The number of photos per row must be a not null scalar'] = '每行圖片數必須是非零整數';
     234// $lang['Number of photos per row'] = '每行圖片數';
     235// $lang['The number of rows per page must be a not null scalar'] = '每頁總行數必須是非零整數';
     236// $lang['Number of rows per page'] = '每頁行數';
    237237$lang['Unknown identifier'] = '帳戶不存在';
    238238$lang['New password'] = '新密碼';
  • trunk/profile.php

    r8728 r10198  
    5050  {
    5151    $fields = array(
    52       'nb_image_line', 'nb_line_page', 'maxwidth', 'maxheight', 'expand',
     52      'nb_image_page', 'maxwidth', 'maxheight', 'expand',
    5353      'show_nb_comments', 'show_nb_hits', 'recent_period', 'show_nb_hits'
    5454      );
     
    118118  {
    119119    $int_pattern = '/^\d+$/';
    120     if (empty($_POST['nb_image_line'])
    121         or (!preg_match($int_pattern, $_POST['nb_image_line'])))
    122     {
    123       $errors[] = l10n('The number of photos per row must be a not null scalar');
    124     }
    125 
    126     if (empty($_POST['nb_line_page'])
    127         or (!preg_match($int_pattern, $_POST['nb_line_page'])))
    128     {
    129       $errors[] = l10n('The number of rows per page must be a not null scalar');
     120    if (empty($_POST['nb_image_page'])
     121        or (!preg_match($int_pattern, $_POST['nb_image_page'])))
     122    {
     123      $errors[] = l10n('The number of photos per page must be a not null scalar');
    130124    }
    131125
     
    217211      // update user "additional" informations (specific to Piwigo)
    218212      $fields = array(
    219         'nb_image_line', 'nb_line_page', 'language', 'maxwidth', 'maxheight',
     213        'nb_image_page', 'language', 'maxwidth', 'maxheight',
    220214        'expand', 'show_nb_comments', 'show_nb_hits', 'recent_period', 'theme'
    221215        );
     
    262256      'EMAIL'=>get_email_address_as_display_text(@$userdata['email']),
    263257      'ALLOW_USER_CUSTOMIZATION'=>$conf['allow_user_customization'],
    264       'NB_IMAGE_LINE'=>$userdata['nb_image_line'],
    265       'NB_ROW_PAGE'=>$userdata['nb_line_page'],
     258      'NB_IMAGE_PAGE'=>$userdata['nb_image_page'],
    266259      'RECENT_PERIOD'=>$userdata['recent_period'],
    267260      'MAXWIDTH'=>@$userdata['maxwidth'],
  • trunk/themes/default/template/profile_content.tpl

    r8711 r10198  
    4747      <li>
    4848        <span class="property">
    49           <label for="nb_image_line">{'Number of photos per row'|@translate}</label>
     49          <label for="nb_image_page">{'Number of photos per page'|@translate}</label>
    5050        </span>
    51         <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
    52       </li>
    53       <li>
    54         <span class="property">
    55           <label for="nb_line_page">{'Number of rows per page'|@translate}</label>
    56         </span>
    57         <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
     51        <input type="text" size="3" maxlength="2" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
    5852      </li>
    5953      <li>
Note: See TracChangeset for help on using the changeset viewer.