Augmentation vers version 3.3.0
This commit is contained in:
@@ -522,7 +522,7 @@ function parseDocument($container) {
|
||||
$linksLast = $linksNotSkip.filter(filterLast), // The items that will be hidden last
|
||||
persistent = $this.attr('id') === 'nav-main', // Does this list already have a menu (such as quick-links)?
|
||||
html = '<li class="responsive-menu hidden"><a href="javascript:void(0);" class="js-responsive-menu-link responsive-menu-link"><i class="icon fa-bars fa-fw" aria-hidden="true"></i></a><div class="dropdown"><div class="pointer"><div class="pointer-inner" /></div><ul class="dropdown-contents" /></div></li>',
|
||||
slack = 3; // Vertical slack space (in pixels). Determines how sensitive the script is in determining whether a line-break has occured.
|
||||
slack = 3; // Vertical slack space (in pixels). Determines how sensitive the script is in determining whether a line-break has occurred.
|
||||
|
||||
// Add a hidden drop-down menu to each links list (except those that already have one)
|
||||
if (!persistent) {
|
||||
@@ -1102,4 +1102,13 @@ if( $('.collapse-trigger').length )
|
||||
this.slideUp(100);
|
||||
},
|
||||
});
|
||||
|
||||
// Add user icon in front of forumlist mods
|
||||
$("span.forumlist_mods a").each(function(i) {
|
||||
$(this).prepend("<i class='icon fa-shield fa-fw'></i>");
|
||||
});
|
||||
// Remove the comma seperator
|
||||
$("span.forumlist_mods").each(function() {
|
||||
$(this).html($(this).html().replace(/,/g , ''));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -17,7 +17,13 @@
|
||||
<li class="header">
|
||||
<!-- EVENT forumlist_body_category_header_row_prepend -->
|
||||
<dl class="row-item">
|
||||
<dt><div class="list-inner"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></div></dt>
|
||||
<dt><div class="list-inner">
|
||||
<!-- IF forumrow.S_IS_CAT -->
|
||||
<a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
|
||||
<!-- ELSE -->
|
||||
{L_FORUM}
|
||||
<!-- ENDIF -->
|
||||
</div></dt>
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_FORUMLIST_DISPLAY != 'Grid' -->
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_FORUMLIST_DISPLAY == 'List (Simplified)' -->
|
||||
<dd class="simpleposts"><span class="icon fa-comments"></span></dd>
|
||||
@@ -36,19 +42,19 @@
|
||||
<span class="icon fa-minus tooltip-left" title="Collapse"></span>
|
||||
<span class="icon fa-plus tooltip-left" title="Expand"></span>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<ul class="topiclist forums">
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT forumlist_body_category_header_after -->
|
||||
|
||||
<!-- IF not forumrow.S_IS_CAT -->
|
||||
<!-- EVENT forumlist_body_forum_row_before -->
|
||||
<li class="row<!-- IF forumrow.AVATAR_IMG --> has_last_post_avatar<!-- ENDIF -->">
|
||||
<li class="row<!-- IF forumrow.AVATAR_IMG --> has_last_post_avatar<!-- ENDIF --><!-- IF not forumrow.S_DISPLAY_SUBJECT --> row_no_subject<!-- ENDIF -->">
|
||||
<!-- EVENT forumlist_body_forum_row_prepend -->
|
||||
<!-- IF forumrow.FORUM_IMAGE and STYLE_SETTINGS_CONFIG_FORUMLIST_DISPLAY == 'Grid' -->
|
||||
<a href="{forumrow.U_VIEWFORUM}" class="forumlist_grid_forum_image" style="background-image: url('{forumrow.FORUM_IMAGE_SRC}');"></a>
|
||||
<!-- ENDIF -->
|
||||
<dl class="row-item {forumrow.FORUM_IMG_STYLE}">
|
||||
<!-- ENDIF -->
|
||||
<dl class="row-item {forumrow.FORUM_IMG_STYLE}">
|
||||
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
|
||||
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<div class="list-inner">
|
||||
@@ -70,7 +76,7 @@
|
||||
{L_REDIRECTS}{L_COLON} <strong>{forumrow.CLICKS}</strong>
|
||||
<!-- ELSE -->
|
||||
{L_TOPICS}{L_COLON} <strong>{forumrow.TOPICS}</strong> {L_POSTS}{L_COLON} <strong>{forumrow.POSTS}</strong><!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<div class="responsive-show responsive_forumlist_row_stats" style="display: none;">
|
||||
@@ -80,15 +86,15 @@
|
||||
{L_TOPICS}{L_COLON} <strong>{forumrow.TOPICS}</strong> {L_POSTS}{L_COLON} <strong>{forumrow.POSTS}</strong>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.MODERATORS -->
|
||||
<br /><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}
|
||||
<br /><span class="forumlist_mods"><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}</span>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
|
||||
<!-- EVENT forumlist_body_subforums_before -->
|
||||
<div style="clear: both;"></div>
|
||||
<br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
|
||||
|
||||
|
||||
<div class="sub-forumlist">
|
||||
<!-- BEGIN subforum -->
|
||||
<li>
|
||||
@@ -136,7 +142,7 @@
|
||||
<i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />{forumrow.LAST_POST_TIME}
|
||||
<br /><time datetime="{forumrow.LAST_POST_TIME_RFC3339}">{forumrow.LAST_POST_TIME}</time>
|
||||
<!-- ELSE -->
|
||||
{% if forumrow.U_UNAPPROVED_TOPICS %}
|
||||
{{ lang('TOPIC_UNAPPROVED_FORUM', forumrow.TOPICS) }}
|
||||
@@ -172,4 +178,4 @@
|
||||
</div>
|
||||
<!-- END forumrow -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -11,23 +11,19 @@
|
||||
|
||||
<!-- EVENT forumlist_body_category_header_before -->
|
||||
<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
|
||||
|
||||
<!-- EVENT forumlist_body_category_header_row_prepend -->
|
||||
<span class="grid_cat_title">
|
||||
<!-- IF forumrow.S_IS_CAT -->
|
||||
<a href="{forumrow.U_VIEWFORUM}" class="cat_title">{forumrow.FORUM_NAME}</a>
|
||||
<!-- ELSE -->
|
||||
{L_FORUM}
|
||||
<!-- ENDIF -->
|
||||
</span>
|
||||
<!-- EVENT forumlist_body_category_header_row_append -->
|
||||
|
||||
<div class="forabg">
|
||||
<div class="inner">
|
||||
<ul class="topiclist">
|
||||
<li class="header">
|
||||
<!-- EVENT forumlist_body_category_header_row_prepend -->
|
||||
<dl class="row-item">
|
||||
<dt><div class="list-inner"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></div></dt>
|
||||
</dl>
|
||||
<!-- EVENT forumlist_body_category_header_row_append -->
|
||||
</li>
|
||||
</ul>
|
||||
<!-- IF SCRIPT_NAME eq 'index' and STYLE_SETTINGS_CONFIG_COLLAPSIBLE_PANELS -->
|
||||
<div class="collapse-trigger open">
|
||||
<span class="icon fa-minus tooltip-left" title="Collapse"></span>
|
||||
<span class="icon fa-plus tooltip-left" title="Expand"></span>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<ul class="topiclist forums">
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT forumlist_body_category_header_after -->
|
||||
@@ -38,28 +34,63 @@
|
||||
<!-- EVENT forumlist_body_forum_row_prepend -->
|
||||
|
||||
<div class="grid_image_container">
|
||||
<div class="forumlist_grid_forum_image" <!-- IF forumrow.FORUM_IMAGE -->style="background-image: url('{forumrow.FORUM_IMAGE_SRC}');<!-- ENDIF -->">
|
||||
<a href="{forumrow.U_VIEWFORUM}" class="grid_colour_overlay">
|
||||
<div class="forumlist_grid_title">
|
||||
{forumrow.FORUM_NAME}
|
||||
</div>
|
||||
<div class="forumlist_grid_numbers">
|
||||
<!-- IF forumrow.S_UNREAD_FORUM -->
|
||||
<span class="grid_unread">{L_NEW}</span>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.CLICKS -->
|
||||
<i class="fa fa-link"></i><!-- {L_REDIRECTS}{L_COLON} --> {forumrow.CLICKS}
|
||||
<!-- ELSE -->
|
||||
<i class="fa fa-book"></i><!-- {L_TOPICS}{L_COLON} --> {forumrow.TOPICS} <i class="fa fa-comments"></i><!-- {L_POSTS}{L_COLON}--> {forumrow.POSTS}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<a href="{forumrow.U_VIEWFORUM}" class="tile_inner">
|
||||
|
||||
<div class="tile_row_1 tile_has_icon" <!-- IF forumrow.FORUM_IMAGE -->style="background-image: url('{forumrow.FORUM_IMAGE_SRC}');"<!-- ENDIF -->">
|
||||
<div class="tile_title">
|
||||
|
||||
{forumrow.FORUM_NAME}
|
||||
<!-- IF forumrow.S_UNREAD_FORUM -->
|
||||
<i class="icon fa fa-check tooltip icon-green" title="{L_UNREAD_POSTS}"></i>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.FORUM_DESC --><span class="forum_description">{forumrow.FORUM_DESC}</span> <!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tile_row_2">
|
||||
<!-- IF forumrow.CLICKS -->
|
||||
<div class="tile_row_100">
|
||||
<span class="mini_number">
|
||||
{forumrow.CLICKS}
|
||||
</span>
|
||||
<span class="mini_label">
|
||||
{L_REDIRECTS}
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
<div class="tile_row_25">
|
||||
<span class="mini_number">
|
||||
{forumrow.TOPICS}
|
||||
</span>
|
||||
<span class="mini_label">
|
||||
{L_TOPICS}
|
||||
</span>
|
||||
</div>
|
||||
<div class="tile_row_25">
|
||||
<span class="mini_number">
|
||||
{forumrow.POSTS}
|
||||
</span>
|
||||
<span class="mini_label">
|
||||
{L_POSTS}
|
||||
</span>
|
||||
</div>
|
||||
<!-- IF forumrow.LAST_POST_TIME -->
|
||||
<div class="tile_row_50">
|
||||
<span class="mini_date">
|
||||
<time datetime="{forumrow.LAST_POST_TIME_RFC3339}">{forumrow.LAST_POST_TIME}</time>
|
||||
</span>
|
||||
<span class="mini_label">
|
||||
{L_LAST_POST}
|
||||
</span>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class="grid_desc<!-- IF forumrow.S_UNREAD_FORUM --> unread_grid<!-- ENDIF -->">
|
||||
<!-- IF forumrow.FORUM_DESC -->
|
||||
<span class="forum_description">{forumrow.FORUM_DESC}</span>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- EVENT forumlist_body_forum_row_append -->
|
||||
|
||||
@@ -159,8 +159,7 @@
|
||||
<!-- INCLUDE notification_dropdown.html -->
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- ELSE -->
|
||||
<!-- EVENT navbar_header_user_profile_append -->
|
||||
<!-- ELSE IF not S_IS_BOT -->
|
||||
<li class="rightside" data-skip-responsive="true">
|
||||
<a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x" role="menuitem">
|
||||
<i class="icon fa-power-off fa-fw" aria-hidden="true"></i><span>{L_LOGIN_LOGOUT}</span>
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<script type="text/javascript" src="{T_JQUERY_LINK}"></script>
|
||||
|
||||
<!-- IF S_ALLOW_CDN -->
|
||||
<script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script>
|
||||
<script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.4.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
|
||||
@@ -79,13 +79,16 @@
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_PARALLAX_HEADER -->
|
||||
<!-- INCLUDEJS parallax.js -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDEJS tooltipster.bundle.min.js -->
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_COLLAPSIBLE_PANELS -->
|
||||
<!-- INCLUDEJS jquery.collapse.js -->
|
||||
<!-- INCLUDEJS jquery.collapse_storage.js -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDEJS forum_fn.js -->
|
||||
<!-- INCLUDEJS ajax.js -->
|
||||
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_DARK_TOGGLE -->
|
||||
<!-- INCLUDEJS js.cookie.js -->
|
||||
<!-- ENDIF -->
|
||||
@@ -189,6 +192,117 @@
|
||||
|
||||
<!-- EVENT overall_footer_after -->
|
||||
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_LIGHT_DARK_TOGGLE -->
|
||||
|
||||
<!--
|
||||
"[BETA] Enable Light/Dark User Toggle": {
|
||||
"name": "light_dark_toggle",
|
||||
"type": "bool",
|
||||
"help": "Enables a one-click light/dark preset toggle in top nav bar.<br />Default Value: No"
|
||||
},
|
||||
-->
|
||||
|
||||
<!--
|
||||
<script type="text/javascript">
|
||||
// Set variables
|
||||
var light_stylesheet_src = '{T_STYLESHEET_LINK}';
|
||||
var dark_stylesheet_src = '{BOARD_URL}styles/Milk_v2/theme/colours_dark.css';
|
||||
|
||||
// Is there a cookie set already?
|
||||
if(Cookies.get('Dark_Toggle_Cookie')) {
|
||||
// Cookie below
|
||||
|
||||
// Cookie: Set stylesheet
|
||||
$("link.colour_switch_link").attr("href",Cookies.get('Dark_Toggle_Cookie'));
|
||||
|
||||
// Cookie: Set icon & add dark_base class if necessary
|
||||
if(Cookies.get('Dark_Toggle_Cookie') == dark_stylesheet_src) {
|
||||
$("i.dark_toggle_icon").addClass("fa-lightbulb-o");
|
||||
$("body").addClass("dark_base");
|
||||
} else {
|
||||
$("i.dark_toggle_icon").addClass("fa-moon-o");
|
||||
}
|
||||
|
||||
// Cookie: click function
|
||||
$("a.dark_toggle_link").click(function() {
|
||||
if(Cookies.get('Dark_Toggle_Cookie') == dark_stylesheet_src) {
|
||||
$("link.colour_switch_link").attr("href",light_stylesheet_src);
|
||||
$("i.dark_toggle_icon").addClass("fa-moon-o");
|
||||
} else {
|
||||
$("link.colour_switch_link").attr("href",dark_stylesheet_src);
|
||||
$("i.dark_toggle_icon").addClass("fa-lightbulb-o");
|
||||
}
|
||||
|
||||
Cookies.set('Dark_Toggle_Cookie', $("link.colour_switch_link").attr('href'), { expires: 365, path: '/' });
|
||||
location.reload();
|
||||
});
|
||||
|
||||
} else {
|
||||
// No cookie below
|
||||
|
||||
// No cookie: Set the icon
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_BASE_COLOUR == "Light" -->
|
||||
$("i.dark_toggle_icon").addClass("fa-moon-o");
|
||||
<!-- ELSEIF STYLE_SETTINGS_CONFIG_BASE_COLOUR == "Dark" -->
|
||||
$("i.dark_toggle_icon").addClass("fa-lightbulb-o");
|
||||
<!-- ENDIF -->
|
||||
|
||||
// No cookie: Click function
|
||||
$("a.dark_toggle_link").click(function() {
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_BASE_COLOUR == 'Light' -->
|
||||
$("link.colour_switch_link").attr("href",dark_stylesheet_src);
|
||||
$("body").addClass("dark_base");
|
||||
<!-- ELSEIF STYLE_SETTINGS_CONFIG_BASE_COLOUR == 'Dark' -->
|
||||
$("link.colour_switch_link").attr("href",light_stylesheet_src);
|
||||
//Replace this with just clearing the cookie?
|
||||
<!-- ENDIF -->
|
||||
Cookies.set('Dark_Toggle_Cookie', $("link.colour_switch_link").attr('href'), { expires: 365, path: '/' });
|
||||
location.reload();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
-->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<script type="text/javascript">
|
||||
// Add user icon in front of forumlist mods
|
||||
$("span.forumlist_mods a").each(function(i) {
|
||||
$(this).prepend("<i class='icon fa-shield fa-fw'></i>");
|
||||
});
|
||||
// Remove the comma seperator
|
||||
$("span.forumlist_mods").each(function() {
|
||||
$(this).html($(this).html().replace(/,/g , ''));
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- IF not STYLE_SETTINGS_CONFIG_DISABLE_CSS_ANIMATIONS -->
|
||||
<script type="text/javascript">
|
||||
// Animate Forumlist and other things
|
||||
// Add a small transition delay to each block for nice effect
|
||||
$("#nav-main, #logo, #site-description h1, #site-description p, #nav-breadcrumbs, #page-body").each(function(i) {
|
||||
$(this).addClass("animated fadeIn");
|
||||
|
||||
var transitiondelay = (('0.' + (i+1)))/2 + 's';
|
||||
$(this).css({
|
||||
"transform": 'translateY(0px)',
|
||||
"transition-delay": transitiondelay,
|
||||
"animation-delay": transitiondelay
|
||||
});
|
||||
console.log(transitiondelay);
|
||||
});
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_FORUMLIST_DISPLAY == 'Grid' -->
|
||||
<script type="text/javascript">
|
||||
// Remove the comma seperator
|
||||
$(".forumlist_grid time").each(function() {
|
||||
var last_post_time = $(this).html();
|
||||
$(this).html(last_post_time.split(',')[0])
|
||||
});
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT overall_footer_body_after -->
|
||||
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_SCROLL_TO_TOP -->
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
{META}
|
||||
{STYLE_SETTINGS_HTML_4}
|
||||
<title><!-- IF UNREAD_NOTIFICATIONS_COUNT -->({UNREAD_NOTIFICATIONS_COUNT}) <!-- ENDIF --><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}<!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>
|
||||
|
||||
<!-- IF S_ENABLE_FEEDS -->
|
||||
@@ -86,13 +86,17 @@
|
||||
|
||||
<link href="{T_THEME_PATH}/blank.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" class="colour_switch_link" />
|
||||
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_ROUNDED_CORNERS -->
|
||||
<link href="{T_THEME_PATH}/rounded.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_COLOUR_PRESET != 'No Custom Colour' -->
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_COLOUR_PRESET == 'Custom (Use colour picker below)' -->
|
||||
<style type="text/css">
|
||||
/* Color */
|
||||
a:hover, .navbar_footer a, .copyright_bar a, .social_links_footer a:hover span, .icon.fa-file.icon-red, a:hover .icon.fa-file.icon-red, .navigation .active-subsection a, .navigation .active-subsection a:hover, .navigation a:hover, .tabs .tab > a:hover, .tabs .activetab > a, .tabs .activetab > a:hover, a.postlink, a.postlink:visited, .navbar_in_header .badge, .button:focus .icon, .button:hover .icon, .dark_base .social_links_footer a span, .dark_base h2, .dark_base h2 a, .dark_base a:link, .dark_base a:visited, .button-secondary:focus, .button-secondary:hover, .notification_unread {color: #{STYLE_SETTINGS_CONFIG_COLOUR_PICKER};}
|
||||
a:hover, .navbar_footer a, .copyright_bar a, .social_links_footer a:hover span, .icon.fa-file.icon-red, a:hover .icon.fa-file.icon-red, .navigation .active-subsection a, .navigation .active-subsection a:hover, .navigation a:hover, .tabs .tab > a:hover, .tabs .activetab > a, .tabs .activetab > a:hover, a.postlink, a.postlink:visited, .navbar_in_header .badge, .button:focus .icon, .button:hover .icon, .dark_base .social_links_footer a span, .dark_base h2, .dark_base h2 a, .dark_base a:link, .dark_base a:visited, .button-secondary:focus, .button-secondary:hover, .notification_unread, .topic_type {color: #{STYLE_SETTINGS_CONFIG_COLOUR_PICKER};}
|
||||
/* Background Solid */
|
||||
.pagination li a:hover, .pagination li.active span, .pagination li a:focus, .jumpbox-cat-link, .dropdown-contents > li > a:hover, a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover, a.no_avatar:hover, .jumpbox-cat-link:hover, input.button1:focus, input.button2:focus, input.button3:focus, .specialbutton, input.specialbutton, .panel .specialbutton, a.specialbutton, .scrollToTop, a.specialbutton, .dark_base .social_links_footer a:hover span, .topic_type, .grid_unread {background: #{STYLE_SETTINGS_CONFIG_COLOUR_PICKER};}
|
||||
.pagination li a:hover, .pagination li.active span, .pagination li a:focus, .jumpbox-cat-link, .dropdown-contents > li > a:hover, a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover, a.no_avatar:hover, .jumpbox-cat-link:hover, input.button1:focus, input.button2:focus, input.button3:focus, .specialbutton, input.specialbutton, .panel .specialbutton, a.specialbutton, .scrollToTop, a.specialbutton, .dark_base .social_links_footer a:hover span, .grid_unread, .tile_row_2:before {background: #{STYLE_SETTINGS_CONFIG_COLOUR_PICKER};}
|
||||
/* Borders Dark */
|
||||
.pagination li a:hover, .pagination li.active span, .pagination li a:focus, blockquote, .codebox code, .jumpbox-cat-link, a.postlink, input.button1:focus, input.button2:focus, input.button3:focus, input.specialbutton, .inputbox:hover, .inputbox:focus, .specialbutton, a.specialbutton, .button:hover, .button:focus, .dark_base .social_links_footer a span, a.specialbutton, .dark_base .social_links_footer a:hover span {border-color: #{STYLE_SETTINGS_CONFIG_COLOUR_PICKER};}
|
||||
/* Background Gradient */
|
||||
@@ -113,6 +117,33 @@ a:hover, .navbar_footer a, .copyright_bar a, .social_links_footer a:hover span,
|
||||
<link href="{T_THEME_PATH}/colour-presets/default.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF not STYLE_SETTINGS_CONFIG_DISABLE_CSS_ANIMATIONS -->
|
||||
<link href="{T_THEME_PATH}/animate.css" rel="stylesheet" />
|
||||
<style type="text/css">
|
||||
#nav-main, #logo, #site-description h1, #site-description p, #nav-breadcrumbs, #page-body {
|
||||
transform: translateY(-15px);
|
||||
transition: .75s ease-in-out;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_CSS_ICON_SHAPE != 'Square' -->
|
||||
.forums .row-item:before, .topics .row-item:before, .pmlist .row-item:before, .cplist .row-item:before {
|
||||
border-radius: 50%;
|
||||
}
|
||||
<!-- ELSE -->
|
||||
dl.row-item:after {
|
||||
top: 3px;
|
||||
left: 35px;
|
||||
}
|
||||
<!-- ENDIF -->
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
|
||||
@@ -141,7 +172,7 @@ a:hover, .navbar_footer a, .copyright_bar a, .social_links_footer a:hover span,
|
||||
<!-- EVENT overall_header_stylesheets_after -->
|
||||
|
||||
</head>
|
||||
<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}<!-- IF STYLE_SETTINGS_CONFIG_SIDEBARS and STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT == 'Right Only' --> sidebar-right-only<!-- ELSEIF STYLE_SETTINGS_CONFIG_SIDEBARS and STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT == 'Left Only' --> sidebar-left-only<!-- ELSEIF STYLE_SETTINGS_CONFIG_SIDEBARS --> sidebar-both<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_LAYOUT_TYPE --> body-layout-{STYLE_SETTINGS_CONFIG_LAYOUT_TYPE}<!-- ENDIF --> content_block_header_<!-- IF STYLE_SETTINGS_CONFIG_CONTENT_BLOCK_HEADER == 'Stripe' -->stripe<!-- ELSE -->block<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_HIGH_CONTRAST_LINKS --> high_contrast_links<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_BASE_COLOUR == 'Dark' --> dark_base<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_NAVBAR_POSITION == 'Inside Header' --> navbar_i_header<!-- ELSE --> navbar_o_header<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_ROUNDED_AVATARS --> force_rounded_avatars<!-- ENDIF -->">
|
||||
<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}<!-- IF STYLE_SETTINGS_CONFIG_SIDEBARS and STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT == 'Right Only' --> sidebar-right-only<!-- ELSEIF STYLE_SETTINGS_CONFIG_SIDEBARS and STYLE_SETTINGS_CONFIG_SIDEBAR_PLACEMENT == 'Left Only' --> sidebar-left-only<!-- ELSEIF STYLE_SETTINGS_CONFIG_SIDEBARS --> sidebar-both<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_LAYOUT_TYPE --> body-layout-{STYLE_SETTINGS_CONFIG_LAYOUT_TYPE}<!-- ENDIF --> content_block_header_<!-- IF STYLE_SETTINGS_CONFIG_CONTENT_BLOCK_HEADER == 'Stripe' -->stripe<!-- ELSE -->block<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_HIGH_CONTRAST_LINKS --> high_contrast_links<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_BASE_COLOUR == 'Dark' --> dark_base<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_NAVBAR_POSITION == 'Inside Header' --> navbar_i_header<!-- ELSE --> navbar_o_header<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_ROUNDED_AVATARS --> force_rounded_avatars<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_CSS_IMAGE_REPLACE --> css_icons_disabled<!-- ELSE --> css_icons_enabled<!-- ENDIF -->">
|
||||
|
||||
<!-- EVENT overall_header_body_before -->
|
||||
<div id="wrap" class="wrap">
|
||||
@@ -216,11 +247,13 @@ class="site_logo"></span></a>
|
||||
<!-- EVENT overall_header_breadcrumb_prepend -->
|
||||
<span class="crumb" {$MICRODATA}><a href="{U_INDEX}" itemtype="https://schema.org/Thing" itemprop="item" accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw"></i><!-- ENDIF --><span itemprop="name">{L_INDEX}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
|
||||
|
||||
<!-- BEGIN navlinks -->
|
||||
<!-- EVENT overall_header_navlink_prepend -->
|
||||
<span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{navlinks.U_VIEW_FORUM}" itemtype="https://schema.org/Thing" itemprop="item"><span itemprop="name">{navlinks.FORUM_NAME}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
|
||||
<!-- EVENT overall_header_navlink_append -->
|
||||
<!-- END navlinks -->
|
||||
<!-- BEGIN navlinks -->
|
||||
{% set NAVLINK_NAME = navlinks.BREADCRUMB_NAME | default(navlinks.FORUM_NAME) %}
|
||||
{% set NAVLINK_LINK = navlinks.U_BREADCRUMB | default(navlinks.U_VIEW_FORUM) %}
|
||||
<!-- EVENT overall_header_navlink_prepend -->
|
||||
<span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{{ NAVLINK_LINK }}" itemtype="https://schema.org/Thing" itemscope itemprop="item"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
|
||||
<!-- EVENT overall_header_navlink_append -->
|
||||
<!-- END navlinks -->
|
||||
<!-- EVENT overall_header_breadcrumb_append -->
|
||||
</li>
|
||||
<!-- EVENT overall_header_breadcrumbs_after -->
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
{META}
|
||||
{STYLE_SETTINGS_HTML_4}
|
||||
<title><!-- IF UNREAD_NOTIFICATIONS_COUNT -->({UNREAD_NOTIFICATIONS_COUNT}) <!-- ENDIF --><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}<!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>
|
||||
|
||||
<!-- IF S_ENABLE_FEEDS -->
|
||||
@@ -84,8 +83,9 @@
|
||||
|
||||
<link href="{T_THEME_PATH}/blank.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" class="colour_switch_link" />
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600" rel="stylesheet">
|
||||
<style type="text/css">body {font-family: "Titillium Web", Arial, Helvetica, sans-serif; font-size: 16px;}</style>
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_ROUNDED_CORNERS -->
|
||||
<link href="{T_THEME_PATH}/rounded.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_COLOUR_PRESET != 'No Custom Colour' -->
|
||||
<!-- IF STYLE_SETTINGS_CONFIG_COLOUR_PRESET == 'Custom (Use colour picker below)' -->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* parallax.js v1.4.2 (http://pixelcog.github.io/parallax.js/)
|
||||
* parallax.js v1.5.0 (http://pixelcog.github.io/parallax.js/)
|
||||
* @copyright 2016 PixelCog, Inc.
|
||||
* @license MIT (https://github.com/pixelcog/parallax.js/blob/master/LICENSE)
|
||||
*/
|
||||
@@ -14,8 +14,7 @@
|
||||
var vendors = ['ms', 'moz', 'webkit', 'o'];
|
||||
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {
|
||||
window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame'];
|
||||
window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame']
|
||||
|| window[vendors[x]+'CancelRequestAnimationFrame'];
|
||||
window.cancelAnimationFrame = window[vendors[x]+'CancelAnimationFrame'] || window[vendors[x]+'CancelRequestAnimationFrame'];
|
||||
}
|
||||
|
||||
if (!window.requestAnimationFrame)
|
||||
@@ -65,8 +64,8 @@
|
||||
positions = [positions[1], positions[0]];
|
||||
}
|
||||
|
||||
if (this.positionX != undefined) positions[0] = this.positionX.toLowerCase();
|
||||
if (this.positionY != undefined) positions[1] = this.positionY.toLowerCase();
|
||||
if (this.positionX !== undefined) positions[0] = this.positionX.toLowerCase();
|
||||
if (this.positionY !== undefined) positions[1] = this.positionY.toLowerCase();
|
||||
|
||||
self.positionX = positions[0];
|
||||
self.positionY = positions[1];
|
||||
@@ -113,7 +112,7 @@
|
||||
return this;
|
||||
}
|
||||
|
||||
this.$mirror = $('<div />').prependTo('body');
|
||||
this.$mirror = $('<div />').prependTo(this.mirrorContainer);
|
||||
|
||||
var slider = this.$element.find('>.parallax-slider');
|
||||
var sliderExisted = false;
|
||||
@@ -154,7 +153,7 @@
|
||||
this.$slider.trigger('load');
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// Parallax Instance Methods
|
||||
@@ -167,6 +166,7 @@
|
||||
androidFix: true,
|
||||
position: 'center',
|
||||
overScrollFix: false,
|
||||
mirrorContainer: 'body',
|
||||
|
||||
refresh: function() {
|
||||
this.boxWidth = this.$element.outerWidth();
|
||||
@@ -181,13 +181,14 @@
|
||||
var minOffset = Math.max(this.boxOffsetTop + this.boxHeight - winHeight, 0);
|
||||
var imageHeightMin = this.boxHeight + (maxOffset - minOffset) * (1 - this.speed) | 0;
|
||||
var imageOffsetMin = (this.boxOffsetTop - maxOffset) * (1 - this.speed) | 0;
|
||||
var margin;
|
||||
|
||||
if (imageHeightMin * this.aspectRatio >= this.boxWidth) {
|
||||
this.imageWidth = imageHeightMin * this.aspectRatio | 0;
|
||||
this.imageHeight = imageHeightMin;
|
||||
this.offsetBaseTop = imageOffsetMin;
|
||||
|
||||
var margin = this.imageWidth - this.boxWidth;
|
||||
margin = this.imageWidth - this.boxWidth;
|
||||
|
||||
if (this.positionX == 'left') {
|
||||
this.offsetLeft = 0;
|
||||
@@ -203,7 +204,7 @@
|
||||
this.imageHeight = this.boxWidth / this.aspectRatio | 0;
|
||||
this.offsetLeft = 0;
|
||||
|
||||
var margin = this.imageHeight - imageHeightMin;
|
||||
margin = this.imageHeight - imageHeightMin;
|
||||
|
||||
if (this.positionY == 'top') {
|
||||
this.offsetBaseTop = imageOffsetMin;
|
||||
@@ -233,19 +234,15 @@
|
||||
}
|
||||
|
||||
this.$mirror.css({
|
||||
transform: 'translate3d(0px, 0px, 0px)',
|
||||
transform: 'translate3d('+this.mirrorLeft+'px, '+(this.mirrorTop - overScroll)+'px, 0px)',
|
||||
visibility: this.visibility,
|
||||
top: this.mirrorTop - overScroll,
|
||||
left: this.mirrorLeft,
|
||||
height: this.boxHeight,
|
||||
width: this.boxWidth
|
||||
});
|
||||
|
||||
this.$slider.css({
|
||||
transform: 'translate3d(0px, 0px, 0px)',
|
||||
transform: 'translate3d('+this.offsetLeft+'px, '+this.offsetTop+'px, 0px)',
|
||||
position: 'absolute',
|
||||
top: this.offsetTop,
|
||||
left: this.offsetLeft,
|
||||
height: this.imageHeight,
|
||||
width: this.imageWidth,
|
||||
maxWidth: 'none'
|
||||
@@ -271,6 +268,8 @@
|
||||
setup: function() {
|
||||
if (this.isReady) return;
|
||||
|
||||
var self = this;
|
||||
|
||||
var $doc = $(document), $win = $(window);
|
||||
|
||||
var loadDimensions = function() {
|
||||
@@ -291,6 +290,7 @@
|
||||
|
||||
$win.on('resize.px.parallax load.px.parallax', function() {
|
||||
loadDimensions();
|
||||
self.refresh();
|
||||
Parallax.isFresh = false;
|
||||
Parallax.requestRender();
|
||||
})
|
||||
@@ -303,6 +303,20 @@
|
||||
loadScrollPosition();
|
||||
|
||||
this.isReady = true;
|
||||
|
||||
var lastPosition = -1;
|
||||
|
||||
function frameLoop() {
|
||||
if (lastPosition == window.pageYOffset) { // Avoid overcalculations
|
||||
window.requestAnimationFrame(frameLoop);
|
||||
return false;
|
||||
} else lastPosition = window.pageYOffset;
|
||||
|
||||
self.render();
|
||||
window.requestAnimationFrame(frameLoop);
|
||||
}
|
||||
|
||||
frameLoop();
|
||||
},
|
||||
|
||||
configure: function(options) {
|
||||
@@ -314,25 +328,19 @@
|
||||
},
|
||||
|
||||
refresh: function() {
|
||||
$.each(this.sliders, function(){ this.refresh() });
|
||||
$.each(this.sliders, function(){ this.refresh(); });
|
||||
this.isFresh = true;
|
||||
},
|
||||
|
||||
render: function() {
|
||||
this.isFresh || this.refresh();
|
||||
$.each(this.sliders, function(){ this.render() });
|
||||
$.each(this.sliders, function(){ this.render(); });
|
||||
},
|
||||
|
||||
requestRender: function() {
|
||||
var self = this;
|
||||
|
||||
if (!this.isBusy) {
|
||||
this.isBusy = true;
|
||||
window.requestAnimationFrame(function() {
|
||||
self.render();
|
||||
self.isBusy = false;
|
||||
});
|
||||
}
|
||||
self.render();
|
||||
self.isBusy = false;
|
||||
},
|
||||
destroy: function(el){
|
||||
var i,
|
||||
@@ -373,13 +381,13 @@
|
||||
}
|
||||
if (typeof option == 'string') {
|
||||
if(option == 'destroy'){
|
||||
Parallax['destroy'](this);
|
||||
Parallax.destroy(this);
|
||||
}else{
|
||||
Parallax[option]();
|
||||
}
|
||||
}
|
||||
})
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
var old = $.fn.parallax;
|
||||
|
||||
@@ -397,8 +405,8 @@
|
||||
|
||||
// Parallax Data-API
|
||||
|
||||
$(document).on('ready.px.parallax.data-api', function () {
|
||||
$('[data-parallax="scroll"]').parallax();
|
||||
$( function () {
|
||||
$('[data-parallax="scroll"]').parallax();
|
||||
});
|
||||
|
||||
}(jQuery, window, document));
|
||||
|
||||
@@ -12,11 +12,10 @@ particlesJS.load('particles-js', 'particles.json', function() {
|
||||
/* Otherwise just put the config content (json): */
|
||||
|
||||
particlesJS('particles-js',
|
||||
|
||||
{
|
||||
"particles": {
|
||||
"number": {
|
||||
"value": 120,
|
||||
"value": 80,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 800
|
||||
@@ -32,7 +31,7 @@ particlesJS('particles-js',
|
||||
"color": "#000000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 5
|
||||
"nb_sides": 1
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
@@ -41,7 +40,7 @@ particlesJS('particles-js',
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": 0.5,
|
||||
"value": 0.4,
|
||||
"random": false,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
@@ -51,7 +50,7 @@ particlesJS('particles-js',
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 3,
|
||||
"value": 5,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
@@ -64,12 +63,12 @@ particlesJS('particles-js',
|
||||
"enable": true,
|
||||
"distance": 150,
|
||||
"color": "#ffffff",
|
||||
"opacity": 0.4,
|
||||
"opacity": 0.2,
|
||||
"width": 1
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 6,
|
||||
"speed": 1,
|
||||
"direction": "none",
|
||||
"random": false,
|
||||
"straight": false,
|
||||
@@ -86,18 +85,18 @@ particlesJS('particles-js',
|
||||
"detect_on": "canvas",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": true,
|
||||
"mode": "grab"
|
||||
"enable": false,
|
||||
"mode": "repulse"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": true,
|
||||
"enable": false,
|
||||
"mode": "push"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 175,
|
||||
"distance": 400,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
<br />
|
||||
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<div class="responsive-show" style="display: none;"> {L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT search_results_last_post_author_username_prepend -->{searchresults.LAST_POST_AUTHOR_FULL}<!-- EVENT search_results_last_post_author_username_append --> « <a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{searchresults.LAST_POST_TIME}</a>
|
||||
<div class="responsive-show" style="display: none;"> {L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT search_results_last_post_author_username_prepend -->{searchresults.LAST_POST_AUTHOR_FULL}<!-- EVENT search_results_last_post_author_username_append --> « <a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}"><time datetime="{searchresults.LAST_POST_TIME_RFC3339}">{searchresults.LAST_POST_TIME}</time></a>
|
||||
<br />{L_POSTED} {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>
|
||||
</div>
|
||||
<!-- IF searchresults.TOPIC_REPLIES --><span class="responsive-show left-box" style="display: none;">{L_REPLIES}{L_COLON} <strong>{searchresults.TOPIC_REPLIES}</strong></span><!-- ENDIF -->
|
||||
|
||||
@@ -205,8 +205,11 @@
|
||||
<!-- EVENT topiclist_row_topic_title_after -->
|
||||
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<div class="responsive-show" style="display: none;">
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_last_post_author_username_prepend -->{topicrow.LAST_POST_AUTHOR_FULL}<!-- EVENT viewforum_body_last_post_author_username_append --> « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>
|
||||
<div class="responsive-show clutter" style="display: none;">
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_last_post_author_username_prepend -->{topicrow.LAST_POST_AUTHOR_FULL}<!-- EVENT viewforum_body_last_post_author_username_append -->
|
||||
<!--
|
||||
« <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}"><time datetime="{topicrow.LAST_POST_TIME_RFC3339}">{topicrow.LAST_POST_TIME}</time></a>
|
||||
-->
|
||||
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --><br />{L_POSTED} {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- IF topicrow.REPLIES -->
|
||||
@@ -216,7 +219,7 @@
|
||||
|
||||
<div class="topic-poster responsive-hide left-box">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_topic_author_username_prepend -->{topicrow.TOPIC_AUTHOR_FULL} <!-- EVENT viewforum_body_topic_author_username_append --> <span class="clutter">» {topicrow.FIRST_POST_TIME}<!-- EVENT viewforum_body_topic_author_username_append --></span>
|
||||
{L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_topic_author_username_prepend -->{topicrow.TOPIC_AUTHOR_FULL} <!-- EVENT viewforum_body_topic_author_username_append --> <span class="clutter">» <time datetime="{topicrow.FIRST_POST_TIME_RFC3339}">{topicrow.FIRST_POST_TIME}</time></span>
|
||||
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --> » {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
@@ -248,7 +251,7 @@
|
||||
<i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{VIEW_LATEST_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />{topicrow.LAST_POST_TIME}
|
||||
<br /><time datetime="{topicrow.LAST_POST_TIME_RFC3339}">{topicrow.LAST_POST_TIME}</time>
|
||||
</span>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- EVENT viewtopic_topic_title_before -->
|
||||
|
||||
<div class="postprofile_container<!-- IF STYLE_SETTINGS_CONFIG_POSTPROFILE_SIDE --> postprofile_{STYLE_SETTINGS_CONFIG_POSTPROFILE_SIDE}<!-- ENDIF --><!-- IF STYLE_SETTINGS_CONFIG_POSTPROFILE_ORIENTATION --> postprofile_{STYLE_SETTINGS_CONFIG_POSTPROFILE_ORIENTATION}<!-- ENDIF -->">
|
||||
|
||||
|
||||
<h2 class="topic-title"><!-- EVENT viewtopic_topic_title_prepend --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- EVENT viewtopic_topic_title_append --></h2>
|
||||
<!-- EVENT viewtopic_topic_title_after -->
|
||||
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
|
||||
@@ -154,11 +154,11 @@
|
||||
</div>
|
||||
<!-- EVENT viewtopic_body_post_author_before -->
|
||||
<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
|
||||
<!-- IF postrow.S_ONLINE and not postrow.S_POST_HIDDEN --> <i class="icon fa-circle online_indicator tooltip" title="{L_ONLINE}"></i><!-- ENDIF -->
|
||||
<!-- IF postrow.S_ONLINE and not postrow.S_POST_HIDDEN --> <i class="icon fa-circle online_indicator tooltip" title="{L_ONLINE}"></i><!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_post_author_after -->
|
||||
</dt>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_rank_before -->
|
||||
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd class="profile-rank">{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_postrow_rank_after -->
|
||||
@@ -230,7 +230,7 @@
|
||||
<div id="post_content{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->>
|
||||
|
||||
<!-- EVENT viewtopic_body_post_subject_before -->
|
||||
<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="{postrow.POST_ICON_IMG_ALT}" title="{postrow.POST_ICON_IMG_ALT}" /> <!-- ENDIF --><!-- <a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a> --></h3>
|
||||
<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="{postrow.POST_ICON_IMG_ALT}" title="{postrow.POST_ICON_IMG_ALT}" /> <!-- ENDIF --><!-- <a href="{postrow.U_MINI_POST}">{postrow.POST_SUBJECT}</a> --></h3>
|
||||
|
||||
<!-- DEFINE $SHOW_POST_BUTTONS = (postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE) -->
|
||||
<!-- EVENT viewtopic_body_post_buttons_list_before -->
|
||||
@@ -293,13 +293,14 @@
|
||||
<!-- ELSE -->
|
||||
<!-- IF postrow.S_UNREAD_POST -->
|
||||
<i class="icon fa-circle fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}"><i class="icon fa-clock-o"></i> {postrow.POST_DATE}</a>
|
||||
<a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}"><i class="icon fa-clock-o"></i> <time datetime="{postrow.POST_DATE_RFC3339}">{postrow.POST_DATE}</time></a>
|
||||
</p>
|
||||
<!-- EVENT viewtopic_body_postrow_post_details_after -->
|
||||
|
||||
<!-- IF postrow.S_POST_UNAPPROVED -->
|
||||
<!-- IF postrow.S_CAN_APPROVE -->
|
||||
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
|
||||
<p class="post-notice unapproved">
|
||||
<span><i class="icon fa-question icon-red fa-fw" aria-hidden="true"></i></span>
|
||||
@@ -310,6 +311,12 @@
|
||||
{S_FORM_TOKEN}
|
||||
</p>
|
||||
</form>
|
||||
<!-- ELSE -->
|
||||
<p class="post-notice unapproved">
|
||||
<span><i class="icon fa-exclamation icon-red fa-fw" aria-hidden="true"></i></span>
|
||||
<strong>{L_POST_UNAPPROVED_EXPLAIN}</strong>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
<!-- ELSEIF postrow.S_POST_DELETED -->
|
||||
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
|
||||
<p class="post-notice deleted">
|
||||
@@ -382,7 +389,7 @@
|
||||
</div>
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_post_after -->
|
||||
|
||||
|
||||
<!-- END postrow -->
|
||||
|
||||
</div>
|
||||
@@ -467,12 +474,12 @@
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<ul class="topiclist forums">
|
||||
<li class="row">
|
||||
<li class="row">
|
||||
<div class="stat-block online-list">
|
||||
<h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3>
|
||||
<p>{LOGGED_IN_USER_LIST}</p>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -480,4 +487,4 @@
|
||||
|
||||
</div>
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
|
||||
Reference in New Issue
Block a user