Compare commits

...

3 commits

3 changed files with 26 additions and 37 deletions

View file

@ -39,13 +39,16 @@ function template_main()
</div>';
// Show the page index... "Pages: [1]".
// Exclude the "reply" button.
$buttons_normal = $context['normal_buttons'];
unset($buttons_normal['reply']);
echo '
<div class="pagesection">
<div class="pagelinks">
<a href="#bot" class="button">', $txt['go_down'], '</a>
', $context['page_index'], '
</div>
', template_button_strip($context['normal_buttons'], 'right'), '
', template_button_strip($buttons_normal, 'right'), '
', $context['menu_separator'], '
';
@ -262,18 +265,18 @@ function template_main()
</div><!-- #forumposts -->';
// Show the page index... "Pages: [1]". But after all posts.
// Exclude the "reply" button.
$buttons_normal = $context['normal_buttons'];
unset($buttons_normal['reply']);
echo '
<div class="pagesection khbottom">
<div class="pagelinks">
<a href="#main_content_section" class="button" id="bot">', $txt['go_up'], '</a>
', $context['page_index'], '
</div>
', template_button_strip($context['normal_buttons'], 'right'), '
', template_button_strip($buttons_normal, 'right'), '
', $context['menu_separator'], '
';
// Next - Prev
//echo '<span class="nextlinks">', $context['previous_next'], '</span>'
;
// Mobile action - moderation buttons (bottom)
if (!empty($context['normal_buttons']))
@ -286,6 +289,18 @@ function template_main()
echo '
</div>';
// Put the "reply" button in its own strip.
$buttons_reply = [
'reply' => $context['normal_buttons']['reply'],
];
echo '
<div class="pagesection khbottom">
<div style="margin-left: auto;">
', template_button_strip($buttons_reply, 'right'), '
', $context['menu_separator'], '
</div>
</div>';
// Show the lower breadcrumbs.
theme_linktree();
@ -539,19 +554,6 @@ function template_single_post($message)
echo '
<li class="membergroup">', $message['member']['group'], '</li>';
// Show the post group icons
//echo '<li class="icons">', $message['member']['group_icons'], '</li>';
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($modSettings['hide_post_group']) || empty($message['member']['group'])) && !empty($message['member']['post_group']))
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
// Show how many posts they have made.
//if (!isset($context['disabled_fields']['posts']))
// echo '
// <li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';
// Show the user's avatar.
if (!empty($modSettings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '

View file

@ -354,20 +354,6 @@ function template_single_pm($message)
// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
// Show the post group icons
echo '
<li class="icons">', $message['member']['group_icons'], '</li>';
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($modSettings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';
// Show their personal text?
if (!empty($modSettings['show_blurb']) && $message['member']['blurb'] != '')
echo '

View file

@ -7,19 +7,19 @@
/* Variables */
html {
--mmf-color: #e8304e;
--bgcolor: #dddddd;
--dark-color: #401018; /* Pour les textes entre autre */
--color1: #e8304e;
--color1: var(--mmf-color);
--color2: #b03a4d;
--color3: #ff738a;
--color4: #8c3e4b; /* Liens */
--color5: #a6001b; /* liens cassés et erreurs */
--neutral-color: #ddd; /* Gris */
--neutral-light-color: #ffffff; /* Blanc */
--neutral-light-color: white;
--neutral-mid-color: #927378; /* Contraste OK sur blanc mais attire moins l'œil ; gris */
--mmf-color: #e8304e;
--colortest: bisque ;
--header-background: #e7453a;
--header-background: var(--mmf-color);
--header-font: white;
--menu-background: #454545;
--menu-background-hover: #555555;
@ -1143,7 +1143,8 @@ generic_menu .dropmenu .subsections ul li a {
outline: none;
padding: 0 0.4em;
}
.button_strip_new_topic {
.button_strip_new_topic,
.button_strip_reply {
font-weight: 700;
font-family: var(--font-emphasis);
}