From 93eb607e35fd77a19ce8184b74e0d2a44ce301d6 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Tue, 22 Feb 2022 14:40:08 +0100 Subject: [PATCH] minor ui change --- bl-kernel/admin/views/add-user.php | 16 ++++++++-------- bl-kernel/admin/views/edit-user.php | 1 - 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/bl-kernel/admin/views/add-user.php b/bl-kernel/admin/views/add-user.php index bbd129d2..9d570fda 100644 --- a/bl-kernel/admin/views/add-user.php +++ b/bl-kernel/admin/views/add-user.php @@ -94,14 +94,6 @@ echo Bootstrap::formInputText(array( 'value' => '' )); -echo Bootstrap::formSelect(array( - 'name' => 'role', - 'label' => $L->g('Role'), - 'options' => array('author' => $L->g('Author'), 'editor' => $L->g('Editor'), 'admin' => $L->g('Administrator')), - 'selected' => 'Author', - 'tip' => $L->g('author-can-write-and-edit-their-own-content') -)); - echo Bootstrap::formInputText(array( 'id' => 'email', 'name' => 'email', @@ -109,4 +101,12 @@ echo Bootstrap::formInputText(array( 'label' => $L->g('Email'), 'value' => '' )); + +echo Bootstrap::formSelect(array( + 'name' => 'role', + 'label' => $L->g('Role'), + 'options' => array('author' => $L->g('Author'), 'editor' => $L->g('Editor'), 'admin' => $L->g('Administrator')), + 'selected' => 'Author', + 'tip' => $L->g('author-can-write-and-edit-their-own-content') +)); ?> \ No newline at end of file diff --git a/bl-kernel/admin/views/edit-user.php b/bl-kernel/admin/views/edit-user.php index e06dfac9..9a94a577 100644 --- a/bl-kernel/admin/views/edit-user.php +++ b/bl-kernel/admin/views/edit-user.php @@ -294,7 +294,6 @@ 'name' => 'nickname', 'label' => $L->g('Nickname'), 'value' => $user->nickname(), - 'tip' => $L->g('The nickname is almost used in the themes to display the author of the content'), 'data' => array('save' => 'true') ));