Compare commits
3 commits
2ab0bfc793
...
b412bad1ac
Author | SHA1 | Date | |
---|---|---|---|
b412bad1ac | |||
8db346f62b | |||
2a7b7bfe96 |
3 changed files with 26 additions and 37 deletions
|
@ -39,13 +39,16 @@ function template_main()
|
||||||
</div>';
|
</div>';
|
||||||
|
|
||||||
// Show the page index... "Pages: [1]".
|
// Show the page index... "Pages: [1]".
|
||||||
|
// Exclude the "reply" button.
|
||||||
|
$buttons_normal = $context['normal_buttons'];
|
||||||
|
unset($buttons_normal['reply']);
|
||||||
echo '
|
echo '
|
||||||
<div class="pagesection">
|
<div class="pagesection">
|
||||||
<div class="pagelinks">
|
<div class="pagelinks">
|
||||||
<a href="#bot" class="button">', $txt['go_down'], '</a>
|
<a href="#bot" class="button">', $txt['go_down'], '</a>
|
||||||
', $context['page_index'], '
|
', $context['page_index'], '
|
||||||
</div>
|
</div>
|
||||||
', template_button_strip($context['normal_buttons'], 'right'), '
|
', template_button_strip($buttons_normal, 'right'), '
|
||||||
', $context['menu_separator'], '
|
', $context['menu_separator'], '
|
||||||
';
|
';
|
||||||
|
|
||||||
|
@ -262,18 +265,18 @@ function template_main()
|
||||||
</div><!-- #forumposts -->';
|
</div><!-- #forumposts -->';
|
||||||
|
|
||||||
// Show the page index... "Pages: [1]". But after all posts.
|
// Show the page index... "Pages: [1]". But after all posts.
|
||||||
|
// Exclude the "reply" button.
|
||||||
|
$buttons_normal = $context['normal_buttons'];
|
||||||
|
unset($buttons_normal['reply']);
|
||||||
echo '
|
echo '
|
||||||
<div class="pagesection khbottom">
|
<div class="pagesection khbottom">
|
||||||
<div class="pagelinks">
|
<div class="pagelinks">
|
||||||
<a href="#main_content_section" class="button" id="bot">', $txt['go_up'], '</a>
|
<a href="#main_content_section" class="button" id="bot">', $txt['go_up'], '</a>
|
||||||
', $context['page_index'], '
|
', $context['page_index'], '
|
||||||
</div>
|
</div>
|
||||||
', template_button_strip($context['normal_buttons'], 'right'), '
|
', template_button_strip($buttons_normal, 'right'), '
|
||||||
', $context['menu_separator'], '
|
', $context['menu_separator'], '
|
||||||
';
|
';
|
||||||
// Next - Prev
|
|
||||||
//echo '<span class="nextlinks">', $context['previous_next'], '</span>'
|
|
||||||
;
|
|
||||||
|
|
||||||
// Mobile action - moderation buttons (bottom)
|
// Mobile action - moderation buttons (bottom)
|
||||||
if (!empty($context['normal_buttons']))
|
if (!empty($context['normal_buttons']))
|
||||||
|
@ -286,6 +289,18 @@ function template_main()
|
||||||
echo '
|
echo '
|
||||||
</div>';
|
</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.
|
// Show the lower breadcrumbs.
|
||||||
theme_linktree();
|
theme_linktree();
|
||||||
|
|
||||||
|
@ -539,19 +554,6 @@ function template_single_post($message)
|
||||||
echo '
|
echo '
|
||||||
<li class="membergroup">', $message['member']['group'], '</li>';
|
<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.
|
// Show the user's avatar.
|
||||||
if (!empty($modSettings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
|
if (!empty($modSettings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
|
||||||
echo '
|
echo '
|
||||||
|
|
|
@ -354,20 +354,6 @@ function template_single_pm($message)
|
||||||
// Don't show these things for guests.
|
// Don't show these things for guests.
|
||||||
if (!$message['member']['is_guest'])
|
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?
|
// Show their personal text?
|
||||||
if (!empty($modSettings['show_blurb']) && $message['member']['blurb'] != '')
|
if (!empty($modSettings['show_blurb']) && $message['member']['blurb'] != '')
|
||||||
echo '
|
echo '
|
||||||
|
|
|
@ -7,19 +7,19 @@
|
||||||
|
|
||||||
/* Variables */
|
/* Variables */
|
||||||
html {
|
html {
|
||||||
|
--mmf-color: #e8304e;
|
||||||
--bgcolor: #dddddd;
|
--bgcolor: #dddddd;
|
||||||
--dark-color: #401018; /* Pour les textes entre autre */
|
--dark-color: #401018; /* Pour les textes entre autre */
|
||||||
--color1: #e8304e;
|
--color1: var(--mmf-color);
|
||||||
--color2: #b03a4d;
|
--color2: #b03a4d;
|
||||||
--color3: #ff738a;
|
--color3: #ff738a;
|
||||||
--color4: #8c3e4b; /* Liens */
|
--color4: #8c3e4b; /* Liens */
|
||||||
--color5: #a6001b; /* liens cassés et erreurs */
|
--color5: #a6001b; /* liens cassés et erreurs */
|
||||||
--neutral-color: #ddd; /* Gris */
|
--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 */
|
--neutral-mid-color: #927378; /* Contraste OK sur blanc mais attire moins l'œil ; gris */
|
||||||
--mmf-color: #e8304e;
|
|
||||||
--colortest: bisque ;
|
--colortest: bisque ;
|
||||||
--header-background: #e7453a;
|
--header-background: var(--mmf-color);
|
||||||
--header-font: white;
|
--header-font: white;
|
||||||
--menu-background: #454545;
|
--menu-background: #454545;
|
||||||
--menu-background-hover: #555555;
|
--menu-background-hover: #555555;
|
||||||
|
@ -1143,7 +1143,8 @@ generic_menu .dropmenu .subsections ul li a {
|
||||||
outline: none;
|
outline: none;
|
||||||
padding: 0 0.4em;
|
padding: 0 0.4em;
|
||||||
}
|
}
|
||||||
.button_strip_new_topic {
|
.button_strip_new_topic,
|
||||||
|
.button_strip_reply {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-family: var(--font-emphasis);
|
font-family: var(--font-emphasis);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue