Changeset 31846 for extensions


Ignore:
Timestamp:
06/10/17 22:17:05 (3 years ago)
Author:
ddtddt
Message:

[extensions] - user_custom_fields -

Location:
extensions/user_custom_fields
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/user_custom_fields/admin.php

    r31841 r31846  
    258258        } 
    259259        pwg_query( 'UPDATE ' . PLUGINS_TABLE . ' SET state="inactive" WHERE id="AddInfousers"'); 
    260         $_SESSION['page_infos'] = array(l10n('Import is successful')); 
     260        $_SESSION['page_infos'] = array(l10n('Import was successful')); 
    261261        redirect($admin_base_url); 
    262262        }  
  • extensions/user_custom_fields/initregister.php

    r31841 r31846  
    6161  global $prefixeTable,$conf; 
    6262  if (count($errors) == 0){ 
    63     $query = 'SELECT MAX('.$conf['user_fields']['id'].') + 1 FROM '.USERS_TABLE.';'; 
    64     list($next_id) = pwg_db_fetch_row(pwg_query($query)); 
     63        $next = pwg_db_fetch_assoc(pwg_query("SHOW TABLE STATUS LIKE '".USERS_TABLE."';")); 
     64        $next_id = $next['Auto_increment']; 
    6565   
    6666        foreach ($_POST['data'] AS $id_ucf => $data) { 
  • extensions/user_custom_fields/language/da_DK/plugin.lang.php

    r31844 r31846  
    3131$lang['Fields List'] = 'Feltliste'; 
    3232$lang['Import'] = 'Importer'; 
    33 $lang['Import infos since Add Info Users'] = 'Importer oplysninger siden tilføjelse af brugeroplysninger'; 
    34 $lang['Import is successful'] = 'Import lykkedes'; 
     33$lang['Import info since Add Info Users'] = 'Importer oplysninger siden tilføjelse af brugeroplysninger'; 
     34$lang['Import was successful'] = 'Import lykkedes'; 
    3535$lang['Manage custom fields'] = 'Håndter skræddersyede felter'; 
    3636$lang['Obligatory'] = 'Obligatorisk'; 
  • extensions/user_custom_fields/language/en_UK/plugin.lang.php

    r31845 r31846  
    3434 
    3535/*data user add info*/ 
    36 $lang['Import infos since Add Info Users'] = 'Import info since Add Info Users'; 
     36$lang['Import info since Add Info Users'] = 'Import info since Add Info Users'; 
    3737$lang['Import'] = 'Import'; 
    38 $lang['Import is successful'] = 'Import was successful'; 
     38$lang['Import was successful'] = 'Import was successful'; 
  • extensions/user_custom_fields/language/fr_FR/plugin.lang.php

    r31843 r31846  
    3333 
    3434/*data user add info*/ 
    35 $lang['Import infos since Add Info Users'] = 'Importer les informations du plugin Add Info Users'; 
     35$lang['Import info since Add Info Users'] = 'Importer les informations du plugin Add Info Users'; 
    3636$lang['Import'] = 'Import'; 
    37 $lang['Import is successful'] = 'L\'import est un succès'; 
     37$lang['Import was successful'] = 'L\'import est un succès'; 
    3838 
    3939$lang['Manage custom fields'] = 'Gérer les champs additionnels '; 
Note: See TracChangeset for help on using the changeset viewer.