Changeset 32901 for extensions


Ignore:
Timestamp:
Jan 15, 2023, 9:10:47 AM (23 months ago)
Author:
ddtddt
Message:

[user_custom_fields] compatybilité php8 / update language key

Location:
extensions/user_custom_fields
Files:
21 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_custom_fields/admin.php

    r32736 r32901  
    281281                $d=data_info_user($_GET['ucfiduser'],$info_users['id_ucf']);
    282282                $row = pwg_db_fetch_assoc($d);
     283                if (!isset($row['data'])){$row['data']='';}
    283284                $items = array(
    284285                        'UCFID' => $info_users['id_ucf'],
  • extensions/user_custom_fields/initadmin.php

    r32887 r32901  
    5858  $replace = '<div class="user-stats">
    5959              <div class="user-property-user-ucf">
    60                 <p class="user-property-button"> <span class="icon-pencil user-edit-icon"> </span><a data-url="{$UCF_ADMIN2}" href="#" >{\'Edit custom fields\'|@translate}</a></p>
     60                <p class="user-property-button"> <span class="icon-pencil user-edit-icon"> </span><a data-url="{$UCF_ADMIN2}" href="#" >{\'Custom fields\'|@translate}</a></p>
    6161              </div>
    6262            </div>';
  • extensions/user_custom_fields/initprofile.php

    r32736 r32901  
    3939add_event_handler('loc_begin_profile', 'ucfinitprofil');
    4040function ucfinitprofil(){
    41   global $template, $prefixeTable, $userdata;
     41  global $template, $prefixeTable, $userdata, $pwg_loaded_plugins;
    4242 if (isset($userdata['id'])){
    43   $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';"));
    44         if($PAED['state'] == 'active'){
     43        if (isset($pwg_loaded_plugins['ExtendedDescription'])){
    4544                add_event_handler('AP_render_content', 'get_user_language_desc');
    4645    }
  • extensions/user_custom_fields/language/ca_ES/plugin.lang.php

    r31889 r32901  
    2626$lang['Custom fields manual order was saved'] = 'L\'ordre manual dels camps personalitats ha estat guardat';
    2727$lang['Custom fields update'] = 'Actualitza els camps personalitzats';
    28 $lang['Edit custom fields'] = 'Edita els camps personalitzats';
     28$lang['Custom fields'] = 'Camps personalitzats';
    2929$lang['Import was successful'] = 'La importació ha estat satisfactòria';
    3030$lang['Manage custom fields'] = 'Gestiona els camps personalitzats';
  • extensions/user_custom_fields/language/cs_CZ/plugin.lang.php

    r32885 r32901  
    88$lang['Import info since Add Info Users'] = 'použijte Add Info Users ke zkopírování jeho informací';
    99$lang['Data custom fields update'] = 'Aktualizovat data vlastních polí';
    10 $lang['Edit custom fields'] = 'Editovat vlastní pole';
     10$lang['Custom fields'] = 'Vlastní pole';
    1111$lang['Fields List'] = 'Seznam polí';
    1212$lang['Import'] = 'Importovat';
  • extensions/user_custom_fields/language/da_DK/plugin.lang.php

    r31846 r32901  
    2828$lang['Custom fields update'] = 'Opdater skræddersyede felter';
    2929$lang['Data custom fields update'] = 'Opdater skræddersyede datafelter';
    30 $lang['Edit custom fields'] = 'Rediger skræddersyede felter';
     30$lang['Custom fields'] = 'Skræddersyede felter';
    3131$lang['Fields List'] = 'Feltliste';
    3232$lang['Import'] = 'Importer';
  • extensions/user_custom_fields/language/de_DE/plugin.lang.php

    r31847 r32901  
    2929$lang['Custom fields update'] = 'Benutzerdefinierte Felder aktualisieren';
    3030$lang['Data custom fields update'] = 'Daten der benutzerdefinierten Felder aktualisieren';
    31 $lang['Edit custom fields'] = 'Benutzerdefinierte Felder bearbeiten';
     31$lang['Custom fields'] = 'Benutzerdefinierte Felder';
    3232$lang['Import'] = 'Import';
    3333$lang['Import info since Add Info Users'] = 'Info importieren aus Benutzerinformationen';
  • extensions/user_custom_fields/language/en_UK/plugin.lang.php

    r32698 r32901  
    2828$lang['Create new custom fields'] = 'Create new custom fields';
    2929$lang['Edit custom fields'] = 'Edit custom fields';
     30$lang['Custom fields'] = 'Custom fields';
    3031$lang['Wording'] = 'Wording';
    3132$lang['Admin only'] = 'Admin only';
  • extensions/user_custom_fields/language/es_ES/plugin.lang.php

    r32056 r32901  
    1414$lang['Custom fields update'] = 'Actualizar campos personalizados';
    1515$lang['Data custom fields update'] = 'Datos de actualización de campos personalizados';
    16 $lang['Edit custom fields'] = 'Editar campos personalizados';
     16$lang['Custom fields'] = 'Campos personalizados';
    1717$lang['Fields List'] = 'Lista de campos';
    1818$lang['Import'] = 'Importar';
  • extensions/user_custom_fields/language/fr_FR/description.txt

    r31542 r32901  
    1 Ajouter des champs utilisateurs personalisés
     1Ajouter des champs utilisateurs personalisés
  • extensions/user_custom_fields/language/fr_FR/plugin.lang.php

    r32698 r32901  
    1 <?php
     1<?php
    22// +-----------------------------------------------------------------------+
    33// | User Custom Fields plugin for Piwigo by TEMMII                        |
     
    2727$lang['Create new custom fields'] = 'Créer un nouveau champs personnalisé';
    2828$lang['Edit custom fields'] = 'Editer les champs personnalisés';
     29$lang['Custom fields'] = 'Champs personnalisés';
    2930$lang['Wording'] = 'Libellé';
    3031$lang['Admin only'] = 'Seulement l\'administrateur';
  • extensions/user_custom_fields/language/is_IS/plugin.lang.php

    r32829 r32901  
    1313$lang['Custom fields update'] = 'Sérsniðnir reitir uppfærðir';
    1414$lang['Data custom fields update'] = 'Uppfærsla sérsniðinna gagnareita';
    15 $lang['Edit custom fields'] = 'Breyta sérsniðnum reitum';
     15$lang['Custom fields'] = 'Sérsniðnir reitir';
    1616$lang['Fields List'] = 'Reitalisti';
    1717$lang['Import'] = 'Flytja inn';
  • extensions/user_custom_fields/language/it_IT/plugin.lang.php

    r31940 r32901  
    2929$lang['Custom fields update'] = 'Campi utente aggiornati';
    3030$lang['Data custom fields update'] = 'Dati del campo per l\'utente aggiornati';
    31 $lang['Edit custom fields'] = 'Modifica campi personalizzati';
     31$lang['Custom fields'] = 'Campi personalizzati';
    3232$lang['Fields List'] = 'Elenco di campi';
    3333$lang['Import'] = 'Importare';
  • extensions/user_custom_fields/language/lv_LV/plugin.lang.php

    r31848 r32901  
    2929$lang['User custom fields'] = 'Lietotāja pielāgotie lauki';
    3030$lang['Custom fields delete'] = 'Pielāgoto lauku dzēšana';
    31 $lang['Edit custom fields'] = 'Labot pielāgotos laukus';
     31$lang['Custom fields'] = 'Pielāgotos laukus';
    3232$lang['Manage custom fields'] = 'Pārvaldīt pielāgotos laukus';
    3333$lang['Custom fields add'] = 'Pielāgoto lauku pievienošana';
  • extensions/user_custom_fields/language/nb_NO/plugin.lang.php

    r31851 r32901  
    2828$lang['Custom fields update'] = 'Oppdatering av egendefinerte felt';
    2929$lang['Data custom fields update'] = 'Oppdatering av data for egendefinerte felt';
    30 $lang['Edit custom fields'] = 'Rediger egendefinert felt';
     30$lang['Custom fields'] = 'Egendefinert felt';
    3131$lang['Fields List'] = 'Feltliste';
    3232$lang['Import'] = 'Importer';
  • extensions/user_custom_fields/language/nl_NL/plugin.lang.php

    r31850 r32901  
    2929$lang['Custom fields delete'] = 'Verwijder eigen invulvelden';
    3030$lang['Custom fields update'] = 'Eigen invulvelden bijwerken';
    31 $lang['Edit custom fields'] = 'Wijzig eigen invulvelden';
     31$lang['Custom fields'] = 'Eigen invulvelden';
    3232$lang['Fields List'] = 'Lijst met velden';
    3333$lang['Manage custom fields'] = 'Beheer de eigen invulvelden';
  • extensions/user_custom_fields/language/pt_BR/plugin.lang.php

    r31854 r32901  
    2828$lang['Custom fields update'] = 'Atualização de campos personalizados';
    2929$lang['Data custom fields update'] = 'Atualização de dados de campos personalizados';
    30 $lang['Edit custom fields'] = 'Editar campos personalizados';
     30$lang['Custom fields'] = 'Campos personalizados';
    3131$lang['Fields List'] = 'Lista de Campos';
    3232$lang['Import'] = 'Importar';
  • extensions/user_custom_fields/language/sk_SK/plugin.lang.php

    r32844 r32901  
    1515$lang['Import'] = 'Importovať';
    1616$lang['Fields List'] = 'Zoznam polí';
    17 $lang['Edit custom fields'] = 'Upraviť vlastné polia';
     17$lang['Custom fields'] = 'Vlastných polí';
    1818$lang['Data custom fields update'] = 'Aktualizácia vlastných polí údajov';
    1919$lang['Custom fields update'] = 'Aktualizácia vlastných polí';
  • extensions/user_custom_fields/language/sl_SI/plugin.lang.php

    r32711 r32901  
    1919$lang['Custom fields update'] = 'Posodobitev polj po meri';
    2020$lang['Data custom fields update'] = 'Posodobitev podatkovnih polj po meri';
    21 $lang['Edit custom fields'] = 'Uredite polja po meri';
     21$lang['Custom fields'] = 'Polja po meri';
    2222$lang['Fields List'] = 'Seznam polj';
    2323$lang['Import'] = 'Uvozi';
  • extensions/user_custom_fields/language/sv_SE/plugin.lang.php

    r31885 r32901  
    2828$lang['Custom fields update'] = 'Uppdatera anpassade fält';
    2929$lang['Data custom fields update'] = 'Uppdatera anpassade fälts data';
    30 $lang['Edit custom fields'] = 'Redigera anpassade fält';
     30$lang['Custom fields'] = 'Anpassade fält';
    3131$lang['Fields List'] = 'Fältlista';
    3232$lang['Import'] = 'Importera';
  • extensions/user_custom_fields/language/tr_TR/plugin.lang.php

    r32003 r32901  
    1515$lang['Custom fields update'] = 'Özel alan güncelle';
    1616$lang['Data custom fields update'] = 'Özel alan verisi güncellendi';
    17 $lang['Edit custom fields'] = 'Özel alanları düzenle';
     17$lang['Custom fields'] = 'Özel alanları';
    1818$lang['Fields List'] = 'Alan listesi';
    1919$lang['Import'] = 'İçe aktar';
Note: See TracChangeset for help on using the changeset viewer.