Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Themes/default/ManageMail.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ function template_mailtest()
</div>
<div class="windowbg">
<dl id="post_header">
<dt><span id="caption_subject">', Lang::getTxt('subject', file: 'General'), '</span></dt>
<dd><input type="text" name="subject" size="80" maxlength="80"></dd>
<dt><label for="subject" id="caption_subject">', Lang::getTxt('subject', file: 'General'), '</label></dt>
<dd><input type="text" name="subject" id="subject" size="80" maxlength="80"></dd>
</dl>
<textarea class="editor" name="message" rows="5" cols="200"></textarea>
<dl id="post_footer">
Expand Down
2 changes: 1 addition & 1 deletion Themes/default/ManageMembergroups.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function template_new_group()
if (Utils::$context['post_group'] || Utils::$context['undefined_group']) {
echo '
<dt id="min_posts_text">
<strong>', Lang::getTxt('membergroups_min_posts', file: 'ManageMembers'), '</strong>
<label for="min_posts_input"><strong>', Lang::getTxt('membergroups_min_posts', file: 'ManageMembers'), '</strong></label>
</dt>
<dd>
<input type="number" name="min_posts" id="min_posts_input" size="5">
Expand Down
4 changes: 2 additions & 2 deletions Themes/default/Memberlist.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ function template_search()
<div id="advanced_search" class="roundframe">
<dl id="mlist_search" class="settings">
<dt>
<label><strong>', Lang::getTxt('search_for', file: 'General'), '</strong></label>
<label for="search"><strong>', Lang::getTxt('search_for', file: 'General'), '</strong></label>
</dt>
<dd>
<input type="text" name="search" value="', Utils::$context['old_search'], '" size="40">
<input type="text" name="search" id="search" value="', Utils::$context['old_search'], '" size="40">
</dd>
<dt>
<label><strong>', Lang::getTxt('mlist_search_filter', file: 'General'), '</strong></label>
Expand Down
8 changes: 4 additions & 4 deletions Themes/default/PersonalMessage.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ function template_send()
// To and bcc. Include a button to search for members.
echo '
<dt>
<span', (isset(Utils::$context['post_error']['no_to']) || isset(Utils::$context['post_error']['bad_to']) ? ' class="error"' : ''), ' id="caption_to">', trim(Lang::getTxt('pm_to', ['list' => ''], file: 'PersonalMessage')), '</span>
<label', (isset(Utils::$context['post_error']['no_to']) || isset(Utils::$context['post_error']['bad_to']) ? ' class="error"' : ''), ' for="to_control" id="caption_to">', trim(Lang::getTxt('pm_to', ['list' => ''], file: 'PersonalMessage')), '</label>
</dt>';

// Autosuggest will be added by the JavaScript later on.
Expand All @@ -1073,7 +1073,7 @@ function template_send()
// This BCC row will be hidden by default if JavaScript is enabled.
echo '
<dt class="clear_left" id="bcc_div">
<span', (isset(Utils::$context['post_error']['no_to']) || isset(Utils::$context['post_error']['bad_bcc']) ? ' class="error"' : ''), ' id="caption_bbc">', trim(Lang::getTxt('pm_bcc', ['list' => ''], file: 'PersonalMessage')), '</span>
<label', (isset(Utils::$context['post_error']['no_to']) || isset(Utils::$context['post_error']['bad_bcc']) ? ' class="error"' : ''), ' for="bcc_control" id="caption_bbc">', trim(Lang::getTxt('pm_bcc', ['list' => ''], file: 'PersonalMessage')), '</label>
</dt>
<dd id="bcc_div2">
<input type="text" name="bcc" id="bcc_control" value="', Utils::$context['bcc_value'], '" size="20">
Expand All @@ -1083,10 +1083,10 @@ function template_send()
// The subject of the PM.
echo '
<dt class="clear_left">
<span', (isset(Utils::$context['post_error']['no_subject']) ? ' class="error"' : ''), ' id="caption_subject">', Lang::getTxt('subject', file: 'General'), '</span>
<label', (isset(Utils::$context['post_error']['no_subject']) ? ' class="error"' : ''), ' for="subject" id="caption_subject">', Lang::getTxt('subject', file: 'General'), '</label>
</dt>
<dd id="pm_subject">
<input type="text" name="subject" value="', Utils::$context['subject'], '" size="80" maxlength="80"', isset(Utils::$context['post_error']['no_subject']) ? ' class="error"' : '', '>
<input type="text" name="subject" id="subject" value="', Utils::$context['subject'], '" size="80" maxlength="80"', isset(Utils::$context['post_error']['no_subject']) ? ' class="error"' : '', '>
</dd>
</dl>';

Expand Down
6 changes: 3 additions & 3 deletions Themes/default/Profile.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -2735,11 +2735,11 @@ function template_profile_group_manage()
{
echo '
<dt>
<strong>', Lang::getTxt('primary_membergroup', file: 'Profile'), '</strong><br>
<label for="id_group"><strong>', Lang::getTxt('primary_membergroup', file: 'Profile'), '</strong></label><br>
<span class="smalltext"><a href="', Config::$scripturl, '?action=helpadmin;help=moderator_why_missing" onclick="return reqOverlayDiv(this.href);"><span class="main_icons help"></span> ', Lang::getTxt('moderator_why_missing', file: 'Profile'), '</a></span>
</dt>
<dd>
<select name="id_group" ', (Profile::$member->is_me && Utils::$context['member']['group_id'] == 1 ? 'onchange="if (this.value != 1 &amp;&amp; !confirm(\'' . Lang::getTxt('deadmin_confirm', file: 'Profile') . '\')) this.value = 1;"' : ''), '>';
<select name="id_group" id="id_group" ', (Profile::$member->is_me && Utils::$context['member']['group_id'] == 1 ? 'onchange="if (this.value != 1 &amp;&amp; !confirm(\'' . Lang::getTxt('deadmin_confirm', file: 'Profile') . '\')) this.value = 1;"' : ''), '>';

// Fill the select box with all primary member groups that can be assigned to a member.
foreach (Utils::$context['member_groups'] as $member_group) {
Expand Down Expand Up @@ -2801,7 +2801,7 @@ function template_profile_signature_modify()
</dd>

<dt>
<strong>', Lang::getTxt('signature', file: 'Profile'), '</strong><br>
<label for="signature"><strong>', Lang::getTxt('signature', file: 'Profile'), '</strong></label><br>
<span class="smalltext">', Lang::getTxt('sig_info', file: 'Profile'), '</span><br>
<br>';

Expand Down
4 changes: 2 additions & 2 deletions Themes/default/Reminder.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function template_main()
<div class="roundframe">
<p class="smalltext centertext">', Lang::getTxt('password_reminder_desc', file: 'Profile'), '</p>
<dl>
<dt>', Lang::getTxt('user_email', file: 'Profile'), '</dt>
<dd><input type="text" name="user" size="30"></dd>
<dt><label for="user">', Lang::getTxt('user_email', file: 'Profile'), '</label></dt>
<dd><input type="text" name="user" id="user" size="30"></dd>
</dl>
<input type="submit" value="', Lang::getTxt('reminder_continue', file: 'Profile'), '" class="button">
<br class="clear">
Expand Down