Compare commits
No commits in common. "be01844fa0a85b01303502ed3ca52d78540efe1c" and "87fee319cf0f6620a021bb645319aef2c5a66598" have entirely different histories.
be01844fa0
...
87fee319cf
16 changed files with 293 additions and 49 deletions
|
@ -70,6 +70,7 @@ function template_main()
|
|||
|
||||
echo '
|
||||
<div class="main_container">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar ', $category['is_collapsed'] ? 'collapsed' : '', '" id="category_', $category['id'], '">
|
||||
<div class="info">
|
||||
';
|
||||
|
@ -87,6 +88,8 @@ function template_main()
|
|||
</h2>', !empty($category['description']) ? '
|
||||
<div class="desc">' . $category['description'] . '</div>' : '', '
|
||||
</div><!--fin class info-->
|
||||
<div class="board_stats">
|
||||
<div>', $txt['board_topics'], '</div><div>', $txt['posts'], '</div></div>
|
||||
<div class="lastpost">', $txt['last_post'], '</div>
|
||||
</div>
|
||||
<div id="category_', $category['id'], '_boards" ', (!empty($category['css_class']) ? ('class="' . $category['css_class'] . '"') : ''), $category['is_collapsed'] ? ' style="display: none;"' : '', '>';
|
||||
|
@ -106,6 +109,12 @@ function template_main()
|
|||
', function_exists('template_bi_' . $board['type'] . '_info') ? call_user_func('template_bi_' . $board['type'] . '_info', $board) : template_bi_board_info($board), '
|
||||
</div><!-- .info -->';
|
||||
|
||||
// Show some basic information about the number of posts, etc.
|
||||
echo '
|
||||
<div class="board_stats">
|
||||
', function_exists('template_bi_' . $board['type'] . '_stats') ? call_user_func('template_bi_' . $board['type'] . '_stats', $board) : template_bi_board_stats($board), '
|
||||
</div>';
|
||||
|
||||
// Show the last post if there is one.
|
||||
echo'
|
||||
<div class="lastpost">
|
||||
|
@ -124,6 +133,7 @@ function template_main()
|
|||
|
||||
echo '
|
||||
</div><!-- #category_[id]_boards -->
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
</div><!-- .main_container -->';
|
||||
}
|
||||
|
||||
|
@ -192,6 +202,25 @@ function template_bi_board_info($board)
|
|||
<p class="moderators">', count($board['link_moderators']) == 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '</p>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the board stats for a standard board.
|
||||
*
|
||||
* @param array $board Current board information.
|
||||
*/
|
||||
function template_bi_board_stats($board)
|
||||
{
|
||||
global $txt;
|
||||
|
||||
echo '
|
||||
<div>
|
||||
', comma_format($board['topics']), '
|
||||
</div>
|
||||
<div>
|
||||
', comma_format($board['posts']), '
|
||||
</div>
|
||||
';
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the board stats for a redirect.
|
||||
*
|
||||
|
@ -273,6 +302,10 @@ function template_bi_board_children($board)
|
|||
<div class="desc">' . $child['description'] . '
|
||||
</div>
|
||||
</div>
|
||||
<div class="board_stats">
|
||||
<div>' . comma_format($child['topics']) . '</div>
|
||||
<div>' . comma_format($child['posts']) . '</div>
|
||||
</div>
|
||||
<div class="lastpost"><!--'. $board['last_post']['last_post_message']. '--></div>
|
||||
</div>' : '
|
||||
|
||||
|
@ -287,6 +320,10 @@ function template_bi_board_children($board)
|
|||
<div class="desc">' . $child['description'] . '
|
||||
</div>
|
||||
</div>
|
||||
<div class="board_stats">
|
||||
<div>' . comma_format($child['topics']) . '</div>
|
||||
<div>' . comma_format($child['posts']) . '</div>
|
||||
</div>
|
||||
<div class="lastpost"><!--Todo Erreur !!
|
||||
'. $board['last_post']['last_post_message']. '-->
|
||||
</div>
|
||||
|
@ -325,6 +362,7 @@ function template_info_center()
|
|||
|
||||
// Here's where the "Info Center" starts...
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="roundframe" id="info_center">
|
||||
<div class="title_bar">
|
||||
<h2 class="titlebg">
|
||||
|
|
|
@ -32,7 +32,8 @@ function template_main()
|
|||
</div>';
|
||||
|
||||
// Show new topic info here?
|
||||
echo '<div id="display_head" class="khbb_head_subject">
|
||||
echo '<div class="khbiseau_topright_khcolor"></div>
|
||||
<div id="display_head" class="khbb_head_subject">
|
||||
<h2 class="display_title">
|
||||
<span id="top_subject">', $context['subject'], '</span>', ($context['is_locked']) ? ' <span class="main_icons lock"></span>' : '', ($context['is_sticky']) ? ' <span class="main_icons sticky"></span>' : '', '
|
||||
</h2>
|
||||
|
|
|
@ -19,6 +19,7 @@ function template_login()
|
|||
|
||||
echo '
|
||||
<div class="login">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span class="main_icons login"></span> ', $txt['login'], '
|
||||
|
@ -156,6 +157,7 @@ function template_login()
|
|||
|
||||
echo '
|
||||
</div><!-- .roundframe -->
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
</div><!-- .login -->';
|
||||
}
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ function template_main()
|
|||
', template_button_strip($context['memberlist_buttons'], 'right'), '
|
||||
<div class="pagelinks floatleft">', $context['page_index'], '</div>
|
||||
</div>
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span class="floatleft">', $txt['members_list'], '</span>';
|
||||
|
@ -128,6 +129,7 @@ function template_main()
|
|||
echo '
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
</div><!-- #mlist -->';
|
||||
|
||||
// Show the page numbers again. (makes 'em easier to find!)
|
||||
|
|
|
@ -18,6 +18,7 @@ function template_main()
|
|||
global $context, $settings, $options, $scripturl, $modSettings, $txt;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_khcolor"></div>
|
||||
<div id="display_head">
|
||||
<h2 class="display_title">', $context['name'], '</h2>';
|
||||
|
||||
|
@ -58,6 +59,7 @@ function template_main()
|
|||
echo '
|
||||
<div id="board_', $context['current_board'], '_childboards" class="boardindex_table main_container">
|
||||
|
||||
<div class="cat_bar without_biseau">
|
||||
<div class="info">
|
||||
';
|
||||
// Like collapse icon, but don't collapse because I don't know how. TODO !
|
||||
|
@ -66,6 +68,8 @@ function template_main()
|
|||
|
||||
<h2 class="catbg">', $txt['sub_boards'], '</h2>
|
||||
</div><!--fin class info-->
|
||||
<div class="board_stats">
|
||||
<div>', $txt['board_topics'], '</div><div>', $txt['posts'], '</div></div>
|
||||
<div class="lastpost">', $txt['last_post'], '</div>
|
||||
|
||||
</div>';
|
||||
|
@ -81,6 +85,12 @@ function template_main()
|
|||
', function_exists('template_bi_' . $board['type'] . '_info') ? call_user_func('template_bi_' . $board['type'] . '_info', $board) : template_bi_board_info($board), '
|
||||
</div><!-- .info -->';
|
||||
|
||||
// Show some basic information about the number of posts, etc.
|
||||
echo '
|
||||
<div class="board_stats">
|
||||
', function_exists('template_bi_' . $board['type'] . '_stats') ? call_user_func('template_bi_' . $board['type'] . '_stats', $board) : template_bi_board_stats($board), '
|
||||
</div>';
|
||||
|
||||
// Show the last post if there is one.
|
||||
echo '
|
||||
<div class="lastpost">
|
||||
|
@ -99,6 +109,7 @@ function template_main()
|
|||
|
||||
echo '
|
||||
</div><!-- #board_[current_board]_childboards -->
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
';
|
||||
}
|
||||
|
||||
|
@ -155,6 +166,10 @@ function template_main()
|
|||
echo '
|
||||
<div class="board_icon"></div>
|
||||
<div class="info">', $context['topics_headers']['subject'], ' / ', $context['topics_headers']['starter'], '</div>
|
||||
<div class="board_stats centertext">
|
||||
<div>', $context['topics_headers']['replies'], ' </div>
|
||||
<div> ', $context['topics_headers']['views'], ' </div>
|
||||
</div>
|
||||
<div class="lastpost">', $context['topics_headers']['last_post'], '</div>';
|
||||
|
||||
// Show a "select all" box for quick moderation?
|
||||
|
@ -235,6 +250,10 @@ function template_main()
|
|||
', !empty($topic['pages']) ? '<span id="pages' . $topic['first_post']['id'] . '" class="topic_pages">' . $topic['pages'] . '</span>' : '', '
|
||||
</div><!-- #topic_[first_post][id] -->
|
||||
</div><!-- .info -->
|
||||
<div class="board_stats centertext">
|
||||
<div> ', $topic['replies'], ' </div>
|
||||
<div> ', $topic['views'], ' </div>
|
||||
</div>
|
||||
<div class="lastpost">
|
||||
<p>', sprintf($txt['last_post_topic'], '<a href="' . $topic['last_post']['href'] . '">' . $topic['last_post']['time'] . '</a>', $topic['last_post']['member']['link']), '</p>
|
||||
</div>';
|
||||
|
@ -276,6 +295,7 @@ function template_main()
|
|||
}
|
||||
echo '
|
||||
</div><!-- #topic_container -->
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
';
|
||||
|
||||
echo '<div class="righttext" id="quick_actions">';
|
||||
|
@ -458,6 +478,21 @@ function template_bi_board_info($board)
|
|||
<p class="moderators">', count($board['link_moderators']) === 1 ? $txt['moderator'] : $txt['moderators'], ': ', implode(', ', $board['link_moderators']), '</p>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the board stats for a standard board.
|
||||
*
|
||||
* @param array $board Current board information.
|
||||
*/
|
||||
function template_bi_board_stats($board)
|
||||
{
|
||||
global $txt;
|
||||
|
||||
echo '
|
||||
<div> ', comma_format($board['topics']), ' </div>
|
||||
<div> ', comma_format($board['posts']), ' </div>
|
||||
';
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the board stats for a redirect.
|
||||
*
|
||||
|
|
|
@ -23,6 +23,7 @@ function template_pm_above()
|
|||
// Show the capacity bar, if available.
|
||||
if (!empty($context['limit_bar']))
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span class="floatleft">', $txt['pm_capacity'], ':</span>
|
||||
|
@ -206,6 +207,7 @@ function template_folder()
|
|||
if (!empty($context['current_pm_subject']))
|
||||
{
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span>', $txt['conversation'], '</span>
|
||||
|
@ -614,6 +616,7 @@ function template_subject_list()
|
|||
global $context, $settings, $txt, $scripturl;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
', $context['folder'] == 'sent' ? $txt['sent_items'] : $context['current_label'], '
|
||||
|
@ -755,6 +758,7 @@ function template_search()
|
|||
|
||||
echo '
|
||||
<form action="', $scripturl, '?action=pm;sa=search2" method="post" accept-charset="', $context['character_set'], '" name="searchform" id="searchform">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_search_title'], '</h2>
|
||||
</div>
|
||||
|
@ -898,6 +902,7 @@ function template_search_results()
|
|||
global $context, $txt;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_search_results'], '</h2>
|
||||
</div>
|
||||
|
@ -970,6 +975,7 @@ function template_send()
|
|||
if (!empty($context['send_log']))
|
||||
{
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_send_report'], '</h2>
|
||||
</div>
|
||||
|
@ -993,6 +999,7 @@ function template_send()
|
|||
// Show the preview of the personal message.
|
||||
echo '
|
||||
<div id="preview_section"', isset($context['preview_message']) ? '' : ' class="hidden"', '>
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span id="preview_subject">', empty($context['preview_subject']) ? '' : $context['preview_subject'], '</span>
|
||||
|
@ -1009,6 +1016,7 @@ function template_send()
|
|||
// Main message editing box.
|
||||
echo '
|
||||
<form action="', $scripturl, '?action=pm;sa=send2" method="post" accept-charset="', $context['character_set'], '" name="postmodify" id="postmodify" class="flow_hidden" onsubmit="submitonce(this);">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span class="main_icons inbox icon" title="', $txt['new_message'], '"></span> ', $txt['new_message'], '
|
||||
|
@ -1263,6 +1271,7 @@ function template_send()
|
|||
if ($context['reply'])
|
||||
echo '
|
||||
<br><br>
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['subject'], ': ', $context['quoted_message']['subject'], '</h2>
|
||||
</div>
|
||||
|
@ -1329,6 +1338,7 @@ function template_ask_delete()
|
|||
global $context, $scripturl, $txt;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
', ($context['delete_all'] ? $txt['delete_message'] : $txt['delete_all']), '
|
||||
|
@ -1349,6 +1359,7 @@ function template_prune()
|
|||
global $context, $scripturl, $txt;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_prune'], '</h2>
|
||||
</div>
|
||||
|
@ -1377,6 +1388,7 @@ function template_labels()
|
|||
|
||||
echo '
|
||||
<form action="', $scripturl, '?action=pm;sa=manlabels" method="post" accept-charset="', $context['character_set'], '">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_manage_labels'], '</h2>
|
||||
</div>
|
||||
|
@ -1436,6 +1448,7 @@ function template_labels()
|
|||
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '">
|
||||
</form>
|
||||
<form action="', $scripturl, '?action=pm;sa=manlabels" method="post" accept-charset="', $context['character_set'], '">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_label_add_new'], '</h2>
|
||||
</div>
|
||||
|
@ -1468,6 +1481,7 @@ function template_report_message()
|
|||
<div class="information">
|
||||
', $txt['pm_report_desc'], '
|
||||
</div>
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_report_title'], '</h2>
|
||||
</div>
|
||||
|
@ -1519,6 +1533,7 @@ function template_report_message_complete()
|
|||
global $context, $txt, $scripturl;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_report_title'], '</h2>
|
||||
</div>
|
||||
|
@ -1537,6 +1552,7 @@ function template_rules()
|
|||
|
||||
echo '
|
||||
<form action="', $scripturl, '?action=pm;sa=manrules" method="post" accept-charset="', $context['character_set'], '" name="manRules" id="manrules">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_manage_rules'], '</h2>
|
||||
</div>
|
||||
|
@ -1757,6 +1773,7 @@ function template_add_rule()
|
|||
|
||||
echo '
|
||||
<form action="', $scripturl, '?action=pm;sa=manrules;save;rid=', $context['rid'], '" method="post" accept-charset="', $context['character_set'], '" name="addrule" id="addrule" class="flow_hidden">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $context['rid'] == 0 ? $txt['pm_add_rule'] : $txt['pm_edit_rule'], '</h2>
|
||||
</div>
|
||||
|
@ -1873,6 +1890,7 @@ function template_add_rule()
|
|||
<span id="actionAddHere"></span><br>
|
||||
<a href="#" onclick="addActionOption(); return false;" id="addonjs2" style="display: none;">(', $txt['pm_rule_add_action'], ')</a>
|
||||
</fieldset>
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['pm_rule_description'], '</h2>
|
||||
</div>
|
||||
|
@ -1927,6 +1945,7 @@ function template_showPMDrafts()
|
|||
global $context, $scripturl, $txt;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span class="main_icons inbox"></span> ', $txt['drafts_show'], '
|
||||
|
|
|
@ -55,6 +55,7 @@ function template_main()
|
|||
echo '
|
||||
<div id="edit_poll">
|
||||
<form action="' . $scripturl . '?action=editpoll2', $context['is_edit'] ? '' : ';add', ';topic=' . $context['current_topic'] . '.' . $context['start'] . '" method="post" accept-charset="', $context['character_set'], '" onsubmit="submitonce(this);" name="postmodify" id="postmodify">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $context['page_title'], '</h2>
|
||||
</div>';
|
||||
|
@ -154,6 +155,7 @@ function template_main()
|
|||
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '">
|
||||
<input type="hidden" name="' . $context['session_var'] . '" value="' . $context['session_id'] . '">
|
||||
</form>
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
</div><!-- #edit_poll -->
|
||||
';
|
||||
}
|
||||
|
|
|
@ -72,6 +72,7 @@ function template_main()
|
|||
// If the user wants to see how their message looks - the preview section is where it's at!
|
||||
echo '
|
||||
<div id="preview_section"', isset($context['preview_message']) ? '' : ' style="display: none;"', '>
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">
|
||||
<span id="preview_subject">', empty($context['preview_subject']) ? ' ' : $context['preview_subject'], '</span>
|
||||
|
@ -80,6 +81,7 @@ function template_main()
|
|||
<div id="preview_body" class="windowbg">
|
||||
', empty($context['preview_message']) ? '<br>' : $context['preview_message'], '
|
||||
</div>
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
</div>
|
||||
<br>';
|
||||
|
||||
|
@ -89,6 +91,7 @@ function template_main()
|
|||
|
||||
// Start the main table.
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $context['page_title'], '</h2>
|
||||
</div>
|
||||
|
@ -497,6 +500,7 @@ function template_main()
|
|||
</span>
|
||||
</div><!-- .roundframe -->
|
||||
</div><!-- #post_area -->
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
<br class="clear">';
|
||||
|
||||
// Assuming this isn't a new topic pass across the last message id.
|
||||
|
@ -628,6 +632,7 @@ function template_main()
|
|||
{
|
||||
echo '
|
||||
<div id="recent" class="flow_hidden main_section">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar cat_bar_round">
|
||||
<h2 class="catbg">', $txt['topic_summary'], '</h2>
|
||||
</div>
|
||||
|
@ -673,6 +678,7 @@ function template_main()
|
|||
}
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
</div><!-- #recent -->
|
||||
<script>
|
||||
var aIgnoreToggles = new Array();';
|
||||
|
@ -854,6 +860,7 @@ function template_announce()
|
|||
echo '
|
||||
<div id="announcement">
|
||||
<form action="', $scripturl, '?action=announce;sa=send" method="post" accept-charset="', $context['character_set'], '">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['announce_title'], '</h2>
|
||||
</div>
|
||||
|
|
|
@ -495,7 +495,8 @@ function template_showPosts()
|
|||
</div>', !empty($context['page_index']) ? '
|
||||
<div class="pagesection">
|
||||
<div class="pagelinks">' . $context['page_index'] . '</div>
|
||||
</div>' : '';
|
||||
</div>
|
||||
<div class="khbiseau_topright_white"></div>' : '';
|
||||
|
||||
// Are we displaying posts or attachments?
|
||||
if (!isset($context['attachments']))
|
||||
|
@ -551,6 +552,8 @@ function template_showPosts()
|
|||
', isset($context['attachments']) ? $txt['show_attachments_none'] : ($context['is_topics'] ? $txt['show_topics_none'] : $txt['show_posts_none']), '
|
||||
</div>';
|
||||
|
||||
echo '<div class="khbiseau_bottom_white"></div>';
|
||||
|
||||
// Show more page numbers.
|
||||
if (!empty($context['page_index']))
|
||||
echo '
|
||||
|
|
|
@ -19,6 +19,7 @@ function template_recent()
|
|||
|
||||
echo '
|
||||
<div id="recent" class="main_section">
|
||||
<div class="khbiseau_topright_khcolor"></div>
|
||||
<div id="display_head" class="information">
|
||||
<h2 class="display_title">
|
||||
<span id="top_subject">', $txt['recent_posts'], '</span>
|
||||
|
@ -59,6 +60,7 @@ function template_recent()
|
|||
}
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_bottom_white"></div>
|
||||
<div class="pagesection">
|
||||
<div class="pagelinks">', $context['page_index'], '</div>
|
||||
</div>
|
||||
|
@ -131,6 +133,9 @@ function template_unread()
|
|||
<span class="main_icons sort_' . $context['sort_direction'] . '"></span>
|
||||
' : '', '</a>
|
||||
</div>
|
||||
<div class="board_stats centertext">
|
||||
<a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=replies', $context['sort_by'] == 'replies' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['replies'], $context['sort_by'] == 'replies' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
|
||||
</div>
|
||||
<div class="lastpost">
|
||||
<a href="', $scripturl, '?action=unread', $context['showing_all_topics'] ? ';all' : '', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] == 'last_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] == 'last_post' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
|
||||
</div>';
|
||||
|
@ -185,6 +190,13 @@ function template_unread()
|
|||
</p>
|
||||
', !empty($topic['pages']) ? '<span id="pages' . $topic['first_post']['id'] . '" class="topic_pages">' . $topic['pages'] . '</span>' : '', '
|
||||
</div><!-- .info -->
|
||||
<div class="board_stats centertext">
|
||||
<p>
|
||||
', $topic['replies'], ' ', $txt['replies'], '
|
||||
<br>
|
||||
', $topic['views'], ' ', $txt['views'], '
|
||||
</p>
|
||||
</div>
|
||||
<div class="lastpost">
|
||||
', sprintf($txt['last_post_topic'], '<a href="' . $topic['last_post']['href'] . '">' . $topic['last_post']['time'] . '</a>', $topic['last_post']['member']['link']), '
|
||||
</div>';
|
||||
|
@ -309,6 +321,9 @@ function template_replies()
|
|||
<div class="info">
|
||||
<a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=subject', $context['sort_by'] === 'subject' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['subject'], $context['sort_by'] === 'subject' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
|
||||
</div>
|
||||
<div class="board_stats centertext">
|
||||
<a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=replies', $context['sort_by'] === 'replies' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['replies'], $context['sort_by'] === 'replies' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
|
||||
</div>
|
||||
<div class="lastpost">
|
||||
<a href="', $scripturl, '?action=unreadreplies', $context['querystring_board_limits'], ';sort=last_post', $context['sort_by'] === 'last_post' && $context['sort_direction'] === 'up' ? ';desc' : '', '">', $txt['last_post'], $context['sort_by'] === 'last_post' ? ' <span class="main_icons sort_' . $context['sort_direction'] . '"></span>' : '', '</a>
|
||||
</div>';
|
||||
|
@ -363,6 +378,13 @@ function template_replies()
|
|||
</p>
|
||||
', !empty($topic['pages']) ? '<span id="pages' . $topic['first_post']['id'] . '" class="topic_pages">' . $topic['pages'] . '</span>' : '', '
|
||||
</div><!-- .info -->
|
||||
<div class="board_stats centertext">
|
||||
<p>
|
||||
', $topic['replies'], ' ', $txt['replies'], '
|
||||
<br>
|
||||
', $topic['views'], ' ', $txt['views'], '
|
||||
</p>
|
||||
</div>
|
||||
<div class="lastpost">
|
||||
', sprintf($txt['last_post_topic'], '<a href="' . $topic['last_post']['href'] . '">' . $topic['last_post']['time'] . '</a>', $topic['last_post']['member']['link']), '
|
||||
</div>';
|
||||
|
|
|
@ -22,12 +22,14 @@ function template_registration_agreement()
|
|||
|
||||
if (!empty($context['agreement']))
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['registration_agreement'], '</h2>
|
||||
</div>
|
||||
<div class="roundframe">
|
||||
<div>', $context['agreement'], '</div>
|
||||
</div>';
|
||||
</div>
|
||||
<div class="khbiseau_bottom_white"></div>';
|
||||
|
||||
if (!empty($context['privacy_policy']))
|
||||
echo '
|
||||
|
@ -102,6 +104,7 @@ function template_registration_form()
|
|||
|
||||
echo '
|
||||
<form action="', !empty($modSettings['force_ssl']) ? strtr($scripturl, array('http://' => 'https://')) : $scripturl, '?action=signup2" method="post" accept-charset="', $context['character_set'], '" name="registration" id="registration" onsubmit="return verifyAgree();">
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<div class="cat_bar">
|
||||
<h2 class="catbg">', $txt['registration_form'], '</h2>
|
||||
</div>
|
||||
|
@ -177,7 +180,8 @@ function template_registration_form()
|
|||
|
||||
echo '
|
||||
</fieldset>
|
||||
</div><!-- .roundframe -->';
|
||||
</div><!-- .roundframe -->
|
||||
<div class="khbiseau_bottom_white"></div>';
|
||||
|
||||
// If we have either of these, show the extra group.
|
||||
if (!empty($context['profile_fields']) || !empty($context['custom_fields']))
|
||||
|
|
|
@ -19,6 +19,7 @@ function template_main()
|
|||
global $context, $txt, $scripturl, $modSettings;
|
||||
|
||||
echo '
|
||||
<div class="khbiseau_topright_color"></div>
|
||||
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" name="searchform" id="searchform">';
|
||||
|
||||
if (!empty($context['search_errors']))
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
/* Variables */
|
||||
html {
|
||||
--bgcolor: #dddddd;
|
||||
--bgcolor: #bd8f97;
|
||||
--dark-color: #401018; /* Pour les textes entre autre */
|
||||
--color1: #e8304e;
|
||||
--color2: #b03a4d;
|
||||
|
@ -34,6 +34,8 @@ body {
|
|||
color: var(--dark-color);
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background: url("../images/curve2.png") repeat-y fixed left bottom,url("../images/curve.png") repeat-y fixed right bottom var(--bgcolor);
|
||||
|
||||
}
|
||||
::selection {
|
||||
text-shadow: none;
|
||||
|
@ -522,7 +524,7 @@ a img {
|
|||
vertical-align: middle;
|
||||
margin: 0 5px 0 5px;
|
||||
transition: background-color 0.25s;
|
||||
clip-path: circle(50%);
|
||||
clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
|
||||
}
|
||||
.toggle_down::before {
|
||||
background-position: 0 -17px;
|
||||
|
@ -816,7 +818,7 @@ img.sort, .sort {
|
|||
padding: 3px 6px 0px 6px;
|
||||
color: var(--neutral-light-color);
|
||||
background: var(--color1);
|
||||
clip-path: circle(50%);
|
||||
clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
|
||||
|
||||
}
|
||||
.dropmenu li .active .amt, #top_info li .active .amt {
|
||||
|
@ -1265,7 +1267,7 @@ h1.forumtitle {
|
|||
font-weight: normal;
|
||||
}
|
||||
h1.forumtitle a {
|
||||
color: var(--color1);
|
||||
color: white;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
border-bottom: none;
|
||||
border-bottom-style: inherit !important;
|
||||
|
@ -3342,11 +3344,22 @@ h2 .collapse {
|
|||
width: 55% ;
|
||||
display:flex;
|
||||
align-items: center;
|
||||
padding: 1em 0 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
div.cat_bar.without_biseau {
|
||||
padding-top: 1em;
|
||||
}
|
||||
.cat_bar .info > span {
|
||||
margin-left: 1em;
|
||||
}
|
||||
.boardindex_table .board_stats, .cat_bar .board_stats {
|
||||
/*padding: 13px 10px 10px;*/
|
||||
}
|
||||
|
||||
.boardindex_table .board_stats p {
|
||||
border-left: 1px solid var(--neutral-color);
|
||||
border-right: 1px solid var(--neutral-color);
|
||||
}
|
||||
.info {
|
||||
overflow: hidden;
|
||||
overflow-wrap: break-word;
|
||||
|
@ -3356,6 +3369,14 @@ h2 .collapse {
|
|||
.info .subject {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.board_stats {
|
||||
width: 15%;
|
||||
font-size: 0.9em;
|
||||
margin: 0 0 0 auto;
|
||||
text-align: center;
|
||||
display: flex !important ;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.lastpost {
|
||||
width: 30%;
|
||||
|
@ -3374,11 +3395,12 @@ h2 .collapse {
|
|||
display: inherit;
|
||||
}
|
||||
|
||||
.board_icon, .info, .lastpost {
|
||||
.board_icon, .info, .board_stats, .lastpost {
|
||||
display: inline-block;
|
||||
}
|
||||
.main_container {
|
||||
margin: 0 0 0.5em 0;
|
||||
/* pas de marge pour les biseaux
|
||||
* margin-bottom: 0.5em;*/
|
||||
}
|
||||
.up_contain {
|
||||
overflow: hidden;
|
||||
|
@ -3527,7 +3549,7 @@ span.postby {
|
|||
#topic_container .lastpost, #topic_header .lastpost {
|
||||
width: 20%;
|
||||
}
|
||||
#topic_container .lastpost {
|
||||
#topic_container .lastpost, #topic_container .board_stats {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.icon img, .moderation input {
|
||||
|
@ -4045,7 +4067,8 @@ ul.post_options li {
|
|||
/* Cat_bar / catbg */
|
||||
div.cat_bar {
|
||||
background: var(--color2);
|
||||
padding: 0 0 1em 0;
|
||||
padding: 0;
|
||||
padding-bottom: 1em;
|
||||
color: var(--neutral-light-color);
|
||||
margin-top: 0;
|
||||
}
|
||||
|
@ -4410,7 +4433,7 @@ h2.profile_hd::before,
|
|||
padding: 3px 6px 0px 6px;
|
||||
background: var(--color5);
|
||||
color: var(--neutral-light-color);
|
||||
clip-path: circle(50%);
|
||||
clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
@ -4671,7 +4694,7 @@ img.theme_thumbnail {
|
|||
width: 2em;
|
||||
}
|
||||
.khbb_nav ul li:hover img {
|
||||
clip-path: circle(50%);
|
||||
clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
|
||||
background-color: var(--neutral-light-color);
|
||||
}
|
||||
.khbb_nav ul li a:hover .khbb_subtitlemenu, .khbb_nav ul li a:focus .khbb_subtitlemenu {
|
||||
|
@ -4792,6 +4815,48 @@ img.theme_thumbnail {
|
|||
display:none;
|
||||
}
|
||||
|
||||
/* Biseaux */
|
||||
.khbiseau_bottom_white {
|
||||
border-style: solid;
|
||||
border-color: white transparent transparent transparent;
|
||||
border-width: 0.5em;
|
||||
padding: 0;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
.khbiseau_bottom_color {
|
||||
border-style: solid;
|
||||
border-color: var(--color2) transparent transparent transparent;
|
||||
border-width: 0.5em;
|
||||
padding: 0;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.khbiseau_topright_white {
|
||||
border-style: solid;
|
||||
border-color: transparent transparent #fff transparent;
|
||||
border-width: 0 1.5em 1.5em 0;
|
||||
}
|
||||
|
||||
.khbiseau_topright_color {
|
||||
border-style: solid;
|
||||
border-color: transparent transparent var(--color2) transparent;
|
||||
border-width: 0 1em 1em 0;
|
||||
}
|
||||
.khbiseau_topright_khcolor {
|
||||
border-style: solid;
|
||||
border-color: transparent transparent var(--mmf-color) transparent;
|
||||
border-width: 0 1em 1em 0;
|
||||
}
|
||||
|
||||
.khbiseau_right_color {
|
||||
border-style: solid;
|
||||
border-color: transparent transparent red red;
|
||||
border-width: 1.5em 0em 1.5em 1.5em;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* Petit hexagone */
|
||||
.not_toggle {
|
||||
padding-left: 1em;
|
||||
|
@ -4806,7 +4871,7 @@ img.theme_thumbnail {
|
|||
vertical-align: middle;
|
||||
margin: 0 5px 0 5px;
|
||||
transition: background-color 0.25s;
|
||||
clip-path: circle(50%);
|
||||
clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
|
||||
}
|
||||
|
||||
/* Divers KH */
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
display: none !important;
|
||||
}
|
||||
/* Board */
|
||||
.cat_bar .lastpost {
|
||||
.board_stats, .cat_bar .lastpost {
|
||||
display: none !important;
|
||||
}
|
||||
.khbb_children {
|
||||
|
@ -128,6 +128,9 @@
|
|||
.lastpost {
|
||||
margin: 0 0 0 20px;
|
||||
}
|
||||
.board_stats {
|
||||
display: none;
|
||||
}
|
||||
#alerts .alert_time {
|
||||
display: none;
|
||||
}
|
||||
|
@ -312,6 +315,9 @@
|
|||
}
|
||||
|
||||
/* BoardIndex */
|
||||
.board_stats {
|
||||
display: none;
|
||||
}
|
||||
.info {
|
||||
width: calc(100% - 65px);
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
version="1.1"
|
||||
id="svg5"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14, custom)"
|
||||
sodipodi:docname="boardicons.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
|
@ -25,44 +25,80 @@
|
|||
inkscape:document-units="mm"
|
||||
showgrid="false"
|
||||
inkscape:zoom="2.6557772"
|
||||
inkscape:cx="41.0426"
|
||||
inkscape:cy="102.6065"
|
||||
inkscape:window-width="1278"
|
||||
inkscape:window-height="1022"
|
||||
inkscape:cx="121.43338"
|
||||
inkscape:cy="100.34727"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1026"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="2"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1"
|
||||
showguides="false" /><defs
|
||||
id="defs2" /><g
|
||||
inkscape:label="Calque 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-28.695021,-30.302504)"><ellipse
|
||||
style="fill:#bd9098;stroke-width:0.264583;fill-opacity:1"
|
||||
id="path937"
|
||||
cx="40.557663"
|
||||
cy="42.090816"
|
||||
rx="11.398761"
|
||||
ry="9.8460035" /><ellipse
|
||||
style="fill:#bd9098;fill-opacity:1;stroke-width:0.264583"
|
||||
id="path937-6"
|
||||
cx="64.561783"
|
||||
cy="41.876976"
|
||||
rx="11.398761"
|
||||
ry="9.8460035" /><ellipse
|
||||
style="fill:#bd9098;fill-opacity:1;stroke-width:0.264583"
|
||||
id="path937-6-7"
|
||||
cx="40.849342"
|
||||
cy="66.267334"
|
||||
rx="11.398761"
|
||||
ry="9.8460035" /><ellipse
|
||||
style="fill:#bd9098;fill-opacity:1;stroke-width:0.264583"
|
||||
id="path937-6-5"
|
||||
cx="64.683205"
|
||||
cy="65.908531"
|
||||
rx="11.398761"
|
||||
ry="9.8460035" /><g
|
||||
transform="translate(-28.695021,-30.302504)"><path
|
||||
sodipodi:type="star"
|
||||
style="opacity:1;fill:#bd9098;fill-opacity:1;stroke:none;stroke-width:0.3;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
|
||||
id="path1239"
|
||||
inkscape:flatsided="true"
|
||||
sodipodi:sides="6"
|
||||
sodipodi:cx="8.7351255"
|
||||
sodipodi:cy="6.197978"
|
||||
sodipodi:r1="29.58176"
|
||||
sodipodi:r2="25.618555"
|
||||
sodipodi:arg1="-1.0471976"
|
||||
sodipodi:arg2="-0.52359878"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="M 23.526004,-19.420579 38.316886,6.1979766 23.526007,31.816533 -6.0557534,31.816535 -20.846635,6.1979795 -6.0557559,-19.420577 Z"
|
||||
transform="matrix(0.38954086,0,0,0.38954086,37.105474,39.754841)" /><path
|
||||
sodipodi:type="star"
|
||||
style="fill:#bd9098;fill-opacity:1;stroke:none;stroke-width:0.3;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
|
||||
id="path1239-2"
|
||||
inkscape:flatsided="true"
|
||||
sodipodi:sides="6"
|
||||
sodipodi:cx="8.7351255"
|
||||
sodipodi:cy="6.197978"
|
||||
sodipodi:r1="29.58176"
|
||||
sodipodi:r2="25.618555"
|
||||
sodipodi:arg1="-1.0471976"
|
||||
sodipodi:arg2="-0.52359878"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="M 23.526004,-19.420579 38.316886,6.1979766 23.526007,31.816533 -6.0557534,31.816535 -20.846635,6.1979795 -6.0557559,-19.420577 Z"
|
||||
transform="matrix(0.38954086,0,0,0.38954086,60.927134,39.754841)" /><path
|
||||
sodipodi:type="star"
|
||||
style="fill:#bd9098;fill-opacity:1;stroke:none;stroke-width:0.3;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
|
||||
id="path1239-2-2"
|
||||
inkscape:flatsided="true"
|
||||
sodipodi:sides="6"
|
||||
sodipodi:cx="8.7351255"
|
||||
sodipodi:cy="6.197978"
|
||||
sodipodi:r1="29.58176"
|
||||
sodipodi:r2="25.618555"
|
||||
sodipodi:arg1="-1.0471976"
|
||||
sodipodi:arg2="-0.52359878"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="M 23.526004,-19.420579 38.316886,6.1979766 23.526007,31.816533 -6.0557534,31.816535 -20.846635,6.1979795 -6.0557559,-19.420577 Z"
|
||||
transform="matrix(0.38954086,0,0,0.38954086,60.927134,63.758258)" /><path
|
||||
sodipodi:type="star"
|
||||
style="fill:#bd9098;fill-opacity:1;stroke:none;stroke-width:0.3;stroke-linejoin:round;stroke-miterlimit:2;stroke-dasharray:none;stroke-opacity:1;paint-order:stroke fill markers"
|
||||
id="path1239-2-8"
|
||||
inkscape:flatsided="true"
|
||||
sodipodi:sides="6"
|
||||
sodipodi:cx="8.7351255"
|
||||
sodipodi:cy="6.197978"
|
||||
sodipodi:r1="29.58176"
|
||||
sodipodi:r2="25.618555"
|
||||
sodipodi:arg1="-1.0471976"
|
||||
sodipodi:arg2="-0.52359878"
|
||||
inkscape:rounded="0"
|
||||
inkscape:randomized="0"
|
||||
d="M 23.526004,-19.420579 38.316886,6.1979766 23.526007,31.816533 -6.0557534,31.816535 -20.846635,6.1979795 -6.0557559,-19.420577 Z"
|
||||
transform="matrix(0.38954086,0,0,0.38954086,37.105474,63.758258)" /><g
|
||||
id="g386"
|
||||
transform="translate(-0.26879614,-0.27100869)"><g
|
||||
id="g3486-3"
|
||||
|
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 15 KiB |
|
@ -493,6 +493,7 @@ function template_body_below()
|
|||
echo '
|
||||
</div>
|
||||
</div>
|
||||
<div class="khbiseau_bottom_color"></div>
|
||||
</div><!-- #footer -->
|
||||
|
||||
</div><!-- #wrapper -->
|
||||
|
|
Loading…
Reference in a new issue