Minor: Rename "code" to "official code" in user creation form to avoid mix-up with course code language variable

pull/5723/head
Yannick Warnier 1 year ago
parent 8913de6541
commit 398c47d8da
  1. 2
      public/main/admin/user_add.php
  2. 2
      public/main/auth/inscription.php

@ -127,7 +127,7 @@ if (api_is_western_name_order()) {
$form->addElement(
'text',
'official_code',
get_lang('Code'),
get_lang('Official code'),
[
'size' => '40',
'id' => 'official_code',

@ -340,7 +340,7 @@ if (false === $userAlreadyRegisteredShowTerms &&
$form->addElement(
'text',
'official_code',
get_lang('Code'),
get_lang('Official code'),
['size' => 40]
);
//if ('true' === api_get_setting('registration', 'officialcode')) {

Loading…
Cancel
Save