Skip to content

Commit 70e4a33

Browse files
committed
Passwort reset request: Separate legend and label.
1 parent 961dd0c commit 70e4a33

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/com_users/forms/reset_request.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<form>
3-
<fieldset name="default" label="COM_USERS_RESET_REQUEST_LABEL">
3+
<fieldset name="default" label="COM_USERS_RESET_REQUEST_LEGEND">
44
<field
55
name="email"
66
type="email"

components/com_users/tmpl/reset/default.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@
3131
<form action="<?php echo Route::_('index.php?task=reset.request'); ?>" method="post" id="user-registration" class="com-users-reset__form form-validate form-horizontal well">
3232
<?php foreach ($this->form->getFieldsets() as $fieldset) : ?>
3333
<fieldset>
34-
<?php if (isset($fieldset->label)) : ?>
35-
<legend><?php echo Text::_($fieldset->label); ?></legend>
36-
<?php endif; ?>
34+
<legend><?php echo Text::_('COM_USERS_RESET_REQUEST_LEGEND'); ?></legend>
35+
<p><?php echo Text::_('COM_USERS_RESET_REQUEST_LABEL'); ?><p>
3736
<?php echo $this->form->renderFieldset($fieldset->name); ?>
3837
</fieldset>
3938
<?php endforeach; ?>

language/en-GB/com_users.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ COM_USERS_RESET_REQUEST="If the email address you entered is registered on this
140140
COM_USERS_RESET_REQUEST_ERROR="Error requesting password reset."
141141
COM_USERS_RESET_REQUEST_FAILED="Reset password failed: %s"
142142
COM_USERS_RESET_REQUEST_LABEL="Please enter the email address for your account. A verification code will be sent to you. Once you have received the verification code, you will be able to choose a new password for your account."
143+
COM_USERS_RESET_REQUEST_LEGEND="Password Reset"
143144
COM_USERS_SETTINGS_FIELDSET_LABEL="Basic Settings"
144145
COM_USERS_USER_ALLOWTOURAUTOSTART_LABEL="Allow Auto Starting Tours"
145146
COM_USERS_USER_BACKUPCODE="Backup Code"

0 commit comments

Comments
 (0)