Compare commits
No commits in common. "b412bad1acf6b0a9d4c2341b2b6e6fac8013b977" and "2ab0bfc793d2d87a0c75f0bb079c9a8b1f6aacdf" have entirely different histories.
b412bad1ac
...
2ab0bfc793
3 changed files with 37 additions and 26 deletions
|
@ -39,16 +39,13 @@ 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($buttons_normal, 'right'), '
|
||||
', template_button_strip($context['normal_buttons'], 'right'), '
|
||||
', $context['menu_separator'], '
|
||||
';
|
||||
|
||||
|
@ -265,18 +262,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($buttons_normal, 'right'), '
|
||||
', template_button_strip($context['normal_buttons'], 'right'), '
|
||||
', $context['menu_separator'], '
|
||||
';
|
||||
// Next - Prev
|
||||
//echo '<span class="nextlinks">', $context['previous_next'], '</span>'
|
||||
;
|
||||
|
||||
// Mobile action - moderation buttons (bottom)
|
||||
if (!empty($context['normal_buttons']))
|
||||
|
@ -289,18 +286,6 @@ 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();
|
||||
|
||||
|
@ -554,6 +539,19 @@ 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 '
|
||||
|
|
|
@ -354,6 +354,20 @@ 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 '
|
||||
|
|
|
@ -7,19 +7,19 @@
|
|||
|
||||
/* Variables */
|
||||
html {
|
||||
--mmf-color: #e8304e;
|
||||
--bgcolor: #dddddd;
|
||||
--dark-color: #401018; /* Pour les textes entre autre */
|
||||
--color1: var(--mmf-color);
|
||||
--color1: #e8304e;
|
||||
--color2: #b03a4d;
|
||||
--color3: #ff738a;
|
||||
--color4: #8c3e4b; /* Liens */
|
||||
--color5: #a6001b; /* liens cassés et erreurs */
|
||||
--neutral-color: #ddd; /* Gris */
|
||||
--neutral-light-color: white;
|
||||
--neutral-light-color: #ffffff; /* Blanc */
|
||||
--neutral-mid-color: #927378; /* Contraste OK sur blanc mais attire moins l'œil ; gris */
|
||||
--mmf-color: #e8304e;
|
||||
--colortest: bisque ;
|
||||
--header-background: var(--mmf-color);
|
||||
--header-background: #e7453a;
|
||||
--header-font: white;
|
||||
--menu-background: #454545;
|
||||
--menu-background-hover: #555555;
|
||||
|
@ -1143,8 +1143,7 @@ generic_menu .dropmenu .subsections ul li a {
|
|||
outline: none;
|
||||
padding: 0 0.4em;
|
||||
}
|
||||
.button_strip_new_topic,
|
||||
.button_strip_reply {
|
||||
.button_strip_new_topic {
|
||||
font-weight: 700;
|
||||
font-family: var(--font-emphasis);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue