Merge pull request #5753 from hanakin/ticket/16237
[ticket/16237] Overhaul icons to use Twig function
1
.gitignore
vendored
|
@ -16,7 +16,6 @@
|
|||
/phpBB/store/*
|
||||
/phpBB/styles/*
|
||||
!/phpBB/styles/prosilver
|
||||
/phpBB/styles/prosilver/theme/*/
|
||||
!/phpBB/styles/prosilver/theme/en
|
||||
!/phpBB/styles/prosilver/theme/images
|
||||
!/phpBB/styles/all
|
||||
|
|
|
@ -1052,11 +1052,11 @@ phpbb.addAjaxCallback('alt_text', function() {
|
|||
* and changes the link itself.
|
||||
*/
|
||||
phpbb.addAjaxCallback('toggle_link', function() {
|
||||
var $anchor,
|
||||
updateAll = $(this).data('update-all') ,
|
||||
toggleText,
|
||||
toggleUrl,
|
||||
toggleClass;
|
||||
var $anchor;
|
||||
var updateAll = $(this).data('update-all');
|
||||
var toggleText;
|
||||
var toggleUrl;
|
||||
var toggleIcon;
|
||||
|
||||
if (updateAll !== undefined && updateAll.length) {
|
||||
$anchor = $(updateAll);
|
||||
|
@ -1067,21 +1067,19 @@ phpbb.addAjaxCallback('toggle_link', function() {
|
|||
$anchor.each(function() {
|
||||
var $this = $(this);
|
||||
|
||||
// Toggle link text
|
||||
toggleText = $.trim($this.attr('data-toggle-text'));
|
||||
$this.attr('data-toggle-text', $.trim($this.children('span').text()));
|
||||
$this.attr('title', toggleText);
|
||||
$this.children('span').last().text(toggleText);
|
||||
|
||||
// Toggle link url
|
||||
toggleUrl = $this.attr('data-toggle-url');
|
||||
$this.attr('data-toggle-url', $this.attr('href'));
|
||||
$this.attr('href', toggleUrl);
|
||||
|
||||
// Toggle class of link parent
|
||||
toggleClass = $this.attr('data-toggle-class');
|
||||
$this.attr('data-toggle-class', $this.children().attr('class'));
|
||||
$this.children('.icon').attr('class', toggleClass);
|
||||
|
||||
// Toggle link text
|
||||
toggleText = $this.attr('data-toggle-text');
|
||||
$this.attr('data-toggle-text', $this.children('span').text());
|
||||
$this.attr('title', $.trim(toggleText));
|
||||
$this.children('span').text(toggleText);
|
||||
// Toggle Icon
|
||||
$this.children().first().toggleClass('is-active').next().toggleClass('is-active')
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -1381,7 +1379,7 @@ phpbb.dropdownVisibleContainers = '.dropdown-container.dropdown-visible';
|
|||
* Dropdown toggle event handler
|
||||
* This handler is used by phpBB.registerDropdown() and other functions
|
||||
*/
|
||||
phpbb.toggleDropdown = function() {
|
||||
phpbb.toggleDropdown = function(event_) {
|
||||
var $this = $(this),
|
||||
options = $this.data('dropdown-options'),
|
||||
parent = options.parent,
|
||||
|
@ -1389,6 +1387,9 @@ phpbb.toggleDropdown = function() {
|
|||
direction;
|
||||
|
||||
if (!visible) {
|
||||
// Prevent link default action
|
||||
event_.preventDefault();
|
||||
event_.stopPropagation();
|
||||
// Hide other dropdown menus
|
||||
$(phpbb.dropdownHandles).each(phpbb.toggleDropdown);
|
||||
|
||||
|
|
|
@ -3933,6 +3933,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
|||
'CURRENT_USER_AVATAR' => phpbb_get_user_avatar($user->data),
|
||||
'CURRENT_USERNAME_SIMPLE' => get_username_string('no_profile', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),
|
||||
'CURRENT_USERNAME_FULL' => get_username_string('full', $user->data['user_id'], $user->data['username'], $user->data['user_colour']),
|
||||
'CURRENT_USER_GROUP_COLOR' => $user->data['user_colour'],
|
||||
'UNREAD_NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
|
||||
'NOTIFICATIONS_COUNT' => ($notifications !== false) ? $notifications['unread_count'] : '',
|
||||
'U_VIEW_ALL_NOTIFICATIONS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=ucp_notifications'),
|
||||
|
|
|
@ -270,11 +270,17 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
|
|||
'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $row_ary['forum_id']) && $row_ary['topic_attachment']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
|
||||
'TOPIC_IMG_STYLE' => $folder_img,
|
||||
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
|
||||
'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt],
|
||||
'TOPIC_ICON_IMG' => (!empty($icons[$row_ary['icon_id']])) ? $icons[$row_ary['icon_id']]['img'] : '',
|
||||
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row_ary['icon_id']])) ? $icons[$row_ary['icon_id']]['width'] : '',
|
||||
'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row_ary['icon_id']])) ? $icons[$row_ary['icon_id']]['height'] : '',
|
||||
'UNAPPROVED_IMG' => ($topic_unapproved || $posts_unapproved) ? $user->img('icon_topic_unapproved', ($topic_unapproved) ? 'TOPIC_UNAPPROVED' : 'POSTS_UNAPPROVED') : '',
|
||||
'DELETED_IMG' => ($topic_deleted) ? $user->img('icon_topic_deleted', 'TOPIC_DELETED') : '',
|
||||
'S_POST_ANNOUNCE' => ($row['topic_type'] == POST_ANNOUNCE) ? true : false,
|
||||
'S_POST_GLOBAL' => ($row['topic_type'] == POST_GLOBAL) ? true : false,
|
||||
'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false,
|
||||
'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false,
|
||||
'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false,
|
||||
|
||||
'TOPIC_AUTHOR' => get_username_string('username', $row_ary['topic_poster'], $row_ary['topic_first_poster_name'], $row_ary['topic_first_poster_colour']),
|
||||
'TOPIC_AUTHOR_COLOUR' => get_username_string('colour', $row_ary['topic_poster'], $row_ary['topic_first_poster_name'], $row_ary['topic_first_poster_colour']),
|
||||
|
|
|
@ -246,6 +246,7 @@ function mcp_post_details($id, $mode, $action)
|
|||
'U_VIEW_TOPIC' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $post_info['forum_id'] . '&t=' . $post_info['topic_id']),
|
||||
|
||||
'MINI_POST_IMG' => ($post_unread) ? $user->img('icon_post_target_unread', 'UNREAD_POST') : $user->img('icon_post_target', 'POST'),
|
||||
'MINI_POST' => ($post_unread) ? $user->lang['UNREAD_POST'] : $user->lang['POST'],
|
||||
|
||||
'RETURN_TOPIC' => sprintf($user->lang['RETURN_TOPIC'], '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f={$post_info['forum_id']}&p=$post_id") . "#p$post_id\">", '</a>'),
|
||||
'RETURN_FORUM' => sprintf($user->lang['RETURN_FORUM'], '<a href="' . append_sid("{$phpbb_root_path}viewforum.$phpEx", "f={$post_info['forum_id']}&start={$start}") . '">', '</a>'),
|
||||
|
|
|
@ -977,6 +977,11 @@ class ucp_main
|
|||
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '',
|
||||
'TOPIC_ICON_IMG_HEIGHT' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['height'] : '',
|
||||
'ATTACH_ICON_IMG' => ($auth->acl_get('u_download') && $auth->acl_get('f_download', $forum_id) && $row['topic_attachment']) ? $user->img('icon_topic_attach', $user->lang['TOTAL_ATTACHMENTS']) : '',
|
||||
'S_POST_ANNOUNCE' => ($row['topic_type'] == POST_ANNOUNCE) ? true : false,
|
||||
'S_POST_GLOBAL' => ($row['topic_type'] == POST_GLOBAL) ? true : false,
|
||||
'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false,
|
||||
'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false,
|
||||
'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false,
|
||||
|
||||
'S_TOPIC_TYPE' => $row['topic_type'],
|
||||
'S_USER_POSTED' => (!empty($row['topic_posted'])) ? true : false,
|
||||
|
|
|
@ -165,6 +165,7 @@ class icon extends \Twig\Extension\AbstractExtension
|
|||
'ICON' => (string) $icon,
|
||||
'SOURCE' => (string) $source,
|
||||
'TITLE' => (string) $title,
|
||||
'TITLE_ID' => $title && $type === 'svg' ? unique_id() : '',
|
||||
'VIEW_BOX' => (string) $view_box,
|
||||
'S_HIDDEN' => (bool) $hidden,
|
||||
]);
|
||||
|
@ -258,7 +259,7 @@ class icon extends \Twig\Extension\AbstractExtension
|
|||
* 'lock': topicrow.S_TOPIC_LOCKED,
|
||||
* 'fire': topicrow.S_TOPIC_HOT,
|
||||
* 'file': true,
|
||||
* }, 'MY_TITLE', true) }}
|
||||
* }, lang('MY_TITLE'), true) }}
|
||||
*
|
||||
* @param array $icons Array of icons and their booleans
|
||||
* @return string The first 'true' icon
|
||||
|
|
|
@ -1122,6 +1122,11 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
|||
'TOPIC_IMG_STYLE' => $folder_img,
|
||||
'TOPIC_FOLDER_IMG' => $user->img($folder_img, $folder_alt),
|
||||
'TOPIC_FOLDER_IMG_ALT' => $user->lang[$folder_alt],
|
||||
'S_POST_ANNOUNCE' => ($row['topic_type'] == POST_ANNOUNCE) ? true : false,
|
||||
'S_POST_GLOBAL' => ($row['topic_type'] == POST_GLOBAL) ? true : false,
|
||||
'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false,
|
||||
'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false,
|
||||
'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false,
|
||||
|
||||
'TOPIC_ICON_IMG' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['img'] : '',
|
||||
'TOPIC_ICON_IMG_WIDTH' => (!empty($icons[$row['icon_id']])) ? $icons[$row['icon_id']]['width'] : '',
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
{% spaceless %}
|
||||
<i class="o-icon o-icon-font fa-{{ ICON ~ (CLASSES ? ' ' ~ CLASSES) }}"{% if S_HIDDEN %}{% if TITLE %} title="{{ lang(TITLE) }}"{% endif %} aria-hidden="true"{% endif %}{{ ATTRIBUTES }}></i>
|
||||
{% if TITLE %}<span{% if S_HIDDEN %} class="sr-only"{% endif %}>{{ lang(TITLE) }}</span>{% endif %}
|
||||
{% endspaceless %}
|
||||
{% apply spaceless %}
|
||||
<i class="o-icon o-icon-font fa-{{ ICON ~ (CLASSES ? ' ' ~ CLASSES) }}"{% if S_HIDDEN %}{% if TITLE %} title="{{ TITLE }}"{% endif %} aria-hidden="true"{% endif %}{{ ATTRIBUTES }}></i>{% if TITLE %}<span{% if S_HIDDEN %} class="sr-only"{% endif %}>{{ lang(TITLE) }}</span>{% endif %}
|
||||
{% endapply %}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% spaceless %}
|
||||
<i class="iconify o-icon-src-{{ SOURCE }} o-icon{{ CLASSES ? ' ' ~ CLASSES }}"{% if S_HIDDEN %}{% if TITLE %} title="{{ lang(TITLE) }}"{% endif %} aria-hidden="true"{% endif %} data-icon="{{ ICON }}" data-inline="true"{{ ATTRIBUTES }}></i>
|
||||
{% if TITLE %}<span{% if S_HIDDEN %} class="sr-only"{% endif %}>{{ lang(TITLE) }}</span>{% endif %}
|
||||
{% endspaceless %}
|
||||
{% apply spaceless %}
|
||||
<i class="iconify o-icon-src-{{ SOURCE }} o-icon{{ CLASSES ? ' ' ~ CLASSES }}"{% if S_HIDDEN %}{% if TITLE %} title="{{ TITLE }}"{% endif %} aria-hidden="true"{% endif %} data-icon="{{ ICON }}" data-inline="true"{{ ATTRIBUTES }}></i>
|
||||
{% if TITLE %}<span{% if S_HIDDEN %} class="sr-only"{% endif %}>{{ TITLE }}</span>{% endif %}
|
||||
{% endapply %}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{% spaceless %}
|
||||
<img class="o-icon o-icon-png png-{{ ICON ~ (CLASSES ? ' ' ~ CLASSES) }}" src="{{ SOURCE }}" alt="{{ lang(TITLE) }}"{{ ATTRIBUTES }} />
|
||||
{% endspaceless %}
|
||||
{% apply spaceless %}
|
||||
<img class="o-icon o-icon-png png-{{ ICON ~ (CLASSES ? ' ' ~ CLASSES) }}" src="{{ SOURCE }}" alt="{{ TITLE }}"{{ ATTRIBUTES }} />
|
||||
{% endapply %}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{% spaceless %}
|
||||
{% set TITLE_ID = TITLE ? TITLE|lower|replace({' ': '_'}) ~ '-' ~ random() %}
|
||||
|
||||
{% apply spaceless %}
|
||||
<svg class="o-icon o-icon-svg svg-{{ ICON ~ (CLASSES ? ' ' ~ CLASSES) }}" xmlns="http://www.w3.org/2000/svg" viewBox="{{ VIEW_BOX }}"{% if TITLE %}{% if S_HIDDEN %} aria-hidden="true"{% endif %} aria-labelledby="{{ TITLE_ID }}"{% endif %} role="img"{{ ATTRIBUTES }}>
|
||||
{% if TITLE %}<title id="{{ TITLE_ID }}">{{ lang(TITLE) }}</title>{% endif %}
|
||||
{% if TITLE %}<title id="{{ TITLE_ID }}">{{ TITLE }}</title>{% endif %}
|
||||
|
||||
{{ SOURCE }}
|
||||
</svg>
|
||||
{% endspaceless %}
|
||||
{% endapply %}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<div class="dropdown-container dropdown-container-left dropdown-button-control sort-tools">
|
||||
<span title="{L_SORT_OPTIONS}" class="button button-secondary dropdown-trigger dropdown-select">
|
||||
<i class="icon fa-sort-amount-asc fa-fw" aria-hidden="true"></i>
|
||||
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
|
||||
{{ Icon('iconify', 'fa:sort-amount-asc', '', true, 'c-button-icon') }}
|
||||
<span class="caret">
|
||||
{{ Icon('iconify', 'fa:caret-down', '', true, 'c-button-icon') }}
|
||||
</span>
|
||||
</span>
|
||||
<div class="dropdown hidden">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<dd>{faq_block.faq_row.FAQ_ANSWER}</dd>
|
||||
</dl>
|
||||
<a href="#faqlinks" class="top">
|
||||
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i><span>{L_BACK_TO_TOP}</span>
|
||||
{{ Icon('iconify', 'fa:chevron-circle-up', lang('BACK_TO_TOP'), false) }}
|
||||
</a>
|
||||
<!-- IF not faq_block.faq_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF -->
|
||||
<!-- END faq_row -->
|
||||
|
|
|
@ -329,17 +329,6 @@ function parseDocument($container) {
|
|||
}, 100);
|
||||
});
|
||||
|
||||
/**
|
||||
* Adjust HTML code for IE8 and older versions
|
||||
*/
|
||||
// if (oldBrowser) {
|
||||
// // Fix .linklist.bulletin lists
|
||||
// $container
|
||||
// .find('ul.linklist.bulletin > li')
|
||||
// .filter(':first-child, .rightside:last-child')
|
||||
// .addClass('no-bulletin');
|
||||
// }
|
||||
|
||||
/**
|
||||
* Resize navigation (breadcrumbs) block to keep all links on same line
|
||||
*/
|
||||
|
@ -445,180 +434,6 @@ function parseDocument($container) {
|
|||
$(window).resize(check);
|
||||
});
|
||||
|
||||
/**
|
||||
* Responsive link lists
|
||||
*/
|
||||
var selector = '.linklist:not(.navlinks, [data-skip-responsive]),' +
|
||||
'.postbody .post-buttons:not([data-skip-responsive])';
|
||||
$container.find(selector).each(function() {
|
||||
var $this = $(this),
|
||||
filterSkip = '.breadcrumbs, [data-skip-responsive]',
|
||||
filterLast = '.edit-icon, .quote-icon, [data-last-responsive]',
|
||||
$linksAll = $this.children(),
|
||||
$linksNotSkip = $linksAll.not(filterSkip), // All items that can potentially be hidden
|
||||
$linksFirst = $linksNotSkip.not(filterLast), // The items that will be hidden first
|
||||
$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></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 occurred.
|
||||
|
||||
// Add a hidden drop-down menu to each links list (except those that already have one)
|
||||
if (!persistent) {
|
||||
if ($linksNotSkip.is('.rightside')) {
|
||||
$linksNotSkip.filter('.rightside:first').before(html);
|
||||
$this.children('.responsive-menu').addClass('rightside');
|
||||
} else {
|
||||
$this.append(html);
|
||||
}
|
||||
}
|
||||
|
||||
// Set some object references and initial states
|
||||
var $menu = $this.children('.responsive-menu'),
|
||||
$menuContents = $menu.find('.dropdown-contents'),
|
||||
persistentContent = $menuContents.find('li:not(.separator)').length,
|
||||
lastWidth = false,
|
||||
compact = false,
|
||||
responsive1 = false,
|
||||
responsive2 = false,
|
||||
copied1 = false,
|
||||
copied2 = false,
|
||||
maxHeight = 0;
|
||||
|
||||
// Find the tallest element in the list (we assume that all elements are roughly the same height)
|
||||
$linksAll.each(function() {
|
||||
if (!$(this).height()) {
|
||||
return;
|
||||
}
|
||||
maxHeight = Math.max(maxHeight, $(this).outerHeight(true));
|
||||
});
|
||||
if (maxHeight < 1) {
|
||||
return; // Shouldn't be possible, but just in case, abort
|
||||
} else {
|
||||
maxHeight = maxHeight + slack;
|
||||
}
|
||||
|
||||
function check() {
|
||||
var width = $body.width();
|
||||
// We can't make it any smaller than this, so just skip
|
||||
if (responsive2 && compact && (width <= lastWidth)) {
|
||||
return;
|
||||
}
|
||||
lastWidth = width;
|
||||
|
||||
// Reset responsive and compact layout
|
||||
if (responsive1 || responsive2) {
|
||||
$linksNotSkip.removeClass('hidden');
|
||||
$menuContents.children('.clone').addClass('hidden');
|
||||
responsive1 = responsive2 = false;
|
||||
}
|
||||
if (compact) {
|
||||
$this.removeClass('compact');
|
||||
compact = false;
|
||||
}
|
||||
|
||||
// Unhide the quick-links menu if it has "persistent" content
|
||||
if (persistent && persistentContent) {
|
||||
$menu.removeClass('hidden');
|
||||
} else {
|
||||
$menu.addClass('hidden');
|
||||
}
|
||||
|
||||
// Nothing to resize if block's height is not bigger than tallest element's height
|
||||
if ($this.height() <= maxHeight) {
|
||||
return;
|
||||
}
|
||||
|
||||
// STEP 1: Compact
|
||||
if (!compact) {
|
||||
$this.addClass('compact');
|
||||
compact = true;
|
||||
}
|
||||
if ($this.height() <= maxHeight) {
|
||||
return;
|
||||
}
|
||||
|
||||
// STEP 2: First responsive set - compact
|
||||
if (compact) {
|
||||
$this.removeClass('compact');
|
||||
compact = false;
|
||||
}
|
||||
// Copy the list items to the dropdown
|
||||
if (!copied1) {
|
||||
var $clones1 = $linksFirst.clone();
|
||||
$menuContents.prepend($clones1.addClass('clone clone-first').removeClass('leftside rightside'));
|
||||
|
||||
if ($this.hasClass('post-buttons')) {
|
||||
$('.button', $menuContents).removeClass('button');
|
||||
$('.sr-only', $menuContents).removeClass('sr-only');
|
||||
$('.js-responsive-menu-link').addClass('button').addClass('button-icon-only');
|
||||
$('.js-responsive-menu-link .icon').removeClass('fa-bars').addClass('fa-ellipsis-h');
|
||||
}
|
||||
copied1 = true;
|
||||
}
|
||||
if (!responsive1) {
|
||||
$linksFirst.addClass('hidden');
|
||||
responsive1 = true;
|
||||
$menuContents.children('.clone-first').removeClass('hidden');
|
||||
$menu.removeClass('hidden');
|
||||
}
|
||||
if ($this.height() <= maxHeight) {
|
||||
return;
|
||||
}
|
||||
|
||||
// STEP 3: First responsive set + compact
|
||||
if (!compact) {
|
||||
$this.addClass('compact');
|
||||
compact = true;
|
||||
}
|
||||
if ($this.height() <= maxHeight) {
|
||||
return;
|
||||
}
|
||||
|
||||
// STEP 4: Last responsive set - compact
|
||||
if (!$linksLast.length) {
|
||||
return; // No other links to hide, can't do more
|
||||
}
|
||||
if (compact) {
|
||||
$this.removeClass('compact');
|
||||
compact = false;
|
||||
}
|
||||
// Copy the list items to the dropdown
|
||||
if (!copied2) {
|
||||
var $clones2 = $linksLast.clone();
|
||||
$menuContents.prepend($clones2.addClass('clone clone-last').removeClass('leftside rightside'));
|
||||
copied2 = true;
|
||||
}
|
||||
if (!responsive2) {
|
||||
$linksLast.addClass('hidden');
|
||||
responsive2 = true;
|
||||
$menuContents.children('.clone-last').removeClass('hidden');
|
||||
}
|
||||
if ($this.height() <= maxHeight) {
|
||||
return;
|
||||
}
|
||||
|
||||
// STEP 5: Last responsive set + compact
|
||||
if (!compact) {
|
||||
$this.addClass('compact');
|
||||
compact = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!persistent) {
|
||||
phpbb.registerDropdown($menu.find('a.js-responsive-menu-link'), $menu.find('.dropdown'), false);
|
||||
}
|
||||
|
||||
// If there are any images in the links list, run the check again after they have loaded
|
||||
$linksAll.find('img').each(function() {
|
||||
$(this).on('load', function() {
|
||||
check();
|
||||
});
|
||||
});
|
||||
|
||||
check();
|
||||
$(window).resize(check);
|
||||
});
|
||||
|
||||
/**
|
||||
* Do not run functions below for old browsers
|
||||
*/
|
||||
|
|
|
@ -31,14 +31,21 @@
|
|||
<!-- EVENT forumlist_body_forum_row_before -->
|
||||
<li class="row">
|
||||
<!-- EVENT forumlist_body_forum_row_prepend -->
|
||||
<dl class="row-item {forumrow.FORUM_IMG_STYLE}">
|
||||
<dl class="row-item">
|
||||
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
|
||||
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<a class="row-item-link{% if forumrow.S_UNREAD_FORUM %} unread{% else %} read{% endif %}" href="{forumrow.U_VIEWFORUM}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:link-variant' : forumrow.S_IS_LINK,
|
||||
'mdi:lock' : forumrow.S_LOCKED_FORUM,
|
||||
'mdi:file-document-box-multiple-outline' : forumrow.S_SUBFORUMS,
|
||||
'mdi:file-document-box-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
<div class="list-inner">
|
||||
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED -->
|
||||
<!--
|
||||
<a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}">
|
||||
<i class="icon fa-rss-square fa-fw icon-orange" aria-hidden="true"></i><span class="sr-only">{L_FEED} - {forumrow.FORUM_NAME}</span>
|
||||
{{ Icon('iconify', 'fa:rss-square', '', true, 'c-feed-icon') }}<span class="sr-only">{L_FEED} - {forumrow.FORUM_NAME}</span>
|
||||
</a>
|
||||
-->
|
||||
<!-- ENDIF -->
|
||||
|
@ -59,7 +66,11 @@
|
|||
<!-- BEGIN subforum -->
|
||||
<!-- EVENT forumlist_body_subforum_link_prepend -->
|
||||
<a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.S_UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">
|
||||
<i class="icon <!-- IF forumrow.subforum.IS_LINK -->fa-external-link<!-- ELSE -->fa-file-o<!-- ENDIF --> fa-fw <!-- IF forumrow.subforum.S_UNREAD --> icon-red<!-- ELSE --> icon-blue<!-- ENDIF --> icon-md" aria-hidden="true"></i>{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF -->
|
||||
{{ Icon('iconify', {
|
||||
'fa:external-link' : forumrow.subforum.IS_LINK,
|
||||
'fa:file-o' : true,
|
||||
}, forumrow.subforum.SUBFORUM_NAME, false, 'c-subforum-icon') }}
|
||||
</a>{% if not forumrow.subforum.S_LAST_ROW %}{L_COMMA_SEPARATOR}{% endif %}
|
||||
<!-- EVENT forumlist_body_subforum_link_append -->
|
||||
<!-- END subforum -->
|
||||
</span>
|
||||
|
@ -86,11 +97,11 @@
|
|||
<span>
|
||||
<!-- IF forumrow.U_UNAPPROVED_TOPICS -->
|
||||
<a href="{forumrow.U_UNAPPROVED_TOPICS}" title="{L_TOPICS_UNAPPROVED}">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPICS_UNAPPROVED}</span>
|
||||
{{ Icon('iconify', 'mdi:alert-decagram', lang('TOPICS_UNAPPROVED'), true, 'c-unapproved-icon') }}
|
||||
</a>
|
||||
<!-- ELSEIF forumrow.U_UNAPPROVED_POSTS -->
|
||||
<a href="{forumrow.U_UNAPPROVED_POSTS}" title="{L_POSTS_UNAPPROVED_FORUM}">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_POSTS_UNAPPROVED_FORUM}</span>
|
||||
{{ Icon('iconify', 'mdi:alert-decagram', lang('POSTS_UNAPPROVED_FORUM'), true, 'c-unapproved-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.LAST_POST_TIME -->
|
||||
|
@ -102,7 +113,7 @@
|
|||
{L_POST_BY_AUTHOR} <!-- EVENT forumlist_body_last_poster_username_prepend -->{forumrow.LAST_POSTER_FULL}<!-- EVENT forumlist_body_last_poster_username_append -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<a href="{forumrow.U_LAST_POST}" title="{L_VIEW_LATEST_POST}">
|
||||
<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>
|
||||
{{ Icon('iconify', 'fa:external-link-square', lang('VIEW_LATEST_POST'), true, 'c-last-post-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br /><time datetime="{forumrow.LAST_POST_TIME_RFC3339}">{forumrow.LAST_POST_TIME}</time>
|
||||
|
|
|
@ -3,25 +3,25 @@
|
|||
<!-- IF S_VIEWTOPIC -->
|
||||
<p class="jumpbox-return">
|
||||
<a href="{U_VIEW_FORUM}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_FORUM}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('RETURN_TO_FORUM'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<!-- ELSEIF S_VIEWFORUM -->
|
||||
<p class="jumpbox-return">
|
||||
<a href="{U_INDEX}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_INDEX}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('RETURN_TO_INDEX'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<!-- ELSEIF SEARCH_TOPIC -->
|
||||
<p class="jumpbox-return">
|
||||
<a class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}" accesskey="r">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_TOPIC}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('RETURN_TO_TOPIC'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<!-- ELSEIF S_SEARCH_ACTION -->
|
||||
<p class="jumpbox-return">
|
||||
<a class="left-box arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}" accesskey="r">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_GO_TO_SEARCH_ADV}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('GO_TO_SEARCH_ADV'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
@ -30,7 +30,7 @@
|
|||
<div class="jumpbox dropdown-container dropdown-container-right<!-- IF not S_IN_MCP --> dropdown-up<!-- ENDIF --> dropdown-{S_CONTENT_FLOW_BEGIN} dropdown-button-control" id="jumpbox">
|
||||
<span title="<!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->" class="button button-secondary dropdown-trigger dropdown-select">
|
||||
<span><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF --></span>
|
||||
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
|
||||
<span class="caret">{{ Icon('iconify', 'fa:caret-down', '', true) }}</span>
|
||||
</span>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
|
|
|
@ -36,9 +36,25 @@
|
|||
|
||||
<!-- BEGIN topicrow -->
|
||||
<li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||
<dl class="row-item {topicrow.TOPIC_IMG_STYLE}">
|
||||
<dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<a class="row-item-link{% if topicrow.S_UNREAD_TOPIC %} unread{% else %} read{% endif %}" href="{topicrow.U_VIEW_TOPIC}" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:info-variant' : topicrow.S_POST_GLOBAL,
|
||||
'mdi:info-variant' : topicrow.S_POST_ANNOUNCE,
|
||||
'mdi:star' : topicrow.S_POST_STICKY,
|
||||
'mdi:lock' : topicrow.S_TOPIC_LOCKED,
|
||||
'mdi:arrow-right-bold' : topicrow.S_TOPIC_MOVED,
|
||||
'mdi:fire' : topicrow.S_TOPIC_HOT,
|
||||
'mdi:file-document-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
{% if lang(topicrow.TOPIC_AUTHOR) == S_USERNAME %}
|
||||
<span class="row-item-link-mine"></span>
|
||||
{% endif%}
|
||||
{% if topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS %}
|
||||
<img class="row-item-sub" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="">
|
||||
{% endif %}
|
||||
<div class="list-inner">
|
||||
<!-- EVENT topiclist_row_prepend -->
|
||||
<!-- IF topicrow.S_SELECT_TOPIC --><a href="{topicrow.U_SELECT_TOPIC}" class="topictitle">[ {L_SELECT_MERGE} ]</a> <!-- ENDIF -->
|
||||
|
@ -47,24 +63,24 @@
|
|||
<!-- EVENT mcp_forum_topic_title_after -->
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_UNAPPROVED}">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_UNAPPROVED}</span>
|
||||
{{ Icon('iconify', 'fa:question', lang('TOPIC_UNAPPROVED'), true, 'c-unapproved-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_DELETED or topicrow.S_POSTS_DELETED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_DELETED}">
|
||||
<i class="icon fa-recycle fa-fw icon-green" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_DELETED}</span>
|
||||
{{ Icon('iconify', 'fa:recycle', lang('TOPIC_DELETED'), true, 'c-topic-deleted-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
||||
<a href="{topicrow.U_MCP_REPORT}" title="{L_TOPIC_REPORTED}">
|
||||
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span>
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('TOPIC_REPORTED'), true, 'c-topic-reported-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_MOVED_TOPIC and S_CAN_DELETE --> <a href="{topicrow.U_DELETE_TOPIC}" class="topictitle">[ {L_DELETE_SHADOW_TOPIC} ]</a><!-- ENDIF -->
|
||||
<br />
|
||||
<!-- EVENT topiclist_row_topic_title_after -->
|
||||
<div class="responsive-show" style="display: none;">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
{% if topicrow.ATTACH_ICON_IMG %}{{ Icon('iconify', 'fa:paperclip', '', true) }} {% endif %}
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « {topicrow.LAST_POST_TIME}<br />
|
||||
</div>
|
||||
<span class="responsive-show left-box" style="display: none;">{L_REPLIES}{L_COLON} <strong>{topicrow.REPLIES}</strong></span>
|
||||
|
@ -85,7 +101,7 @@
|
|||
<!-- ENDIF -->
|
||||
|
||||
<div class="responsive-hide">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
{% if topicrow.ATTACH_ICON_IMG %}{{ Icon('iconify', 'fa:paperclip', '', true) }} {% endif %}
|
||||
{% EVENT topiclist_row_topic_by_author_before %}
|
||||
{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
|
||||
{% EVENT topiclist_row_topic_by_author_after %}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<dl>
|
||||
<dt>
|
||||
<div class="list-inner">
|
||||
<a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> <!-- IF unapproved.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF --> <br />
|
||||
<a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> <!-- IF unapproved.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }}<!-- ENDIF --> <br />
|
||||
{L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} » {unapproved.POST_TIME}
|
||||
</div>
|
||||
</dt>
|
||||
|
@ -86,7 +86,7 @@
|
|||
<dl>
|
||||
<dt>
|
||||
<div class="list-inner">
|
||||
<a href="{report.U_POST_DETAILS}#reports" class="topictitle">{report.SUBJECT}</a> <!-- IF report.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF --> <br />
|
||||
<a href="{report.U_POST_DETAILS}#reports" class="topictitle">{report.SUBJECT}</a> <!-- IF report.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }}<!-- ENDIF --> <br />
|
||||
<span>{L_POSTED} {L_POST_BY_AUTHOR} {report.AUTHOR_FULL} » {report.POST_TIME}</span>
|
||||
</div>
|
||||
</dt>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<dl>
|
||||
<dt>
|
||||
<div class="list-inner">
|
||||
<a href="{pm_report.U_PM_DETAILS}" class="topictitle">{pm_report.PM_SUBJECT}</a> <!-- IF pm_report.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF --> <br />
|
||||
<a href="{pm_report.U_PM_DETAILS}" class="topictitle">{pm_report.PM_SUBJECT}</a> <!-- IF pm_report.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }}<!-- ENDIF --> <br />
|
||||
<span>{L_MESSAGE_BY_AUTHOR} {pm_report.PM_AUTHOR_FULL} » {pm_report.PM_TIME}</span><br />
|
||||
<span>{L_MESSAGE_TO} {pm_report.RECIPIENTS}</span>
|
||||
</div>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<h3>{L_REPORT_REASON}{L_COLON} {REPORT_REASON_TITLE}</h3>
|
||||
<p class="author">{L_REPORTED} {L_POST_BY_AUTHOR} {REPORTER_FULL} « {REPORT_DATE}</p>
|
||||
<!-- IF S_REPORT_CLOSED -->
|
||||
<p class="post-notice reported"><i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i>{L_REPORT_CLOSED}</p>
|
||||
<p class="post-notice reported">{{ Icon('iconify', 'fa:exclamation', '', true, 'c-topic-reported-icon') }}{L_REPORT_CLOSED}</p>
|
||||
<!-- ENDIF -->
|
||||
<div class="content">
|
||||
<!-- IF REPORT_TEXT -->
|
||||
|
@ -61,7 +61,7 @@
|
|||
<!-- IF U_EDIT -->
|
||||
<li>
|
||||
<a href="{U_EDIT}" title="{L_EDIT_POST}" class="button">
|
||||
<i class="icon fa-pencil fa-fw" aria-hidden="true"></i><span class="sr-only">{L_EDIT_POST}</span>
|
||||
{{ Icon('iconify', 'fa:pencil', lang('EDIT_POST'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
@ -75,7 +75,7 @@
|
|||
<!-- IF S_BCC_RECIPIENT --><br /><strong>{L_BCC}{L_COLON}</strong> <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}"<!-- IF bcc_recipient.COLOUR --> style="color:{bcc_recipient.COLOUR};"<!-- ENDIF -->><strong>{bcc_recipient.NAME}</strong></a><!-- ENDIF --> <!-- END bcc_recipient --><!-- ENDIF -->
|
||||
</p>
|
||||
<!-- ELSE -->
|
||||
<p class="author"><span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{MINI_POST_IMG}</span></span> {L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} » {POST_DATE}</p>
|
||||
<p class="author"><span>{{ Icon('iconify', 'fa:file', MINI_POST, true, 'c-topic-icon') }}</span> {L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} » {POST_DATE}</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_POST_UNAPPROVED -->
|
||||
|
@ -104,7 +104,8 @@
|
|||
|
||||
{% if S_POST_REPORTED and not S_MCP_REPORT %}
|
||||
<p class="post-notice reported">
|
||||
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{{ lang('TOPIC_REPORTED') }}</span> <a href="{{ U_MCP_REPORT }}"><strong>{{ lang('POST_REPORTED') }}</strong></a>
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('TOPIC_REPORTED'), true, 'c-topic-reported-icon') }}
|
||||
<a href="{U_MCP_REPORT}"><strong>{{ lang('POST_REPORTED') }}</strong></a>
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
|
@ -339,13 +340,13 @@
|
|||
<ul>
|
||||
<!-- BEGIN pagination_ips -->
|
||||
<!-- IF pagination_ips.S_IS_PREV -->
|
||||
<li class="arrow previous"><a class="button button-icon-only" href="{pagination_ips.PAGE_URL}" rel="prev" role="button"><i class="icon fa-chevron-{S_CONTENT_FLOW_BEGIN} fa-fw" aria-hidden="true"></i><span class="sr-only">{L_PREVIOUS}</span></a></li>
|
||||
<li class="arrow previous"><a class="button button-icon-only" href="{pagination_ips.PAGE_URL}" rel="prev" role="button">{{ Icon('iconify', 'fa:chevron-' ~ S_CONTENT_FLOW_BEGIN, lang('PREVIOUS'), true, 'c-button-icon') }}</a></li>
|
||||
<!-- ELSEIF pagination_ips.S_IS_CURRENT -->
|
||||
<li class="active"><span>{pagination_ips.PAGE_NUMBER}</span></li>
|
||||
<!-- ELSEIF pagination_ips.S_IS_ELLIPSIS -->
|
||||
<li class="ellipsis" role="separator"><span>{L_ELLIPSIS}</span></li>
|
||||
<!-- ELSEIF pagination_ips.S_IS_NEXT -->
|
||||
<li class="arrow next"><a class="button button-icon-only" href="{pagination_ips.PAGE_URL}" rel="next" role="button"><i class="icon fa-chevron-{S_CONTENT_FLOW_END} fa-fw" aria-hidden="true"></i><span class="sr-only">{L_NEXT}</span></a></li>
|
||||
<li class="arrow next"><a class="button button-icon-only" href="{pagination_ips.PAGE_URL}" rel="next" role="button">{{ Icon('iconify', 'fa:chevron-' ~ S_CONTENT_END, lang('NEXT'), true, 'c-button-icon') }}</a></li>
|
||||
<!-- ELSE -->
|
||||
<li><a class="button" href="{pagination_ips.PAGE_URL}" role="button">{pagination_ips.PAGE_NUMBER}</a></li>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<dl>
|
||||
<dt>
|
||||
<div class="list-inner">
|
||||
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a><!-- IF postrow.S_HAS_ATTACHMENTS --> <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF --><br />
|
||||
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a><!-- IF postrow.S_HAS_ATTACHMENTS --> {{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF --><br />
|
||||
<span>{L_POSTED} {L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} » {postrow.POST_TIME}</span>
|
||||
</div>
|
||||
</dt>
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
<dt>
|
||||
<div class="list-inner">
|
||||
<a href="{{ postrow.U_VIEW_DETAILS }}" class="topictitle">{{ postrow.PM_SUBJECT }}</a>
|
||||
{% if postrow.ATTACH_ICON_IMG %} <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i>{% endif %}
|
||||
{% if postrow.ATTACH_ICON_IMG %}{{ Icon('iconify', 'fa:paperclip', '', true) }}{% endif %}
|
||||
<br>
|
||||
<span>{L_MESSAGE_BY_AUTHOR} {postrow.PM_AUTHOR_FULL} » {postrow.PM_TIME}</span><br />
|
||||
<span>{L_MESSAGE_TO} {postrow.RECIPIENTS}</span>
|
||||
|
@ -62,8 +62,8 @@
|
|||
<!-- ELSE -->
|
||||
<dt>
|
||||
<div class="list-inner">
|
||||
<a href="{{ postrow.U_VIEW_DETAILS }}" class="topictitle">{{ postrow.POST_SUBJECT }}</a>
|
||||
{% if postrow.ATTACH_ICON_IMG %} <i class="icon fa-paperclip fa-fw" aria-hidden="true"></i>{% endif %}
|
||||
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a>
|
||||
{% if postrow.ATTACH_ICON_IMG %}{{ Icon('iconify', 'fa:paperclip', '', true) }} {% endif %}
|
||||
<br>
|
||||
<span>{L_POSTED} {L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} » {postrow.POST_TIME}</span>
|
||||
<div class="responsive-show" style="display: none;">
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
<ul class="post-buttons">
|
||||
<li>
|
||||
<a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}" class="button button-icon-only">
|
||||
<i class="icon fa-info fa-fw" aria-hidden="true"></i><span class="sr-only">{L_POST_DETAILS}</span>
|
||||
{{ Icon('iconify', 'fa:info', lang('POST_DETAILS'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
@ -119,14 +119,14 @@
|
|||
<!-- EVENT mcp_topic_postrow_post_details_before -->
|
||||
<p class="author">
|
||||
<a href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
|
||||
<i class="icon fa-file fa-fw icon-lightgray icon-tiny" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', postrow.MINI_POST, true) }}
|
||||
</a> {L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} {% EVENT mcp_topic_post_author_full_prepend %}<strong>{postrow.POST_AUTHOR_FULL}</strong>{% EVENT mcp_topic_post_author_full_append %}<!-- IF postrow.U_MCP_DETAILS --> [ <a href="{postrow.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF -->
|
||||
</p>
|
||||
<!-- EVENT mcp_topic_postrow_post_details_after -->
|
||||
|
||||
<!-- IF postrow.S_POST_UNAPPROVED -->
|
||||
<p class="post-notice unapproved">
|
||||
<a href="{postrow.U_MCP_APPROVE}"><i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><strong>{L_POST_UNAPPROVED}</strong></a>
|
||||
<a href="{postrow.U_MCP_APPROVE}">{{ Icon('iconify', 'fa:exclamation', '', true, 'c-topic-reported-icon') }}<strong>{L_POST_UNAPPROVED}</strong></a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
@ -138,7 +138,7 @@
|
|||
|
||||
<!-- IF postrow.S_POST_REPORTED -->
|
||||
<p class="post-notice reported">
|
||||
<a href="{postrow.U_MCP_REPORT}"><i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><strong>{L_POST_REPORTED}</strong></a>
|
||||
<a href="{postrow.U_MCP_REPORT}">{{ Icon('iconify', 'fa:exclamation', '', true, 'c-topic-reported-icon') }}<strong>{L_POST_REPORTED}</strong></a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="inner">
|
||||
<p>
|
||||
<a href="{U_RETURN_POST}" class="arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_POST}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('RETURN_POST'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<div class="postbody"><div class="content">
|
||||
|
@ -13,7 +13,7 @@
|
|||
</div></div>
|
||||
<p>
|
||||
<a href="{U_RETURN_POST}" class="arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_POST}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('RETURN_POST'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
{L_USERNAME}{L_COLON}
|
||||
</dt>
|
||||
<dd>
|
||||
<!-- EVENT memberlist_view_username_prepend --><!-- IF USER_COLOR --><span style="color: {USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{USERNAME}</span><!-- EVENT memberlist_view_username_append --> <!-- IF S_ONLINE --> <i class="icon fa-circle fa-fw icon-md online" aria-hidden="true" title="{L_ONLINE}"></i><span class="sr-only">{L_ONLINE}</span><!-- ENDIF -->
|
||||
<!-- EVENT memberlist_view_username_prepend --><!-- IF USER_COLOR --><span style="color: {USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{USERNAME}</span><!-- EVENT memberlist_view_username_append --> <!-- IF S_ONLINE --> {{ Icon('iconify', 'fa:circle', lang('ONLINE'), true, 'c-online-icon') }}<!-- ENDIF -->
|
||||
<!-- IF U_EDIT_SELF --> [ <a href="{U_EDIT_SELF}">{L_EDIT_PROFILE}</a> ]<!-- ENDIF -->
|
||||
<!-- IF U_USER_ADMIN --> [ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]<!-- ENDIF -->
|
||||
<!-- IF U_USER_BAN --> [ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]<!-- ENDIF -->
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<!-- IF SCRIPT_NAME == "search" and not S_BOARD_DISABLED and not S_NO_SEARCH and L_RETURN_TO_SEARCH_ADV -->
|
||||
<p>
|
||||
<a href="{U_SEARCH}" class="arrow-{S_CONTENT_FLOW_BEGIN}" accesskey="r">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_GO_TO_SEARCH_ADV}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('GO_TO_SEARCH_ADV'), true, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -1,69 +1,117 @@
|
|||
<div class="navbar" role="navigation">
|
||||
<div class="inner">
|
||||
|
||||
<ul id="nav-footer" class="nav-footer linklist" role="menubar">
|
||||
<li class="breadcrumbs">
|
||||
<!-- IF U_SITE_HOME -->
|
||||
{% apply spaceless %}
|
||||
<span class="crumb">
|
||||
<a href="{U_SITE_HOME}" data-navbar-reference="home">
|
||||
<i class="icon fa-home fa-fw" aria-hidden="true"></i><span>{L_SITE_HOME}</span>
|
||||
</a>
|
||||
</span>
|
||||
{% endapply %}
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT overall_footer_breadcrumb_prepend -->
|
||||
{% apply spaceless %}
|
||||
<span class="crumb">
|
||||
<a href="{U_INDEX}" data-navbar-reference="index">
|
||||
<!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw" aria-hidden="true"></i><!-- ENDIF --><span>{L_INDEX}</span>
|
||||
</a>
|
||||
</span>
|
||||
{% endapply %}
|
||||
<!-- EVENT overall_footer_breadcrumb_append -->
|
||||
</li>
|
||||
<!-- IF U_WATCH_FORUM_LINK and not S_IS_BOT -->
|
||||
<li data-last-responsive="true">
|
||||
<a href="{U_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}" data-ajax="toggle_link" data-toggle-class="icon <!-- IF S_WATCHING_FORUM -->fa-check-square-o<!-- ELSE -->fa-square-o<!-- ENDIF --> fa-fw" data-toggle-text="{S_WATCH_FORUM_TOGGLE}" data-toggle-url="{U_WATCH_FORUM_TOGGLE}">
|
||||
<i class="icon <!-- IF S_WATCHING_FORUM -->fa-square-o<!-- ELSE -->fa-check-square-o<!-- ENDIF --> fa-fw" aria-hidden="true"></i><span>{S_WATCH_FORUM_TITLE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<ul id="nav-footer" class="nav-footer linklist" role="menubar">
|
||||
<li class="breadcrumbs">
|
||||
{% if U_SITE_HOME %}
|
||||
{% apply spaceless %}
|
||||
<span class="crumb">
|
||||
<a href="{{ U_SITE_HOME }}" data-navbar-reference="home">
|
||||
{{ Icon('iconify', 'fa:home', lang('SITE_HOME'), false) }}
|
||||
</a>
|
||||
</span>
|
||||
{% endapply %}
|
||||
{% endif %}
|
||||
|
||||
<!-- EVENT overall_footer_timezone_before -->
|
||||
<li class="rightside">{S_TIMEZONE}</li>
|
||||
<!-- EVENT overall_footer_timezone_after -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
{% EVENT overall_footer_breadcrumb_prepend %}
|
||||
|
||||
{% apply spaceless %}
|
||||
<span class="crumb">
|
||||
<a href="{{ U_INDEX }}" data-navbar-reference="index">
|
||||
{% if U_SITE_HOME %}
|
||||
<span>{{ lang('INDEX') }}</span>
|
||||
{% else %}
|
||||
{{ Icon('iconify', 'fa:home', lang('INDEX'), false) }}
|
||||
{% endif %}
|
||||
</a>
|
||||
</span>
|
||||
{% endapply %}
|
||||
|
||||
{% EVENT overall_footer_breadcrumb_append %}
|
||||
</li>
|
||||
|
||||
{% block nav_footer_left_side %}
|
||||
{% if U_WATCH_FORUM_LINK and not S_IS_BOT %}
|
||||
<li class="in-menu">
|
||||
<a href="{{ U_WATCH_FORUM_LINK }}" title="{{ S_WATCH_FORUM_TITLE }}" data-ajax="toggle_link" data-toggle-text="{{ S_WATCH_FORUM_TOGGLE }}" data-toggle-url="{{ U_WATCH_FORUM_TOGGLE }}">
|
||||
{% if S_WATCHING_FORUM %}
|
||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon') }}
|
||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon is-active') }}
|
||||
{% else %}
|
||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon is-active') }}
|
||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon') }}
|
||||
{% endif %}
|
||||
<span>{{ S_WATCH_FORUM_TITLE }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock nav_footer_left_side %}
|
||||
|
||||
{# End of left side menu Start of right side menu #}
|
||||
|
||||
{% EVENT overall_footer_timezone_before %}
|
||||
<li class="rightside">
|
||||
<a href="{U_DELETE_COOKIES}" data-ajax="true" data-refresh="true" role="menuitem">
|
||||
<i class="icon fa-trash fa-fw" aria-hidden="true"></i><span>{L_DELETE_COOKIES}</span>
|
||||
</a>
|
||||
{{ S_TIMEZONE }}
|
||||
</li>
|
||||
<!-- IF S_DISPLAY_MEMBERLIST -->
|
||||
<li class="rightside" data-last-responsive="true">
|
||||
<a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}" role="menuitem">
|
||||
<i class="icon fa-group fa-fw" aria-hidden="true"></i><span>{L_MEMBERLIST}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT overall_footer_teamlink_before -->
|
||||
<!-- IF U_TEAM -->
|
||||
<li class="rightside" data-last-responsive="true">
|
||||
<a href="{U_TEAM}" role="menuitem">
|
||||
<i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>{L_THE_TEAM}</span>
|
||||
{% EVENT overall_footer_timezone_after %}
|
||||
|
||||
{% block nav_footer_right_side %}
|
||||
{% if not S_IS_BOT %}
|
||||
<li class="rightside in-menu">
|
||||
<a href="{{ U_DELETE_COOKIES }}" data-ajax="true" data-refresh="true" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:trash', lang('DELETE_COOKIES'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{% if S_DISPLAY_MEMBERLIST %}
|
||||
<li class="rightside in-menu">
|
||||
<a href="{{ U_MEMBERLIST }}" title="{{ lang('MEMBERLIST_EXPLAIN') }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:group', lang('MEMBERLIST'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% EVENT overall_footer_teamlink_before %}
|
||||
|
||||
{% if U_TEAM %}
|
||||
<li class="rightside in-menu">
|
||||
<a href="{{ U_TEAM }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:shield', lang('THE_TEAM'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% EVENT overall_footer_teamlink_after %}
|
||||
|
||||
{% if U_CONTACT_US %}
|
||||
<li class="rightside in-menu">
|
||||
<a href="{{ U_CONTACT_US }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:envelope', lang('CONTACT_US'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endblock nav_footer_right_side %}
|
||||
|
||||
{# right side responsive menu #}
|
||||
|
||||
<li class="rightside dropdown-container responsive-menu">
|
||||
<a class="dropdown-toggle" href="">
|
||||
{{ Icon('iconify', 'fa:bars', '', true) }}
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer">
|
||||
<div class="pointer-inner"></div>
|
||||
</div>
|
||||
|
||||
<ul class="dropdown-contents">
|
||||
{{ block('nav_footer_left_side', _self) }}
|
||||
<li class="separator"></li>
|
||||
{{ block('nav_footer_right_side', _self) }}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT overall_footer_teamlink_after -->
|
||||
<!-- IF U_CONTACT_US -->
|
||||
<li class="rightside" data-last-responsive="true">
|
||||
<a href="{U_CONTACT_US}" role="menuitem">
|
||||
<i class="icon fa-envelope fa-fw" aria-hidden="true"></i><span>{L_CONTACT_US}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,219 +1,242 @@
|
|||
<div class="navbar" role="navigation">
|
||||
<div class="inner">
|
||||
|
||||
<ul id="nav-main" class="nav-main linklist" role="menubar">
|
||||
<ul id="nav-main" class="nav-main linklist" role="menubar">
|
||||
|
||||
<li id="quick-links" class="quick-links dropdown-container responsive-menu<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
|
||||
<a href="#" class="dropdown-trigger">
|
||||
<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{L_QUICK_LINKS}</span>
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents" role="menu">
|
||||
<!-- EVENT navbar_header_quick_links_before -->
|
||||
<li id="quick-links" class="quick-links dropdown-container responsive-menu{% if not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH %} hidden{% endif %}">
|
||||
<a href="#" class="dropdown-trigger">
|
||||
{{ Icon('iconify', 'fa:bars', lang('QUICK_LINKS'), false) }}
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents" role="menu">
|
||||
{% EVENT navbar_header_quick_links_before %}
|
||||
|
||||
<!-- IF S_DISPLAY_SEARCH -->
|
||||
<li class="separator"></li>
|
||||
<!-- IF S_REGISTERED_USER -->
|
||||
{% if S_DISPLAY_SEARCH %}
|
||||
<li class="separator"></li>
|
||||
{% if S_REGISTERED_USER %}
|
||||
<li>
|
||||
<a href="{{ U_SEARCH_SELF }}" role="menuitem">
|
||||
{{ Icon('iconify', 'mdi:file-account-outline', lang('SEARCH_SELF'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if S_USER_LOGGED_IN %}
|
||||
<li>
|
||||
<a href="{{ U_SEARCH_NEW }}" role="menuitem">
|
||||
{{ Icon('iconify', 'mdi:file-hidden', lang('SEARCH_NEW'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if S_LOAD_UNREADS %}
|
||||
<li>
|
||||
<a href="{{ U_SEARCH_UNREAD }}" role="menuitem">
|
||||
{{ Icon('iconify', 'mdi:file', lang('SEARCH_UNREAD'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li>
|
||||
<a href="{U_SEARCH_SELF}" role="menuitem">
|
||||
<i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>{L_SEARCH_SELF}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_USER_LOGGED_IN -->
|
||||
<li>
|
||||
<a href="{U_SEARCH_NEW}" role="menuitem">
|
||||
<i class="icon fa-file-o fa-fw icon-red" aria-hidden="true"></i><span>{L_SEARCH_NEW}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_LOAD_UNREADS -->
|
||||
<li>
|
||||
<a href="{U_SEARCH_UNREAD}" role="menuitem">
|
||||
<i class="icon fa-file-o fa-fw icon-red" aria-hidden="true"></i><span>{L_SEARCH_UNREAD}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<li>
|
||||
<a href="{U_SEARCH_UNANSWERED}" role="menuitem">
|
||||
<i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>{L_SEARCH_UNANSWERED}</span>
|
||||
<a href="{{ U_SEARCH_UNANSWERED }}" role="menuitem">
|
||||
{{ Icon('iconify', 'mdi:file-question-outline', lang('SEARCH_UNANSWERED'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{U_SEARCH_ACTIVE_TOPICS}" role="menuitem">
|
||||
<i class="icon fa-file-o fa-fw icon-blue" aria-hidden="true"></i><span>{L_SEARCH_ACTIVE_TOPICS}</span>
|
||||
<a href="{{ U_SEARCH_ACTIVE_TOPICS }}" role="menuitem">
|
||||
{{ Icon('iconify', 'mdi:file-upload-outline', lang('SEARCH_ACTIVE_TOPICS'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="separator"></li>
|
||||
<li>
|
||||
<a href="{U_SEARCH}" role="menuitem">
|
||||
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span>{L_SEARCH}</span>
|
||||
<a href="{{ U_SEARCH }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:search', lang('SEARCH'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
{% endif %}
|
||||
|
||||
<!-- IF not S_IS_BOT and (S_DISPLAY_MEMBERLIST or U_TEAM) -->
|
||||
{% if not S_IS_BOT and (S_DISPLAY_MEMBERLIST or U_TEAM) %}
|
||||
<li class="separator"></li>
|
||||
{% if S_DISPLAY_MEMBERLIST %}
|
||||
<li>
|
||||
<a href="{{ U_MEMBERLIST }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:group', lang('MEMBERLIST'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if U_TEAM %}
|
||||
<li>
|
||||
<a href="{{ U_TEAM }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:shield', lang('THE_TEAM'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<li class="separator"></li>
|
||||
<!-- IF S_DISPLAY_MEMBERLIST -->
|
||||
<li>
|
||||
<a href="{U_MEMBERLIST}" role="menuitem">
|
||||
<i class="icon fa-group fa-fw" aria-hidden="true"></i><span>{L_MEMBERLIST}</span>
|
||||
|
||||
{% EVENT navbar_header_quick_links_after %}
|
||||
|
||||
<li class="separator in-menu"></li>
|
||||
{% block nav_main_left_side %}
|
||||
{% EVENT overall_header_navigation_prepend %}
|
||||
<li class="in-menu">
|
||||
<a href="{{ U_FAQ }}" rel="help" title="{{ lang('FAQ_EXPLAIN') }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:question-circle', lang('FAQ'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_TEAM -->
|
||||
<li>
|
||||
<a href="{U_TEAM}" role="menuitem">
|
||||
<i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>{L_THE_TEAM}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<li class="separator"></li>
|
||||
|
||||
<!-- EVENT navbar_header_quick_links_after -->
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<!-- EVENT overall_header_navigation_prepend -->
|
||||
<li <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->>
|
||||
<a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">
|
||||
<i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>{L_FAQ}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- EVENT overall_header_navigation_append -->
|
||||
<!-- IF U_ACP -->
|
||||
<li data-last-responsive="true">
|
||||
<a href="{U_ACP}" title="{L_ACP}" role="menuitem">
|
||||
<i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_MCP -->
|
||||
<li data-last-responsive="true">
|
||||
<a href="{U_MCP}" title="{L_MCP}" role="menuitem">
|
||||
<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_REGISTERED_USER -->
|
||||
<!-- EVENT navbar_header_user_profile_prepend -->
|
||||
<li id="username_logged_in" class="rightside <!-- IF CURRENT_USER_AVATAR --> no-bulletin<!-- ENDIF -->" data-skip-responsive="true">
|
||||
<!-- EVENT navbar_header_username_prepend -->
|
||||
<div class="header-profile dropdown-container">
|
||||
<a href="{U_PROFILE}" class="header-avatar dropdown-trigger"><!-- IF CURRENT_USER_AVATAR -->{CURRENT_USER_AVATAR} <!-- ENDIF --> {CURRENT_USERNAME_SIMPLE}</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents" role="menu">
|
||||
<!-- IF U_RESTORE_PERMISSIONS -->
|
||||
<li>
|
||||
<a href="{U_RESTORE_PERMISSIONS}">
|
||||
<i class="icon fa-refresh fa-fw" aria-hidden="true"></i><span>{L_RESTORE_PERMISSIONS}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT navbar_header_profile_list_before -->
|
||||
|
||||
<li>
|
||||
<a href="{U_PROFILE}" title="{L_PROFILE}" role="menuitem">
|
||||
<i class="icon fa-sliders fa-fw" aria-hidden="true"></i><span>{L_PROFILE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- IF U_USER_PROFILE -->
|
||||
<li>
|
||||
<a href="{U_USER_PROFILE}" title="{L_READ_PROFILE}" role="menuitem">
|
||||
<i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{L_READ_PROFILE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT navbar_header_profile_list_after -->
|
||||
|
||||
<li class="separator"></li>
|
||||
<li>
|
||||
<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>
|
||||
</a>
|
||||
</li>
|
||||
{% EVENT overall_header_navigation_append %}
|
||||
{% endblock nav_main_left_side %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- EVENT navbar_header_username_append -->
|
||||
</li>
|
||||
<!-- IF S_DISPLAY_PM -->
|
||||
<li class="rightside" data-skip-responsive="true">
|
||||
<a href="{U_PRIVATEMSGS}" role="menuitem">
|
||||
<i class="icon fa-inbox fa-fw" aria-hidden="true"></i><span>{L_PRIVATE_MESSAGES} </span><strong class="badge<!-- IF not PRIVATE_MESSAGE_COUNT --> hidden<!-- ENDIF -->">{PRIVATE_MESSAGE_COUNT}</strong>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_NOTIFICATIONS_DISPLAY -->
|
||||
<li class="dropdown-container dropdown-{S_CONTENT_FLOW_END} rightside" data-skip-responsive="true">
|
||||
<a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification-button" class="dropdown-trigger">
|
||||
<i class="icon fa-bell fa-fw" aria-hidden="true"></i><span>{L_NOTIFICATIONS} </span><strong class="badge<!-- IF not NOTIFICATIONS_COUNT --> hidden<!-- ENDIF -->">{NOTIFICATIONS_COUNT}</strong>
|
||||
</a>
|
||||
<!-- INCLUDE notification_dropdown.html -->
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- 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>
|
||||
</a>
|
||||
</li>
|
||||
<!-- IF S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
|
||||
<li class="rightside" data-skip-responsive="true">
|
||||
<a href="{U_REGISTER}" role="menuitem">
|
||||
<i class="icon fa-pencil-square-o fa-fw" aria-hidden="true"></i><span>{L_REGISTER}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT navbar_header_logged_out_content -->
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
|
||||
<ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar">
|
||||
{% set MICRODATA = 'itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope' %}
|
||||
{% set navlink_position = 1 %}
|
||||
|
||||
{% EVENT overall_header_breadcrumbs_before %}
|
||||
|
||||
<li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||
|
||||
{% if U_SITE_HOME %}
|
||||
<span class="crumb" {{ MICRODATA }}><a itemprop="item" href="{{ U_SITE_HOME }}" data-navbar-reference="home"><i class="icon fa-home fa-fw" aria-hidden="true"></i><span itemprop="name">{{ L_SITE_HOME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
|
||||
{{ block('nav_main_left_side', _self) }}
|
||||
{% if U_ACP %}
|
||||
<li>
|
||||
<a href="{{ U_ACP }}" title="{{ lang('ACP') }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:cogs', lang('ACP_SHORT'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if U_MCP %}
|
||||
<li>
|
||||
<a href="{{ U_MCP }}" title="{{ lang('MCP') }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:gavel', lang('MCP_SHORT'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% EVENT overall_header_breadcrumb_prepend %}
|
||||
<span class="crumb" {{ MICRODATA }}><a itemprop="item" href="{{ U_INDEX }}" 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>
|
||||
{% if S_REGISTERED_USER %}
|
||||
{% EVENT navbar_header_user_profile_prepend %}
|
||||
<li id="username_logged_in" class="rightside {% if CURRENT_USER_AVATAR %} no-bulletin{% endif %}">
|
||||
{% EVENT navbar_header_username_prepend %}
|
||||
<div class="header-profile dropdown-container">
|
||||
<a href="{{ U_PROFILE }}" class="header-avatar dropdown-trigger">
|
||||
{% if CURRENT_USER_AVATAR %}{{ CURRENT_USER_AVATAR }} {% endif %}
|
||||
{{ CURRENT_USERNAME_SIMPLE }}
|
||||
{{ Icon('iconify', 'fa:caret-down', '', true, '', {'style': 'color: #' ~ CURRENT_USER_GROUP_COLOR}) }}
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents" role="menu">
|
||||
{% if U_RESTORE_PERMISSIONS %}
|
||||
<li>
|
||||
<a href="{{ U_RESTORE_PERMISSIONS }}">
|
||||
{{ Icon('iconify', 'fa:refresh', lang('RESTORE_PERMISSIONS'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% for navlink in navlinks %}
|
||||
{% set NAVLINK_NAME = navlink.BREADCRUMB_NAME | default(navlink.FORUM_NAME) %}
|
||||
{% set NAVLINK_LINK = navlink.U_BREADCRUMB | default(navlink.U_VIEW_FORUM) %}
|
||||
{% EVENT navbar_header_profile_list_before %}
|
||||
|
||||
{% EVENT overall_header_navlink_prepend %}
|
||||
<span class="crumb" {{ MICRODATA }}{% if navlink.MICRODATA %} {{ navlink.MICRODATA }}{% endif %}><a itemprop="item" href="{{ NAVLINK_LINK }}"><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 %}
|
||||
{% endfor %}
|
||||
<li>
|
||||
<a href="{{ U_PROFILE }}" title="{{ lang('PROFILE') }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:sliders', lang('PROFILE'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% if U_USER_PROFILE %}
|
||||
<li>
|
||||
<a href="{{ U_USER_PROFILE }}" title="{{ lang('READ_PROFILE') }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:user', lang('READ_PROFILE'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% EVENT overall_header_breadcrumb_append %}
|
||||
</li>
|
||||
{% EVENT navbar_header_profile_list_after %}
|
||||
|
||||
{% EVENT overall_header_breadcrumbs_after %}
|
||||
<li class="separator"></li>
|
||||
<li>
|
||||
<a href="{{ U_LOGIN_LOGOUT }}" title="{{ lang('LOGIN_LOGOUT') }}" accesskey="x" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:power-off', lang('LOGIN_LOGOUT'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% EVENT navbar_header_username_append %}
|
||||
</li>
|
||||
{% if S_DISPLAY_PM %}
|
||||
<li class="rightside">
|
||||
<a href="{{ U_PRIVATEMSGS }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:inbox', lang('PRIVATE_MESSAGES'), false) }}<strong class="badge{% if not PRIVATE_MESSAGE_COUNT %} hidden{% endif %}"> {PRIVATE_MESSAGE_COUNT}</strong>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if S_NOTIFICATIONS_DISPLAY %}
|
||||
<li class="dropdown-container dropdown-{S_CONTENT_FLOW_END} rightside">
|
||||
<a href="{{ U_VIEW_ALL_NOTIFICATIONS }}" id="notification-button" class="dropdown-trigger">
|
||||
{{ Icon('iconify', 'fa:bell', lang('NOTIFICATIONS'), false) }}<strong class="badge{% if not NOTIFICATIONS_COUNT %} hidden{% endif %}">{NOTIFICATIONS_COUNT}</strong>
|
||||
</a>
|
||||
{% include 'notification_dropdown.html' %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% EVENT navbar_header_user_profile_append %}
|
||||
{% elseif not S_IS_BOT %}
|
||||
<li class="rightside" >
|
||||
<a href="{{ U_LOGIN_LOGOUT }}" title="{{ lang('LOGIN_LOGOUT') }}" accesskey="x" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:power-off', lang('LOGIN_LOGOUT'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% if S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) %}
|
||||
<li class="rightside">
|
||||
<a href="{{ U_REGISTER }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:pencil-square-o', lang('REGISTER'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% EVENT navbar_header_logged_out_content %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
{% if S_DISPLAY_SEARCH and not S_IN_SEARCH %}
|
||||
<li class="rightside responsive-search">
|
||||
<a href="{{ U_SEARCH }}" title="{{ lang('SEARCH_ADV_EXPLAIN') }}" role="menuitem">
|
||||
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{{ lang('SEARCH') }}</span>
|
||||
</a>
|
||||
<ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar">
|
||||
{% set MICRODATA = 'itemtype="https://schema.org/ListItem" itemprop="itemListElement" itemscope' %}
|
||||
{% set navlink_position = 1 %}
|
||||
|
||||
{% EVENT overall_header_breadcrumbs_before %}
|
||||
|
||||
<li class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||
|
||||
{% if U_SITE_HOME %}
|
||||
<span class="crumb" {{ MICRODATA }}>
|
||||
<a itemprop="item" href="{{ U_SITE_HOME }}" data-navbar-reference="home">
|
||||
{{ Icon('iconify', 'fa:home', '', true) }}<span itemprop="name">{{ L_SITE_HOME }}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}">
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% EVENT overall_header_breadcrumb_prepend %}
|
||||
<span class="crumb" {{ MICRODATA }}>
|
||||
<a itemprop="item" href="{{ U_INDEX }}" accesskey="h" data-navbar-reference="index">
|
||||
{% if not U_SITE_HOME %}{{ Icon('iconify', 'fa:home', '', true) }}{% endif %}<span itemprop="name">{{ L_INDEX }}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}">
|
||||
</span>
|
||||
|
||||
{% for navlink in navlinks %}
|
||||
{% set NAVLINK_NAME = navlink.BREADCRUMB_NAME | default(navlink.FORUM_NAME) %}
|
||||
{% set NAVLINK_LINK = navlink.U_BREADCRUMB | default(navlink.U_VIEW_FORUM) %}
|
||||
|
||||
{% EVENT overall_header_navlink_prepend %}
|
||||
<span class="crumb" {{ MICRODATA }}{% if navlink.MICRODATA %} {{ navlink.MICRODATA }}{% endif %}>
|
||||
<a itemprop="item" href="{{ NAVLINK_LINK }}">
|
||||
<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 %}
|
||||
{% endfor %}
|
||||
{% EVENT overall_header_breadcrumb_append %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
{% EVENT overall_header_breadcrumbs_after %}
|
||||
|
||||
{% if S_DISPLAY_SEARCH and not S_IN_SEARCH %}
|
||||
<li class="rightside responsive-search">
|
||||
<a href="{{ U_SEARCH }}" title="{{ lang('SEARCH_ADV_EXPLAIN') }}" role="menuitem">
|
||||
{{ Icon('iconify', 'fa:search', lang('SEARCH'), true) }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<!-- IF notifications.URL --></a><!-- ENDIF -->
|
||||
<!-- IF notifications.UNREAD -->
|
||||
<a href="{notifications.U_MARK_READ}" class="mark_read icon-mark" data-ajax="notification.mark_read" title="{L_MARK_READ}">
|
||||
<i class="icon fa-check-circle icon-xl fa-fw" aria-hidden="true"></i><span class="sr-only">{L_MARK_READ}</span>
|
||||
{{ Icon('iconify', 'fa:check-circle', lang('MARK_READ'), true, 'c-notification-check-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
</li>
|
||||
|
|
|
@ -52,13 +52,13 @@
|
|||
|
||||
<div id="phpbb_alert" class="phpbb_alert" data-l-err="{L_ERROR}" data-l-timeout-processing-req="{L_TIMEOUT_PROCESSING_REQ}">
|
||||
<a href="#" class="alert_close">
|
||||
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'fa:times-circle', '', true) }}
|
||||
</a>
|
||||
<h3 class="alert_title"> </h3><p class="alert_text"></p>
|
||||
</div>
|
||||
<div id="phpbb_confirm" class="phpbb_alert">
|
||||
<a href="#" class="alert_close">
|
||||
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'fa:times-circle', '', true) }}
|
||||
</a>
|
||||
<div class="alert_text"></div>
|
||||
</div>
|
||||
|
@ -76,19 +76,7 @@
|
|||
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
|
||||
<!-- INCLUDEJS forum_fn.js -->
|
||||
<!-- INCLUDEJS ajax.js -->
|
||||
<!-- IF S_ALLOW_CDN -->
|
||||
<script>
|
||||
(function($){
|
||||
var $fa_cdn = $('head').find('link[rel="stylesheet"]').first(),
|
||||
$span = $('<span class="fa" style="display:none"></span>').appendTo('body');
|
||||
if ($span.css('fontFamily') !== 'FontAwesome' ) {
|
||||
$fa_cdn.after('<link href="{T_ASSETS_PATH}/css/font-awesome.min.css" rel="stylesheet">');
|
||||
$fa_cdn.remove();
|
||||
}
|
||||
$span.remove();
|
||||
})(jQuery);
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
<script src="https://code.iconify.design/1/1.0.6/iconify.min.js"></script>
|
||||
|
||||
<!-- IF S_COOKIE_NOTICE -->
|
||||
<script src="{T_ASSETS_PATH}/cookieconsent/cookieconsent.min.js?assets_version={T_ASSETS_VERSION}"></script>
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
})(document);
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
<link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
|
||||
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
|
||||
<link href="{T_STYLESHEET_LANG_LINK}" rel="stylesheet">
|
||||
|
||||
|
@ -75,14 +74,17 @@
|
|||
<!-- EVENT overall_header_headerbar_before -->
|
||||
<div class="inner">
|
||||
|
||||
<div id="site-description" class="site-description">
|
||||
<a id="logo" class="logo" href="{% if U_SITE_HOME %}{{ U_SITE_HOME }}{% else %}{{ U_INDEX }}{% endif %}" title="{% if U_SITE_HOME %}{{ L_SITE_HOME }}{% else %}{{ L_INDEX }}{% endif %}">
|
||||
<span class="site_logo"></span>
|
||||
<hgroup id="site-description" class="site-description c-hero">
|
||||
<a id="logo" class="c-hero-logo" href="{% if U_SITE_HOME %}{{ U_SITE_HOME }}{% else %}{{ U_INDEX }}{% endif %}" title="{% if U_SITE_HOME %}{{ L_SITE_HOME }}{% else %}{{ L_INDEX }}{% endif %}">
|
||||
{{ Icon('svg', 'logo', SITENAME, true, 'c-hero-logo-img') }}
|
||||
</a>
|
||||
<h1>{SITENAME}</h1>
|
||||
<p>{SITE_DESCRIPTION}</p>
|
||||
|
||||
<h1 class="c-hero-heading">
|
||||
{{ SITENAME }}
|
||||
<p class="c-hero-lead">{{ SITE_DESCRIPTION }}</p>
|
||||
</h1>
|
||||
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
|
||||
</div>
|
||||
</hgroup>
|
||||
|
||||
<!-- EVENT overall_header_searchbox_before -->
|
||||
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
|
||||
|
@ -91,10 +93,10 @@
|
|||
<fieldset>
|
||||
<input name="keywords" id="keywords" type="search" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search tiny" size="20" value="{SEARCH_WORDS}" placeholder="{L_SEARCH_MINI}" />
|
||||
<button class="button button-search" type="submit" title="{L_SEARCH}">
|
||||
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
|
||||
{{ Icon('iconify', 'fa:search', lang('SEARCH'), true, 'c-button-icon') }}
|
||||
</button>
|
||||
<a href="{U_SEARCH}" class="button button-search-end" title="{L_SEARCH_ADV}">
|
||||
<i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH_ADV}</span>
|
||||
{{ Icon('iconify', 'fa:cog', lang('SEARCH_ADV'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
{S_SEARCH_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<ul>
|
||||
<!-- IF BASE_URL and TOTAL_PAGES > 6 -->
|
||||
<li class="dropdown-container dropdown-button-control dropdown-page-jump page-jump">
|
||||
<a class="button button-icon-only dropdown-trigger" href="#" title="{L_JUMP_TO_PAGE_CLICK}" role="button"><i class="icon fa-level-down fa-rotate-270" aria-hidden="true"></i><span class="sr-only">{PAGE_NUMBER}</span></a>
|
||||
<a class="button button-icon-only dropdown-trigger" href="#" title="{L_JUMP_TO_PAGE_CLICK}" role="button">{{ Icon('iconify', 'ic:outline-directions', PAGE_NUMBER, true, 'c-button-icon c-pagination-icon') }}
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents">
|
||||
|
@ -16,13 +16,13 @@
|
|||
<!-- ENDIF -->
|
||||
<!-- BEGIN pagination -->
|
||||
<!-- IF pagination.S_IS_PREV -->
|
||||
<li class="arrow previous"><a class="button button-icon-only" href="{pagination.PAGE_URL}" rel="prev" role="button"><i class="icon fa-chevron-{S_CONTENT_FLOW_BEGIN} fa-fw" aria-hidden="true"></i><span class="sr-only">{L_PREVIOUS}</span></a></li>
|
||||
<li class="arrow previous"><a class="button button-icon-only" href="{pagination.PAGE_URL}" rel="prev" role="button">{{ Icon('iconify', 'fa:chevron-' ~ S_CONTENT_FLOW_BEGIN, lang('PREVIOUS'), true, 'c-button-icon c-pagination-icon') }}</a></li>
|
||||
<!-- ELSEIF pagination.S_IS_CURRENT -->
|
||||
<li class="active"><span>{pagination.PAGE_NUMBER}</span></li>
|
||||
<!-- ELSEIF pagination.S_IS_ELLIPSIS -->
|
||||
<li class="ellipsis" role="separator"><span>{L_ELLIPSIS}</span></li>
|
||||
<!-- ELSEIF pagination.S_IS_NEXT -->
|
||||
<li class="arrow next"><a class="button button-icon-only" href="{pagination.PAGE_URL}" rel="next" role="button"><i class="icon fa-chevron-{S_CONTENT_FLOW_END} fa-fw" aria-hidden="true"></i><span class="sr-only">{L_NEXT}</span></a></li>
|
||||
<li class="arrow next"><a class="button button-icon-only" href="{pagination.PAGE_URL}" rel="next" role="button">{{ Icon('iconify', 'fa:chevron-' ~ S_CONTENT_FLOW_END, lang('NEXT'), true, 'c-button-icon c-pagination-icon') }}</a></li>
|
||||
<!-- ELSE -->
|
||||
<li><a class="button" href="{pagination.PAGE_URL}" role="button">{pagination.PAGE_NUMBER}</a></li>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -38,48 +38,48 @@
|
|||
<!-- EVENT posting_editor_buttons_before -->
|
||||
<div id="format-buttons" class="format-buttons">
|
||||
<button type="button" class="button button-icon-only bbcode-b" accesskey="b" name="addbbcode0" value=" B " onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}">
|
||||
<i class="icon fa-bold fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:format-bold', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<button type="button" class="button button-icon-only bbcode-i" accesskey="i" name="addbbcode2" value=" i " onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}">
|
||||
<i class="icon fa-italic fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:format-italic', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<button type="button" class="button button-icon-only bbcode-u" accesskey="u" name="addbbcode4" value=" u " onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}">
|
||||
<i class="icon fa-underline fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:format-underline', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<!-- IF S_BBCODE_QUOTE -->
|
||||
<button type="button" class="button button-icon-only bbcode-quote" accesskey="q" name="addbbcode6" value="Quote" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}">
|
||||
<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:format-quote-open', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<!-- ENDIF -->
|
||||
<button type="button" class="button button-icon-only bbcode-code" accesskey="c" name="addbbcode8" value="Code" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}">
|
||||
<i class="icon fa-code fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'fa:code', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<button type="button" class="button button-icon-only bbcode-list" accesskey="l" name="addbbcode10" value="List" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}">
|
||||
<i class="icon fa-list fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:format-list-bulleted', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<button type="button" class="button button-icon-only bbcode-list-" accesskey="o" name="addbbcode12" value="List=" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}">
|
||||
<i class="icon fa-list-ol fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:format-list-numbered', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<button type="button" class="button button-icon-only bbcode-asterisk" accesskey="y" name="addlistitem" value="[*]" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}">
|
||||
<i class="icon fa-asterisk fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:playlist-add', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<!-- IF S_BBCODE_IMG -->
|
||||
<button type="button" class="button button-icon-only bbcode-img" accesskey="p" name="addbbcode14" value="Img" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}">
|
||||
<i class="icon fa-image fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:image-outline', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_LINKS_ALLOWED -->
|
||||
<button type="button" class="button button-icon-only bbcode-url" accesskey="w" name="addbbcode16" value="URL" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}">
|
||||
<i class="icon fa-link fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'mdi:link-variant', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_BBCODE_FLASH -->
|
||||
<button type="button" class="button button-icon-only bbcode-flash" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}">
|
||||
<i class="icon fa-flash fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'fa:flash', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<!-- ENDIF -->
|
||||
<button type="button" class="button button-icon-only bbcode-color" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}">
|
||||
<i class="icon fa-tint fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'fa:tint', '', true, 'c-button-icon') }}
|
||||
</button>
|
||||
<select name="addbbcode20" class="bbcode-size" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
|
||||
<option value="50">{L_FONT_TINY}</option>
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
<h3><a href="{post_review_row.U_MINI_POST}">{post_review_row.POST_SUBJECT}</a></h3>
|
||||
<p class="author">
|
||||
<!-- IF S_IS_BOT -->
|
||||
<span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{post_review_row.MINI_POST}</span></span>
|
||||
<span title="{post_review_row.MINI_POST}">{{ Icon('iconify', 'fa:file', post_review_row.MINI_POST, true, 'c-topic-icon') }}</span>
|
||||
<!-- ELSE -->
|
||||
<a href="{post_review_row.U_MINI_POST}" title="{post_review_row.MINI_POST}">
|
||||
<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{post_review_row.MINI_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', post_review_row.MINI_POST, true, 'c-topic-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} <!-- EVENT posting_review_row_post_author_username_prepend --><strong>{post_review_row.POST_AUTHOR_FULL}</strong><!-- EVENT posting_review_row_post_author_username_append --> » {post_review_row.POST_DATE}
|
||||
|
|
|
@ -31,14 +31,14 @@
|
|||
<!-- IF topic_review_row.U_MCP_DETAILS -->
|
||||
<li>
|
||||
<a href="{topic_review_row.U_MCP_DETAILS}" title="{L_POST_DETAILS}" class="button button-icon-only">
|
||||
<i class="icon fa-info fa-fw" aria-hidden="true"></i><span class="sr-only">{L_POST_DETAILS}</span>
|
||||
{{ Icon('iconify', 'fa:info', lang('POST_DETAILS'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
<li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE -->
|
||||
<li>
|
||||
<a href="#postingbox" onclick="addquote({topic_review_row.POST_ID}, '{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}', {post_id:{topic_review_row.POST_ID},time:{topic_review_row.POST_TIME},user_id:{topic_review_row.USER_ID}});" title="{L_QUOTE} {topic_review_row.POST_AUTHOR}" class="button button-icon-only">
|
||||
<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_QUOTE} {topic_review_row.POST_AUTHOR}</span>
|
||||
{{ Icon('iconify', 'fa:quote-left', '', true, 'c-button-icon') }}<span class="sr-only">{L_QUOTE} {topic_review_row.POST_AUTHOR}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
@ -48,10 +48,10 @@
|
|||
<!-- EVENT posting_topic_review_row_post_details_before -->
|
||||
<p class="author">
|
||||
<!-- IF S_IS_BOT -->
|
||||
<span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{topic_review_row.MINI_POST}</span></span>
|
||||
<span title="{topic_review_row.MINI_POST}">{{ Icon('iconify', 'fa:file', topic_review_row.MINI_POST, true, 'c-topic-icon') }}</span>
|
||||
<!-- ELSE -->
|
||||
<a href="{topic_review_row.U_MINI_POST}" title="{topic_review_row.MINI_POST}">
|
||||
<i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{topic_review_row.MINI_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', topic_review_row.MINI_POST, true, 'c-topic-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} <!-- EVENT posting_topic_review_row_post_author_username_prepend --><strong>{topic_review_row.POST_AUTHOR_FULL}</strong><!-- EVENT posting_topic_review_row_post_author_username_append --> » {topic_review_row.POST_DATE}
|
||||
|
@ -84,6 +84,6 @@
|
|||
|
||||
<p>
|
||||
<a href="<!-- IF S_MCP_REPORT -->#report<!-- ELSE -->#postingbox<!-- ENDIF -->" class="top">
|
||||
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i><span>{L_BACK_TO_TOP}</span>
|
||||
{{ Icon('iconify', 'fa:chevron-circle-up', lang('BACK_TO_TOP'), false, 'c-top-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
<!-- IF SEARCH_TOPIC -->
|
||||
<p class="return-link">
|
||||
<a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_TOPIC}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('RETURN_TO_TOPIC'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<!-- ELSE -->
|
||||
<p class="advanced-search-link">
|
||||
<a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_GO_TO_SEARCH_ADV}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('GO_TO_SEARCH_ADV'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
@ -32,10 +32,10 @@
|
|||
<fieldset>
|
||||
<input class="inputbox search tiny" type="search" name="add_keywords" id="add_keywords" value="" placeholder="{L_SEARCH_IN_RESULTS}" />
|
||||
<button class="button button-search" type="submit" title="{L_SEARCH}">
|
||||
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
|
||||
{{ Icon('iconify', 'fa:search', lang('SEARCH'), true, 'c-button-icon') }}
|
||||
</button>
|
||||
<a href="{U_SEARCH}" class="button button-search-end" title="{L_SEARCH_ADV}">
|
||||
<i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH_ADV}</span>
|
||||
{{ Icon('iconify', 'fa:cog', lang('SEARCH_ADV'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
@ -77,30 +77,46 @@
|
|||
<!-- BEGIN searchresults -->
|
||||
<!-- EVENT search_results_topic_before -->
|
||||
<li class="row<!-- IF searchresults.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="row-item {searchresults.TOPIC_IMG_STYLE}">
|
||||
<dt<!-- IF searchresults.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{searchresults.TOPIC_FOLDER_IMG_ALT}">
|
||||
<!-- IF searchresults.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{searchresults.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<a class="row-item-link{% if searchresults.S_UNREAD_TOPIC %} unread{% else %} read{% endif %}" href="{searchresults.U_NEWEST_POST}" title="{searchresults.TOPIC_FOLDER_IMG_ALT}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:info-variant' : searchresults.S_POST_GLOBAL,
|
||||
'mdi:info-variant' : searchresults.S_POST_ANNOUNCE,
|
||||
'mdi:star' : searchresults.S_POST_STICKY,
|
||||
'mdi:lock' : searchresults.S_TOPIC_LOCKED,
|
||||
'mdi:arrow-right-bold' : searchresults.S_TOPIC_MOVED,
|
||||
'mdi:fire' : searchresults.S_TOPIC_HOT,
|
||||
'mdi:file-document-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
{% if lang(searchresults.TOPIC_AUTHOR) == S_USERNAME %}
|
||||
<span class="row-item-link-mine"></span>
|
||||
{% endif%}
|
||||
{% if searchresults.TOPIC_ICON_IMG and S_TOPIC_ICONS %}
|
||||
<img class="row-item-sub" src="{T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}" alt="">
|
||||
{% endif %}
|
||||
<div class="list-inner">
|
||||
<!-- EVENT topiclist_row_prepend -->
|
||||
<!-- IF searchresults.S_UNREAD_TOPIC and not S_IS_BOT -->
|
||||
<a class="unread" href="{searchresults.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{L_NEW_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', lang('NEW_POST'), true, 'c-topic-unread-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a>
|
||||
<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED -->
|
||||
<a href="{searchresults.U_MCP_QUEUE}" title="{L_TOPIC_UNAPPROVED}">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_UNAPPROVED}</span>
|
||||
{{ Icon('iconify', 'fa:question', lang('TOPIC_UNAPPROVED'), true, 'c-uapproved-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF searchresults.S_TOPIC_DELETED -->
|
||||
<a href="{searchresults.U_MCP_QUEUE}" title="{L_TOPIC_DELETED}">
|
||||
<i class="icon fa-recycle fa-fw icon-green" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_DELETED}</span>
|
||||
{{ Icon('iconify', 'fa:recycle', lang('TOPIC_DELETED'), true, 'c-topic-deleted-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF searchresults.S_TOPIC_REPORTED -->
|
||||
<a href="{searchresults.U_MCP_REPORT}" title="{L_TOPIC_REPORTED}">
|
||||
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span>
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('TOPIC_REPORTED'), true, 'c-topic-reported-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />
|
||||
|
@ -115,8 +131,8 @@
|
|||
<!-- ENDIF -->
|
||||
|
||||
<div class="responsive-hide left-box">
|
||||
<!-- IF searchresults.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
<!-- IF searchresults.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
<!-- IF searchresults.S_HAS_POLL -->{{ Icon('iconify', 'fa:bar-chart', '', true) }}<!-- ENDIF -->
|
||||
<!-- IF searchresults.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }}<!-- ENDIF -->
|
||||
{% EVENT topiclist_row_topic_by_author_before %}
|
||||
{L_POST_BY_AUTHOR} <!-- EVENT search_results_topic_author_username_prepend -->{searchresults.TOPIC_AUTHOR_FULL}<!-- EVENT search_results_topic_author_username_append --> » <time datetime="{searchresults.FIRST_POST_TIME_RFC3339}">{searchresults.FIRST_POST_TIME}</time> » {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>
|
||||
{% EVENT topiclist_row_topic_by_author_after %}
|
||||
|
@ -124,7 +140,7 @@
|
|||
|
||||
<!-- IF .searchresults.pagination -->
|
||||
<div class="pagination">
|
||||
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
|
||||
<span>{{ Icon('iconify', 'fa:clone', '', true) }}</span>
|
||||
<ul>
|
||||
<!-- BEGIN pagination -->
|
||||
<!-- IF searchresults.pagination.S_IS_PREV -->
|
||||
|
@ -147,7 +163,7 @@
|
|||
<span><dfn>{L_LAST_POST} </dfn>{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 -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}">
|
||||
<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>
|
||||
{{ Icon('iconify', 'fa:external-link-square', VIEW_LATEST_POST, true, 'c-last-post-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br /><time datetime="{searchresults.LAST_POST_TIME_RFC3339}">{searchresults.LAST_POST_TIME}</time>
|
||||
|
@ -204,7 +220,7 @@
|
|||
<ul class="searchresults">
|
||||
<li>
|
||||
<a href="{searchresults.U_VIEW_POST}" class="arrow-{S_CONTENT_FLOW_END}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_END} fa-fw icon-black" aria-hidden="true"></i><span>{L_JUMP_TO_POST}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_END, lang('JUMP_TO_POST'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -29,13 +29,13 @@
|
|||
</div>
|
||||
<div id="phpbb_alert" class="phpbb_alert" data-l-err="{L_ERROR}" data-l-timeout-processing-req="{L_TIMEOUT_PROCESSING_REQ}">
|
||||
<a href="#" class="alert_close">
|
||||
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'fa:times-circle', '', true) }}
|
||||
</a>
|
||||
<h3 class="alert_title"></h3><p class="alert_text"></p>
|
||||
</div>
|
||||
<div id="phpbb_confirm" class="phpbb_confirm phpbb_alert">
|
||||
<a href="#" class="alert_close">
|
||||
<i class="icon fa-times-circle fa-fw" aria-hidden="true"></i>
|
||||
{{ Icon('iconify', 'fa:times-circle', '', true) }}
|
||||
</a>
|
||||
<div class="alert_text"></div>
|
||||
</div>
|
||||
|
@ -46,6 +46,7 @@
|
|||
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
|
||||
<!-- INCLUDEJS forum_fn.js -->
|
||||
<!-- INCLUDEJS ajax.js -->
|
||||
<script src="https://code.iconify.design/1/1.0.0-rc7/iconify.min.js"></script>
|
||||
|
||||
<!-- EVENT simple_footer_after -->
|
||||
|
||||
|
|
|
@ -34,23 +34,39 @@
|
|||
<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
|
||||
</dl>
|
||||
<!-- ELSE -->
|
||||
<dl class="row-item {topicrow.TOPIC_IMG_STYLE}">
|
||||
<dt<!-- IF topicrow.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<a class="row-item-link{% if topicrow.S_UNREAD_TOPIC %} unread{% else %} read{% endif %}" href="{topicrow.U_NEWEST_POST}" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:info-variant' : topicrow.S_POST_GLOBAL,
|
||||
'mdi:info-variant' : topicrow.S_POST_ANNOUNCE,
|
||||
'mdi:star' : topicrow.S_POST_STICKY,
|
||||
'mdi:lock' : topicrow.S_TOPIC_LOCKED,
|
||||
'mdi:arrow-right-bold' : topicrow.S_TOPIC_MOVED,
|
||||
'mdi:fire' : topicrow.S_TOPIC_HOT,
|
||||
'mdi:file-document-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
{% if lang(topicrow.TOPIC_AUTHOR) == S_USERNAME %}
|
||||
<span class="row-item-link-mine"></span>
|
||||
{% endif%}
|
||||
{% if topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS %}
|
||||
<img class="row-item-sub" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="">
|
||||
{% endif %}
|
||||
<div class="list-inner">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC -->
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', NEW_POST, true, 'c-topic-unread-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_UNAPPROVED}">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_UNAPPROVED}</span>
|
||||
{{ Icon('iconify', 'fa:question', lang('TOPIC_UNAPPROVED'), true, 'c-unapproved-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
||||
<a href="{topicrow.U_MCP_REPORT}" title="{L_TOPIC_REPORTED}">
|
||||
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span>
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('TOPIC_REPORTED'), true, 'c-topic-reported-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />
|
||||
|
@ -69,11 +85,11 @@
|
|||
</div>
|
||||
<!-- ENDIF -->
|
||||
<div class="responsive-hide">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
|
||||
</div>
|
||||
<div class="responsive-show" style="display: none;">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF -->
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} «
|
||||
<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>
|
||||
</div>
|
||||
|
@ -81,7 +97,7 @@
|
|||
</dt>
|
||||
<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
|
||||
<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">
|
||||
<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>
|
||||
{{ Icon('iconify', 'fa:external-link-square', VIEW_LATEST_POST, true, 'c-last-post-icon') }}
|
||||
</a>
|
||||
<br />{topicrow.LAST_POST_TIME}</span>
|
||||
</dd>
|
||||
|
|
|
@ -13,13 +13,29 @@
|
|||
<ul class="topiclist cplist two-long-columns">
|
||||
<!-- BEGIN topicrow -->
|
||||
<li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="row-item {topicrow.TOPIC_IMG_STYLE}">
|
||||
<dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<a class="row-item-link{% if topicrow.S_UNREAD_TOPIC %} unread{% else %} read{% endif %}" href="{topicrow.U_NEWEST_POST}" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:info-variant' : topicrow.S_POST_GLOBAL,
|
||||
'mdi:info-variant' : topicrow.S_POST_ANNOUNCE,
|
||||
'mdi:star' : topicrow.S_POST_STICKY,
|
||||
'mdi:lock' : topicrow.S_TOPIC_LOCKED,
|
||||
'mdi:arrow-right-bold' : topicrow.S_TOPIC_MOVED,
|
||||
'mdi:fire' : topicrow.S_TOPIC_HOT,
|
||||
'mdi:file-document-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
{% if lang(topicrow.TOPIC_AUTHOR) == S_USERNAME %}
|
||||
<span class="row-item-link-mine"></span>
|
||||
{% endif%}
|
||||
{% if topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS %}
|
||||
<img class="row-item-sub" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="">
|
||||
{% endif %}
|
||||
<div class="list-inner">
|
||||
<!-- IF topicrow.S_UNREAD -->
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', NEW_POST, true, 'c-topic-unread-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><br />
|
||||
|
@ -38,11 +54,11 @@
|
|||
</div>
|
||||
<!-- ENDIF -->
|
||||
<div class="responsive-hide">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
|
||||
</div>
|
||||
<div class="responsive-show" style="display: none;">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF -->
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -50,7 +66,7 @@
|
|||
<dd class="lastpost">
|
||||
<span>{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
|
||||
<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">
|
||||
<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>
|
||||
{{ Icon('iconify', 'fa:external-link-square', VIEW_LATEST_POST, true, 'c-last-post-icon') }}
|
||||
</a>
|
||||
<br />{topicrow.LAST_POST_TIME}
|
||||
</span>
|
||||
|
@ -71,7 +87,7 @@
|
|||
<dt>{L_TOTAL_POSTS}{L_COLON}</dt> <dd><!-- IF POSTS_PCT -->{POSTS}<!-- IF S_DISPLAY_SEARCH --> | <strong><a href="{U_SEARCH_USER}">{L_SEARCH_YOUR_POSTS}</a></strong><!-- ENDIF --><br />({POSTS_DAY} / {POSTS_PCT})<!-- ELSE -->{POSTS}<!-- ENDIF --></dd>
|
||||
<!-- IF ACTIVE_FORUM != '' --><dt>{L_ACTIVE_IN_FORUM}{L_COLON}</dt> <dd><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})</dd><!-- ENDIF -->
|
||||
<!-- IF ACTIVE_TOPIC != '' --><dt>{L_ACTIVE_IN_TOPIC}{L_COLON}</dt> <dd><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})</dd><!-- ENDIF -->
|
||||
<!-- IF WARNINGS --><dt>{L_YOUR_WARNINGS}{L_COLON}</dt> <dd class="error"><i class="icon fa-exclamation-triangle fa-fw icon-red" aria-hidden="true"></i> [{WARNINGS}]</dd><!-- ENDIF -->
|
||||
<!-- IF WARNINGS --><dt>{L_YOUR_WARNINGS}{L_COLON}</dt> <dd class="error">{{ Icon('iconify', 'fa:external-triangle', '', true, 'c-warning-icon') }} [{WARNINGS}]</dd><!-- ENDIF -->
|
||||
<!-- EVENT ucp_main_front_user_activity_append -->
|
||||
</dl>
|
||||
<!-- EVENT ucp_main_front_user_activity_after -->
|
||||
|
|
|
@ -22,9 +22,16 @@
|
|||
|
||||
<!-- BEGIN forumrow -->
|
||||
<li class="row<!-- IF forumrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="row-item {forumrow.FORUM_IMG_STYLE}">
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<a class="row-item-link{% if forumrow.S_UNREAD_FORUM %} unread{% else %} read{% endif %}" href="{forumrow.U_VIEWFORUM}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:link-variant' : forumrow.S_IS_LINK,
|
||||
'mdi:lock' : forumrow.S_LOCKED_FORUM,
|
||||
'mdi:file-document-box-multiple-outline' : forumrow.S_SUBFORUMS,
|
||||
'mdi:file-document-box-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
<div class="list-inner">
|
||||
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
|
||||
{forumrow.FORUM_DESC}
|
||||
|
@ -39,7 +46,7 @@
|
|||
<!-- IF forumrow.LAST_POST_TIME -->
|
||||
<span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {forumrow.LAST_POST_AUTHOR_FULL}
|
||||
<a href="{forumrow.U_LAST_POST}">
|
||||
<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>
|
||||
{{ Icon('iconify', 'fa:external-link-square', VIEW_LATEST_POST, true, 'c-last-post-icon') }}
|
||||
</a>
|
||||
<br />{forumrow.LAST_POST_TIME}</span>
|
||||
<!-- ELSE -->
|
||||
|
@ -77,23 +84,39 @@
|
|||
|
||||
<!-- BEGIN topicrow -->
|
||||
<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="row-item {topicrow.TOPIC_IMG_STYLE}">
|
||||
<dt<!-- IF topicrow.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<a class="row-item-link{% if topicrow.S_UNREAD_TOPIC %} unread{% else %} read{% endif %}" href="{topicrow.U_NEWEST_POST}" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:info-variant' : topicrow.S_POST_GLOBAL,
|
||||
'mdi:info-variant' : topicrow.S_POST_ANNOUNCE,
|
||||
'mdi:star' : topicrow.S_POST_STICKY,
|
||||
'mdi:lock' : topicrow.S_TOPIC_LOCKED,
|
||||
'mdi:arrow-right-bold' : topicrow.S_TOPIC_MOVED,
|
||||
'mdi:fire' : topicrow.S_TOPIC_HOT,
|
||||
'mdi:file-document-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
{% if lang(topicrow.TOPIC_AUTHOR) == S_USERNAME %}
|
||||
<span class="row-item-link-mine"></span>
|
||||
{% endif%}
|
||||
{% if topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS %}
|
||||
<img class="row-item-sub" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="">
|
||||
{% endif %}
|
||||
<div class="list-inner">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC -->
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', NEW_POST, true, 'c-topic-unread-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_UNAPPROVED}">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_UNAPPROVED}</span>
|
||||
{{ Icon('iconify', 'fa:question', lang('TOPIC_UNAPPROVED'), true, 'c-unapproved-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
||||
<a href="{topicrow.U_MCP_REPORT}" title="{L_TOPIC_REPORTED}">
|
||||
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span>
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('TOPIC_REPORTED'), true, 'c-topic-reported-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />
|
||||
|
@ -112,18 +135,18 @@
|
|||
</div>
|
||||
<!-- ENDIF -->
|
||||
<div class="responsive-hide">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME}
|
||||
</div>
|
||||
<div class="responsive-show" style="display: none;">
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF -->
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>
|
||||
</div>
|
||||
</div>
|
||||
</dt>
|
||||
<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
|
||||
<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">
|
||||
<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>
|
||||
{{ Icon('iconify', 'fa:external-link-square', VIEW_LATEST_POST, true, 'c-last-post-icon') }}
|
||||
</a>
|
||||
<br />{topicrow.LAST_POST_TIME}</span>
|
||||
</dd>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE -->
|
||||
<li>
|
||||
<a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#postingbox" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}', {time:{history_row.MESSAGE_TIME},user_id:{history_row.USER_ID}});"<!-- ENDIF --> title="{L_QUOTE} {history_row.MESSAGE_AUTHOR}" class="button button-icon-only">
|
||||
<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span>
|
||||
{{ Icon('iconify', 'fa:quote-left', '', true, 'c-button-icon') }}<span class="sr-only">{L_QUOTE} {history_row.MESSAGE_AUTHOR}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
@ -34,7 +34,7 @@
|
|||
<!-- EVENT ucp_pm_history_post_buttons_list_after -->
|
||||
|
||||
<p class="author">
|
||||
<span><i class="icon fa-file fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{history_row.MINI_POST}</span></span> {L_SENT_AT}{L_COLON} <strong>{history_row.SENT_DATE}</strong>
|
||||
{{ Icon('iconify', 'fa:file', history_row.MINI_POST, true, 'c-topic-icon') }} {L_SENT_AT}{L_COLON} <strong>{history_row.SENT_DATE}</strong>
|
||||
<br />
|
||||
{L_MESSAGE_BY_AUTHOR} <!-- EVENT ucp_pm_history_row_message_author_username_prepend -->{history_row.MESSAGE_AUTHOR_FULL}<!-- EVENT ucp_pm_history_row_message_author_username_append -->
|
||||
</p>
|
||||
|
@ -51,6 +51,6 @@
|
|||
<hr />
|
||||
<p>
|
||||
<a href="#cp-main" class="top">
|
||||
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i><span>{L_BACK_TO_TOP}</span>
|
||||
{{ Icon('iconify', 'fa:chevron-circle-up', lang('BACK_TO_TOP'), false, 'c-top-icon') }}
|
||||
</a>
|
||||
</p>
|
||||
|
|
|
@ -10,21 +10,21 @@
|
|||
<!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM -->
|
||||
<!-- IF U_POST_REPLY_PM -->
|
||||
<a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}" class="button">
|
||||
<span>{L_BUTTON_PM_REPLY}</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_PM_REPLY}</span> {{ Icon('iconify', 'fa:reply', '', true, 'c-button-icon') }}</i>
|
||||
</a>
|
||||
<!-- ELSEIF U_POST_NEW_TOPIC -->
|
||||
<a href="{U_POST_NEW_TOPIC}" accesskey="n" title="{L_UCP_PM_COMPOSE}" class="button">
|
||||
<span>{L_BUTTON_PM_NEW}</span> <i class="icon fa-pencil fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_PM_NEW}</span> {{ Icon('iconify', 'fa:pencil', '', true, 'c-button-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_FORWARD_PM -->
|
||||
<a title="{L_POST_FORWARD_PM}" href="{U_FORWARD_PM}" class="button">
|
||||
<span>{L_BUTTON_PM_FORWARD}</span> <i class="icon fa-mail-forward fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_PM_FORWARD}</span> {{ Icon('iconify', 'fa:mail-forward', '', true, 'c-button-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 -->
|
||||
<a title="{L_REPLY_TO_ALL}" href="{U_POST_REPLY_ALL}" class="button">
|
||||
<span>{L_BUTTON_PM_REPLY_ALL}</span> <i class="icon fa-pencil fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_PM_REPLY_ALL}</span> {{ Icon('iconify', 'fa:pencil', '', true, 'c-button-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
@ -32,8 +32,8 @@
|
|||
<!-- IF not S_IS_BOT and U_PRINT_PM -->
|
||||
<div class="dropdown-container dropdown-button-control topic-tools">
|
||||
<span title="{L_PM_TOOLS}" class="button button-secondary dropdown-trigger dropdown-select">
|
||||
<i class="icon fa-wrench fa-fw" aria-hidden="true"></i>
|
||||
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
|
||||
{{ Icon('iconify', 'fa:wrench', '', true, 'c-button-icon') }}
|
||||
<span class="caret">{{ Icon('iconify', 'fa:caret-down', '', true, 'c-button-icon') }}</span>
|
||||
</span>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<!-- IF U_PRINT_PM -->
|
||||
<li>
|
||||
<a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p">
|
||||
<i class="icon fa-print fa-fw" aria-hidden="true"></i><span>{L_PRINT_PM}</span>
|
||||
{{ Icon('iconify', 'fa:print', lang('PRINT_PM'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
@ -54,7 +54,7 @@
|
|||
<div class="pagination">
|
||||
<!-- IF S_VIEW_MESSAGE -->
|
||||
<a class="arrow-{S_CONTENT_FLOW_BEGIN}" href="{U_CURRENT_FOLDER}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_RETURN_TO_FOLDER}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('RETURN_TO_FOLDER'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
<!-- ELSEIF FOLDER_CUR_MESSAGES neq 0 -->
|
||||
<!-- IF U_MARK_ALL --><a href="{U_MARK_ALL}" class="mark">{L_PM_MARK_ALL_READ}</a> • <!-- ENDIF -->
|
||||
|
|
|
@ -57,9 +57,14 @@
|
|||
|
||||
<!-- BEGIN messagerow -->
|
||||
<li class="row<!-- IF messagerow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF messagerow.PM_CLASS --> {messagerow.PM_CLASS}<!-- ENDIF -->">
|
||||
<dl class="row-item {messagerow.FOLDER_IMG_STYLE}">
|
||||
<dt<!-- IF messagerow.PM_ICON_URL and S_PM_ICONS --> style="background-image: url({messagerow.PM_ICON_URL}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||
<!-- IF messagerow.S_PM_UNREAD and not messagerow.S_PM_DELETED --><a href="{messagerow.U_VIEW_PM}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<a class="row-item-link{% if messagerow.S_PM_UNREAD %} unread{% else %} read{% endif %}" href="{messagerow.U_VIEW_PM}">
|
||||
{{ Icon('iconify', 'mdi:comment-text-outline', '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
{% if messagerow.PM_ICON_URL and S_PM_ICONS %}
|
||||
<img class="row-item-sub" src="{messagerow.PM_ICON_URL}" alt="">
|
||||
{% endif %}
|
||||
<div class="list-inner">
|
||||
|
||||
<!-- IF messagerow.S_PM_DELETED -->
|
||||
|
@ -73,9 +78,9 @@
|
|||
<!-- ENDIF -->
|
||||
<!-- IF messagerow.S_PM_REPORTED -->
|
||||
<a href="{messagerow.U_MCP_REPORT}">
|
||||
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{PM_REPORTED}</span>
|
||||
{{ Icon('iconify', 'fa:exclamation', PM_REPORTED, true, 'c-topic-reported-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF --> <!-- IF messagerow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- ENDIF --><br />
|
||||
<!-- ENDIF --> <!-- IF messagerow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }} <!-- ENDIF --><br />
|
||||
<!-- IF S_SHOW_RECIPIENTS -->{L_MESSAGE_TO} {messagerow.RECIPIENTS}<!-- ELSE -->{L_MESSAGE_BY_AUTHOR} {messagerow.MESSAGE_AUTHOR_FULL} » {messagerow.SENT_TIME}<!-- ENDIF -->
|
||||
|
||||
</div>
|
||||
|
|
|
@ -10,12 +10,12 @@
|
|||
<fieldset class="display-options clearfix">
|
||||
<!-- IF U_VIEW_PREVIOUS_HISTORY -->
|
||||
<a href="{U_VIEW_PREVIOUS_HISTORY}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_VIEW_PREVIOUS_HISTORY}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('VIEW_PREVIOUS_HISTORY'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_VIEW_NEXT_HISTORY -->
|
||||
<a href="{U_VIEW_NEXT_HISTORY}" class="right-box arrow-{S_CONTENT_FLOW_END}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_END} fa-fw icon-black" aria-hidden="true"></i><span>{L_VIEW_NEXT_HISTORY}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_END, lang('VIEW_NEXT_HISTORY'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
</fieldset>
|
||||
|
@ -32,7 +32,7 @@
|
|||
<!-- IF AUTHOR_AVATAR --><a href="{U_MESSAGE_AUTHOR}" class="avatar">{AUTHOR_AVATAR}</a><!-- ENDIF -->
|
||||
<!-- EVENT ucp_pm_viewmessage_avatar_after -->
|
||||
</div>
|
||||
{MESSAGE_AUTHOR_FULL}<!-- IF S_ONLINE --> <i class="icon fa-circle fa-fw icon-md online" aria-hidden="true" title="{L_ONLINE}"></i><span class="sr-only">{L_ONLINE}</span><!-- ENDIF -->
|
||||
{MESSAGE_AUTHOR_FULL}<!-- IF S_ONLINE --> {{ Icon('iconify', 'fa:circle', lang('ONLINE'), true, 'c-online-icon') }}<!-- ENDIF -->
|
||||
</dt>
|
||||
|
||||
<!-- EVENT ucp_pm_viewmessage_rank_before -->
|
||||
|
@ -55,7 +55,7 @@
|
|||
<dd class="profile-contact">
|
||||
<strong>{L_CONTACT}{L_COLON}</strong>
|
||||
<div class="dropdown-container dropdown-left">
|
||||
<a href="#" class="dropdown-trigger" title="{CONTACT_USER}"><i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">{CONTACT_USER}</span></a>
|
||||
<a href="#" class="dropdown-trigger" title="{CONTACT_USER}">{{ Icon('iconify', 'mdi:comment-processing-outline', CONTACT_USER, true) }}</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<div class="dropdown-contents contact-icons">
|
||||
|
@ -66,7 +66,21 @@
|
|||
<div>
|
||||
<!-- ENDIF -->
|
||||
<a href="<!-- IF contact.U_CONTACT -->{contact.U_CONTACT}<!-- ELSE -->{contact.U_PROFILE_AUTHOR}<!-- ENDIF -->" title="{contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->>
|
||||
<span class="contact-icon {contact.ID}-icon">{contact.NAME}</span>
|
||||
{% if contact.ID == 'pm' %}
|
||||
{{ Icon('iconify', 'mdi:comment-account-outline', '', true, 'contact-icon') }}
|
||||
{% elseif contact.ID == 'email' %}
|
||||
{{ Icon('iconify', 'mdi:at', '', true, 'contact-icon') }}
|
||||
{% elseif contact.ID == 'phpbb_website' %}
|
||||
{{ Icon('iconify', 'mdi:earth', '', true, 'contact-icon') }}
|
||||
{% elseif contact.ID == 'phpbb_facebook' %}
|
||||
{{ Icon('iconify', 'mdi:facebook-box', '', true, 'contact-icon c-facebook-icon') }}
|
||||
{% elseif contact.ID == 'phpbb_twitter' %}
|
||||
{{ Icon('iconify', 'mdi:twitter', '', true, 'contact-icon c-twitter-icon') }}
|
||||
{% elseif contact.ID == 'phpbb_skype' %}
|
||||
{{ Icon('iconify', 'mdi:skype', '', true, 'contact-icon c-skype-icon') }}
|
||||
{% elseif contact.ID == 'phpbb_youtube' %}
|
||||
{{ Icon('iconify', 'mdi:youtube', '', true, 'contact-icon c-youtube-icon') }}
|
||||
{% endif %}
|
||||
</a>
|
||||
<!-- IF REMAINDER eq 3 or contact.S_LAST_ROW -->
|
||||
</div>
|
||||
|
@ -91,28 +105,28 @@
|
|||
<!-- IF U_EDIT -->
|
||||
<li>
|
||||
<a href="{U_EDIT}" title="{L_POST_EDIT_PM}" class="button button-icon-only">
|
||||
<i class="icon fa-pencil fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_EDIT}</span>
|
||||
{{ Icon('iconify', 'fa:pencil', lang('BUTTON_EDIT'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_DELETE -->
|
||||
<li>
|
||||
<a href="{U_DELETE}" title="{L_DELETE_MESSAGE}" class="button button-icon-only">
|
||||
<i class="icon fa-times fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_DELETE}</span>
|
||||
{{ Icon('iconify', 'fa:times', lang('BUTTON_DELETE'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_REPORT -->
|
||||
<li>
|
||||
<a href="{U_REPORT}" title="{L_REPORT_PM}" class="button button-icon-only">
|
||||
<i class="icon fa-exclamation fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_REPORT}</span>
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('BUTTON_REPORT'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_QUOTE -->
|
||||
<li>
|
||||
<a href="{U_QUOTE}" title="{L_POST_QUOTE_PM}" class="button button-icon-only">
|
||||
<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_QUOTE}</span>
|
||||
{{ Icon('iconify', 'fa:quote-left', lang('BUTTON_QUOTE'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
@ -159,8 +173,7 @@
|
|||
|
||||
<div class="back2top">
|
||||
<a href="#top" class="top" title="{L_BACK_TO_TOP}">
|
||||
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i>
|
||||
<span class="sr-only">{L_BACK_TO_TOP}</span>
|
||||
{{ Icon('iconify', 'fa:chevron-circle-up', lang('BACK_TO_TOP'), true, 'c-top-icon') }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
@ -174,12 +187,12 @@
|
|||
<!-- IF S_MARK_OPTIONS --><label for="mark_option"><select name="mark_option" id="mark_option">{S_MARK_OPTIONS}</select></label> <input class="button1 button button-form-bold" type="submit" name="submit_mark" value="{L_GO}" /><!-- ENDIF -->
|
||||
<!-- IF U_PREVIOUS_PM -->
|
||||
<a href="{U_PREVIOUS_PM}" class="left-box arrow-{S_CONTENT_FLOW_BEGIN}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_BEGIN} fa-fw icon-black" aria-hidden="true"></i><span>{L_VIEW_PREVIOUS_PM}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_BEGIN, lang('VIEW_PREVIOUS_PM'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_NEXT_PM -->
|
||||
<a href="{U_NEXT_PM}" class="right-box arrow-{S_CONTENT_FLOW_END}">
|
||||
<i class="icon fa-angle-{S_CONTENT_FLOW_END} fa-fw icon-black" aria-hidden="true"></i><span>{L_VIEW_NEXT_PM}</span>
|
||||
{{ Icon('iconify', 'fa:angle-' ~ S_CONTENT_FLOW_END, lang('VIEW_NEXT_PM'), false, 'c-return-arrow-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_UNREAD and not S_SPECIAL_FOLDER --><label for="dest_folder"><!-- IF S_VIEW_MESSAGE -->{L_MOVE_TO_FOLDER}{L_COLON} <!-- ELSE -->{L_MOVE_MARKED_TO_FOLDER}<!-- ENDIF --> <select name="dest_folder" id="dest_folder">{S_TO_FOLDER_OPTIONS}</select></label> <input class="button1 button button-form-bold" type="submit" name="move_pm" value="{L_GO}" /><!-- ENDIF -->
|
||||
|
|
|
@ -42,9 +42,9 @@
|
|||
|
||||
<a href="{U_POST_NEW_TOPIC}" class="button" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->">
|
||||
<!-- IF S_IS_LOCKED -->
|
||||
<span>{L_BUTTON_FORUM_LOCKED}</span> <i class="icon fa-lock fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_FORUM_LOCKED}</span> {{ Icon('iconify', 'fa:lock', '', true, 'c-button-icon') }}
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_NEW_TOPIC}</span> <i class="icon fa-pencil fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_NEW_TOPIC}</span> {{ Icon('iconify', 'fa:pencil', '', true, 'c-button-icon') }}
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
<!-- EVENT viewforum_buttons_top_after -->
|
||||
|
@ -56,10 +56,10 @@
|
|||
<fieldset>
|
||||
<input class="inputbox search tiny" type="search" name="keywords" id="search_keywords" size="20" placeholder="{L_SEARCH_FORUM}" />
|
||||
<button class="button button-search" type="submit" title="{L_SEARCH}">
|
||||
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
|
||||
{{ Icon('iconify', 'fa:search', lang('SEARCH'), true, 'c-button-icon') }}
|
||||
</button>
|
||||
<a href="{{ U_SEARCH_FORUM }}" class="button button-search-end" title="{L_SEARCH_ADV}">
|
||||
<i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH_ADV}</span>
|
||||
<a href="{{ U_SEARCH_FORUM }}" class="button button-search-end" title="lang('SEARCH_ADV')">
|
||||
{{ Icon('iconify', 'fa:cog', lang('SEARCH_ADV'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
{S_SEARCH_LOCAL_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
|
@ -156,30 +156,46 @@
|
|||
<!-- EVENT viewforum_body_topicrow_row_before -->
|
||||
<li class="row<!-- IF topicrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||
<!-- EVENT viewforum_body_topic_row_prepend -->
|
||||
<dl class="row-item {topicrow.TOPIC_IMG_STYLE}">
|
||||
<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url('{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}'); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{topicrow.U_NEWEST_POST}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<dl class="row-item">
|
||||
<dt>
|
||||
<a class="row-item-link{% if topicrow.S_UNREAD_TOPIC %} unread{% else %} read{% endif %}" href="{topicrow.U_NEWEST_POST}" title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
|
||||
{{ Icon('iconify', {
|
||||
'mdi:info-variant' : topicrow.S_POST_GLOBAL,
|
||||
'mdi:info-variant' : topicrow.S_POST_ANNOUNCE,
|
||||
'mdi:star' : topicrow.S_POST_STICKY,
|
||||
'mdi:lock' : topicrow.S_TOPIC_LOCKED,
|
||||
'mdi:arrow-right-bold' : topicrow.S_TOPIC_MOVED,
|
||||
'mdi:fire' : topicrow.S_TOPIC_HOT,
|
||||
'mdi:file-document-outline' : true,
|
||||
}, '', true, 'c-forum-row-icon') }}
|
||||
</a>
|
||||
{% if lang(topicrow.TOPIC_AUTHOR) == S_USERNAME %}
|
||||
<span class="row-item-link-mine"></span>
|
||||
{% endif%}
|
||||
{% if topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS %}
|
||||
<img class="row-item-sub" src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="">
|
||||
{% endif %}
|
||||
<div class="list-inner">
|
||||
<!-- EVENT topiclist_row_prepend -->
|
||||
<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT -->
|
||||
<a class="unread" href="{topicrow.U_NEWEST_POST}">
|
||||
<i class="icon fa-file fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{NEW_POST}</span>
|
||||
{{ Icon('iconify', 'fa:file', NEW_POST, true, 'c-topic-unread-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.U_VIEW_TOPIC --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><!-- ELSE -->{topicrow.TOPIC_TITLE}<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" title="<!-- IF topicrow.S_TOPIC_UNAPPROVED -->{L_TOPIC_UNAPPROVED}<!-- ELSE -->{L_POSTS_UNAPPROVED}<!-- ENDIF -->">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only"><!-- IF topicrow.S_TOPIC_UNAPPROVED -->{L_TOPIC_UNAPPROVED}<!-- ELSE -->{L_POSTS_UNAPPROVED}<!-- ENDIF --></span>
|
||||
{{ Icon('iconify', 'fa:question', '', true, 'c-unapproved-icon') }}<span class="sr-only"><!-- IF topicrow.S_TOPIC_UNAPPROVED -->{L_TOPIC_UNAPPROVED}<!-- ELSE -->{L_POSTS_UNAPPROVED}<!-- ENDIF --></span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_DELETED -->
|
||||
<a href="{topicrow.U_MCP_QUEUE}" title="{L_TOPIC_DELETED}">
|
||||
<i class="icon fa-recycle fa-fw icon-green" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_DELETED}</span>
|
||||
{{ Icon('iconify', 'fa:recycle', lang('TOPIC_DELETED'), true, 'c-topic-deleted-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF topicrow.S_TOPIC_REPORTED -->
|
||||
<a href="{topicrow.U_MCP_REPORT}" title="{L_TOPIC_REPORTED}">
|
||||
<i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><span class="sr-only">{L_TOPIC_REPORTED}</span>
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('TOPIC_REPORTED'), true, 'c-topic-reported-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />
|
||||
|
@ -196,8 +212,8 @@
|
|||
<!-- ENDIF -->
|
||||
|
||||
<div class="topic-poster responsive-hide left-box">
|
||||
<!-- IF topicrow.S_HAS_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
<!-- IF topicrow.S_HAS_POLL -->{{ Icon('iconify', 'fa:bar-chart', '', true) }}<!-- ENDIF -->
|
||||
<!-- IF topicrow.ATTACH_ICON_IMG -->{{ Icon('iconify', 'fa:paperclip', '', true) }}<!-- ENDIF -->
|
||||
{% EVENT topiclist_row_topic_by_author_before %}
|
||||
{L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_topic_author_username_prepend -->{topicrow.TOPIC_AUTHOR_FULL}<!-- EVENT viewforum_body_topic_author_username_append --> » <time datetime="{topicrow.FIRST_POST_TIME_RFC3339}">{topicrow.FIRST_POST_TIME}</time>
|
||||
{% EVENT topiclist_row_topic_by_author_after %}
|
||||
|
@ -206,7 +222,7 @@
|
|||
|
||||
<!-- IF .topicrow.pagination -->
|
||||
<div class="pagination">
|
||||
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
|
||||
<span>{{ Icon('iconify', 'fa:clone', '', true) }}</span>
|
||||
<ul>
|
||||
<!-- BEGIN pagination -->
|
||||
<!-- IF topicrow.pagination.S_IS_PREV -->
|
||||
|
@ -229,7 +245,7 @@
|
|||
<span><dfn>{L_LAST_POST} </dfn>{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 -->
|
||||
<!-- IF not S_IS_BOT and topicrow.U_LAST_POST -->
|
||||
<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">
|
||||
<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>
|
||||
{{ Icon('iconify', 'fa:external-link-square', VIEW_LATEST_POST, true, 'c-last-post-icon') }}
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br /><time datetime="{topicrow.LAST_POST_TIME_RFC3339}">{topicrow.LAST_POST_TIME}</time>
|
||||
|
@ -269,9 +285,9 @@
|
|||
|
||||
<a href="{U_POST_NEW_TOPIC}" class="button" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->">
|
||||
<!-- IF S_IS_LOCKED -->
|
||||
<span>{L_BUTTON_FORUM_LOCKED}</span> <i class="icon fa-lock fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_FORUM_LOCKED}</span> {{ Icon('iconify', 'fa:lock', '', true, 'c-button-icon') }}
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_NEW_TOPIC}</span> <i class="icon fa-pencil fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_NEW_TOPIC}</span> {{ Icon('iconify', 'fa:pencil', '', true, 'c-button-icon') }}
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
|
||||
|
|
|
@ -33,9 +33,9 @@
|
|||
<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
|
||||
<a href="{U_POST_REPLY_TOPIC}" class="button" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->">
|
||||
<!-- IF S_IS_LOCKED -->
|
||||
<span>{L_BUTTON_TOPIC_LOCKED}</span> <i class="icon fa-lock fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_TOPIC_LOCKED}</span> {{ Icon('iconify', 'fa:lock', '', true, 'c-button-icon') }}
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_POST_REPLY}</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_POST_REPLY}</span> {{ Icon('iconify', 'fa:reply', '', true, 'c-button-icon') }}
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
@ -50,10 +50,10 @@
|
|||
<fieldset>
|
||||
<input class="inputbox search tiny" type="search" name="keywords" id="search_keywords" size="20" placeholder="{L_SEARCH_TOPIC}" />
|
||||
<button class="button button-search" type="submit" title="{L_SEARCH}">
|
||||
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
|
||||
{{ Icon('iconify', 'fa:search', lang('SEARCH'), true, 'c-button-icon') }}
|
||||
</button>
|
||||
<a href="{U_SEARCH}" class="button button-search-end" title="{L_SEARCH_ADV}">
|
||||
<i class="icon fa-cog fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH_ADV}</span>
|
||||
{{ Icon('iconify', 'fa:cog', lang('SEARCH_ADV'), true, 'c-button-icon') }}
|
||||
</a>
|
||||
{S_SEARCH_LOCAL_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
|
@ -149,7 +149,7 @@
|
|||
<!-- EVENT viewtopic_body_avatar_after -->
|
||||
</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 fa-fw icon-md online" aria-hidden="true" title="{L_ONLINE}"></i><span class="sr-only">{L_ONLINE}</span><!-- ENDIF -->
|
||||
<!-- 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 --> {{ Icon('iconify', 'fa:circle', lang('ONLINE'), true, 'c-online-icon') }}<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_post_author_after -->
|
||||
</dt>
|
||||
|
||||
|
@ -180,7 +180,7 @@
|
|||
<strong>{L_CONTACT}{L_COLON}</strong>
|
||||
<div class="dropdown-container dropdown-left">
|
||||
<a href="#" class="dropdown-trigger" title="{postrow.CONTACT_USER}">
|
||||
<i class="icon fa-commenting-o fa-fw icon-lg" aria-hidden="true"></i><span class="sr-only">{postrow.CONTACT_USER}</span>
|
||||
{{ Icon('iconify', 'mdi:comment-processing-outline', postrow.CONTACT_USER, true) }}
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
|
@ -192,7 +192,25 @@
|
|||
<div>
|
||||
<!-- ENDIF -->
|
||||
<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.U_POST_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 750, 320); return false;"<!-- ENDIF -->>
|
||||
{% EVENT viewtopic_body_contact_icon_prepend %}<span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span>{% EVENT viewtopic_body_contact_icon_append %}
|
||||
{% EVENT viewtopic_body_contact_icon_prepend %}
|
||||
{% if postrow.contact.ID == 'pm' %}
|
||||
{{ Icon('iconify', 'mdi:comment-account-outline', '', true, 'contact-icon') }}
|
||||
{% elseif postrow.contact.ID == 'email' %}
|
||||
{{ Icon('iconify', 'mdi:at', '', true, 'contact-icon') }}
|
||||
{% elseif postrow.contact.ID == 'phpbb_website' %}
|
||||
{{ Icon('iconify', 'mdi:earth', '', true, 'contact-icon') }}
|
||||
{% elseif postrow.contact.ID == 'phpbb_facebook' %}
|
||||
{{ Icon('iconify', 'mdi:facebook-box', '', true, 'contact-icon c-facebook-icon') }}
|
||||
{% elseif postrow.contact.ID == 'phpbb_twitter' %}
|
||||
{{ Icon('iconify', 'mdi:twitter', '', true, 'contact-icon c-twitter-icon') }}
|
||||
{% elseif postrow.contact.ID == 'phpbb_skype' %}
|
||||
{{ Icon('iconify', 'mdi:skype', '', true, 'contact-icon c-skype-icon') }}
|
||||
{% elseif postrow.contact.ID == 'phpbb_youtube' %}
|
||||
{{ Icon('iconify', 'mdi:youtube', '', true, 'contact-icon c-youtube-icon') }}
|
||||
{% else %}
|
||||
{{ Icon('svg', contact.ID, '', true, 'contact-icon') }}
|
||||
{% endif %}
|
||||
{% EVENT viewtopic_body_contact_icon_append %}
|
||||
</a>
|
||||
<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
|
||||
</div>
|
||||
|
@ -236,50 +254,73 @@
|
|||
<!-- IF not S_IS_BOT -->
|
||||
<!-- IF $SHOW_POST_BUTTONS -->
|
||||
<ul class="post-buttons">
|
||||
<!-- EVENT viewtopic_body_post_buttons_before -->
|
||||
<!-- IF postrow.U_EDIT -->
|
||||
<li>
|
||||
<a href="{postrow.U_EDIT}" title="{L_EDIT_POST}" class="button button-icon-only">
|
||||
<i class="icon fa-pencil fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_EDIT}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_DELETE -->
|
||||
<li>
|
||||
<a href="{postrow.U_DELETE}" title="{L_DELETE_POST}" class="button button-icon-only">
|
||||
<i class="icon fa-times fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_DELETE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_REPORT -->
|
||||
<li>
|
||||
<a href="{postrow.U_REPORT}" title="{L_REPORT_POST}" class="button button-icon-only">
|
||||
<i class="icon fa-exclamation fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_REPORT}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_WARN -->
|
||||
<li>
|
||||
<a href="{postrow.U_WARN}" title="{L_WARN_USER}" class="button button-icon-only">
|
||||
<i class="icon fa-exclamation-triangle fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_WARN}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_INFO -->
|
||||
<li>
|
||||
<a href="{postrow.U_INFO}" title="{L_INFORMATION}" class="button button-icon-only">
|
||||
<i class="icon fa-info fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_INFORMATION}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF postrow.U_QUOTE -->
|
||||
<li>
|
||||
<a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}" class="button button-icon-only">
|
||||
<i class="icon fa-quote-left fa-fw" aria-hidden="true"></i><span class="sr-only">{L_BUTTON_QUOTE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_post_buttons_after -->
|
||||
{% with {'post_buttons_hide_text': true} %}
|
||||
{% block post_buttons %}
|
||||
{% EVENT viewtopic_body_post_buttons_before %}
|
||||
|
||||
{% if postrow.U_EDIT %}
|
||||
<li>
|
||||
<a href="{{ postrow.U_EDIT }}" title="{{ lang('EDIT_POST') }}" class="button button-icon-only">
|
||||
{{ Icon('iconify', 'fa:pencil', lang('BUTTON_EDIT'), post_buttons_hide_text, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if postrow.U_DELETE %}
|
||||
<li>
|
||||
<a href="{{ postrow.U_DELETE }}" title="{{ lang('DELETE_POST') }}" class="button button-icon-only">
|
||||
{{ Icon('iconify', 'fa:times', lang('BUTTON_DELETE'), post_buttons_hide_text, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if postrow.U_REPORT %}
|
||||
<li>
|
||||
<a href="{{ postrow.U_REPORT }}" title="{{ lang('REPORT_POST') }}" class="button button-icon-only">
|
||||
{{ Icon('iconify', 'fa:exclamation', lang('BUTTON_REPORT'), post_buttons_hide_text, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if postrow.U_WARN %}
|
||||
<li>
|
||||
<a href="{{ postrow.U_WARN }}" title="{{ lang('WARN_USER') }}" class="button button-icon-only">
|
||||
{{ Icon('iconify', 'fa:exclamation-triangle', lang('BUTTON_WARN'), post_buttons_hide_text, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if postrow.U_INFO %}
|
||||
<li>
|
||||
<a href="{{ postrow.U_INFO }}" title="{{ lang('INFORMATION') }}" class="button button-icon-only">
|
||||
{{ Icon('iconify', 'fa:info', lang('BUTTON_INFORMATION'), post_buttons_hide_text, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if postrow.U_QUOTE %}
|
||||
<li>
|
||||
<a href="{{ postrow.U_QUOTE }}" title="{{ lang('REPLY_WITH_QUOTE') }}" class="button button-icon-only">
|
||||
{{ Icon('iconify', 'fa:quote-left', lang('BUTTON_QUOTE'), post_buttons_hide_text, 'c-button-icon') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% EVENT viewtopic_body_post_buttons_after %}
|
||||
{% endblock post_buttons %}
|
||||
{% endwith %}
|
||||
|
||||
<li class="post-buttons-responsive-menu dropdown-container">
|
||||
<a href="javascript:void(0);" class="button button-icon-only post-button-responsive dropdown-toggle">
|
||||
{{ Icon('iconify', 'fa:bars', '', true, 'c-button-icon') }}
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer">
|
||||
<div class="pointer-inner"></div>
|
||||
</div>
|
||||
|
||||
<ul class="dropdown-contents">
|
||||
{% with {'post_buttons_hide_text': false} %}
|
||||
{{ block('post_buttons', _self) }}
|
||||
{% endwith %}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
@ -287,13 +328,13 @@
|
|||
|
||||
<!-- EVENT viewtopic_body_postrow_post_details_before -->
|
||||
<p class="author">
|
||||
<!-- IF S_IS_BOT -->
|
||||
<span><i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span></span>
|
||||
<!-- ELSE -->
|
||||
<a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
|
||||
<i class="icon fa-file fa-fw <!-- IF postrow.S_UNREAD_POST -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<a class="unread" href="{postrow.U_MINI_POST}" title="{postrow.MINI_POST}">
|
||||
{% if postrow.S_UNREAD_POST %}
|
||||
<span>{{ Icon('iconify', 'fa:file', postrow.MINI_POST, true, 'c-topic-unread-icon') }}</span>
|
||||
{% else %}
|
||||
<span>{{ Icon('iconify', 'fa:file', postrow.MINI_POST, true, 'c-topic-icon') }}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
<span class="responsive-hide">{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> » </span><time datetime="{postrow.POST_DATE_RFC3339}">{postrow.POST_DATE}</time>
|
||||
</p>
|
||||
<!-- EVENT viewtopic_body_postrow_post_details_after -->
|
||||
|
@ -302,7 +343,7 @@
|
|||
<!-- 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>
|
||||
<span>{{ Icon('iconify', 'fa:question', '', true, 'c-reported-icon') }}</span>
|
||||
<strong>{L_POST_UNAPPROVED_ACTION}</strong>
|
||||
<input class="button1 button button-form-bold" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" />
|
||||
<input class="button1 button button-form" type="submit" value="{L_APPROVE}" name="action[approve]" />
|
||||
|
@ -312,7 +353,7 @@
|
|||
</form>
|
||||
<!-- ELSE -->
|
||||
<p class="post-notice unapproved">
|
||||
<span><i class="icon fa-exclamation icon-red fa-fw" aria-hidden="true"></i></span>
|
||||
<span>{{ Icon('iconify', 'fa:exclamation', '', true, 'c-topic-reported-icon') }}</span>
|
||||
<strong>{L_POST_UNAPPROVED_EXPLAIN}</strong>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
@ -332,7 +373,7 @@
|
|||
|
||||
<!-- IF postrow.S_POST_REPORTED -->
|
||||
<p class="post-notice reported">
|
||||
<a href="{postrow.U_MCP_REPORT}"><i class="icon fa-exclamation fa-fw icon-red" aria-hidden="true"></i><strong>{L_POST_REPORTED}</strong></a>
|
||||
<a href="{postrow.U_MCP_REPORT}">{{ Icon('iconify', 'fa:exclamation', '', true, 'c-topic-reported-icon') }}<strong>{L_POST_REPORTED}</strong></a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
@ -378,8 +419,7 @@
|
|||
<div class="back2top">
|
||||
<!-- EVENT viewtopic_body_postrow_back2top_prepend -->
|
||||
<a href="#top" class="top" title="{L_BACK_TO_TOP}">
|
||||
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i>
|
||||
<span class="sr-only">{L_BACK_TO_TOP}</span>
|
||||
{{ Icon('iconify', 'fa:chevron-circle-up', lang('BACK_TO_TOP'), false, 'c-top-icon') }}
|
||||
</a>
|
||||
<!-- EVENT viewtopic_body_postrow_back2top_append -->
|
||||
</div>
|
||||
|
@ -388,6 +428,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<hr class="divider" />
|
||||
<!-- EVENT viewtopic_body_postrow_post_after -->
|
||||
<!-- END postrow -->
|
||||
|
||||
|
@ -402,9 +443,9 @@
|
|||
<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
|
||||
<a href="{U_POST_REPLY_TOPIC}" class="button" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->">
|
||||
<!-- IF S_IS_LOCKED -->
|
||||
<span>{L_BUTTON_TOPIC_LOCKED}</span> <i class="icon fa-lock fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_TOPIC_LOCKED}</span> {{ Icon('iconify', 'fa:lock', '', true, 'c-button-icon') }}
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_POST_REPLY}</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i>
|
||||
<span>{L_BUTTON_POST_REPLY}</span> {{ Icon('iconify', 'fa:reply', '', true, 'c-button-icon') }}
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
@ -421,8 +462,8 @@
|
|||
<!-- IF .quickmod -->
|
||||
<div class="quickmod dropdown-container dropdown-container-left dropdown-up dropdown-{S_CONTENT_FLOW_END} dropdown-button-control" id="quickmod">
|
||||
<span title="{L_QUICK_MOD}" class="button button-secondary dropdown-trigger dropdown-select">
|
||||
<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span class="sr-only">{L_QUICK_MOD}</span>
|
||||
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
|
||||
{{ Icon('iconify', 'fa:gavel', lang('QUICK_MOD'), true, 'c-button-icon') }}
|
||||
<span class="caret">{{ Icon('iconify', 'fa:caret-down', '', true, 'c-button-icon') }}</span>
|
||||
</span>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<!-- IF not S_IS_BOT and (U_WATCH_TOPIC or U_BOOKMARK_TOPIC or U_BUMP_TOPIC or U_EMAIL_TOPIC or U_PRINT_TOPIC or S_DISPLAY_TOPIC_TOOLS) -->
|
||||
<div class="dropdown-container dropdown-button-control topic-tools">
|
||||
<span title="{L_TOPIC_TOOLS}" class="button button-secondary dropdown-trigger dropdown-select">
|
||||
<i class="icon fa-wrench fa-fw" aria-hidden="true"></i>
|
||||
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
|
||||
{{ Icon('iconify', 'fa:wrench', '', true, 'c-button-icon') }}
|
||||
<span class="caret">{{ Icon('iconify', 'fa:caret-down', '', true, 'c-button-icon') }}</span>
|
||||
</span>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
|
@ -10,36 +10,43 @@
|
|||
<!-- EVENT viewtopic_topic_tools_before -->
|
||||
<!-- IF U_WATCH_TOPIC -->
|
||||
<li>
|
||||
<a href="{U_WATCH_TOPIC}" class="watch-topic-link" title="{S_WATCH_TOPIC_TITLE}" data-ajax="toggle_link" data-toggle-class="icon <!-- IF S_WATCHING_TOPIC -->fa-check-square-o<!-- ELSE -->fa-square-o<!-- ENDIF --> fa-fw" data-toggle-text="{S_WATCH_TOPIC_TOGGLE}" data-toggle-url="{U_WATCH_TOPIC_TOGGLE}" data-update-all=".watch-topic-link">
|
||||
<i class="icon <!-- IF S_WATCHING_TOPIC -->fa-square-o<!-- ELSE -->fa-check-square-o<!-- ENDIF --> fa-fw" aria-hidden="true"></i><span>{S_WATCH_TOPIC_TITLE}</span>
|
||||
<a href="{U_WATCH_TOPIC}" class="watch-topic-link" title="{S_WATCH_TOPIC_TITLE}" data-ajax="toggle_link" data-toggle-text="{S_WATCH_TOPIC_TOGGLE}" data-toggle-url="{U_WATCH_TOPIC_TOGGLE}" data-update-all=".watch-topic-link">
|
||||
{% if S_WATCHING_TOPIC %}
|
||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon') }}
|
||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon is-active') }}
|
||||
{% else %}
|
||||
{{ Icon('iconify', 'mdi:checkbox-blank-outline', '', true, 'c-subscribe-icon is-active') }}
|
||||
{{ Icon('iconify', 'mdi:checkbox-marked', '', true, 'c-subscribe-icon') }}
|
||||
{% endif %}
|
||||
<span>{S_WATCH_TOPIC_TITLE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_BOOKMARK_TOPIC -->
|
||||
<li>
|
||||
<a href="{U_BOOKMARK_TOPIC}" class="bookmark-link" title="{L_BOOKMARK_TOPIC}" data-ajax="alt_text" data-alt-text="{S_BOOKMARK_TOGGLE}" data-update-all=".bookmark-link">
|
||||
<i class="icon fa-bookmark-o fa-fw" aria-hidden="true"></i><span>{S_BOOKMARK_TOPIC}</span>
|
||||
{{ Icon('iconify', 'mdi:bookmark-plus-outline', S_BOOKMARK_TOPIC, false) }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_BUMP_TOPIC -->
|
||||
<li>
|
||||
<a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}" data-ajax="true">
|
||||
<i class="icon fa-level-up fa-fw" aria-hidden="true"></i><span>{L_BUMP_TOPIC}</span>
|
||||
{{ Icon('iconify', 'mdi:update', lang('BUMP_TOPIC'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_EMAIL_TOPIC -->
|
||||
<li>
|
||||
<a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">
|
||||
<i class="icon fa-envelope-o fa-fw" aria-hidden="true"></i><span>{L_EMAIL_TOPIC}</span>
|
||||
{{ Icon('iconify', 'mdi:send-circle-outline', lang('EMAIL_TOPIC'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_PRINT_TOPIC -->
|
||||
<li>
|
||||
<a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p">
|
||||
<i class="icon fa-print fa-fw" aria-hidden="true"></i><span>{L_PRINT_TOPIC}</span>
|
||||
{{ Icon('iconify', 'ic:outline-print', lang('PRINT_TOPIC'), false) }}
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
white-space: nowrap;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
height: 24px;
|
||||
padding: 2px 8px;
|
||||
cursor: pointer;
|
||||
touch-action: manipulation;
|
||||
|
@ -87,13 +91,6 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.contact-icon {
|
||||
background-repeat: no-repeat;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.contact-icons a {
|
||||
border-right: 1px dotted;
|
||||
border-bottom: 1px dotted;
|
||||
|
@ -144,8 +141,9 @@
|
|||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.post-buttons .button span {
|
||||
font-size: 0;
|
||||
.post-buttons-label,
|
||||
.post-buttons-responsive-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Responsive buttons in post body */
|
||||
|
@ -157,6 +155,7 @@
|
|||
font-size: 13px;
|
||||
text-align: right;
|
||||
display: block;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.hasjs .postbody .post-buttons {
|
||||
|
|
|
@ -197,54 +197,108 @@ dl.details dd {
|
|||
}
|
||||
|
||||
/* icon styles */
|
||||
.icon.icon-blue,
|
||||
a:hover .icon.icon-blue {
|
||||
.icon.icon-blue, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-blue, /* DEPRECATED 4.0 */
|
||||
.read {
|
||||
color: #0059b3;
|
||||
}
|
||||
|
||||
.icon.online {
|
||||
.icon.online, /* DEPRECATED 4.0 */
|
||||
.c-online-icon {
|
||||
color: #85de39;
|
||||
}
|
||||
|
||||
.icon.icon-green,
|
||||
a:hover .icon.icon-green {
|
||||
.icon.icon-green, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-green, /* DEPRECATED 4.0 */
|
||||
.c-topic-deleted-icon,
|
||||
.c-approved-icon {
|
||||
color: #4db355;
|
||||
}
|
||||
|
||||
.icon.icon-red,
|
||||
a:hover .icon.icon-red {
|
||||
.icon.icon-red, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-red, /* DEPRECATED 4.0 */
|
||||
.c-topic-reported-icon,
|
||||
.c-topic-unread-icon,
|
||||
.c-warning-icon,
|
||||
.c-unapproved-icon,
|
||||
.unread {
|
||||
color: #d41142;
|
||||
}
|
||||
|
||||
.icon.icon-orange,
|
||||
a:hover .icon.icon-orange {
|
||||
.icon.icon-orange, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-orange, /* DEPRECATED 4.0 */
|
||||
.c-forum-feed-icon {
|
||||
color: #ff9500;
|
||||
}
|
||||
|
||||
.icon.icon-bluegray,
|
||||
.icon.icon-bluegray, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-bluegray {
|
||||
color: #47536b;
|
||||
}
|
||||
|
||||
.icon.icon-gray,
|
||||
a:hover .icon.icon-gray {
|
||||
.icon.icon-gray, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-gray, /* DEPRECATED 4.0 */
|
||||
.c-top-icon {
|
||||
color: #757575;
|
||||
}
|
||||
|
||||
.icon.icon-lightgray,
|
||||
a:hover .icon.icon-lightgray {
|
||||
.icon.icon-lightgray, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-lightgray, /* DEPRECATED 4.0 */
|
||||
.c-last-post-icon,
|
||||
.c-topic-icon,
|
||||
.c-pagination-icon {
|
||||
color: #9e9e9e;
|
||||
}
|
||||
|
||||
.icon.icon-black,
|
||||
a:hover .icon.icon-black {
|
||||
.icon.icon-black, /* DEPRECATED 4.0 */
|
||||
a:hover .icon.icon-black, /* DEPRECATED 4.0 */
|
||||
.c-return-arrow-icon {
|
||||
color: #212121;
|
||||
}
|
||||
|
||||
.alert_close .icon:before {
|
||||
.button:hover .c-pagination-icon {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.alert_close .icon:before, /* DEPRECATED 4.0 */
|
||||
.alert_close .o-icon:before {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
.row-item-link {
|
||||
background-color: #0059b3;
|
||||
}
|
||||
|
||||
.row-item-link.unread {
|
||||
background-color: #d41142;
|
||||
}
|
||||
|
||||
.c-forum-row-icon,
|
||||
.c-forum-row-icon:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* brand icon colors */
|
||||
.c-facebook-icon {
|
||||
color: #3b5998;
|
||||
}
|
||||
|
||||
.c-twitter-icon {
|
||||
color: #1da1f2;
|
||||
}
|
||||
|
||||
.c-skype-icon {
|
||||
color: #00aff0;
|
||||
}
|
||||
|
||||
.c-youtube-icon {
|
||||
color: #ff0000;
|
||||
}
|
||||
|
||||
.c-colorless-icon {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* jumpbox */
|
||||
.jumpbox .dropdown li {
|
||||
border-top-color: #dedede;
|
||||
|
@ -610,7 +664,8 @@ dd.profile-warnings {
|
|||
}
|
||||
|
||||
.button .icon,
|
||||
.button-secondary {
|
||||
.button-secondary,
|
||||
.c-button-icon {
|
||||
color: #9e9e9e;
|
||||
}
|
||||
|
||||
|
@ -639,7 +694,8 @@ dd.profile-warnings {
|
|||
.button-secondary:focus,
|
||||
.button-secondary:hover,
|
||||
.button:focus .icon,
|
||||
.button:hover .icon {
|
||||
.button:hover .icon,
|
||||
.button:hover .c-button-icon {
|
||||
color: #0077b3;
|
||||
}
|
||||
|
||||
|
@ -684,6 +740,7 @@ dd.profile-warnings {
|
|||
|
||||
.pagination li a:hover,
|
||||
.pagination li a:hover .icon,
|
||||
.pagination li a:hover .o-icon,
|
||||
.pagination .dropdown-visible a.dropdown-trigger,
|
||||
.nojs .pagination .dropdown-container:hover a.dropdown-trigger {
|
||||
background: #2d80d2;
|
||||
|
@ -711,74 +768,6 @@ dd.profile-warnings {
|
|||
|
||||
/* icon images */
|
||||
.site_logo { background-image: url("./images/site_logo.svg"); }
|
||||
.contact-icon { background-image: url("./images/icons_contact.png"); }
|
||||
|
||||
/* profile icons */
|
||||
.pm-icon { background-position: 0 0; }
|
||||
.email-icon { background-position: -21px 0; }
|
||||
.jabber-icon { background-position: -80px 0; }
|
||||
.phpbb_icq-icon { background-position: -61px 0; }
|
||||
.phpbb_wlm-icon { background-position: -182px 0; }
|
||||
.phpbb_aol-icon { background-position: -244px 0; }
|
||||
.phpbb_website-icon { background-position: -40px 0; }
|
||||
.phpbb_youtube-icon { background-position: -98px 0; }
|
||||
.phpbb_facebook-icon { background-position: -119px 0; }
|
||||
.phpbb_skype-icon { background-position: -161px 0; }
|
||||
.phpbb_twitter-icon { background-position: -203px 0; }
|
||||
.phpbb_yahoo-icon { background-position: -224px 0; }
|
||||
|
||||
/* forum icons & topic icons */
|
||||
.global_read { background-image: url("./images/announce_read.gif"); }
|
||||
.global_read_mine { background-image: url("./images/announce_read_mine.gif"); }
|
||||
.global_read_locked { background-image: url("./images/announce_read_locked.gif"); }
|
||||
.global_read_locked_mine { background-image: url("./images/announce_read_locked_mine.gif"); }
|
||||
.global_unread { background-image: url("./images/announce_unread.gif"); }
|
||||
.global_unread_mine { background-image: url("./images/announce_unread_mine.gif"); }
|
||||
.global_unread_locked { background-image: url("./images/announce_unread_locked.gif"); }
|
||||
.global_unread_locked_mine { background-image: url("./images/announce_unread_locked_mine.gif"); }
|
||||
|
||||
.announce_read { background-image: url("./images/announce_read.gif"); }
|
||||
.announce_read_mine { background-image: url("./images/announce_read_mine.gif"); }
|
||||
.announce_read_locked { background-image: url("./images/announce_read_locked.gif"); }
|
||||
.announce_read_locked_mine { background-image: url("./images/announce_read_locked_mine.gif"); }
|
||||
.announce_unread { background-image: url("./images/announce_unread.gif"); }
|
||||
.announce_unread_mine { background-image: url("./images/announce_unread_mine.gif"); }
|
||||
.announce_unread_locked { background-image: url("./images/announce_unread_locked.gif"); }
|
||||
.announce_unread_locked_mine { background-image: url("./images/announce_unread_locked_mine.gif"); }
|
||||
|
||||
.forum_link { background-image: url("./images/forum_link.gif"); }
|
||||
.forum_read { background-image: url("./images/forum_read.gif"); }
|
||||
.forum_read_locked { background-image: url("./images/forum_read_locked.gif"); }
|
||||
.forum_read_subforum { background-image: url("./images/forum_read_subforum.gif"); }
|
||||
.forum_unread { background-image: url("./images/forum_unread.gif"); }
|
||||
.forum_unread_locked { background-image: url("./images/forum_unread_locked.gif"); }
|
||||
.forum_unread_subforum { background-image: url("./images/forum_unread_subforum.gif"); }
|
||||
|
||||
.sticky_read { background-image: url("./images/sticky_read.gif"); }
|
||||
.sticky_read_mine { background-image: url("./images/sticky_read_mine.gif"); }
|
||||
.sticky_read_locked { background-image: url("./images/sticky_read_locked.gif"); }
|
||||
.sticky_read_locked_mine { background-image: url("./images/sticky_read_locked_mine.gif"); }
|
||||
.sticky_unread { background-image: url("./images/sticky_unread.gif"); }
|
||||
.sticky_unread_mine { background-image: url("./images/sticky_unread_mine.gif"); }
|
||||
.sticky_unread_locked { background-image: url("./images/sticky_unread_locked.gif"); }
|
||||
.sticky_unread_locked_mine { background-image: url("./images/sticky_unread_locked_mine.gif"); }
|
||||
|
||||
.pm_read,
|
||||
.topic_read { background-image: url("./images/topic_read.gif"); }
|
||||
.topic_moved { background-image: url("./images/topic_moved.gif"); }
|
||||
.topic_read_mine { background-image: url("./images/topic_read_mine.gif"); }
|
||||
.topic_read_hot { background-image: url("./images/topic_read_hot.gif"); }
|
||||
.topic_read_hot_mine { background-image: url("./images/topic_read_hot_mine.gif"); }
|
||||
.topic_read_locked { background-image: url("./images/topic_read_locked.gif"); }
|
||||
.topic_read_locked_mine { background-image: url("./images/topic_read_locked_mine.gif"); }
|
||||
|
||||
.pm_unread,
|
||||
.topic_unread { background-image: url("./images/topic_unread.gif"); }
|
||||
.topic_unread_mine { background-image: url("./images/topic_unread_mine.gif"); }
|
||||
.topic_unread_hot { background-image: url("./images/topic_unread_hot.gif"); }
|
||||
.topic_unread_hot_mine { background-image: url("./images/topic_unread_hot_mine.gif"); }
|
||||
.topic_unread_locked { background-image: url("./images/topic_unread_locked.gif"); }
|
||||
.topic_unread_locked_mine { background-image: url("./images/topic_unread_locked_mine.gif"); }
|
||||
|
||||
/* colours and backgrounds for cp.css */
|
||||
|
||||
|
|
|
@ -172,37 +172,37 @@ a:hover {
|
|||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
float: left;
|
||||
width: auto;
|
||||
padding: 10px 13px 0 10px;
|
||||
.c-hero {
|
||||
display: inline-flex;
|
||||
flex: 1;
|
||||
flex-direction: row;
|
||||
align-self: auto;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.logo:hover {
|
||||
text-decoration: none;
|
||||
.c-hero-logo {
|
||||
width: 150px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.site_logo {
|
||||
background-repeat: no-repeat;
|
||||
display: inline-block;
|
||||
.c-hero-logo-img {
|
||||
width: 149px;
|
||||
height: 52px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Site description and logo */
|
||||
.site-description {
|
||||
float: left;
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
.site-description h1 {
|
||||
margin-right: 0;
|
||||
.c-hero-heading {
|
||||
flex: 1;
|
||||
align-self: auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Round cornered boxes and backgrounds
|
||||
---------------------------------------- */
|
||||
.headerbar {
|
||||
border-radius: 7px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 4px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
@ -280,6 +280,17 @@ a.rightside {
|
|||
margin-left: 7px;
|
||||
}
|
||||
|
||||
ul.linklist li a:hover,
|
||||
ul.linklist li a:focus,
|
||||
ul.linklist li a:active {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
ul.linklist li a:hover span,
|
||||
ul.linklist li a:focus span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
ul.navlinks {
|
||||
border-top: 1px solid transparent;
|
||||
}
|
||||
|
@ -370,15 +381,6 @@ a.header-avatar img {
|
|||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
a.header-avatar span:after {
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
vertical-align: top;
|
||||
display: inline-block;
|
||||
padding-top: 2px;
|
||||
padding-left: 6px;
|
||||
content: "\f0dd";
|
||||
}
|
||||
|
||||
/* Dropdown menu
|
||||
---------------------------------------- */
|
||||
.dropdown-container {
|
||||
|
@ -401,7 +403,7 @@ a.header-avatar span:after {
|
|||
border: 1px solid transparent;
|
||||
border-radius: 5px;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
z-index: 201;
|
||||
top: 1.2em;
|
||||
left: 0;
|
||||
display: none;
|
||||
|
@ -461,7 +463,7 @@ a.header-avatar span:after {
|
|||
}
|
||||
|
||||
.dropdown .pointer {
|
||||
z-index: 3;
|
||||
z-index: 301;
|
||||
top: -1px;
|
||||
right: auto;
|
||||
left: 10px;
|
||||
|
@ -493,7 +495,7 @@ a.header-avatar span:after {
|
|||
border: 1px solid transparent;
|
||||
border-radius: 5px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
z-index: 201;
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
max-height: 300px;
|
||||
|
@ -505,6 +507,17 @@ a.header-avatar span:after {
|
|||
padding: 5px;
|
||||
}
|
||||
|
||||
.dropdown-contents a:hover,
|
||||
.dropdown-contents a:active,
|
||||
.dropdown-contents a:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.dropdown-contents a:hover span,
|
||||
.dropdown-contents a:focus span {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.jumpbox {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
@ -947,7 +960,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
}
|
||||
|
||||
.pagination li.page-jump a {
|
||||
padding: 0 8px;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.pagination li.page-jump a i {
|
||||
|
@ -974,6 +987,8 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
.row .pagination li span {
|
||||
font-size: 9px;
|
||||
border-radius: 2px;
|
||||
width: 14px;
|
||||
height: 17px;
|
||||
padding: 1px 3px;
|
||||
}
|
||||
|
||||
|
@ -982,7 +997,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
.phpbb_alert {
|
||||
border: 1px solid transparent;
|
||||
position: fixed;
|
||||
z-index: 50;
|
||||
z-index: 601;
|
||||
top: 150px;
|
||||
right: 0;
|
||||
left: 0;
|
||||
|
@ -994,8 +1009,8 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
|
||||
.phpbb_alert .alert_close {
|
||||
float: right;
|
||||
margin-top: -8px;
|
||||
margin-right: -36px;
|
||||
margin-top: 0;
|
||||
margin-right: -22px;
|
||||
}
|
||||
|
||||
.phpbb_alert p {
|
||||
|
@ -1019,14 +1034,14 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
|
||||
.darkenwrapper {
|
||||
position: relative;
|
||||
z-index: 44;
|
||||
z-index: 401;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.darken {
|
||||
opacity: 0.5;
|
||||
position: fixed;
|
||||
z-index: 45;
|
||||
z-index: 501;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
@ -1035,7 +1050,7 @@ fieldset.fields1 dl.pmlist dd.recipients {
|
|||
|
||||
.loading_indicator {
|
||||
position: fixed;
|
||||
z-index: 51;
|
||||
z-index: 701;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
display: none;
|
||||
|
@ -1240,7 +1255,7 @@ ul.linklist:after,
|
|||
}
|
||||
|
||||
.dropdown-extended {
|
||||
z-index: 1;
|
||||
z-index: 201;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ ul.topiclist.two-columns dt {
|
|||
}
|
||||
|
||||
ul.topiclist dt .list-inner {
|
||||
line-height: 16px;
|
||||
margin-right: 440px;
|
||||
padding-right: 5px;
|
||||
padding-left: 5px;
|
||||
|
@ -196,23 +197,7 @@ dl.row-item dd {
|
|||
min-height: 35px;
|
||||
}
|
||||
|
||||
dl.row-item dt a {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* topic row icon links */
|
||||
dl a.row-item-link {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
margin-top: -15px;
|
||||
margin-left: 9px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* topic row links */
|
||||
dd.posts,
|
||||
dd.topics,
|
||||
dd.views,
|
||||
|
@ -268,6 +253,10 @@ dd.moderation > span {
|
|||
padding-left: 5px;
|
||||
}
|
||||
|
||||
dd.lastpost > span {
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
dd.extra,
|
||||
dd.mark {
|
||||
line-height: 24px;
|
||||
|
@ -754,6 +743,7 @@ fieldset.polls dd div {
|
|||
/* Poster profile block
|
||||
---------------------------------------- */
|
||||
.postprofile {
|
||||
line-height: 16px;
|
||||
border: 1px solid transparent;
|
||||
border-width: 0 0 0 1px;
|
||||
float: right;
|
||||
|
@ -765,7 +755,7 @@ fieldset.polls dd div {
|
|||
.postprofile dd,
|
||||
.postprofile dt {
|
||||
font-size: 10px;
|
||||
line-height: 12px;
|
||||
line-height: 16px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
|
|
|
@ -357,10 +357,6 @@ ol.def-rules li {
|
|||
padding: 5px;
|
||||
}
|
||||
|
||||
.cplist .topictitle {
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
p.notification-title,
|
||||
p.notification-forum,
|
||||
p.notification-reason,
|
||||
|
|
|
@ -374,10 +374,8 @@ input.disabled {
|
|||
--------------------------------------------- */
|
||||
.search-header {
|
||||
border-radius: 4px;
|
||||
display: block;
|
||||
float: right;
|
||||
margin-top: 30px;
|
||||
margin-right: 5px;
|
||||
margin: 16px;
|
||||
}
|
||||
|
||||
.search-header .inputbox {
|
||||
|
|
|
@ -5,100 +5,131 @@
|
|||
/* Global module setup
|
||||
---------------------------------------- */
|
||||
|
||||
/* Renamed version of .fa class for agnostic usage of icon fonts.
|
||||
* Just change the name of the font after the 14/1 to the name of
|
||||
* the font you wish to use.
|
||||
*/
|
||||
.icon,
|
||||
.button .icon,
|
||||
blockquote cite:before,
|
||||
.uncited:before {
|
||||
font-family: FontAwesome;
|
||||
/* Globaly fix svg colors */
|
||||
svg {
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.o-icon {
|
||||
vertical-align: middle !important;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.o-icon-src-mdi,
|
||||
.o-icon-src-ic {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.o-icon-src-fa {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.o-icon-font {
|
||||
font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands";
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
line-height: 1;
|
||||
vertical-align: baseline;
|
||||
display: inline-block;
|
||||
/* stylelint-disable order/properties-order */
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
/* stylelint-enable order/properties-order */
|
||||
text-rendering: auto; /* optimizelegibility throws things off #1094 */
|
||||
}
|
||||
|
||||
.icon:before {
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.button .icon:before {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* Icon size classes - Default size is 14px, use these for small variations */
|
||||
|
||||
.icon.icon-xl {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.icon.icon-lg {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.icon.icon-md {
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.icon.icon-sm {
|
||||
font-size: 8px;
|
||||
}
|
||||
|
||||
/* icon modifiers */
|
||||
.icon-tiny {
|
||||
font-size: 16px;
|
||||
vertical-align: text-bottom;
|
||||
width: 12px;
|
||||
-webkit-transform: scale(0.65, 0.75);
|
||||
transform: scale(0.65, 0.75);
|
||||
}
|
||||
|
||||
.arrow-right .icon {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.arrow-left:hover .icon {
|
||||
margin-right: 5px;
|
||||
margin-left: -5px;
|
||||
}
|
||||
|
||||
.arrow-left .icon {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.arrow-right:hover .icon {
|
||||
margin-right: -5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.post-buttons .dropdown-contents .icon {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.alert_close .icon:before {
|
||||
border-radius: 50%;
|
||||
display: block;
|
||||
width: 11px;
|
||||
height: 12px;
|
||||
padding: 0;
|
||||
.o-icon + span,
|
||||
span + .o-icon {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
blockquote cite:before,
|
||||
.uncited:before {
|
||||
content: "\f10d"; /* Font Awesome quote-left */
|
||||
font-size: 36px;
|
||||
vertical-align: bottom;
|
||||
display: inline-block;
|
||||
margin-top: 8px;
|
||||
margin-bottom: -8px;
|
||||
content: "\201C";
|
||||
}
|
||||
|
||||
.rtl blockquote cite:before,
|
||||
.rtl .uncited:before {
|
||||
content: "\f10e"; /* Font Awesome quote-right */
|
||||
content: "\201D";
|
||||
}
|
||||
|
||||
.c-forum-row-icon,
|
||||
.c-notification-check-icon {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.row-item-link {
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-top: -17px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
|
||||
.row-item-link-mine {
|
||||
background-color: #b353c6;
|
||||
border: 2px solid #ffffff;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
z-index: 101;
|
||||
left: 32px;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.row-item-sub {
|
||||
position: absolute;
|
||||
z-index: 101;
|
||||
bottom: 3px;
|
||||
left: 4px;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.alert_close .o-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
/* Contact icons
|
||||
---------------------------------------- */
|
||||
.contact-icon {
|
||||
background-repeat: no-repeat;
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.c-button-icon {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.c-subscribe-icon {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.c-subscribe-icon.is-active {
|
||||
display: inline !important;
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.3 KiB |
|
@ -41,7 +41,7 @@ th a:hover {
|
|||
background-position: center center;
|
||||
border-radius: 3px 0 0 3px;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
z-index: 301;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
display: none;
|
||||
|
@ -158,7 +158,6 @@ a.lastsubject:hover {
|
|||
.back2top .top {
|
||||
float: right;
|
||||
margin-top: 0;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
/* Arrow links */
|
||||
|
|
|
@ -114,6 +114,10 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.nav-main .rightside a span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rtl dl.details dt,
|
||||
.rtl dl.details dd {
|
||||
text-align: right;
|
||||
|
@ -581,10 +585,50 @@
|
|||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.nav-footer.linklist .in-menu,
|
||||
.nav-main.linklist .in-menu {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* post-buttons */
|
||||
|
||||
.has-profile .post-buttons {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.post-buttons > li > a {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-footer.linklist .responsive-menu,
|
||||
.nav-footer.linklist .responsive-menu .in-menu,
|
||||
.nav-main.linklist .responsive-menu .in-menu,
|
||||
.post-buttons-responsive-menu,
|
||||
.post-button-responsive,
|
||||
.post-buttons-responsive-menu .post-buttons-label {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.post-buttons-responsive-menu .dropdown-contents .button {
|
||||
font-weight: normal;
|
||||
line-height: inherit;
|
||||
background: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
color: #0f4d8a;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.post-buttons-responsive-menu .dropdown-contents .button:hover {
|
||||
text-decoration: underline;
|
||||
color: #d41142;
|
||||
}
|
||||
|
||||
.post-buttons-responsive-menu .dropdown-contents .c-button-icon {
|
||||
color: inherit;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
/* Misc stuff
|
||||
---------------------------------------------------------------- */
|
||||
h2 {
|
||||
|
@ -737,6 +781,15 @@
|
|||
.postprofile {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.nav-main.linklist .in-menu {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.nav-footer.linklist .responsive-menu,
|
||||
.nav-main.linklist .responsive-menu .in-menu {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 701px) and (max-width: 950px) {
|
||||
|
|
|
@ -10,12 +10,13 @@
|
|||
@import url("normalize.css?hash=e6c08715");
|
||||
@import url("base.css?hash=9b6738c8");
|
||||
@import url("utilities.css?hash=b95e1ad4");
|
||||
@import url("icons.css?hash=2fcf49a1");
|
||||
@import url("common.css?hash=fe09f059");
|
||||
@import url("buttons.css?hash=f4e39187");
|
||||
@import url("links.css?hash=5fc8ca41");
|
||||
@import url("content.css?hash=0daf1369");
|
||||
@import url("buttons.css?hash=f4e39187");
|
||||
@import url("cp.css?hash=2530357c");
|
||||
@import url("forms.css?hash=7a849801");
|
||||
@import url("icons.css?hash=2fcf49a1");
|
||||
@import url("colours.css?hash=73de7bbf");
|
||||
@import url("responsive.css?hash=8b3f0a01");
|
||||
|
|
6
phpBB/styles/prosilver/theme/svg/logo.svg
Normal file
After Width: | Height: | Size: 14 KiB |
|
@ -997,6 +997,7 @@ if (count($topic_list))
|
|||
'S_POST_STICKY' => ($row['topic_type'] == POST_STICKY) ? true : false,
|
||||
'S_TOPIC_LOCKED' => ($row['topic_status'] == ITEM_LOCKED) ? true : false,
|
||||
'S_TOPIC_MOVED' => ($row['topic_status'] == ITEM_MOVED) ? true : false,
|
||||
'S_TOPIC_HOT' => ($config['hot_threshold'] && ($replies + 1) >= $config['hot_threshold'] && $row['topic_status'] != ITEM_LOCKED) ? true : false,
|
||||
|
||||
'U_NEWEST_POST' => $auth->acl_get('f_read', $forum_id) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&view=unread') . '#unread' : false,
|
||||
'U_LAST_POST' => $auth->acl_get('f_read', $forum_id) ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&p=' . $row['topic_last_post_id']) . '#p' . $row['topic_last_post_id'] : false,
|
||||
|
|
|
@ -16,18 +16,6 @@
|
|||
*/
|
||||
class phpbb_functional_forum_style_test extends phpbb_functional_test_case
|
||||
{
|
||||
public function test_font_awesome_style()
|
||||
{
|
||||
$crawler = self::request('GET', 'viewtopic.php?t=1&f=2');
|
||||
$this->assertContains('font-awesome.min', $crawler->filter('head > link[rel=stylesheet]')->eq(0)->attr('href'));
|
||||
|
||||
$crawler = self::request('GET', 'viewtopic.php?t=1');
|
||||
$this->assertContains('font-awesome.min', $crawler->filter('head > link[rel=stylesheet]')->eq(0)->attr('href'));
|
||||
|
||||
$crawler = self::request('GET', 'viewtopic.php?t=1&view=next');
|
||||
$this->assertContains('font-awesome.min', $crawler->filter('head > link[rel=stylesheet]')->eq(0)->attr('href'));
|
||||
}
|
||||
|
||||
public function test_default_forum_style()
|
||||
{
|
||||
$crawler = self::request('GET', 'viewtopic.php?t=1&f=2');
|
||||
|
|
|
@ -431,8 +431,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
[
|
||||
'ICON_USER' => 'User icon',
|
||||
],
|
||||
'<svg class="o-icon o-icon-svg svg-404 my-class" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-labelledby="icon_user-123456789" role="img">
|
||||
<title id="icon_user-123456789">User icon</title>
|
||||
'<svg class="o-icon o-icon-svg svg-404 my-class" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-labelledby="{unique_id}" role="img">
|
||||
<title id="{unique_id}">User icon</title>
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<path fill="#D8D8D8" d="M0 0h512v512H0z"></path>
|
||||
<path fill="#979797" fill-rule="nonzero" d="M8 6.586l496 496v2.828L8 9.414z"></path>
|
||||
|
@ -453,8 +453,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
[
|
||||
'ICON_PHONE' => 'Phone icon',
|
||||
],
|
||||
'<svg class="o-icon o-icon-svg svg-phone" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="icon_phone-123456789" role="img">
|
||||
<title id="icon_phone-123456789">Phone icon</title>
|
||||
'<svg class="o-icon o-icon-svg svg-phone" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="{unique_id}" role="img">
|
||||
<title id="{unique_id}">Phone icon</title>
|
||||
<path fill="none" d="M0 0h24v24H0z"></path>
|
||||
<path d="M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z"></path>
|
||||
</svg>',
|
||||
|
@ -474,8 +474,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
[
|
||||
'ICON_PENCIL' => 'Pencil icon',
|
||||
],
|
||||
'<svg class="o-icon o-icon-svg svg-pencil my-svg-class" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" aria-labelledby="icon_pencil-123456789" role="img" data-ajax="my_ajax_callback">
|
||||
<title id="icon_pencil-123456789">Pencil icon</title>
|
||||
'<svg class="o-icon o-icon-svg svg-pencil my-svg-class" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" aria-labelledby="{unique_id}" role="img" data-ajax="my_ajax_callback">
|
||||
<title id="{unique_id}">Pencil icon</title>
|
||||
<path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"></path>
|
||||
<path d="M0 0h24v24H0z" fill="none"></path>
|
||||
</svg>',
|
||||
|
@ -491,8 +491,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
'attributes' => [],
|
||||
],
|
||||
[],
|
||||
'<svg class="o-icon o-icon-svg svg-404" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-labelledby="just_a_title-123456789" role="img">
|
||||
<title id="just_a_title-123456789">Just a title</title>
|
||||
'<svg class="o-icon o-icon-svg svg-404" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" aria-labelledby="{unique_id}" role="img">
|
||||
<title id="{unique_id}">Just a title</title>
|
||||
<g fill="none" fill-rule="evenodd">
|
||||
<path fill="#D8D8D8" d="M0 0h512v512H0z"></path>
|
||||
<path fill="#979797" fill-rule="nonzero" d="M8 6.586l496 496v2.828L8 9.414z"></path>
|
||||
|
@ -545,8 +545,10 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
|||
*/
|
||||
if ($vars['type'] === 'svg' || $vars['icon'] === 'user')
|
||||
{
|
||||
$prefix = strtolower(str_replace(' ', '_', $vars['title'])) . '-';
|
||||
$output = preg_replace('/' . $prefix . '\d+/', $prefix . '123456789', $output);
|
||||
if (preg_match('#<title id="([a-z0-9]+)">#', $output, $unique_id))
|
||||
{
|
||||
$expected = str_replace('{unique_id}', $unique_id[1], $expected);
|
||||
}
|
||||
}
|
||||
|
||||
$this->assertEquals($expected, $output, "Testing {$file}");
|
||||
|
|
|
@ -1 +1 @@
|
|||
{{ Icon(type, icon, title, hidden, classes, attributes) }}
|
||||
{{ Icon(type, icon, lang(title), hidden, classes, attributes) }}
|
||||
|
|