Skip to content

Commit

Permalink
Merge pull request SimpleMachines#7341 from dragomano/minor_improvements
Browse files Browse the repository at this point in the history
Minor improvements
  • Loading branch information
Sesquipedalian authored Apr 4, 2022
2 parents 6c9fe37 + 59fb3e0 commit ec89348
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Themes/default/MessageIndex.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ function template_topic_legend()
echo '
<p class="floatleft">', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? '
<span class="main_icons profile_sm"></span> ' . $txt['participation_caption'] . '<br>' : '', '
' . ($modSettings['pollMode'] == '1' ? '<span class="main_icons poll"></span> ' . $txt['poll'] : '') . '<br>
' . ($modSettings['pollMode'] == '1' ? '<span class="main_icons poll"></span> ' . $txt['poll'] . '<br>' : '') . '
<span class="main_icons move"></span> ' . $txt['moved_topic'] . '<br>
</p>
<p>
Expand Down
7 changes: 4 additions & 3 deletions Themes/default/PersonalMessage.template.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function template_pm_popup()
</div>
<div class="pm_mailbox centertext">
<a href="', $scripturl, '?action=pm" class="button">', $txt['inbox'], '</a>
<a href="', $scripturl, '?action=pm;f=sent" class="button">', $txt['sent_items'], '</a>
</div>
</div>
<div class="pm_unread">';
Expand Down Expand Up @@ -483,7 +484,7 @@ function template_single_pm($message)
echo '(', $txt['pm_undisclosed_recipients'], ')';

echo '
<strong> ', $txt['on'], ':</strong> ', $message['time'], '
<strong> ', $txt['on'], ':</strong> ', $message['time'], '
</span>';

// If we're in the sent items, show who it was sent to besides the "To:" people.
Expand Down Expand Up @@ -630,7 +631,7 @@ function template_subject_list()
<a href="', $scripturl, '?action=pm;f=', $context['folder'], ';start=', $context['start'], ';sort=subject', $context['sort_by'] == 'subject' && $context['sort_direction'] == 'up' ? ';desc' : '', $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', '">', $txt['subject'], $context['sort_by'] == 'subject' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
</th>
<th class="lefttext pm_from_to">
<a href="', $scripturl, '?action=pm;f=', $context['folder'], ';start=', $context['start'], ';sort=name', $context['sort_by'] == 'name' && $context['sort_direction'] == 'up' ? ';desc' : '', $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', '">', ($context['from_or_to'] == 'from' ? $txt['from'] : $txt['to']), $context['sort_by'] == 'name' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
<a href="', $scripturl, '?action=pm;f=', $context['folder'], ';start=', $context['start'], ';sort=name', $context['sort_by'] == 'name' && $context['sort_direction'] == 'up' ? ';desc' : '', $context['current_label_id'] != -1 ? ';l=' . $context['current_label_id'] : '', '">', ($context['from_or_to'] == 'from' ? $txt['from'] : $txt['pm_to']), $context['sort_by'] == 'name' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
</th>
<th class="centercol table_icon pm_moderation">
<input type="checkbox" onclick="invertAll(this, this.form);">
Expand Down Expand Up @@ -1958,7 +1959,7 @@ function template_showPMDrafts()
<strong>', $draft['subject'], '</strong>
</h5>
<div class="smalltext">
<div class="recipient_to"><strong>', $txt['to'], ':</strong> ', implode(', ', $draft['recipients']['to']), '</div>';
<div class="recipient_to"><strong>', $txt['pm_to'], ':</strong> ', implode(', ', $draft['recipients']['to']), '</div>';

if(!empty($draft['recipients']['bcc']))
echo'
Expand Down
4 changes: 0 additions & 4 deletions Themes/default/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1028,10 +1028,6 @@ a[class^="mobile_generic_menu_"] {
box-sizing: border-box;
vertical-align: middle;
}
.buttonlist .button {
margin-top: 2px;
margin-bottom: 2px;
}
.pagesection .button {
color: #346;
}
Expand Down

0 comments on commit ec89348

Please sign in to comment.