💄 (edit-users): add subtitles

This commit is contained in:
Kazhnuz 2025-01-09 23:46:32 +01:00
parent 6716a8bbe7
commit 63d0e7a14a
3 changed files with 13 additions and 2 deletions

View file

@ -37,7 +37,10 @@ echo Bootstrap::formInputHidden(array(
<div class="tab-content" id="nav-tabContent">
<!-- Profile tab -->
<div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="nav-profile-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Base Infos')));
// Display username but disable the field
echo Bootstrap::formInputText(array(
'name' => 'usernameDisabled',
@ -69,6 +72,8 @@ echo Bootstrap::formInputHidden(array(
'tip' => ''
));
echo Bootstrap::formTitle(array('title' => $L->g('Name')));
echo Bootstrap::formInputText(array(
'name' => 'nickname',
'label' => $L->g('Nickname'),
@ -96,6 +101,8 @@ echo Bootstrap::formInputHidden(array(
'tip' => ''
));
echo Bootstrap::formTitle(array('title' => $L->g('More Infos')));
echo Bootstrap::formInputText(array(
'name' => 'pronouns',
'label' => $L->g(string: 'Pronouns'),

View file

@ -397,5 +397,7 @@
"start-typing-to-see-a-list-of-suggestions": "Start typing to see a list of suggestions.",
"view": "View",
"insert-thumbnail": "Insert thumbnail",
"insert-linked-thumbnail": "Insert linked thumbnail"
"insert-linked-thumbnail": "Insert linked thumbnail",
"more-infos": "More infos",
"base-infos": "Base infos"
}

View file

@ -397,5 +397,7 @@
"start-typing-to-see-a-list-of-suggestions": "Commencez à taper pour voir une liste de suggestions.",
"view": "Vue",
"insert-thumbnail": "Insérer une miniature",
"insert-linked-thumbnail": "Insérer une miniature liée"
"insert-linked-thumbnail": "Insérer une miniature liée",
"more-infos": "Infos supplémentaires",
"base-infos": "Infos de bases"
}