Initial Commit
3
readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Simplicity theme
|
||||
|
||||
For GeneRally International Forum. [Original by Arty](https://www.phpbb.com/customise/db/style/artodia_simplicity/) distributed under BSD License.
|
33
simplicity/license.txt
Normal file
@ -0,0 +1,33 @@
|
||||
IMPORTANT: This license does not apply to files in directory theme/fonts/
|
||||
|
||||
Files in those directories have their own licenses, see license.txt in respective
|
||||
directories for details.
|
||||
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
Copyright (c) 2015, Vjacheslav Trushkin
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
The views and conclusions contained in the software and documentation are those
|
||||
of the authors and should not be interpreted as representing official policies,
|
||||
either expressed or implied, of the FreeBSD Project.
|
32
simplicity/style.cfg
Normal file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# phpBB Style Configuration File
|
||||
#
|
||||
# This file is part of the phpBB Forum Software package.
|
||||
#
|
||||
# @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||
# @license GNU General Public License, version 2 (GPL-2.0)
|
||||
#
|
||||
# For full copyright and license information, please see
|
||||
# the docs/CREDITS.txt file.
|
||||
#
|
||||
# At the left is the name, please do not change this
|
||||
# At the right the value is entered
|
||||
#
|
||||
# Values get trimmed, if you want to add a space in front or at the end of
|
||||
# the value, then enclose the value with single or double quotes.
|
||||
# Single and double quotes do not need to be escaped.
|
||||
#
|
||||
#
|
||||
|
||||
# General Information about this style
|
||||
name = Simplicity
|
||||
copyright = Created by Arty (Vjacheslav Trushkin), http://www.artodia.com/, Modified by Gabriel Fischer
|
||||
style_version = 3.3.0
|
||||
phpbb_version = 3.3.0
|
||||
|
||||
# Defining a different template bitfield
|
||||
# template_bitfield = lNg=
|
||||
|
||||
# Parent style
|
||||
# Set value to empty or to this style's name if this style does not have a parent style
|
||||
parent = prosilver
|
37
simplicity/template/_style_config.html
Normal file
@ -0,0 +1,37 @@
|
||||
<!-- IF $FALSE -->
|
||||
Variables below change style behavior.
|
||||
|
||||
List of variables and values (do not edit!):
|
||||
Forums list layout:
|
||||
$STANDARD_FORUMS_LAYOUT = 0 -> Layout with topics and posts below forum title
|
||||
$STANDARD_FORUMS_LAYOUT = 1 -> Default layout with separate columns for topics and posts
|
||||
|
||||
Hide forum description:
|
||||
$HIDE_FORUM_DESCRIPTION = 0 -> Always show it
|
||||
$HIDE_FORUM_DESCRIPTION = 1 -> Show it only when hovering forum title
|
||||
|
||||
Wrap header / navigation:
|
||||
$WRAP_HEADER = 0 -> Header and navigation will not be included in global wrapper
|
||||
$WRAP_HEADER = 1 -> Both header and navigation will be included in global wrapper
|
||||
$WRAP_HEADER = 2 -> Header will not be included in global wrapper, navigation will be included
|
||||
|
||||
Wrap footer:
|
||||
$WRAP_FOOTER = 0 -> Footer will be outside of content wrapper
|
||||
$WRAP_FOOTER = 1 -> Footer will be inside content wrapper
|
||||
|
||||
Quick search position:
|
||||
$SEARCH_IN_NAVBAR = 0 -> Search bar will be displayed in header
|
||||
$SEARCH_IN_NAVBAR = 1 -> Search bar will be displayed in secondary navigation
|
||||
|
||||
Edit variables below:
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- DEFINE $STANDARD_FORUMS_LAYOUT = 0 -->
|
||||
<!-- DEFINE $HIDE_FORUM_DESCRIPTION = 1 -->
|
||||
<!-- DEFINE $WRAP_HEADER = 0 -->
|
||||
<!-- DEFINE $WRAP_FOOTER = 0 -->
|
||||
<!-- DEFINE $SEARCH_IN_NAVBAR = 1 -->
|
||||
|
||||
<!-- IF $FALSE -->
|
||||
Do not edit code below!
|
||||
<!-- ENDIF -->
|
394
simplicity/template/ajax.js
Normal file
@ -0,0 +1,394 @@
|
||||
/* global phpbb */
|
||||
|
||||
(function($) { // Avoid conflicts with other libraries
|
||||
|
||||
'use strict';
|
||||
|
||||
// This callback will mark all forum icons read
|
||||
phpbb.addAjaxCallback('mark_forums_read', function(res) {
|
||||
var readTitle = res.NO_UNREAD_POSTS;
|
||||
var unreadTitle = res.UNREAD_POSTS;
|
||||
var iconsArray = {
|
||||
forum_unread: 'forum_read',
|
||||
forum_unread_subforum: 'forum_read_subforum',
|
||||
forum_unread_locked: 'forum_read_locked'
|
||||
};
|
||||
|
||||
$('li.row').find('dl[class*="forum_unread"]').each(function() {
|
||||
var $this = $(this);
|
||||
|
||||
$.each(iconsArray, function(unreadClass, readClass) {
|
||||
if ($this.hasClass(unreadClass)) {
|
||||
$this.removeClass(unreadClass).addClass(readClass);
|
||||
}
|
||||
});
|
||||
$this.children('dt[title="' + unreadTitle + '"]').attr('title', readTitle);
|
||||
});
|
||||
|
||||
// Mark subforums read
|
||||
$('a.subforum[class*="unread"]').removeClass('unread').addClass('read').children('.icon.icon-red').removeClass('icon-red').addClass('icon-blue');
|
||||
|
||||
// Mark topics read if we are watching a category and showing active topics
|
||||
if ($('#active_topics').length) {
|
||||
phpbb.ajaxCallbacks.mark_topics_read.call(this, res, false);
|
||||
}
|
||||
|
||||
// Update mark forums read links
|
||||
$('[data-ajax="mark_forums_read"]').attr('href', res.U_MARK_FORUMS);
|
||||
|
||||
phpbb.closeDarkenWrapper(3000);
|
||||
});
|
||||
|
||||
/**
|
||||
* This callback will mark all topic icons read
|
||||
*
|
||||
* @param {bool} [update_topic_links=true] Whether "Mark topics read" links
|
||||
* should be updated. Defaults to true.
|
||||
*/
|
||||
phpbb.addAjaxCallback('mark_topics_read', function(res, updateTopicLinks) {
|
||||
var readTitle = res.NO_UNREAD_POSTS;
|
||||
var unreadTitle = res.UNREAD_POSTS;
|
||||
var iconsArray = {
|
||||
global_unread: 'global_read',
|
||||
announce_unread: 'announce_read',
|
||||
sticky_unread: 'sticky_read',
|
||||
topic_unread: 'topic_read'
|
||||
};
|
||||
var iconsState = ['', '_hot', '_hot_mine', '_locked', '_locked_mine', '_mine'];
|
||||
var unreadClassSelectors;
|
||||
var classMap = {};
|
||||
var classNames = [];
|
||||
|
||||
if (typeof updateTopicLinks === 'undefined') {
|
||||
updateTopicLinks = true;
|
||||
}
|
||||
|
||||
$.each(iconsArray, function(unreadClass, readClass) {
|
||||
$.each(iconsState, function(key, value) {
|
||||
// Only topics can be hot
|
||||
if ((value === '_hot' || value === '_hot_mine') && unreadClass !== 'topic_unread') {
|
||||
return true;
|
||||
}
|
||||
classMap[unreadClass + value] = readClass + value;
|
||||
classNames.push(unreadClass + value);
|
||||
});
|
||||
});
|
||||
|
||||
unreadClassSelectors = '.' + classNames.join(',.');
|
||||
|
||||
$('li.row').find(unreadClassSelectors).each(function() {
|
||||
var $this = $(this);
|
||||
$.each(classMap, function(unreadClass, readClass) {
|
||||
if ($this.hasClass(unreadClass)) {
|
||||
$this.removeClass(unreadClass).addClass(readClass);
|
||||
}
|
||||
});
|
||||
$this.children('dt[title="' + unreadTitle + '"]').attr('title', readTitle);
|
||||
});
|
||||
|
||||
// Remove link to first unread post
|
||||
$('a.unread').has('.icon-red').remove();
|
||||
|
||||
// Update mark topics read links
|
||||
if (updateTopicLinks) {
|
||||
$('[data-ajax="mark_topics_read"]').attr('href', res.U_MARK_TOPICS);
|
||||
}
|
||||
|
||||
phpbb.closeDarkenWrapper(3000);
|
||||
});
|
||||
|
||||
// This callback will mark all notifications read
|
||||
phpbb.addAjaxCallback('notification.mark_all_read', function(res) {
|
||||
if (typeof res.success !== 'undefined') {
|
||||
phpbb.markNotifications($('#notification_list li.bg3'), 0);
|
||||
phpbb.closeDarkenWrapper(3000);
|
||||
}
|
||||
});
|
||||
|
||||
// This callback will mark a notification read
|
||||
phpbb.addAjaxCallback('notification.mark_read', function(res) {
|
||||
if (typeof res.success !== 'undefined') {
|
||||
var unreadCount = Number($('#notification_list_button + strong .counter').html()) - 1;
|
||||
phpbb.markNotifications($(this).parent('li.bg3'), unreadCount);
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Mark notification popup rows as read.
|
||||
*
|
||||
* @param {jQuery} $popup jQuery object(s) to mark read.
|
||||
* @param {int} unreadCount The new unread notifications count.
|
||||
*/
|
||||
phpbb.markNotifications = function($popup, unreadCount) {
|
||||
// Remove the unread status.
|
||||
$popup.removeClass('bg3');
|
||||
$popup.find('a.mark_read').remove();
|
||||
|
||||
// Update the notification link to the real URL.
|
||||
$popup.each(function() {
|
||||
var link = $(this).find('a');
|
||||
link.attr('href', link.attr('data-real-url'));
|
||||
});
|
||||
|
||||
// Update the unread count.
|
||||
$('#notification_list_button + strong .counter').html(unreadCount).parents('.notifications.tab').toggleClass('non-zero', unreadCount > 0);
|
||||
// Remove the Mark all read link and hide notification count if there are no unread notifications.
|
||||
if (!unreadCount) {
|
||||
$('#mark_all_notifications').remove();
|
||||
$('#notification_list_button > strong').addClass('hidden');
|
||||
}
|
||||
|
||||
// Update page title
|
||||
var $title = $('title');
|
||||
var originalTitle = $title.text().replace(/(\((\d+)\))/, '');
|
||||
$title.text((unreadCount ? '(' + unreadCount + ')' : '') + originalTitle);
|
||||
};
|
||||
|
||||
// This callback finds the post from the delete link, and removes it.
|
||||
phpbb.addAjaxCallback('post_delete', function() {
|
||||
var $this = $(this),
|
||||
postId;
|
||||
|
||||
if ($this.attr('data-refresh') === undefined) {
|
||||
postId = $this[0].href.split('&p=')[1];
|
||||
var post = $this.parents('#p' + postId).css('pointer-events', 'none');
|
||||
if (post.hasClass('bg1') || post.hasClass('bg2')) {
|
||||
var posts1 = post.nextAll('.bg1');
|
||||
post.nextAll('.bg2').removeClass('bg2').addClass('bg1');
|
||||
posts1.removeClass('bg1').addClass('bg2');
|
||||
}
|
||||
post.fadeOut(function() {
|
||||
$(this).remove();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// This callback removes the approve / disapprove div or link.
|
||||
phpbb.addAjaxCallback('post_visibility', function(res) {
|
||||
var remove = (res.visible) ? $(this) : $(this).parents('.post');
|
||||
$(remove).css('pointer-events', 'none').fadeOut(function() {
|
||||
$(this).remove();
|
||||
});
|
||||
|
||||
if (res.visible) {
|
||||
// Remove the "Deleted by" message from the post on restoring.
|
||||
remove.parents('.post').find('.post_deleted_msg').css('pointer-events', 'none').fadeOut(function() {
|
||||
$(this).remove();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// This removes the parent row of the link or form that fired the callback.
|
||||
phpbb.addAjaxCallback('row_delete', function() {
|
||||
$(this).parents('tr').remove();
|
||||
});
|
||||
|
||||
// This handles friend / foe additions removals.
|
||||
phpbb.addAjaxCallback('zebra', function(res) {
|
||||
var zebra;
|
||||
|
||||
if (res.success) {
|
||||
zebra = $('.zebra');
|
||||
zebra.first().html(res.MESSAGE_TEXT);
|
||||
zebra.not(':first').html(' ').prev().html(' ');
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* This callback updates the poll results after voting.
|
||||
*/
|
||||
phpbb.addAjaxCallback('vote_poll', function(res) {
|
||||
if (typeof res.success !== 'undefined') {
|
||||
var poll = $(this).closest('.topic_poll');
|
||||
var panel = poll.find('.panel');
|
||||
var resultsVisible = poll.find('dl:first-child .resultbar').is(':visible');
|
||||
var mostVotes = 0;
|
||||
|
||||
// Set min-height to prevent the page from jumping when the content changes
|
||||
var updatePanelHeight = function (height) {
|
||||
height = (typeof height === 'undefined') ? panel.find('.inner').outerHeight() : height;
|
||||
panel.css('min-height', height);
|
||||
};
|
||||
updatePanelHeight();
|
||||
|
||||
// Remove the View results link
|
||||
if (!resultsVisible) {
|
||||
poll.find('.poll_view_results').hide(500);
|
||||
}
|
||||
|
||||
if (!res.can_vote) {
|
||||
poll.find('.polls, .poll_max_votes, .poll_vote, .poll_option_select').fadeOut(500, function () {
|
||||
poll.find('.resultbar, .poll_option_percent, .poll_total_votes').show();
|
||||
});
|
||||
} else {
|
||||
// If the user can still vote, simply slide down the results
|
||||
poll.find('.resultbar, .poll_option_percent, .poll_total_votes').show(500);
|
||||
}
|
||||
|
||||
// Get the votes count of the highest poll option
|
||||
poll.find('[data-poll-option-id]').each(function() {
|
||||
var option = $(this);
|
||||
var optionId = option.attr('data-poll-option-id');
|
||||
mostVotes = (res.vote_counts[optionId] >= mostVotes) ? res.vote_counts[optionId] : mostVotes;
|
||||
});
|
||||
|
||||
// Update the total votes count
|
||||
poll.find('.poll_total_vote_cnt').html(res.total_votes);
|
||||
|
||||
// Update each option
|
||||
poll.find('[data-poll-option-id]').each(function() {
|
||||
var $this = $(this);
|
||||
var optionId = $this.attr('data-poll-option-id');
|
||||
var voted = (typeof res.user_votes[optionId] !== 'undefined');
|
||||
var mostVoted = (res.vote_counts[optionId] === mostVotes);
|
||||
var percent = (!res.total_votes) ? 0 : Math.round((res.vote_counts[optionId] / res.total_votes) * 100);
|
||||
var percentRel = (mostVotes === 0) ? 0 : Math.round((res.vote_counts[optionId] / mostVotes) * 100);
|
||||
var altText;
|
||||
|
||||
altText = $this.attr('data-alt-text');
|
||||
if (voted) {
|
||||
$this.attr('title', $.trim(altText));
|
||||
} else {
|
||||
$this.attr('title', '');
|
||||
};
|
||||
$this.toggleClass('voted', voted);
|
||||
$this.toggleClass('most-votes', mostVoted);
|
||||
|
||||
// Update the bars
|
||||
var bar = $this.find('.resultbar div');
|
||||
var barTimeLapse = (res.can_vote) ? 500 : 1500;
|
||||
var newBarClass = (percent === 100) ? 'pollbar5' : 'pollbar' + (Math.floor(percent / 20) + 1);
|
||||
|
||||
setTimeout(function () {
|
||||
bar.animate({ width: percentRel + '%' }, 500)
|
||||
.removeClass('pollbar1 pollbar2 pollbar3 pollbar4 pollbar5')
|
||||
.addClass(newBarClass)
|
||||
.html(res.vote_counts[optionId]);
|
||||
|
||||
var percentText = percent ? percent + '%' : res.NO_VOTES;
|
||||
$this.find('.poll_option_percent').html(percentText);
|
||||
}, barTimeLapse);
|
||||
});
|
||||
|
||||
if (!res.can_vote) {
|
||||
poll.find('.polls').delay(400).fadeIn(500);
|
||||
}
|
||||
|
||||
// Display "Your vote has been cast." message. Disappears after 5 seconds.
|
||||
var confirmationDelay = (res.can_vote) ? 300 : 900;
|
||||
poll.find('.vote-submitted').delay(confirmationDelay).slideDown(200, function() {
|
||||
if (resultsVisible) {
|
||||
updatePanelHeight();
|
||||
}
|
||||
|
||||
$(this).delay(5000).fadeOut(500, function() {
|
||||
resizePanel(300);
|
||||
});
|
||||
});
|
||||
|
||||
// Remove the gap resulting from removing options
|
||||
setTimeout(function() {
|
||||
resizePanel(500);
|
||||
}, 1500);
|
||||
|
||||
var resizePanel = function (time) {
|
||||
var panelHeight = panel.height();
|
||||
var innerHeight = panel.find('.inner').outerHeight();
|
||||
|
||||
if (panelHeight !== innerHeight) {
|
||||
panel.css({ minHeight: '', height: panelHeight })
|
||||
.animate({ height: innerHeight }, time, function () {
|
||||
panel.css({ minHeight: innerHeight, height: '' });
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Show poll results when clicking View results link.
|
||||
*/
|
||||
$('.poll_view_results a').click(function(e) {
|
||||
// Do not follow the link
|
||||
e.preventDefault();
|
||||
|
||||
var $poll = $(this).parents('.topic_poll');
|
||||
|
||||
$poll.find('.resultbar, .poll_option_percent, .poll_total_votes').show(500);
|
||||
$poll.find('.poll_view_results').hide(500);
|
||||
});
|
||||
|
||||
$('[data-ajax]').each(function() {
|
||||
var $this = $(this);
|
||||
var ajax = $this.attr('data-ajax');
|
||||
var filter = $this.attr('data-filter');
|
||||
|
||||
if (ajax !== 'false') {
|
||||
var fn = (ajax !== 'true') ? ajax : null;
|
||||
filter = (filter !== undefined) ? phpbb.getFunctionByName(filter) : null;
|
||||
|
||||
phpbb.ajaxify({
|
||||
selector: this,
|
||||
refresh: $this.attr('data-refresh') !== undefined,
|
||||
filter: filter,
|
||||
callback: fn
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* This simply appends #preview to the action of the
|
||||
* QR action when you click the Full Editor & Preview button
|
||||
*/
|
||||
$('#qr_full_editor').click(function() {
|
||||
$('#qr_postform').attr('action', function(i, val) {
|
||||
return val + '#preview';
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Make the display post links to use JS
|
||||
*/
|
||||
$('.display_post').click(function(e) {
|
||||
// Do not follow the link
|
||||
e.preventDefault();
|
||||
|
||||
var postId = $(this).attr('data-post-id');
|
||||
$('#post_content' + postId).show();
|
||||
$('#profile' + postId).show();
|
||||
$('#post_hidden' + postId).hide();
|
||||
});
|
||||
|
||||
/**
|
||||
* Toggle the member search panel in memberlist.php.
|
||||
*
|
||||
* If user returns to search page after viewing results the search panel is automatically displayed.
|
||||
* In any case the link will toggle the display status of the search panel and link text will be
|
||||
* appropriately changed based on the status of the search panel.
|
||||
*/
|
||||
$('#member_search').click(function () {
|
||||
var $memberlistSearch = $('#memberlist_search');
|
||||
|
||||
$memberlistSearch.slideToggle('fast');
|
||||
phpbb.ajaxCallbacks.alt_text.call(this);
|
||||
|
||||
// Focus on the username textbox if it's available and displayed
|
||||
if ($memberlistSearch.is(':visible')) {
|
||||
$('#username').focus();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
|
||||
/**
|
||||
* Automatically resize textarea
|
||||
*/
|
||||
$(function() {
|
||||
var $textarea = $('textarea:not(#message-box textarea, .no-auto-resize)');
|
||||
phpbb.resizeTextArea($textarea, { minHeight: 75, maxHeight: 250 });
|
||||
phpbb.resizeTextArea($('textarea', '#message-box'));
|
||||
});
|
||||
|
||||
|
||||
})(jQuery); // Avoid conflicts with other libraries
|
37
simplicity/template/feed.xml.twig
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ FEED_LANG }}">
|
||||
<link rel="self" type="application/atom+xml" href="{{ SELF_LINK }}" />
|
||||
|
||||
{% if not FEED_TITLE is empty %}<title>{{ FEED_TITLE }}</title>{% endif %}
|
||||
|
||||
{% if not FEED_SUBTITLE is empty %}<subtitle>{{ FEED_SUBTITLE }}</subtitle>{% endif %}
|
||||
|
||||
{% if not FEED_LINK is empty %}<link href="{{ FEED_LINK }}" />{% endif %}
|
||||
|
||||
<updated>{{ FEED_UPDATED }}</updated>
|
||||
|
||||
<author><name><![CDATA[{{ FEED_AUTHOR }}]]></name></author>
|
||||
<id>{{ SELF_LINK }}</id>
|
||||
|
||||
{% for row in FEED_ROWS %}
|
||||
<entry>
|
||||
{% if not row.author is empty %}<author><name><![CDATA[{{ row.author }}]]></name></author>{% endif %}
|
||||
|
||||
<updated>{% if not row.updated is empty %}{{ row.updated }} {% else %}{{ row.published }}{% endif %}</updated>
|
||||
|
||||
{% if not row.published is empty %}<published>{{ row.published }}</published>{% endif %}
|
||||
|
||||
<id>{{ row.link }}</id>
|
||||
<link href="{{ row.link }}"/>
|
||||
<title type="html"><![CDATA[{{ row.title }}]]></title>
|
||||
|
||||
{% if not row.category is empty and row.category_name is defined and row.category_name != '' %}
|
||||
<category term="{{ row.category_name }}" scheme="{{ row.category }}" label="{{ row.category_name }}"/>
|
||||
{% endif %}
|
||||
|
||||
<content type="html" xml:base="{{ row.link }}"><![CDATA[
|
||||
{{ row.description }}{% if not row.statistics is empty %}<p>{{ lang('STATISTICS') }}: {{ row.statistics }}</p>{% endif %}<hr />
|
||||
]]></content>
|
||||
</entry>
|
||||
{% endfor %}
|
||||
</feed>
|
1778
simplicity/template/forum_fn.js
Normal file
165
simplicity/template/forumlist_body.html
Normal file
@ -0,0 +1,165 @@
|
||||
|
||||
<!-- BEGIN forumrow -->
|
||||
<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT -->
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT forumlist_body_category_header_before -->
|
||||
<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
|
||||
<div class="forabg category-{forumrow.FORUM_ID}{% if definition.STANDARD_FORUMS_LAYOUT == 0 %} elegant{% endif %}" data-hide-description="{$HIDE_FORUM_DESCRIPTION}">
|
||||
<div class="inner">
|
||||
<ul class="topiclist">
|
||||
<li class="header">
|
||||
<!-- EVENT forumlist_body_category_header_row_prepend -->
|
||||
<dl class="row-item">
|
||||
<dt><div class="list-inner"><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}" data-id="{forumrow.FORUM_ID}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></div></dt>
|
||||
<!-- IF $STANDARD_FORUMS_LAYOUT != 0 -->
|
||||
<dd class="topics">{L_TOPICS}</dd>
|
||||
<dd class="posts">{L_POSTS}</dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
||||
</dl>
|
||||
<!-- EVENT forumlist_body_category_header_row_append -->
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="topiclist forums">
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT forumlist_body_category_header_after -->
|
||||
|
||||
<!-- IF not forumrow.S_IS_CAT -->
|
||||
<!-- EVENT forumlist_body_forum_row_before -->
|
||||
<li class="row forum-{forumrow.FORUM_ID}">
|
||||
<!-- EVENT forumlist_body_forum_row_prepend -->
|
||||
<!-- DEFINE $EXTRA_DESC -->
|
||||
<!-- IF $STANDARD_FORUMS_LAYOUT == 0 and not forumrow.CLICKS and not forumrow.S_IS_LINK -->
|
||||
<div class="forum-statistics">
|
||||
<span class="dfn">{L_TOPICS}</span>{L_COLON} <span class="value">{forumrow.TOPICS}</span><span class="comma">{L_COMMA_SEPARATOR}</span>
|
||||
<span class="dfn">{L_POSTS}</span>{L_COLON} <span class="value">{forumrow.POSTS}</span>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDDEFINE -->
|
||||
<dl class="row-item {forumrow.FORUM_IMG_STYLE}{% if definition.EXTRA_DESC|trim %} elegant-row{% endif %}">
|
||||
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
|
||||
<!-- IF forumrow.S_UNREAD_FORUM --><a href="{forumrow.U_VIEWFORUM}" class="row-item-link"></a><!-- ENDIF -->
|
||||
<div class="list-inner">
|
||||
<!-- 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>
|
||||
</a>
|
||||
-->
|
||||
<!-- ENDIF -->
|
||||
<!-- IF forumrow.FORUM_IMAGE -->
|
||||
<!-- EVENT forumlist_body_forum_image_before -->
|
||||
<span class="forum-image"><!-- EVENT forumlist_body_forum_image_prepend -->{forumrow.FORUM_IMAGE}<!-- EVENT forumlist_body_forum_image_append --></span>
|
||||
<!-- EVENT forumlist_body_forum_image_after -->
|
||||
<!-- ENDIF -->
|
||||
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle" data-id="{forumrow.FORUM_ID}">{forumrow.FORUM_NAME}</a>
|
||||
<!-- IF forumrow.FORUM_DESC --><div class="forum-description">{forumrow.FORUM_DESC}</div><!-- ENDIF -->
|
||||
{$EXTRA_DESC}
|
||||
<!-- IF forumrow.MODERATORS -->
|
||||
<div class="forum-moderators"><strong>{forumrow.L_MODERATOR_STR}{L_COLON}</strong> {forumrow.MODERATORS}</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
|
||||
<div class="subforums-list">
|
||||
<!-- EVENT forumlist_body_subforums_before -->
|
||||
<strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong>
|
||||
<ul>
|
||||
<!-- BEGIN subforum -->
|
||||
<li>
|
||||
<!-- 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<!-- ENDIF --> icon-md" aria-hidden="true"></i>{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW --><span>{L_COMMA_SEPARATOR}</span><!-- ENDIF --><!-- EVENT forumlist_body_subforum_link_append -->
|
||||
</li>
|
||||
<!-- END subforum -->
|
||||
</ul>
|
||||
<!-- EVENT forumlist_body_subforums_after -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF not S_IS_BOT -->
|
||||
{% if definition.EXTRA_DESC|trim == '' %}
|
||||
<div class="responsive-show" style="display: none;">
|
||||
<!-- IF forumrow.CLICKS -->
|
||||
{L_REDIRECTS}{L_COLON} <strong>{forumrow.CLICKS}</strong>
|
||||
<!-- ELSEIF not forumrow.S_IS_LINK and forumrow.TOPICS -->
|
||||
{L_TOPICS}{L_COLON} <strong>{forumrow.TOPICS}</strong>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- IF not forumrow.S_IS_LINK and forumrow.LAST_POST_TIME -->
|
||||
<div class="forum-lastpost" style="display: none;">
|
||||
<span><strong>{L_LAST_POST}{L_COLON}</strong> <a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}" class="lastsubject">{forumrow.LAST_POST_SUBJECT_TRUNCATED}</a></span>
|
||||
<span>{L_POST_BY_AUTHOR} <!-- EVENT forumlist_body_last_poster_username_prepend -->{forumrow.LAST_POSTER_FULL}<!-- EVENT forumlist_body_last_poster_username_append -->, {forumrow.LAST_POST_TIME}</span>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</dt>
|
||||
<!-- IF forumrow.CLICKS -->
|
||||
<dd class="redirect"><span>{L_REDIRECTS}{L_COLON} {forumrow.CLICKS}</span></dd>
|
||||
<!-- ELSEIF not forumrow.S_IS_LINK -->
|
||||
<!-- IF $STANDARD_FORUMS_LAYOUT != 0 -->
|
||||
<dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
|
||||
<dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost">
|
||||
<span>
|
||||
<!-- IF forumrow.U_UNAPPROVED_TOPICS -->
|
||||
<a href="{forumrow.U_UNAPPROVED_TOPICS}" title="{L_TOPICS_UNAPPROVED}" class="forum-mcplink">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_TOPICS_UNAPPROVED}</span>
|
||||
</a>
|
||||
<!-- ELSEIF forumrow.U_UNAPPROVED_POSTS -->
|
||||
<a href="{forumrow.U_UNAPPROVED_POSTS}" title="{L_POSTS_UNAPPROVED_FORUM}" class="forum-mcplink">
|
||||
<i class="icon fa-question fa-fw icon-blue" aria-hidden="true"></i><span class="sr-only">{L_POSTS_UNAPPROVED_FORUM}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF forumrow.LAST_POST_TIME -->
|
||||
<dfn>{L_LAST_POST}</dfn>
|
||||
<!-- IF forumrow.S_DISPLAY_SUBJECT -->
|
||||
<!-- EVENT forumlist_body_last_post_title_prepend -->
|
||||
<a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}" class="lastsubject">{forumrow.LAST_POST_SUBJECT_TRUNCATED}</a> <br />
|
||||
<!-- ENDIF -->
|
||||
{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>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br /><time datetime="{forumrow.LAST_POST_TIME_RFC3339}">{forumrow.LAST_POST_TIME}</time>
|
||||
<!-- ELSE -->
|
||||
{% if forumrow.U_UNAPPROVED_TOPICS %}
|
||||
{{ lang('TOPIC_UNAPPROVED_FORUM', forumrow.TOPICS) }}
|
||||
{% else %}
|
||||
{{ lang('NO_POSTS') }}
|
||||
{% endif %}
|
||||
<!-- ENDIF -->
|
||||
</span>
|
||||
</dd>
|
||||
<!-- ELSE -->
|
||||
<dd> </dd>
|
||||
<!-- ENDIF -->
|
||||
</dl>
|
||||
<!-- EVENT forumlist_body_forum_row_append -->
|
||||
</li>
|
||||
<!-- EVENT forumlist_body_forum_row_after -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF forumrow.S_LAST_ROW -->
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- EVENT forumlist_body_last_row_after -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- BEGINELSE -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<strong>{L_NO_FORUMS}</strong>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END forumrow -->
|
0
simplicity/template/index.htm
Normal file
80
simplicity/template/index_body.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!-- DEFINE $NAVLINKS -->
|
||||
<!-- IF U_MARK_FORUMS -->
|
||||
<li class="small-icon icon-mark"><a href="{U_MARK_FORUMS}" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a></li>
|
||||
<!-- DEFINE $NAVLINKS_SHOW_DEFAULT = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDDEFINE -->
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- EVENT index_body_markforums_before -->
|
||||
<!-- EVENT index_body_markforums_after -->
|
||||
|
||||
<!-- INCLUDE forumlist_body.html -->
|
||||
|
||||
<!-- EVENT index_body_forumlist_body_after -->
|
||||
|
||||
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
|
||||
<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
|
||||
<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
|
||||
<fieldset class="quick-login">
|
||||
<label for="username"><span>{L_USERNAME}{L_COLON}</span> <input type="text" tabindex="1" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" /></label>
|
||||
<label for="password"><span>{L_PASSWORD}{L_COLON}</span> <input type="password" tabindex="2" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" autocomplete="off" /></label>
|
||||
<!-- IF U_SEND_PASSWORD -->
|
||||
<a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_AUTOLOGIN_ENABLED -->
|
||||
<span class="responsive-hide">|</span> <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" tabindex="4" name="autologin" id="autologin" /></label>
|
||||
<!-- ENDIF -->
|
||||
<input type="submit" tabindex="5" name="login" value="{L_LOGIN}" class="button2" />
|
||||
{S_LOGIN_REDIRECT}
|
||||
|
||||
{S_FORM_TOKEN_LOGIN}
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT index_body_stat_blocks_before -->
|
||||
|
||||
<!-- IF S_DISPLAY_ONLINE_LIST -->
|
||||
<div class="stat-block online-list">
|
||||
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
|
||||
<p>
|
||||
<!-- EVENT index_body_block_online_prepend -->
|
||||
{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br />
|
||||
<!-- IF U_VIEWONLINE -->
|
||||
<br />{LOGGED_IN_USER_LIST}
|
||||
<!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} {LEGEND}</em><!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT index_body_block_online_append -->
|
||||
</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT index_body_birthday_block_before -->
|
||||
|
||||
<!-- IF S_DISPLAY_BIRTHDAY_LIST -->
|
||||
<div class="stat-block birthday-list">
|
||||
<h3>{L_BIRTHDAYS}</h3>
|
||||
<p>
|
||||
<!-- EVENT index_body_block_birthday_prepend -->
|
||||
<!-- IF .birthdays -->{L_CONGRATULATIONS}{L_COLON} <strong><!-- BEGIN birthdays -->{birthdays.USERNAME}<!-- IF birthdays.AGE !== '' --> ({birthdays.AGE})<!-- ENDIF --><!-- IF not birthdays.S_LAST_ROW -->, <!-- ENDIF --><!-- END birthdays --></strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF -->
|
||||
<!-- EVENT index_body_block_birthday_append -->
|
||||
</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF NEWEST_USER -->
|
||||
<div class="stat-block statistics">
|
||||
<h3>{L_STATISTICS}</h3>
|
||||
<p>
|
||||
<!-- EVENT index_body_block_stats_prepend -->
|
||||
{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}
|
||||
<!-- EVENT index_body_block_stats_append -->
|
||||
</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT index_body_stat_blocks_after -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
50
simplicity/template/jumpbox.html
Normal file
@ -0,0 +1,50 @@
|
||||
|
||||
<div class="action-bar actions-jump">
|
||||
<!-- 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>
|
||||
</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>
|
||||
</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>
|
||||
</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>
|
||||
</a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_DISPLAY_JUMPBOX -->
|
||||
<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>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents">
|
||||
<!-- BEGIN jumpbox_forums -->
|
||||
<!-- IF jumpbox_forums.FORUM_ID neq -1 -->
|
||||
<li><a href="{jumpbox_forums.LINK}" class="<!-- IF jumpbox_forums.level -->jumpbox-sub-link<!-- ELSEIF jumpbox_forums.S_IS_CAT -->jumpbox-cat-link<!-- ELSE -->jumpbox-forum-link<!-- ENDIF -->"><!-- BEGIN level --><span class="spacer"></span><!-- END level --> <span><!-- IF jumpbox_forums.level --><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->↲<!-- ELSE -->↳<!-- ENDIF --> <!-- ENDIF --> {jumpbox_forums.FORUM_NAME}</span></a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- END jumpbox_forums -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ELSE -->
|
||||
<br /><br />
|
||||
<!-- ENDIF -->
|
||||
</div>
|
71
simplicity/template/login_body.html
Normal file
@ -0,0 +1,71 @@
|
||||
<!-- DEFINE $NAV_SECTION = 'login' --><!-- INCLUDE overall_header.html -->
|
||||
|
||||
<form action="{S_LOGIN_ACTION}" method="post" id="login" data-focus="<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->">
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<div class="content">
|
||||
<h2 class="login-title"><!-- IF LOGIN_EXPLAIN -->{LOGIN_EXPLAIN}<!-- ELSE -->{L_LOGIN}<!-- ENDIF --></h2>
|
||||
|
||||
<fieldset <!-- IF not S_CONFIRM_CODE -->class="fields1"<!-- ELSE -->class="fields2"<!-- ENDIF -->>
|
||||
<!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}{L_COLON}</label></dt>
|
||||
<dd><input type="text" tabindex="1" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}{L_COLON}</label></dt>
|
||||
<dd><input type="password" tabindex="2" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" autocomplete="off" /></dd>
|
||||
<!-- IF S_DISPLAY_FULL_LOGIN and (U_SEND_PASSWORD or U_RESEND_ACTIVATION) -->
|
||||
<!-- IF U_SEND_PASSWORD --><dd><a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a></dd><!-- ENDIF -->
|
||||
<!-- IF U_RESEND_ACTIVATION --><dd><a href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a></dd><!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
</dl>
|
||||
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
|
||||
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
|
||||
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_DISPLAY_FULL_LOGIN -->
|
||||
<dl>
|
||||
<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
|
||||
<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="5" /> {L_HIDE_ME}</label></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
|
||||
{S_LOGIN_REDIRECT}
|
||||
|
||||
{S_FORM_TOKEN_LOGIN}
|
||||
|
||||
<dl>
|
||||
<dt> </dt>
|
||||
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<!-- IF not S_ADMIN_AUTH and PROVIDER_TEMPLATE_FILE -->
|
||||
<!-- INCLUDE {PROVIDER_TEMPLATE_FILE} -->
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<div class="content">
|
||||
<h3>{L_REGISTER}</h3>
|
||||
<p>{L_LOGIN_INFO}</p>
|
||||
<p><strong><a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a></strong></p>
|
||||
<hr class="dashed" />
|
||||
<p><a href="{U_REGISTER}" class="button2">{L_REGISTER}</a></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
</form>
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
198
simplicity/template/memberlist_body.html
Normal file
@ -0,0 +1,198 @@
|
||||
<!-- IF S_IN_SEARCH_POPUP -->
|
||||
<!-- INCLUDE simple_header.html -->
|
||||
<!-- INCLUDE memberlist_search.html -->
|
||||
<form method="post" id="results" action="{S_MODE_ACTION}" onsubmit="insert_marked_users('#results', this.user); return false;" data-form-name="{S_FORM_NAME}" data-field-name="{S_FIELD_NAME}">
|
||||
|
||||
<!-- ELSE -->
|
||||
<!-- DEFINE $NAVLINKS -->
|
||||
<!-- IF U_FIND_MEMBER and not S_SEARCH_USER -->
|
||||
<li class="small-icon icon-search"><a href="{U_FIND_MEMBER}" data-alt-text="{LA_HIDE_MEMBER_SEARCH}">{L_FIND_USERNAME}</a></li>
|
||||
<!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP -->
|
||||
<li class="small-icon icon-search"><a href="{U_HIDE_FIND_MEMBER}" data-alt-text="{LA_FIND_USERNAME}">{L_HIDE_MEMBER_SEARCH}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_TEAM --><li class="small-icon icon-team"><a href="{U_TEAM}" role="menuitem">{L_THE_TEAM}</a></li><!-- ENDIF -->
|
||||
<!-- ENDDEFINE -->
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
<div class="panel" id="memberlist_search"<!-- IF not S_SEARCH_USER --> style="display: none;"<!-- ENDIF -->>
|
||||
<!-- INCLUDE memberlist_search.html -->
|
||||
</div>
|
||||
<form method="post" action="{S_MODE_ACTION}">
|
||||
|
||||
<!-- ENDIF -->
|
||||
|
||||
{% EVENT memberlist_body_page_header_after %}
|
||||
|
||||
<!-- IF S_SHOW_GROUP -->
|
||||
{% EVENT memberlist_body_group_name_before %}
|
||||
<h2 class="group-title"<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{GROUP_NAME}</h2>
|
||||
{% EVENT memberlist_body_group_name_after %}
|
||||
<!-- IF U_MANAGE -->
|
||||
<p class="right responsive-center manage rightside"><a href="{U_MANAGE}">{L_MANAGE_GROUP}</a></p>
|
||||
<!-- ENDIF -->
|
||||
<p>{GROUP_DESC} {GROUP_TYPE}</p>
|
||||
|
||||
{% EVENT memberlist_body_group_desc_after %}
|
||||
|
||||
<p>
|
||||
<!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ENDIF -->
|
||||
{% EVENT memberlist_body_group_rank_before %}
|
||||
{% if RANK_IMG %}{{ RANK_IMG }}{% endif %}
|
||||
{% if GROUP_RANK %}
|
||||
{% if not RANK_IMG %}
|
||||
{{ lang('GROUP_RANK') ~ lang('COLON') }}
|
||||
{% endif %}
|
||||
{{ GROUP_RANK }}
|
||||
{% endif %}
|
||||
{% EVENT memberlist_body_group_rank_after %}
|
||||
</p>
|
||||
<!-- ELSE -->
|
||||
{% EVENT memberlist_body_page_title_before %}
|
||||
<h2 class="solo">{PAGE_TITLE}<!-- IF SEARCH_WORDS -->{L_COLON} <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2>
|
||||
|
||||
<div class="action-bar bar-top">
|
||||
<div class="member-search panel">
|
||||
<!-- IF U_FIND_MEMBER and not S_SEARCH_USER --><a href="{U_FIND_MEMBER}" id="member_search" data-alt-text="{L_HIDE_MEMBER_SEARCH}">{L_FIND_USERNAME}</a> • <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --><a href="{U_HIDE_FIND_MEMBER}" id="member_search" data-alt-text="{L_FIND_USERNAME}">{L_HIDE_MEMBER_SEARCH}</a> • <!-- ENDIF -->
|
||||
<strong>
|
||||
<!-- BEGIN first_char -->
|
||||
<a href="{first_char.U_SORT}">{first_char.DESC}</a>
|
||||
<!-- END first_char -->
|
||||
</strong>
|
||||
</div>
|
||||
|
||||
<div class="pagination">
|
||||
{TOTAL_USERS}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_LEADERS_SET or not S_SHOW_GROUP or not .memberrow -->
|
||||
<div class="forumbg forumbg-table">
|
||||
<div class="inner">
|
||||
|
||||
<table class="table1 memberlist" id="memberlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="name" data-dfn="{L_RANK}{L_COMMA_SEPARATOR}<!-- IF S_SHOW_GROUP and .memberrow -->{L_GROUP_LEADER}<!-- ELSE -->{L_USERNAME}<!-- ENDIF -->"><span class="rank-img"><a href="{U_SORT_RANK}">{L_RANK}</a></span><a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP and .memberrow -->{L_GROUP_LEADER}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a></th>
|
||||
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
|
||||
<th class="info"><!-- BEGIN custom_fields --><!-- IF not custom_fields.S_FIRST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF -->{custom_fields.PROFILE_FIELD_NAME}<!-- END custom_fields --></th>
|
||||
<th class="joined"><a href="{U_SORT_JOINED}#memberlist">{L_JOINED}</a></th>
|
||||
<!-- IF U_SORT_ACTIVE --><th class="active"><a href="{U_SORT_ACTIVE}#memberlist">{L_LAST_ACTIVE}</a></th><!-- ENDIF -->
|
||||
{% EVENT memberlist_body_memberlist_after %}
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- ENDIF -->
|
||||
<!-- BEGIN memberrow -->
|
||||
<!-- IF S_SHOW_GROUP -->
|
||||
<!-- IF not memberrow.S_GROUP_LEADER and not $S_MEMBER_HEADER -->
|
||||
<!-- IF S_LEADERS_SET and memberrow.S_FIRST_ROW -->
|
||||
<tr class="bg1">
|
||||
<td colspan="<!-- IF U_SORT_ACTIVE -->5<!-- ELSE -->4<!-- ENDIF -->"> </td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_LEADERS_SET -->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<div class="forumbg forumbg-table">
|
||||
<div class="inner">
|
||||
|
||||
<table class="table1">
|
||||
<thead>
|
||||
<tr>
|
||||
<!-- IF not S_LEADERS_SET -->
|
||||
<th class="name" data-dfn="{L_RANK}{L_COMMA_SEPARATOR}{L_USERNAME}"><span class="rank-img"><a href="{U_SORT_RANK}">{L_RANK}</a></span><a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP -->{L_GROUP_MEMBERS}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a></th>
|
||||
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
|
||||
<th class="info">{% for field in custom_fields %}{% if not loop.first %}{L_COMMA_SEPARATOR} {% endif %}{{ field.PROFILE_FIELD_NAME }}{% endfor %}</th>
|
||||
<th class="joined"><a href="{U_SORT_JOINED}#memberlist">{L_JOINED}</a></th>
|
||||
<!-- IF U_SORT_ACTIVE --><th class="active"><a href="{U_SORT_ACTIVE}#memberlist">{L_LAST_ACTIVE}</a></th><!-- ENDIF -->
|
||||
{% EVENT memberlist_body_leaders_set_after %}
|
||||
<!-- ELSEIF S_SHOW_GROUP -->
|
||||
<th class="name">{L_GROUP_MEMBERS}</th>
|
||||
<th class="posts">{L_POSTS}</th>
|
||||
<th class="info"><!-- BEGIN custom_fields --><!-- IF not custom_fields.S_FIRST_ROW -->{L_COMMA_SEPARATOR} <!-- ENDIF -->{custom_fields.PROFILE_FIELD_NAME}<!-- END custom_fields --></th>
|
||||
<th class="joined">{L_JOINED}</th>
|
||||
<!-- IF U_SORT_ACTIVE --><th class="active">{L_LAST_ACTIVE}</th><!-- ENDIF -->
|
||||
{% EVENT memberlist_body_show_group_after %}
|
||||
<!-- ENDIF -->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- DEFINE $S_MEMBER_HEADER = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<tr class="<!-- IF memberrow.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF memberrow.S_INACTIVE --> inactive<!-- ENDIF -->">
|
||||
<td><span class="rank-img"><!-- EVENT memberlist_body_rank_prepend --><!-- IF memberrow.RANK_IMG -->{memberrow.RANK_IMG}<!-- ELSE -->{memberrow.RANK_TITLE}<!-- ENDIF --><!-- EVENT memberlist_body_rank_append --></span><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><input type="checkbox" name="user" value="{memberrow.USERNAME}" /> <!-- ENDIF --><!-- EVENT memberlist_body_username_prepend -->{memberrow.USERNAME_FULL}<!-- IF memberrow.S_INACTIVE --> ({L_INACTIVE})<!-- ENDIF --><!-- EVENT memberlist_body_username_append --><!-- IF S_IN_SEARCH_POPUP --><br />[ <a href="#" onclick="insert_single_user('#results', '{memberrow.A_USERNAME}'); return false;">{L_SELECT}</a> ]<!-- ENDIF --></td>
|
||||
<td class="posts"><!-- IF memberrow.POSTS and S_DISPLAY_SEARCH --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td>
|
||||
<td class="info">
|
||||
{%- for field in memberrow.custom_fields -%}
|
||||
<div>{% if field.S_PROFILE_CONTACT %}<a href="{{ field.PROFILE_FIELD_CONTACT }}">{% endif %}{{ field.PROFILE_FIELD_VALUE }}{% if field.S_PROFILE_CONTACT %}</a>{% endif %}</div>
|
||||
{%- else -%}
|
||||
|
||||
{%- endfor -%}
|
||||
</td>
|
||||
<td>{memberrow.JOINED}</td>
|
||||
<!-- IF S_VIEWONLINE --><td>{memberrow.LAST_ACTIVE} </td><!-- ENDIF -->
|
||||
{% EVENT memberlist_body_memberrow_after %}
|
||||
</tr>
|
||||
<!-- BEGINELSE -->
|
||||
<tr class="bg1">
|
||||
<td colspan="<!-- IF S_VIEWONLINE -->5<!-- ELSE -->4<!-- ENDIF -->">{L_NO_MEMBERS}</td>
|
||||
</tr>
|
||||
<!-- END memberrow -->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE -->
|
||||
<fieldset class="display-actions">
|
||||
<input type="submit" name="submit" value="{L_SELECT_MARKED}" class="button2" />
|
||||
<div><a href="#" onclick="marklist('results', 'user', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('results', 'user', false); return false;">{L_UNMARK_ALL}</a></div>
|
||||
</fieldset>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_IN_SEARCH_POPUP -->
|
||||
</form>
|
||||
<form method="post" id="sort-results" action="{S_MODE_ACTION}">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_IN_SEARCH_POPUP and not S_SEARCH_USER -->
|
||||
<fieldset class="display-options">
|
||||
<label for="sk">{L_SELECT_SORT_METHOD}{L_COLON} <select name="sk" id="sk">{S_MODE_SELECT}</select></label>
|
||||
<label for="sd">{L_ORDER} <select name="sd" id="sd">{S_ORDER_SELECT}</select></label>
|
||||
<input type="submit" name="sort" value="{L_SUBMIT}" class="button2" />
|
||||
</fieldset>
|
||||
<!-- ENDIF -->
|
||||
|
||||
</form>
|
||||
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{TOTAL_USERS}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% EVENT memberlist_body_page_footer_before %}
|
||||
|
||||
<!-- IF S_IN_SEARCH_POPUP -->
|
||||
<!-- INCLUDE simple_footer.html -->
|
||||
<!-- ELSE -->
|
||||
<!-- INCLUDE jumpbox.html -->
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
<!-- ENDIF -->
|
304
simplicity/template/navbar_header.html
Normal file
@ -0,0 +1,304 @@
|
||||
{% set quick_links_first_block %}
|
||||
<!-- EVENT navbar_header_quick_links_before -->
|
||||
|
||||
<!-- IF S_DISPLAY_SEARCH -->
|
||||
<li class="separator"></li>
|
||||
<!-- IF S_REGISTERED_USER -->
|
||||
<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>
|
||||
</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>
|
||||
</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>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
{% endset %}
|
||||
|
||||
{% set quick_links_last_block %}
|
||||
<!-- EVENT navbar_header_quick_links_after -->
|
||||
{% endset %}
|
||||
|
||||
{% set quick_links_all %}{{ quick_links_first_block|trim }}{{ quick_links_last_block|trim }}{% endset %}
|
||||
|
||||
<div class="navbar tabbed not-static" role="navigation">
|
||||
<div class="inner page-width">
|
||||
<div class="nav-tabs" data-current-page="<!-- IF $NAV_SECTION -->{$NAV_SECTION}<!-- ELSE -->{SCRIPT_NAME}<!-- ENDIF -->">
|
||||
<ul class="leftside">
|
||||
<li id="quick-links" class="quick-links tab responsive-menu dropdown-container{% if quick_links_all == '' %} empty{% endif %}">
|
||||
<a href="#" class="nav-link dropdown-trigger">{L_QUICK_LINKS}</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents" role="menu">
|
||||
{{ quick_links_first_block }}
|
||||
{% if quick_links_last_block|trim %}
|
||||
<li class="separator"></li>
|
||||
{{ quick_links_last_block }}
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<!-- EVENT navtabs_left_before -->
|
||||
<!-- IF U_SITE_HOME -->
|
||||
<li class="tab home" data-responsive-class="small-icon icon-home">
|
||||
<a class="nav-link" href="{U_SITE_HOME}" data-navbar-reference="home">{L_SITE_HOME}</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<li class="tab forums selected" data-responsive-class="small-icon icon-forums">
|
||||
<a class="nav-link" href="{U_INDEX}">{L_FORUMS}</a>
|
||||
</li>
|
||||
<!-- IF not S_IS_BOT and (S_DISPLAY_MEMBERLIST or U_TEAM) -->
|
||||
<li class="tab members dropdown-container" data-select-match="member" data-responsive-class="small-icon icon-members">
|
||||
<a class="nav-link dropdown-trigger" href="{U_MEMBERLIST}">{L_MEMBERLIST}</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents" role="menu">
|
||||
<!-- 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>
|
||||
</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 -->
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT navtabs_left_after -->
|
||||
</ul>
|
||||
<ul class="rightside" role="menu">
|
||||
<!-- EVENT overall_header_navigation_prepend -->
|
||||
<li class="tab faq" data-select-match="faq" data-responsive-class="small-icon icon-faq">
|
||||
<a class="nav-link" 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 class="tab acp" data-last-responsive="true">
|
||||
<a class="nav-link" 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 class="tab mcp" data-last-responsive="true" data-select-match="mcp">
|
||||
<a class="nav-link" 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="tab account dropdown-container" data-skip-responsive="true" data-select-match="ucp">
|
||||
<!-- EVENT navbar_header_username_prepend --> <a href="{U_PROFILE}" class="nav-link dropdown-trigger">{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>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- EVENT navbar_header_username_append -->
|
||||
</li>
|
||||
<!-- IF S_DISPLAY_PM -->
|
||||
<li class="tab pm<!-- IF PRIVATE_MESSAGE_COUNT > 0 --> non-zero<!-- ENDIF -->" data-skip-responsive="true" data-select-match="pm">
|
||||
<a class="nav-link" href="{U_PRIVATEMSGS}" role="menuitem">
|
||||
<i class="icon fa-inbox fa-fw" aria-hidden="true"></i><span>{L_PRIVATE_MESSAGES}</span>
|
||||
</a>
|
||||
<strong>
|
||||
<span class="counter">{PRIVATE_MESSAGE_COUNT}</span>
|
||||
<span class="arrow"></span>
|
||||
</strong>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_NOTIFICATIONS_DISPLAY -->
|
||||
<li class="tab notifications dropdown-container<!-- IF NOTIFICATIONS_COUNT > 0 --> non-zero<!-- ENDIF -->" data-skip-responsive="true" data-select-match="notifications">
|
||||
<a href="{U_VIEW_ALL_NOTIFICATIONS}" id="notification_list_button" class="nav-link dropdown-trigger">
|
||||
<i class="icon fa-bell fa-fw" aria-hidden="true"></i><span>{L_NOTIFICATIONS}</span>
|
||||
</a>
|
||||
<strong>
|
||||
<span class="counter">{NOTIFICATIONS_COUNT}</span>
|
||||
<span class="arrow"></span>
|
||||
</strong>
|
||||
<!-- INCLUDE notification_dropdown.html -->
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT navbar_header_user_profile_append -->
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_REGISTERED_USER -->
|
||||
<li class="tab logout" data-skip-responsive="true"><a class="nav-link" href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x" role="menuitem">{L_LOGIN_LOGOUT}</a></li>
|
||||
<!-- ELSE IF not S_IS_BOT -->
|
||||
<li class="tab login" data-skip-responsive="true" data-select-match="login"><a class="nav-link" href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x" role="menuitem">{L_LOGIN_LOGOUT}</a></li>
|
||||
<!-- IF S_REGISTER_ENABLED -->
|
||||
<li class="tab register" data-skip-responsive="true" data-select-match="register"><a class="nav-link" href="{U_REGISTER}" role="menuitem">{L_REGISTER}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT navbar_header_logged_out_content -->
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="navbar secondary{% if definition.SEARCH_IN_NAVBAR == 1 && definition.SEARCH_BOX %} with-search{% endif %}">
|
||||
<ul role="menubar">
|
||||
{% set secondary_links %}
|
||||
<!-- EVENT secondary_navlinks_before -->
|
||||
{% if definition.NAVLINKS|trim %}
|
||||
{{ definition.NAVLINKS }}
|
||||
{% endif %}
|
||||
{% if !definition.NAVLINKS|trim || definition.NAVLINKS_SHOW_DEFAULT == 1 %}
|
||||
<!-- 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 -->
|
||||
{% endif %}
|
||||
<!-- EVENT secondary_navlinks_after -->
|
||||
{% endset %}
|
||||
{% if secondary_links|trim %}
|
||||
{{ secondary_links }}
|
||||
<!-- IF $NAVLINKS_SHOW_DEFAULT && S_DISPLAY_SEARCH -->
|
||||
<li class="small-icon icon-search{% if definition.SEARCH_IN_NAVBAR == 1 && definition.SEARCH_BOX %} responsive-hide{% endif %}"><a href="{U_SEARCH}">{L_SEARCH}</a></li>
|
||||
<!-- IF S_USER_LOGGED_IN -->
|
||||
<li class="small-icon icon-new-posts"><a href="{U_SEARCH_NEW}" role="menuitem">{L_SEARCH_NEW}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
{% else %}
|
||||
<!-- IF S_DISPLAY_SEARCH -->
|
||||
<li class="small-icon icon-search{% if definition.SEARCH_IN_NAVBAR == 1 && definition.SEARCH_BOX %} responsive-hide{% endif %}"><a href="{U_SEARCH}">{L_SEARCH}</a></li>
|
||||
<!-- IF S_USER_LOGGED_IN -->
|
||||
<li class="small-icon icon-new-posts"><a href="{U_SEARCH_NEW}" role="menuitem">{L_SEARCH_NEW}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_REGISTERED_USER -->
|
||||
<li class="small-icon icon-login"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
|
||||
<!-- IF S_REGISTER_ENABLED -->
|
||||
<li class="small-icon icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- ELSEIF not S_DISPLAY_SEARCH -->
|
||||
<li><a href="{U_PROFILE}" class="small-icon icon-profile">{CURRENT_USERNAME_SIMPLE}</a></li>
|
||||
<!-- ENDIF -->
|
||||
{% endif %}
|
||||
|
||||
{% if definition.SEARCH_IN_NAVBAR == 1 && definition.SEARCH_BOX %}
|
||||
<li class="search-box not-responsive">{$SEARCH_BOX}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- DEFINE $BREADCRUMBS -->
|
||||
<div class="navbar">
|
||||
<ul id="nav-breadcrumbs" class="nav-breadcrumbs linklist navlinks" role="menubar">
|
||||
<!-- DEFINE $MICRODATA = ' itemtype="http://schema.org/ListItem" itemprop="itemListElement" itemscope' -->
|
||||
{% set navlink_position = 1 %}
|
||||
<!-- EVENT overall_header_breadcrumbs_before -->
|
||||
<li class="breadcrumbs" itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
<!-- IF U_SITE_HOME -->
|
||||
<span class="crumb" {$MICRODATA}><a href="{U_SITE_HOME}" itemtype="https://schema.org/Thing" itemscope itemprop="item" 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>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT overall_header_breadcrumb_prepend -->
|
||||
<span class="crumb" {$MICRODATA}><a href="{U_INDEX}" itemtype="https://schema.org/Thing" itemscope itemprop="item" accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw"></i><!-- ENDIF --><span itemprop="name">{L_INDEX}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
|
||||
|
||||
<!-- BEGIN navlinks -->
|
||||
{% set NAVLINK_NAME = navlinks.BREADCRUMB_NAME | default(navlinks.FORUM_NAME) %}
|
||||
{% set NAVLINK_LINK = navlinks.U_BREADCRUMB | default(navlinks.U_VIEW_FORUM) %}
|
||||
<!-- EVENT overall_header_navlink_prepend -->
|
||||
<span class="crumb" {$MICRODATA}<!-- IF navlinks.MICRODATA --> {navlinks.MICRODATA}<!-- ENDIF -->><a href="{{ NAVLINK_LINK }}" itemtype="https://schema.org/Thing" itemscope itemprop="item"><span itemprop="name">{{ NAVLINK_NAME }}</span></a><meta itemprop="position" content="{{ navlink_position }}{% set navlink_position = navlink_position + 1 %}" /></span>
|
||||
<!-- EVENT overall_header_navlink_append -->
|
||||
<!-- END navlinks -->
|
||||
<!-- EVENT overall_header_breadcrumb_append -->
|
||||
</li>
|
||||
<!-- EVENT overall_header_breadcrumbs_after -->
|
||||
|
||||
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
|
||||
<li class="rightside responsive-search">
|
||||
<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}" role="menuitem">
|
||||
<i class="icon fa-search fa-fw" aria-hidden="true"></i><span class="sr-only">{L_SEARCH}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<li class="rightside dropdown-container icon-only">
|
||||
<a href="#" class="dropdown-trigger time" title="{CURRENT_TIME}"><i class="fa fa-clock-o"></i></a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents">
|
||||
<li>{CURRENT_TIME}</li>
|
||||
<li>{S_TIMEZONE}</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDDEFINE -->
|
||||
<!-- IF $WRAP_HEADER != 0 -->
|
||||
{$BREADCRUMBS}
|
||||
<!-- DEFINE $BREADCRUMBS = '' -->
|
||||
<!-- ENDIF -->
|
47
simplicity/template/notification_dropdown.html
Normal file
@ -0,0 +1,47 @@
|
||||
<div id="notification_list" class="dropdown dropdown-extended notification_list">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<div class="dropdown-contents">
|
||||
<div class="header">
|
||||
{L_NOTIFICATIONS}
|
||||
<span class="header_settings">
|
||||
<a href="{U_NOTIFICATION_SETTINGS}">{L_SETTINGS}</a>
|
||||
<!-- IF NOTIFICATIONS_COUNT -->
|
||||
<span id="mark_all_notifications"> • <a href="{U_MARK_ALL_NOTIFICATIONS}" data-ajax="notification.mark_all_read">{L_MARK_ALL_READ}</a></span>
|
||||
<!-- ENDIF -->
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<ul>
|
||||
<!-- IF not .notifications -->
|
||||
<li class="no_notifications">
|
||||
{L_NO_NOTIFICATIONS}
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- BEGIN notifications -->
|
||||
<li class="dropdown-notification <!-- IF notifications.UNREAD --> bg3<!-- ENDIF --><!-- IF notifications.STYLING --> {notifications.STYLING}<!-- ENDIF --><!-- IF not notifications.URL --> no-url<!-- ENDIF -->">
|
||||
<!-- IF notifications.URL -->
|
||||
<a class="notification-block" href="<!-- IF notifications.UNREAD -->{notifications.U_MARK_READ}" data-real-url="{notifications.URL}<!-- ELSE -->{notifications.URL}<!-- ENDIF -->">
|
||||
<!-- ENDIF -->
|
||||
<!-- IF notifications.AVATAR -->{notifications.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.png" alt="" /><!-- ENDIF -->
|
||||
<div class="notification_text">
|
||||
<p class="notification-title">{notifications.FORMATTED_TITLE}</p>
|
||||
<!-- IF notifications.REFERENCE --><p class="notification-reference">{notifications.REFERENCE}</p><!-- ENDIF -->
|
||||
<!-- IF notifications.FORUM --><p class="notification-forum">{notifications.FORUM}</p><!-- ENDIF -->
|
||||
<!-- IF notifications.REASON --><p class="notification-reason">{notifications.REASON}</p><!-- ENDIF -->
|
||||
<p class="notification-time">{notifications.TIME}</p>
|
||||
</div>
|
||||
<!-- 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}">
|
||||
<span class="sr-only">{L_MARK_READ}</span>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
</li>
|
||||
<!-- END notifications -->
|
||||
</ul>
|
||||
|
||||
<div class="footer">
|
||||
<a href="{U_VIEW_ALL_NOTIFICATIONS}"><span>{L_SEE_ALL}</span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
130
simplicity/template/overall_footer.html
Normal file
@ -0,0 +1,130 @@
|
||||
<!-- EVENT overall_footer_content_after -->
|
||||
</div>
|
||||
|
||||
<!-- EVENT overall_footer_page_body_after -->
|
||||
|
||||
<!-- IF $WRAP_FOOTER == 0 -->
|
||||
<!-- INCLUDE navbar_footer.html -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div id="page-footer" class="page-width" role="contentinfo">
|
||||
<!-- IF $WRAP_FOOTER == 1 -->
|
||||
<!-- INCLUDE navbar_footer.html -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="copyright">
|
||||
<!-- EVENT overall_footer_copyright_prepend -->
|
||||
<p class="footer-row">
|
||||
<span class="footer-copyright">{{ CREDIT_LINE }}</span>
|
||||
</p>
|
||||
<p class="footer-row">
|
||||
<span class="footer-copyright">Style {{ lang('POST_BY_AUTHOR') }} <a href="https://www.artodia.com/">Arty</a> - phpBB 3.3 {{ lang('POST_BY_AUTHOR') }} MrGaby</span>
|
||||
</p>
|
||||
<!-- IF TRANSLATION_INFO -->
|
||||
<p class="footer-row">
|
||||
<span class="footer-copyright">{{ TRANSLATION_INFO }}</span>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT overall_footer_copyright_append -->
|
||||
<p class="footer-row" role="menu">
|
||||
<a class="footer-link" href="{{ U_PRIVACY }}" title="{{ lang('PRIVACY_LINK') }}" role="menuitem">
|
||||
<span class="footer-link-text">{{ lang('PRIVACY_LINK') }}</span>
|
||||
</a>
|
||||
|
|
||||
<a class="footer-link" href="{{ U_TERMS_USE }}" title="{{ lang('TERMS_LINK') }}" role="menuitem">
|
||||
<span class="footer-link-text">{{ lang('TERMS_LINK') }}</span>
|
||||
</a>
|
||||
</p>
|
||||
<!-- IF DEBUG_OUTPUT -->
|
||||
<p class="footer-row">
|
||||
<span class="footer-info">{{ DEBUG_OUTPUT }}</span>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_ACP -->
|
||||
<p class="footer-row">
|
||||
<a class="footer-link text-strong" href="{{ U_ACP }}">{{ lang('ACP') }}</a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="{L_AJAX_ERROR_TITLE}" data-ajax-error-text="{L_AJAX_ERROR_TEXT}" data-ajax-error-text-abort="{L_AJAX_ERROR_TEXT_ABORT}" data-ajax-error-text-timeout="{L_AJAX_ERROR_TEXT_TIMEOUT}" data-ajax-error-text-parsererror="{L_AJAX_ERROR_TEXT_PARSERERROR}">
|
||||
<div id="darken" class="darken"> </div>
|
||||
</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">
|
||||
</a>
|
||||
<h3 class="alert_title"> </h3><p class="alert_text"></p>
|
||||
</div>
|
||||
<div id="phpbb_confirm" class="phpbb_alert">
|
||||
<a href="#" class="alert_close">
|
||||
</a>
|
||||
<div class="alert_text"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- IF $WRAP_FOOTER == 1 -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div>
|
||||
<a id="bottom" class="top-anchor" accesskey="z"></a>
|
||||
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<script src="{T_JQUERY_LINK}"></script>
|
||||
<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.4.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
|
||||
<script 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 -->
|
||||
|
||||
<!-- IF S_COOKIE_NOTICE -->
|
||||
<script src="{T_ASSETS_PATH}/cookieconsent/cookieconsent.min.js?assets_version={T_ASSETS_VERSION}"></script>
|
||||
<script>
|
||||
if (typeof window.cookieconsent === "object") {
|
||||
window.addEventListener("load", function(){
|
||||
window.cookieconsent.initialise({
|
||||
"palette": {
|
||||
"popup": {
|
||||
"background": "#0F538A"
|
||||
},
|
||||
"button": {
|
||||
"background": "#E5E5E5"
|
||||
}
|
||||
},
|
||||
"theme": "classic",
|
||||
"content": {
|
||||
"message": "{LA_COOKIE_CONSENT_MSG}",
|
||||
"dismiss": "{LA_COOKIE_CONSENT_OK}",
|
||||
"link": "{LA_COOKIE_CONSENT_INFO}",
|
||||
"href": "{UA_PRIVACY}"
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT overall_footer_after -->
|
||||
|
||||
<!-- IF S_PLUPLOAD --><!-- INCLUDE plupload.html --><!-- ENDIF -->
|
||||
{$SCRIPTS}
|
||||
|
||||
<!-- EVENT overall_footer_body_after -->
|
||||
|
||||
</body>
|
||||
</html>
|
152
simplicity/template/overall_header.html
Normal file
@ -0,0 +1,152 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
{META}
|
||||
<title><!-- IF UNREAD_NOTIFICATIONS_COUNT -->({UNREAD_NOTIFICATIONS_COUNT}) <!-- ENDIF --><!-- IF not S_VIEWTOPIC and not S_VIEWFORUM -->{SITENAME} - <!-- ENDIF --><!-- IF S_IN_MCP -->{L_MCP} - <!-- ELSEIF S_IN_UCP -->{L_UCP} - <!-- ENDIF -->{PAGE_TITLE}<!-- IF S_VIEWTOPIC or S_VIEWFORUM --> - {SITENAME}<!-- ENDIF --></title>
|
||||
|
||||
<!-- INCLUDE _style_config.html -->
|
||||
|
||||
<!-- IF S_ENABLE_FEEDS -->
|
||||
<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{{ path('phpbb_feed_index') }}"><!-- ENDIF -->
|
||||
<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{{ path('phpbb_feed_news') }}"><!-- ENDIF -->
|
||||
<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{{ path('phpbb_feed_forums') }}"><!-- ENDIF -->
|
||||
<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{{ path('phpbb_feed_topics') }}"><!-- ENDIF -->
|
||||
<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{{ path('phpbb_feed_topics_active') }}"><!-- ENDIF -->
|
||||
<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{{ path('phpbb_feed_forum', { forum_id : S_FORUM_ID } ) }}"><!-- ENDIF -->
|
||||
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{{ path('phpbb_feed_topic', { topic_id : S_TOPIC_ID } ) }}"><!-- ENDIF -->
|
||||
<!-- EVENT overall_header_feeds -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF U_CANONICAL -->
|
||||
<link rel="canonical" href="{U_CANONICAL}">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!--
|
||||
phpBB style name: simplicity
|
||||
Based on style: prosilver
|
||||
Original author: Arty ( https://www.artodia.com )
|
||||
Modified by: MrGaby
|
||||
-->
|
||||
|
||||
<!-- IF S_ALLOW_CDN -->
|
||||
<script>
|
||||
WebFontConfig = {
|
||||
google: {
|
||||
families: ['Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese']
|
||||
}
|
||||
};
|
||||
|
||||
(function(d) {
|
||||
var wf = d.createElement('script'), s = d.scripts[0];
|
||||
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
|
||||
wf.async = true;
|
||||
s.parentNode.insertBefore(wf, s);
|
||||
})(document);
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
|
||||
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
|
||||
|
||||
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
|
||||
<link href="{T_THEME_PATH}/bidi.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_PLUPLOAD -->
|
||||
<link href="{T_THEME_PATH}/plupload.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_COOKIE_NOTICE -->
|
||||
<link href="{T_ASSETS_PATH}/cookieconsent/cookieconsent.min.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!--[if lte IE 9]>
|
||||
<link href="{T_THEME_PATH}/tweaks.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
|
||||
<![endif]-->
|
||||
|
||||
<!-- EVENT overall_header_head_append -->
|
||||
|
||||
{$STYLESHEETS}
|
||||
|
||||
<!-- EVENT overall_header_stylesheets_after -->
|
||||
|
||||
</head>
|
||||
<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}" data-online-text="{L_ONLINE}">
|
||||
|
||||
<!-- EVENT overall_header_body_before -->
|
||||
|
||||
<!-- IF $WRAP_HEADER == 1 -->
|
||||
<div id="wrap" class="page-width">
|
||||
<!-- ENDIF -->
|
||||
<a id="top" class="top-anchor" accesskey="t"></a>
|
||||
<div id="page-header" class="page-width">
|
||||
<div class="headerbar" role="banner">
|
||||
<!-- 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 %}">
|
||||
<img src="{T_THEME_PATH}/images/logo.png" data-src-hd="{T_THEME_PATH}/images/logo_hd.png" alt="{SITENAME}"/>
|
||||
</a>
|
||||
<p class="sitename">{SITENAME}</p>
|
||||
<p>{SITE_DESCRIPTION}</p>
|
||||
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
|
||||
</div>
|
||||
|
||||
<!-- EVENT overall_header_searchbox_before -->
|
||||
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
|
||||
<!-- DEFINE $SEARCH_BOX -->
|
||||
<div id="search-box" class="search-box search-header" role="search">
|
||||
<form action="{U_SEARCH}" method="get" id="search">
|
||||
<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>
|
||||
</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>
|
||||
</a>
|
||||
{S_SEARCH_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<!-- ENDDEFINE -->
|
||||
<!-- IF $SEARCH_IN_NAVBAR == 0 -->{$SEARCH_BOX}<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT overall_header_searchbox_after -->
|
||||
|
||||
</div>
|
||||
<!-- EVENT overall_header_headerbar_after -->
|
||||
</div>
|
||||
|
||||
<!-- IF $WRAP_HEADER == 2 -->
|
||||
</div>
|
||||
<div id="wrap" class="page-width">
|
||||
<div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT overall_header_navbar_before -->
|
||||
<!-- INCLUDE navbar_header.html -->
|
||||
</div>
|
||||
|
||||
<!-- IF $WRAP_HEADER == 0 -->
|
||||
<div id="wrap" class="page-width">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT overall_header_page_body_before -->
|
||||
|
||||
<a id="start_here" class="top-anchor"></a>
|
||||
<div id="page-body" class="page-body" role="main">
|
||||
{$BREADCRUMBS}
|
||||
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
|
||||
<div id="information" class="rules">
|
||||
<div class="inner">
|
||||
<strong>{L_INFORMATION}{L_COLON}</strong> {L_BOARD_DISABLED}
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT overall_header_content_before -->
|
136
simplicity/template/search_body.html
Normal file
@ -0,0 +1,136 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<h2 class="solo">{L_SEARCH}</h2>
|
||||
|
||||
<!-- EVENT search_body_form_before -->
|
||||
<form method="get" action="{S_SEARCH_ACTION}" data-focus="keywords">
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<h3>{L_SEARCH_QUERY}</h3>
|
||||
|
||||
<!-- EVENT search_body_search_query_before -->
|
||||
<fieldset>
|
||||
<!-- EVENT search_body_search_query_prepend -->
|
||||
<dl>
|
||||
<dt><label for="keywords">{L_SEARCH_KEYWORDS}{L_COLON}</label><br /><span>{L_SEARCH_KEYWORDS_EXPLAIN}</span></dt>
|
||||
<dd><input type="search" class="inputbox" name="keywords" id="keywords" size="40" title="{L_SEARCH_KEYWORDS}" /></dd>
|
||||
<dd><label for="terms1"><input type="radio" name="terms" id="terms1" value="all" checked="checked" /> {L_SEARCH_ALL_TERMS}</label></dd>
|
||||
<dd><label for="terms2"><input type="radio" name="terms" id="terms2" value="any" /> {L_SEARCH_ANY_TERMS}</label></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="author">{L_SEARCH_AUTHOR}{L_COLON}</label><br /><span>{L_SEARCH_AUTHOR_EXPLAIN}</span></dt>
|
||||
<dd><input type="search" class="inputbox" name="author" id="author" size="40" title="{L_SEARCH_AUTHOR}" /></dd>
|
||||
</dl>
|
||||
<!-- EVENT search_body_search_query_append -->
|
||||
</fieldset>
|
||||
<!-- EVENT search_body_search_query_after -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel bg2">
|
||||
<div class="inner">
|
||||
|
||||
<h3>{L_SEARCH_OPTIONS}</h3>
|
||||
|
||||
<!-- EVENT search_body_search_options_before -->
|
||||
<fieldset>
|
||||
<!-- EVENT search_body_search_options_prepend -->
|
||||
<dl>
|
||||
<dt><label for="search_forum">{L_SEARCH_FORUMS}{L_COLON}</label><br /><span>{L_SEARCH_FORUMS_EXPLAIN}</span></dt>
|
||||
<dd><select name="fid[]" id="search_forum" multiple="multiple" size="8" title="{L_SEARCH_FORUMS}">{S_FORUM_OPTIONS}</select></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="search_child1">{L_SEARCH_SUBFORUMS}{L_COLON}</label></dt>
|
||||
<dd>
|
||||
<label for="search_child1"><input type="radio" name="sc" id="search_child1" value="1" checked="checked" /> {L_YES}</label>
|
||||
<label for="search_child2"><input type="radio" name="sc" id="search_child2" value="0" /> {L_NO}</label>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="sf1">{L_SEARCH_WITHIN}{L_COLON}</label></dt>
|
||||
<dd><label for="sf1"><input type="radio" name="sf" id="sf1" value="all" checked="checked" /> {L_SEARCH_TITLE_MSG}</label></dd>
|
||||
<dd><label for="sf2"><input type="radio" name="sf" id="sf2" value="msgonly" /> {L_SEARCH_MSG_ONLY}</label></dd>
|
||||
<dd><label for="sf3"><input type="radio" name="sf" id="sf3" value="titleonly" /> {L_SEARCH_TITLE_ONLY}</label></dd>
|
||||
<dd><label for="sf4"><input type="radio" name="sf" id="sf4" value="firstpost" /> {L_SEARCH_FIRST_POST}</label></dd>
|
||||
</dl>
|
||||
<!-- EVENT search_body_search_options_append -->
|
||||
|
||||
<hr class="dashed" />
|
||||
|
||||
<!-- EVENT search_body_search_display_options_prepend -->
|
||||
<dl>
|
||||
<dt><label for="show_results1">{L_DISPLAY_RESULTS}{L_COLON}</label></dt>
|
||||
<dd>
|
||||
<label for="show_results1"><input type="radio" name="sr" id="show_results1" value="posts" checked="checked" /> {L_POSTS}</label>
|
||||
<label for="show_results2"><input type="radio" name="sr" id="show_results2" value="topics" /> {L_TOPICS}</label>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="sd">{L_RESULT_SORT}{L_COLON}</label></dt>
|
||||
<dd>{S_SELECT_SORT_KEY}
|
||||
<label for="sa"><input type="radio" name="sd" id="sa" value="a" /> {L_SORT_ASCENDING}</label>
|
||||
<label for="sd"><input type="radio" name="sd" id="sd" value="d" checked="checked" /> {L_SORT_DESCENDING}</label>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label>{L_RESULT_DAYS}{L_COLON}</label></dt>
|
||||
<dd>{S_SELECT_SORT_DAYS}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label>{L_RETURN_FIRST}{L_COLON}</label></dt>
|
||||
<dd><select name="ch" title="{L_RETURN_FIRST}">{S_CHARACTER_OPTIONS}</select> {L_POST_CHARACTERS}</dd>
|
||||
</dl>
|
||||
<!-- EVENT search_body_search_display_options_append -->
|
||||
</fieldset>
|
||||
<!-- EVENT search_body_search_options_after -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel bg1">
|
||||
<div class="inner">
|
||||
|
||||
<fieldset class="submit-buttons">
|
||||
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||
<input type="submit" name="submit" value="{L_SEARCH}" class="button1" />
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<!-- EVENT search_body_form_after -->
|
||||
|
||||
<!-- EVENT search_body_recent_search_before -->
|
||||
<!-- IF .recentsearch -->
|
||||
<div class="forumbg forumbg-table">
|
||||
<div class="inner">
|
||||
|
||||
<table class="table1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2" class="name">{L_RECENT_SEARCHES}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN recentsearch -->
|
||||
<tr class="<!-- IF recentsearch.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td><a href="{recentsearch.U_KEYWORDS}">{recentsearch.KEYWORDS}</a></td>
|
||||
<td class="active">{recentsearch.TIME}</td>
|
||||
</tr>
|
||||
<!-- BEGINELSE -->
|
||||
<tr class="bg1">
|
||||
<td colspan="2">{L_NO_RECENT_SEARCHES}</td>
|
||||
</tr>
|
||||
<!-- END recentsearch -->
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT search_body_recent_search_after -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
244
simplicity/template/search_results.html
Normal file
@ -0,0 +1,244 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- EVENT search_results_header_before -->
|
||||
|
||||
<h2 class="searchresults-title"><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --><!-- IF SEARCH_WORDS -->{L_COLON} <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2>
|
||||
<!-- IF SEARCHED_QUERY --> <p>{L_SEARCHED_QUERY}{L_COLON} <strong>{SEARCHED_QUERY}</strong></p><!-- ENDIF -->
|
||||
<!-- IF IGNORED_WORDS --> <p>{L_IGNORED_TERMS}{L_COLON} <strong>{IGNORED_WORDS}</strong></p><!-- ENDIF -->
|
||||
<!-- IF PHRASE_SEARCH_DISABLED --> <p><strong>{L_PHRASE_SEARCH_DISABLED}</strong></p><!-- ENDIF -->
|
||||
|
||||
<!-- 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>
|
||||
</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>
|
||||
</a>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT search_results_header_after -->
|
||||
|
||||
<!-- IF .pagination or SEARCH_MATCHES or TOTAL_MATCHES or PAGE_NUMBER -->
|
||||
<div class="action-bar bar-top">
|
||||
|
||||
<!-- IF TOTAL_MATCHES > 0 -->
|
||||
<div class="search-box" role="search">
|
||||
<form method="post" action="{S_SEARCH_ACTION}">
|
||||
<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>
|
||||
</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>
|
||||
</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT search_results_searchbox_after -->
|
||||
|
||||
<div class="pagination">
|
||||
<!-- IF U_MARK_ALL_READ --><a href="{U_MARK_ALL_READ}" class="mark-read" accesskey="m">{L_MARK_ALL_READ}</a> •<!-- ENDIF -->
|
||||
{SEARCH_MATCHES}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_SHOW_TOPICS -->
|
||||
|
||||
<!-- IF .searchresults -->
|
||||
<div class="forumbg">
|
||||
|
||||
<div class="inner">
|
||||
<ul class="topiclist">
|
||||
<li class="header">
|
||||
<dl class="row-item">
|
||||
<dt><div class="list-inner">{L_TOPICS}</div></dt>
|
||||
<dd class="posts">{L_REPLIES}</dd>
|
||||
<dd class="views">{L_VIEWS}</dd>
|
||||
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="topiclist topics">
|
||||
|
||||
<!-- 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 -->
|
||||
<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>
|
||||
</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>
|
||||
</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>
|
||||
</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>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />
|
||||
<!-- EVENT topiclist_row_topic_title_after -->
|
||||
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<div class="responsive-show" style="display: none;">
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT search_results_last_post_author_username_prepend -->{searchresults.LAST_POST_AUTHOR_FULL}<!-- EVENT search_results_last_post_author_username_append --> « <a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}"><time datetime="{searchresults.LAST_POST_TIME_RFC3339}">{searchresults.LAST_POST_TIME}</time></a>
|
||||
<br />{L_POSTED} {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>
|
||||
</div>
|
||||
<!-- IF searchresults.TOPIC_REPLIES --><span class="responsive-show left-box" style="display: none;">{L_REPLIES}{L_COLON} <strong>{searchresults.TOPIC_REPLIES}</strong></span><!-- ENDIF -->
|
||||
<!-- 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 -->
|
||||
{% 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 %}
|
||||
</div>
|
||||
|
||||
<!-- IF .searchresults.pagination -->
|
||||
<div class="pagination">
|
||||
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
|
||||
<ul>
|
||||
<!-- BEGIN pagination -->
|
||||
<!-- IF searchresults.pagination.S_IS_PREV -->
|
||||
<!-- ELSEIF searchresults.pagination.S_IS_CURRENT --><li class="active"><span>{searchresults.pagination.PAGE_NUMBER}</span></li>
|
||||
<!-- ELSEIF searchresults.pagination.S_IS_ELLIPSIS --><li class="ellipsis"><span>{L_ELLIPSIS}</span></li>
|
||||
<!-- ELSEIF searchresults.pagination.S_IS_NEXT -->
|
||||
<!-- ELSE --><li><a class="button" href="{searchresults.pagination.PAGE_URL}">{searchresults.pagination.PAGE_NUMBER}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- END pagination -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT topiclist_row_append -->
|
||||
</div>
|
||||
</dt>
|
||||
<dd class="posts">{searchresults.TOPIC_REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||
<dd class="views">{searchresults.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||
<dd class="lastpost">
|
||||
<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>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br /><time datetime="{searchresults.LAST_POST_TIME_RFC3339}">{searchresults.LAST_POST_TIME}</time>
|
||||
</span>
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!-- EVENT search_results_topic_after -->
|
||||
<!-- END searchresults -->
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<strong>{L_NO_SEARCH_RESULTS}</strong>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- ELSE -->
|
||||
|
||||
<!-- BEGIN searchresults -->
|
||||
<!-- EVENT search_results_post_before -->
|
||||
<div class="search post <!-- IF searchresults.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF searchresults.S_POST_REPORTED --> reported<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<!-- IF searchresults.S_IGNORE_POST -->
|
||||
<div class="postbody"><div class="postbody-inner">
|
||||
{searchresults.L_IGNORE_POST}
|
||||
</div></div>
|
||||
<!-- ELSE -->
|
||||
<dl class="postprofile">
|
||||
<!-- EVENT search_results_postprofile_before -->
|
||||
<dt class="author">{L_POST_BY_AUTHOR} <!-- EVENT search_results_post_author_username_prepend -->{searchresults.POST_AUTHOR_FULL}<!-- EVENT search_results_post_author_username_append --></dt>
|
||||
<dd class="search-result-date">{searchresults.POST_DATE}</dd>
|
||||
<dd>{L_FORUM}{L_COLON} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a></dd>
|
||||
<dd>{L_TOPIC}{L_COLON} <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a></dd>
|
||||
<!-- EVENT search_results_topic_title_after -->
|
||||
<dd>{L_REPLIES}{L_COLON} <strong>{searchresults.TOPIC_REPLIES}</strong></dd>
|
||||
<dd>{L_VIEWS}{L_COLON} <strong>{searchresults.TOPIC_VIEWS}</strong></dd>
|
||||
<!-- EVENT search_results_postprofile_after -->
|
||||
</dl>
|
||||
|
||||
<div class="postbody"><div class="postbody-inner">
|
||||
<h3><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h3>
|
||||
<div class="content">{searchresults.MESSAGE}</div>
|
||||
<!-- EVENT search_results_content_after -->
|
||||
</div></div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF not searchresults.S_IGNORE_POST -->
|
||||
<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>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ENDIF -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- EVENT search_results_post_after -->
|
||||
<!-- BEGINELSE -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<strong>{L_NO_SEARCH_RESULTS}</strong>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END searchresults -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<!-- IF .searchresults and (S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY) -->
|
||||
<form method="post" action="{S_SEARCH_ACTION}">
|
||||
<!-- INCLUDE display_options.html -->
|
||||
</form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="pagination">
|
||||
{SEARCH_MATCHES}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- INCLUDE jumpbox.html -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
39
simplicity/template/simple_footer.html
Normal file
@ -0,0 +1,39 @@
|
||||
</div>
|
||||
|
||||
<div class="copyright" role="contentinfo">{CREDIT_LINE}
|
||||
<br />Style {{ lang('POST_BY_AUTHOR') }} <a href="https://www.artodia.com/">Arty</a> - phpBB 3.3 {{ lang('POST_BY_AUTHOR') }} MrGaby
|
||||
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
|
||||
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<div id="darkenwrapper" class="darkenwrapper" data-ajax-error-title="{L_AJAX_ERROR_TITLE}" data-ajax-error-text="{L_AJAX_ERROR_TEXT}" data-ajax-error-text-abort="{L_AJAX_ERROR_TEXT_ABORT}" data-ajax-error-text-timeout="{L_AJAX_ERROR_TEXT_TIMEOUT}" data-ajax-error-text-parsererror="{L_AJAX_ERROR_TEXT_PARSERERROR}">
|
||||
<div id="darken" class="darken"> </div>
|
||||
</div>
|
||||
<div id="loading_indicator" class="loading_indicator"></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">
|
||||
</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">
|
||||
</a>
|
||||
<div class="alert_text"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{T_JQUERY_LINK}"></script>
|
||||
<!-- IF S_ALLOW_CDN --><script>window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery-3.4.1.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
|
||||
<script src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
|
||||
<!-- INCLUDEJS forum_fn.js -->
|
||||
<!-- INCLUDEJS ajax.js -->
|
||||
|
||||
<!-- EVENT simple_footer_after -->
|
||||
|
||||
{$SCRIPTS}
|
||||
|
||||
{% EVENT simple_footer_body_after %}
|
||||
|
||||
</body>
|
||||
</html>
|
53
simplicity/template/simple_header.html
Normal file
@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
{META}
|
||||
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
|
||||
|
||||
<!-- IF S_ALLOW_CDN -->
|
||||
<script>
|
||||
WebFontConfig = {
|
||||
google: {
|
||||
families: ['Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin-ext,vietnamese']
|
||||
}
|
||||
};
|
||||
|
||||
(function(d) {
|
||||
var wf = d.createElement('script'), s = d.scripts[0];
|
||||
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js';
|
||||
wf.async = true;
|
||||
s.parentNode.insertBefore(wf, s);
|
||||
})(document);
|
||||
</script>
|
||||
<!-- ENDIF -->
|
||||
<link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
|
||||
<link href="{T_STYLESHEET_LINK}" rel="stylesheet">
|
||||
|
||||
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
|
||||
<link href="{T_THEME_PATH}/bidi.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!--[if lte IE 8]>
|
||||
<link href="{T_THEME_PATH}/tweaks.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet">
|
||||
<![endif]-->
|
||||
|
||||
<!-- DEFINE $POPUP = 1 -->
|
||||
|
||||
<!-- EVENT simple_header_head_append -->
|
||||
|
||||
{$STYLESHEETS}
|
||||
|
||||
<!-- EVENT simple_header_stylesheets_after -->
|
||||
|
||||
</head>
|
||||
|
||||
<body id="phpbb" class="nojs simple {S_CONTENT_DIRECTION} {BODY_CLASS}">
|
||||
|
||||
<!-- EVENT simple_header_body_before -->
|
||||
|
||||
<div id="wrap" class="wrap">
|
||||
<a id="top" class="top-anchor" accesskey="t"></a>
|
||||
<div id="page-body" class="page-body" role="main">
|
20
simplicity/template/timezone.js
Normal file
@ -0,0 +1,20 @@
|
||||
/* global phpbb */
|
||||
|
||||
(function($) { // Avoid conflicts with other libraries
|
||||
|
||||
'use strict';
|
||||
|
||||
$('#tz_date').change(function() {
|
||||
phpbb.timezoneSwitchDate(false);
|
||||
});
|
||||
|
||||
$('#tz_select_date_suggest').click(function(){
|
||||
phpbb.timezonePreselectSelect(true);
|
||||
});
|
||||
|
||||
$(function () {
|
||||
phpbb.timezoneEnableDateSelection();
|
||||
phpbb.timezonePreselectSelect($('#tz_select_date_suggest').attr('timezone-preselect') === 'true');
|
||||
});
|
||||
|
||||
})(jQuery); // Avoid conflicts with other libraries
|
72
simplicity/template/ucp_agreement.html
Normal file
@ -0,0 +1,72 @@
|
||||
<!-- DEFINE $NAV_SECTION = 'register' --><!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- IF S_SHOW_COPPA or S_REGISTRATION -->
|
||||
|
||||
<!-- IF S_LANG_OPTIONS -->
|
||||
<script>
|
||||
/**
|
||||
* Change language
|
||||
*/
|
||||
function change_language(lang_iso)
|
||||
{
|
||||
document.cookie = '{COOKIE_NAME}_lang=' + lang_iso + '; path={COOKIE_PATH}';
|
||||
document.forms['register'].change_lang.value = lang_iso;
|
||||
document.forms['register'].submit();
|
||||
}
|
||||
</script>
|
||||
|
||||
<form method="post" action="{S_UCP_ACTION}" id="register">
|
||||
<p class="rightside">
|
||||
<label for="lang">{L_LANGUAGE}{L_COLON}</label><select name="lang" id="lang" onchange="change_language(this.value); return false;" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select>
|
||||
{S_HIDDEN_FIELDS}
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<div class="clear"></div>
|
||||
|
||||
<!-- ENDIF -->
|
||||
|
||||
<form method="post" action="{S_UCP_ACTION}" id="agreement">
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<div class="content">
|
||||
<h2 class="sitename-title">{SITENAME} - {L_REGISTRATION}</h2>
|
||||
<!-- EVENT ucp_agreement_terms_before -->
|
||||
<p><!-- IF S_SHOW_COPPA -->{L_COPPA_BIRTHDAY}<!-- ELSE -->{L_TERMS_OF_USE}<!-- ENDIF --></p>
|
||||
<!-- EVENT ucp_agreement_terms_after -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<fieldset class="submit-buttons">
|
||||
<!-- IF S_SHOW_COPPA -->
|
||||
<input type="submit" name="coppa_no" id="coppa_no" value="{{ L_COPPA_NO }}" class="button1" />
|
||||
<input type="submit" name="coppa_yes" id="coppa_yes" value="{{ L_COPPA_YES }}" class="button2" />
|
||||
<!-- ELSE -->
|
||||
<input type="submit" name="agreed" id="agreed" value="{L_AGREE}" class="button1" />
|
||||
<input type="submit" name="not_agreed" value="{L_NOT_AGREE}" class="button2" />
|
||||
<!-- ENDIF -->
|
||||
{S_HIDDEN_FIELDS}
|
||||
{S_FORM_TOKEN}
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!-- ELSEIF S_AGREEMENT -->
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<div class="content">
|
||||
<h2 class="sitename-title">{SITENAME} - {AGREEMENT_TITLE}</h2>
|
||||
<p>{AGREEMENT_TEXT}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
47
simplicity/template/ucp_avatar_options.html
Normal file
@ -0,0 +1,47 @@
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<!-- IF not S_AVATARS_ENABLED -->
|
||||
<p>{L_AVATAR_FEATURES_DISABLED}</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<fieldset>
|
||||
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label>{L_CURRENT_IMAGE}{L_COLON}</label><br /><span>{L_AVATAR_EXPLAIN}</span></dt>
|
||||
<dd><!-- IF AVATAR -->{AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.png" data-src-hd="{T_THEME_PATH}/images/no_avatar_hd.png" alt="" /><!-- ENDIF --></dd>
|
||||
<dd><label for="avatar_delete"><input type="checkbox" name="avatar_delete" id="avatar_delete" /> {L_DELETE_AVATAR}</label></dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
<h3>{L_AVATAR_SELECT}</h3>
|
||||
<fieldset>
|
||||
<dl>
|
||||
<dt><label>{L_AVATAR_TYPE}{L_COLON}</label></dt>
|
||||
<dd><select name="avatar_driver" id="avatar_driver" data-togglable-settings="true">
|
||||
<!-- BEGIN avatar_drivers -->
|
||||
<option value="{avatar_drivers.DRIVER}"<!-- IF avatar_drivers.SELECTED --> selected="selected"<!-- ENDIF --> data-toggle-setting="#avatar_option_{avatar_drivers.DRIVER}">{avatar_drivers.L_TITLE}</option>
|
||||
<!-- END avatar_drivers -->
|
||||
</select></dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
<div id="avatar_options">
|
||||
<!-- BEGIN avatar_drivers -->
|
||||
<div id="avatar_option_{avatar_drivers.DRIVER}">
|
||||
<noscript>
|
||||
<h3 class="avatar_section_header">{avatar_drivers.L_TITLE}</h3>
|
||||
</noscript>
|
||||
<p>{avatar_drivers.L_EXPLAIN}</p>
|
||||
|
||||
<fieldset>
|
||||
{avatar_drivers.OUTPUT}
|
||||
</fieldset>
|
||||
</div>
|
||||
<!-- END avatar_drivers -->
|
||||
</div>
|
||||
<!-- IF not S_GROUP_MANAGE -->
|
||||
<fieldset class="submit-buttons">
|
||||
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||
</fieldset>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
58
simplicity/template/ucp_login_link.html
Normal file
@ -0,0 +1,58 @@
|
||||
<!-- DEFINE $NAV_SECTION = 'login' --><!-- INCLUDE overall_header.html -->
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<h2>{SITENAME} - {L_LOGIN_LINK}</h2>
|
||||
|
||||
<p>{L_LOGIN_LINK_EXPLAIN}</p>
|
||||
|
||||
<!-- IF LOGIN_LINK_ERROR --><div class="content">
|
||||
<div class="error">{LOGIN_LINK_ERROR}</div>
|
||||
</div><!-- ENDIF -->
|
||||
|
||||
<div class="content">
|
||||
<h2>{L_REGISTER}</h2>
|
||||
|
||||
<form action="{REGISTER_ACTION}" method="post" id="register">
|
||||
<fieldset class="fields1">
|
||||
<dl>
|
||||
<dt> </dt>
|
||||
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="register" tabindex="1" value="{L_REGISTER}" class="button1" /></dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h2>{L_LOGIN}</h2>
|
||||
|
||||
<form action="{LOGIN_ACTION}" method="post" id="login">
|
||||
<fieldset class="fields1">
|
||||
<!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}{L_COLON}</label></dt>
|
||||
<dd><input type="text" tabindex="2" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{LOGIN_USERNAME}" class="inputbox autowidth" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}{L_COLON}</label></dt>
|
||||
<dd><input type="password" tabindex="3" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" autocomplete="off" /></dd>
|
||||
</dl>
|
||||
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
|
||||
<!-- DEFINE $CAPTCHA_TAB_INDEX = 4 -->
|
||||
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
{S_LOGIN_REDIRECT}
|
||||
<dl>
|
||||
<dt> </dt>
|
||||
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
120
simplicity/template/ucp_notifications.html
Normal file
@ -0,0 +1,120 @@
|
||||
<!-- DEFINE $NAV_SECTION = 'notifications' --><!-- INCLUDE ucp_header.html -->
|
||||
|
||||
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||
|
||||
<h2>{TITLE}</h2>
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<p>{TITLE_EXPLAIN}</p>
|
||||
|
||||
<!-- IF MODE == 'notification_options' -->
|
||||
<table class="table1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{L_NOTIFICATION_TYPE}</th>
|
||||
<!-- BEGIN notification_methods -->
|
||||
<th class="mark">{notification_methods.NAME}</th>
|
||||
<!-- END notification_methods -->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- BEGIN notification_types -->
|
||||
<!-- IF notification_types.GROUP_NAME -->
|
||||
<tr class="bg3">
|
||||
<td colspan="{NOTIFICATION_TYPES_COLS}">{notification_types.GROUP_NAME}</td>
|
||||
</tr>
|
||||
<!-- ELSE -->
|
||||
<tr class="<!-- IF notification_types.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<td>
|
||||
{notification_types.NAME}
|
||||
<!-- IF notification_types.EXPLAIN --><br /> {notification_types.EXPLAIN}<!-- ENDIF -->
|
||||
</td>
|
||||
<!-- BEGIN notification_methods -->
|
||||
<td class="mark"><input type="checkbox" name="{notification_types.TYPE}_{notification_types.notification_methods.METHOD}"<!-- IF notification_types.notification_methods.AVAILABLE and notification_types.notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --><!-- IF not notification_types.notification_methods.AVAILABLE --> disabled="disabled"<!-- ENDIF --> /></td>
|
||||
<!-- END notification_methods -->
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
<!-- END notification_types -->
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- ELSE -->
|
||||
<!-- IF .notification_list -->
|
||||
<div class="action-bar bar-top">
|
||||
<div class="pagination">
|
||||
<!-- IF U_MARK_ALL --><a href="{U_MARK_ALL}" class="mark">{L_NOTIFICATIONS_MARK_ALL_READ}</a> • <!-- ENDIF -->
|
||||
{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="notification_list">
|
||||
<ul class="topiclist two-columns">
|
||||
<li class="header">
|
||||
<dl>
|
||||
<dt><div class="list-inner">{L_NOTIFICATIONS}</div></dt>
|
||||
<dd class="mark">{L_MARK_READ}</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="topiclist cplist two-columns">
|
||||
<!-- BEGIN notification_list -->
|
||||
<li class="row<!-- IF notification_list.UNREAD --> bg3<!-- ELSE --><!-- IF notification_list.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- ENDIF --><!-- IF notification_list.STYLING --> {notification_list.STYLING}<!-- ENDIF -->">
|
||||
<dl>
|
||||
<dt>
|
||||
<div class="list-inner">
|
||||
<!-- IF notification_list.AVATAR -->{notification_list.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.png" alt="" /><!-- ENDIF -->
|
||||
<div class="notifications">
|
||||
<!-- IF notification_list.URL --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF -->
|
||||
<p class="notifications_title">{notification_list.FORMATTED_TITLE}<!-- IF notification_list.REFERENCE --> {notification_list.REFERENCE}<!-- ENDIF --></p>
|
||||
<!-- IF notification_list.URL --></a><!-- ENDIF -->
|
||||
<!-- IF notification_list.FORUM --><p class="notifications_forum">{notification_list.FORUM}</p><!-- ENDIF -->
|
||||
<!-- IF notification_list.REASON --><p class="notifications_reason">{notification_list.REASON}</p><!-- ENDIF -->
|
||||
<p class="notifications_time">{notification_list.TIME}</p>
|
||||
</div>
|
||||
</div>
|
||||
</dt>
|
||||
|
||||
<dd class="mark"> <input type="checkbox" name="mark[]" value="{notification_list.NOTIFICATION_ID}"<!-- IF not notification_list.UNREAD --> disabled="disabled"<!-- ENDIF --> /> <dfn>{L_MARK_READ}</dfn> </dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!-- END notification_list -->
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="action-bar bar-bottom">
|
||||
<div class="pagination">
|
||||
{L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ELSE -->
|
||||
<p><strong>{L_NO_NOTIFICATIONS}</strong></p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- IF .notification_types or .notification_list -->
|
||||
<fieldset class="display-actions">
|
||||
<input type="hidden" name="form_time" value="{FORM_TIME}" />
|
||||
{S_HIDDEN_FIELDS}
|
||||
<input type="submit" name="submit" value="<!-- IF MODE == 'notification_options' -->{L_SUBMIT}<!-- ELSE -->{L_MARK_READ}<!-- ENDIF -->" class="button1" />
|
||||
<div><a href="#" onclick="$('#ucp input:checkbox').prop('checked', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="$('#ucp input:checkbox').prop('checked', false); return false;">{L_UNMARK_ALL}</a></div>
|
||||
{S_FORM_TOKEN}
|
||||
</fieldset>
|
||||
<!-- ENDIF -->
|
||||
|
||||
</form>
|
||||
|
||||
<!-- INCLUDE ucp_footer.html -->
|
136
simplicity/template/ucp_pm_viewfolder.html
Normal file
@ -0,0 +1,136 @@
|
||||
<!-- DEFINE $NAVLINKS -->
|
||||
<!-- IF U_MARK_ALL -->
|
||||
<li class="small-icon icon-mark"><a href="{U_MARK_ALL}" class="mark">{L_PM_MARK_ALL_READ}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- DEFINE $NAVLINKS_SHOW_DEFAULT = 1 -->
|
||||
<!-- ENDDEFINE -->
|
||||
<!-- DEFINE $NAV_SECTION = 'pm' --><!-- INCLUDE ucp_header.html -->
|
||||
|
||||
<!-- IF not PROMPT -->
|
||||
<!-- INCLUDE ucp_pm_message_header.html -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF PROMPT -->
|
||||
<h2>{L_EXPORT_AS_CSV}</h2>
|
||||
<form id="viewfolder" method="post" action="{S_PM_ACTION}">
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<h3>{L_OPTIONS}</h3>
|
||||
<fieldset>
|
||||
<dl>
|
||||
<dt><label for="delimiter">{L_DELIMITER}{L_COLON}</label></dt>
|
||||
<dd><input class="inputbox" type="text" id="delimiter" name="delimiter" value="," /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="enclosure">{L_ENCLOSURE}{L_COLON}</label></dt>
|
||||
<dd><input class="inputbox" type="text" id="enclosure" name="enclosure" value=""" /></dd>
|
||||
</dl>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset class="submit-buttons">
|
||||
<input type="hidden" name="export_option" value="CSV" />
|
||||
<input class="button1" type="submit" name="submit_export" value="{L_EXPORT_FOLDER}" />
|
||||
<input class="button2" type="reset" value="{L_RESET}" name="reset" />
|
||||
{S_FORM_TOKEN}
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<!-- ELSE -->
|
||||
|
||||
<!-- IF NUM_REMOVED -->
|
||||
<div class="notice">
|
||||
<p>{RULE_REMOVED_MESSAGES}</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF NUM_NOT_MOVED -->
|
||||
<div class="notice">
|
||||
<p>{NOT_MOVED_MESSAGES}<br />{RELEASE_MESSAGE_INFO}</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .messagerow -->
|
||||
<ul class="topiclist two-columns">
|
||||
<li class="header">
|
||||
<dl>
|
||||
<dt><div class="list-inner">{L_MESSAGE}</div></dt>
|
||||
<dd class="mark">{L_MARK}</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="topiclist cplist pmlist responsive-show-all <!-- IF S_SHOW_RECIPIENTS -->missing-column<!-- ELSE -->two-columns<!-- ENDIF -->">
|
||||
|
||||
<!-- 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 -->
|
||||
<div class="list-inner">
|
||||
|
||||
<!-- IF messagerow.S_PM_DELETED -->
|
||||
<a href="{messagerow.U_REMOVE_PM}" class="topictitle">{L_DELETE_MESSAGE}</a><br />
|
||||
<span class="error">{L_MESSAGE_REMOVED_FROM_OUTBOX}</span>
|
||||
<!-- ELSE -->
|
||||
<a href="{messagerow.U_VIEW_PM}" class="topictitle">{messagerow.SUBJECT}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF messagerow.S_AUTHOR_DELETED -->
|
||||
<br /><em class="small">{L_PM_FROM_REMOVED_AUTHOR}</em>
|
||||
<!-- 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>
|
||||
</a>
|
||||
<!-- ENDIF --> <!-- IF messagerow.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- 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>
|
||||
</dt>
|
||||
<!-- IF S_SHOW_RECIPIENTS --><dd class="info"><span>{L_SENT_AT}{L_COLON} {messagerow.SENT_TIME}</span></dd><!-- ENDIF -->
|
||||
<!-- IF S_UNREAD --><dd class="info"><!-- IF messagerow.FOLDER --><a href="{messagerow.U_FOLDER}">{messagerow.FOLDER}</a><!-- ELSE -->{L_UNKNOWN_FOLDER}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||
<dd class="mark"><input type="checkbox" name="marked_msg_id[]" value="{messagerow.MESSAGE_ID}" /></dd>
|
||||
</dl>
|
||||
</li>
|
||||
<!-- END messagerow -->
|
||||
|
||||
</ul>
|
||||
<!-- ELSE -->
|
||||
<p><strong>
|
||||
<!-- IF S_COMPOSE_PM_VIEW and S_NO_AUTH_SEND_MESSAGE -->
|
||||
<!-- IF S_USER_NEW -->{L_USER_NEW_PERMISSION_DISALLOWED}<!-- ELSE -->{L_NO_AUTH_SEND_MESSAGE}<!-- ENDIF -->
|
||||
<!-- ELSE -->
|
||||
{L_NO_MESSAGES}
|
||||
<!-- ENDIF -->
|
||||
</strong></p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF FOLDER_CUR_MESSAGES neq 0 -->
|
||||
<fieldset class="display-actions">
|
||||
<div class="left-box"><label for="export_option">{L_EXPORT_FOLDER}{L_COLON} <select name="export_option" id="export_option"><option value="CSV">{L_EXPORT_AS_CSV}</option><option value="CSV_EXCEL">{L_EXPORT_AS_CSV_EXCEL}</option><option value="XML">{L_EXPORT_AS_XML}</option></select></label> <input class="button2" type="submit" name="submit_export" value="{L_GO}" /><br /></div>
|
||||
<select name="mark_option">{S_MARK_OPTIONS}{S_MOVE_MARKED_OPTIONS}</select> <input class="button2" type="submit" name="submit_mark" value="{L_GO}" />
|
||||
<div><a href="#" onclick="marklist('viewfolder', 'marked_msg', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('viewfolder', 'marked_msg', false); return false;">{L_UNMARK_ALL}</a></div>
|
||||
</fieldset>
|
||||
|
||||
<hr />
|
||||
|
||||
<div class="action-bar bottom">
|
||||
<!-- INCLUDE display_options.html -->
|
||||
<input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" />
|
||||
|
||||
<div class="pagination">
|
||||
{TOTAL_MESSAGES}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- INCLUDE ucp_pm_message_footer.html -->
|
||||
<!-- ENDIF -->
|
||||
<!-- INCLUDE ucp_footer.html -->
|
197
simplicity/template/ucp_pm_viewmessage.html
Normal file
@ -0,0 +1,197 @@
|
||||
<!-- DEFINE $NAV_SECTION = 'pm' --><!-- INCLUDE ucp_header.html -->
|
||||
|
||||
<!-- INCLUDE ucp_pm_message_header.html -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- IF S_DISPLAY_HISTORY and (U_VIEW_PREVIOUS_HISTORY or U_VIEW_NEXT_HISTORY) -->
|
||||
<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>
|
||||
</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>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
</fieldset>
|
||||
<!-- ENDIF -->
|
||||
|
||||
|
||||
<div id="post-{MESSAGE_ID}" class="post pm has-profile<!-- IF S_POST_UNAPPROVED or S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF S_ONLINE --> online<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<dl class="postprofile" id="profile{MESSAGE_ID}">
|
||||
<dt class="<!-- IF RANK_TITLE or RANK_IMG -->has-profile-rank<!-- ELSE -->no-profile-rank<!-- ENDIF --> <!-- IF AUTHOR_AVATAR -->has-avatar<!-- ELSE -->no-avatar<!-- ENDIF -->">
|
||||
<div class="avatar-container">
|
||||
<!-- EVENT ucp_pm_viewmessage_avatar_before -->
|
||||
<!-- IF AUTHOR_AVATAR --><a href="{U_MESSAGE_AUTHOR}" class="avatar">{AUTHOR_AVATAR}</a><!-- ENDIF -->
|
||||
<!-- EVENT ucp_pm_viewmessage_avatar_after -->
|
||||
</div>
|
||||
{MESSAGE_AUTHOR_FULL}
|
||||
</dt>
|
||||
|
||||
<!-- EVENT ucp_pm_viewmessage_rank_before -->
|
||||
<!-- IF RANK_TITLE or RANK_IMG --><dd class="profile-rank">{RANK_TITLE}<!-- IF RANK_TITLE and RANK_IMG --><br /><!-- ENDIF -->{RANK_IMG}</dd><!-- ENDIF -->
|
||||
<!-- EVENT ucp_pm_viewmessage_rank_after -->
|
||||
|
||||
<dd class="profile-posts"><strong>{L_POSTS}{L_COLON}</strong> <!-- IF U_AUTHOR_POSTS != '' --><a href="{U_AUTHOR_POSTS}">{AUTHOR_POSTS}</a><!-- ELSE -->{AUTHOR_POSTS}<!-- ENDIF --></dd>
|
||||
<!-- IF AUTHOR_JOINED --><dd class="profile-joined"><strong>{L_JOINED}{L_COLON}</strong> {AUTHOR_JOINED}</dd><!-- ENDIF -->
|
||||
|
||||
<!-- EVENT ucp_pm_viewmessage_custom_fields_before -->
|
||||
<!-- BEGIN custom_fields -->
|
||||
<!-- IF not custom_fields.S_PROFILE_CONTACT -->
|
||||
<dd class="profile-custom-field profile-{custom_fields.PROFILE_FIELD_IDENT}"><strong>{custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {custom_fields.PROFILE_FIELD_VALUE}</dd>
|
||||
<!-- ENDIF -->
|
||||
<!-- END custom_fields -->
|
||||
<!-- EVENT ucp_pm_viewmessage_custom_fields_after -->
|
||||
|
||||
<!-- EVENT ucp_pm_viewmessage_contact_fields_before -->
|
||||
<!-- IF .contact -->
|
||||
<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>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<div class="dropdown-contents contact-icons">
|
||||
<!-- BEGIN contact -->
|
||||
{% set REMAINDER = contact.S_ROW_COUNT % 4 %}
|
||||
<!-- DEFINE $S_LAST_CELL = ((REMAINDER eq 3) or (contact.S_LAST_ROW and contact.S_NUM_ROWS < 4)) -->
|
||||
<!-- IF REMAINDER eq 0 -->
|
||||
<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>
|
||||
</a>
|
||||
<!-- IF REMAINDER eq 3 or contact.S_LAST_ROW -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- END contact -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</dd>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT ucp_pm_viewmessage_contact_fields_after -->
|
||||
</dl>
|
||||
|
||||
<div class="postbody"><div class="postbody-inner">
|
||||
<h3 class="first">{SUBJECT}</h3>
|
||||
|
||||
<!-- DEFINE $SHOW_PM_POST_BUTTONS = (U_EDIT or U_DELETE or U_REPORT or U_QUOTE) -->
|
||||
<!-- EVENT ucp_pm_viewmessage_post_buttons_list_before -->
|
||||
<!-- IF $SHOW_PM_POST_BUTTONS -->
|
||||
<ul class="post-buttons">
|
||||
<!-- EVENT ucp_pm_viewmessage_post_buttons_before -->
|
||||
<!-- 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>
|
||||
</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>
|
||||
</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>
|
||||
</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>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT ucp_pm_viewmessage_post_buttons_after -->
|
||||
</ul>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT ucp_pm_viewmessage_post_buttons_list_after -->
|
||||
|
||||
<p class="author">
|
||||
<strong>{L_SENT_AT}{L_COLON}</strong> {SENT_DATE}
|
||||
<br /><strong>{L_PM_FROM}{L_COLON}</strong> {MESSAGE_AUTHOR_FULL}
|
||||
<!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}{L_COLON}</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}"<!-- IF to_recipient.COLOUR --> style="color:{to_recipient.COLOUR};"<!-- ENDIF -->><strong>{to_recipient.NAME}</strong></a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF -->
|
||||
<!-- 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>
|
||||
|
||||
|
||||
<div class="content">{MESSAGE}</div>
|
||||
|
||||
<!-- IF S_HAS_ATTACHMENTS -->
|
||||
<dl class="attachbox">
|
||||
<dt>
|
||||
{L_ATTACHMENTS}
|
||||
</dt>
|
||||
<!-- BEGIN attachment -->
|
||||
<dd>{attachment.DISPLAY_ATTACHMENT}</dd>
|
||||
<!-- END attachment -->
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_DISPLAY_NOTICE -->
|
||||
<div class="post-notice error">{L_DOWNLOAD_NOTICE}</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF EDITED_MESSAGE or EDIT_REASON -->
|
||||
<div class="notice">{EDITED_MESSAGE}
|
||||
<!-- IF EDIT_REASON --><br /><strong>{L_REASON}{L_COLON}</strong> <em>{EDIT_REASON}</em><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF SIGNATURE -->
|
||||
<div id="sig{MESSAGE_ID}" class="signature">{SIGNATURE}</div>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<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>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- EVENT ucp_pm_viewmessage_options_before -->
|
||||
<!-- IF S_VIEW_MESSAGE -->
|
||||
<fieldset class="display-options">
|
||||
|
||||
<!-- IF S_MARK_OPTIONS --><label for="mark_option"><select name="mark_option" id="mark_option">{S_MARK_OPTIONS}</select></label> <input class="button2" 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>
|
||||
</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>
|
||||
</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="button2" type="submit" name="move_pm" value="{L_GO}" /><!-- ENDIF -->
|
||||
<input type="hidden" name="marked_msg_id[]" value="{MSG_ID}" />
|
||||
<input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" />
|
||||
<input type="hidden" name="p" value="{MSG_ID}" />
|
||||
</fieldset>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDE ucp_pm_message_footer.html -->
|
||||
|
||||
<!-- IF S_DISPLAY_HISTORY --><!-- INCLUDE ucp_pm_history.html --><!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDE ucp_footer.html -->
|
117
simplicity/template/ucp_register.html
Normal file
@ -0,0 +1,117 @@
|
||||
<!-- DEFINE $NAV_SECTION = 'register' --><!-- INCLUDE overall_header.html -->
|
||||
|
||||
<script>
|
||||
/**
|
||||
* Change language
|
||||
*/
|
||||
function change_language(lang_iso)
|
||||
{
|
||||
document.cookie = '{COOKIE_NAME}_lang=' + lang_iso + '; path={COOKIE_PATH}';
|
||||
document.forms['register'].change_lang.value = lang_iso;
|
||||
document.forms['register'].submit.click();
|
||||
}
|
||||
</script>
|
||||
|
||||
{% if PROVIDER_TEMPLATE_FILE %}
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<h2>{{ SITENAME }} - {{ lang('OAUTH_REGISTRATION') }}</h2>
|
||||
|
||||
{% include PROVIDER_TEMPLATE_FILE %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<form id="register" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<h2>{SITENAME} - {L_REGISTRATION}</h2>
|
||||
|
||||
<fieldset class="fields2">
|
||||
<!-- IF ERROR --><dl><dd class="error">{ERROR}</dd></dl><!-- ENDIF -->
|
||||
<!-- IF L_REG_COND -->
|
||||
<dl><dd><strong>{L_REG_COND}</strong></dd></dl>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT ucp_register_credentials_before -->
|
||||
<dl>
|
||||
<dt><label for="username">{L_USERNAME}{L_COLON}</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt>
|
||||
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" title="{L_USERNAME}" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="email">{L_EMAIL_ADDRESS}{L_COLON}</label></dt>
|
||||
<dd><input type="email" tabindex="2" name="email" id="email" size="25" maxlength="100" value="{EMAIL}" class="inputbox autowidth" title="{L_EMAIL_ADDRESS}" autocomplete="off" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="new_password">{L_PASSWORD}{L_COLON}</label><br /><span>{L_PASSWORD_EXPLAIN}</span></dt>
|
||||
<dd><input type="password" tabindex="4" name="new_password" id="new_password" size="25" value="{PASSWORD}" class="inputbox autowidth" title="{L_NEW_PASSWORD}" autocomplete="off" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="password_confirm">{L_CONFIRM_PASSWORD}{L_COLON}</label></dt>
|
||||
<dd><input type="password" tabindex="5" name="password_confirm" id="password_confirm" size="25" value="{PASSWORD_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_PASSWORD}" autocomplete="off" /></dd>
|
||||
</dl>
|
||||
|
||||
<!-- EVENT ucp_register_credentials_after -->
|
||||
<hr />
|
||||
|
||||
<!-- EVENT ucp_register_options_before -->
|
||||
<dl>
|
||||
<dt><label for="lang">{L_LANGUAGE}{L_COLON}</label></dt>
|
||||
<dd><select name="lang" id="lang" onchange="change_language(this.value); return false;" tabindex="6" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></dd>
|
||||
</dl>
|
||||
|
||||
<!-- INCLUDE timezone_option.html -->
|
||||
|
||||
<!-- EVENT ucp_register_profile_fields_before -->
|
||||
<!-- IF .profile_fields -->
|
||||
<dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl>
|
||||
|
||||
<!-- BEGIN profile_fields -->
|
||||
<dl>
|
||||
<dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}{L_COLON}<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label>
|
||||
<!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF -->
|
||||
<!-- IF profile_fields.ERROR --><br /><span class="error">{profile_fields.ERROR}</span><!-- ENDIF --></dt>
|
||||
<dd>{profile_fields.FIELD}</dd>
|
||||
</dl>
|
||||
<!-- END profile_fields -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT ucp_register_profile_fields_after -->
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<!-- IF CAPTCHA_TEMPLATE -->
|
||||
<!-- DEFINE $CAPTCHA_TAB_INDEX = 8 -->
|
||||
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_COPPA -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<h4>{L_COPPA_COMPLIANCE}</h4>
|
||||
|
||||
<p>{L_COPPA_EXPLAIN}</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT ucp_register_buttons_before -->
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<fieldset class="submit-buttons">
|
||||
{S_HIDDEN_FIELDS}
|
||||
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||
<input type="submit" tabindex="9" name="submit" id="submit" value="{L_SUBMIT}" class="button1 default-submit-action" />
|
||||
{S_FORM_TOKEN}
|
||||
</fieldset>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
319
simplicity/template/viewforum_body.html
Normal file
@ -0,0 +1,319 @@
|
||||
<!-- DEFINE $NAVLINKS -->
|
||||
<!-- IF S_HAS_SUBFORUM and U_MARK_FORUMS -->
|
||||
<li class="small-icon icon-mark"><a href="{U_MARK_FORUMS}" data-ajax="mark_forums_read">{L_MARK_SUBFORUMS_READ}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_IS_BOT and U_MARK_TOPICS and .topicrow -->
|
||||
<li class="small-icon icon-mark"><a href="{U_MARK_TOPICS}" accesskey="m" data-ajax="mark_topics_read">{L_MARK_TOPICS_READ}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- DEFINE $NAVLINKS_SHOW_DEFAULT = 1 -->
|
||||
<!-- ENDDEFINE -->
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
<!-- EVENT viewforum_forum_title_before -->
|
||||
<h2 class="forum-title"><!-- EVENT viewforum_forum_name_prepend --><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- EVENT viewforum_forum_name_append --></h2>
|
||||
<!-- EVENT viewforum_forum_title_after -->
|
||||
<!-- IF FORUM_DESC or MODERATORS or U_MCP -->
|
||||
<div>
|
||||
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the forum body -->
|
||||
<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
|
||||
<!-- IF MODERATORS --><p><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->{L_COLON}</strong> {MODERATORS}</p><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="rules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
|
||||
<!-- ELSE -->
|
||||
<strong>{L_FORUM_RULES}</strong><br />
|
||||
{FORUM_RULES}
|
||||
<!-- ENDIF -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_HAS_SUBFORUM -->
|
||||
<!-- INCLUDE forumlist_body.html -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_DISPLAY_POST_INFO or .pagination or TOTAL_POSTS or TOTAL_TOPICS -->
|
||||
<div class="action-bar bar-top">
|
||||
|
||||
<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
|
||||
<!-- EVENT viewforum_buttons_top_before -->
|
||||
|
||||
<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>
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_NEW_TOPIC}</span> <i class="icon fa-pencil fa-fw" aria-hidden="true"></i>
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
<!-- EVENT viewforum_buttons_top_after -->
|
||||
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_DISPLAY_SEARCHBOX -->
|
||||
<div class="search-box" role="search">
|
||||
<form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}">
|
||||
<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>
|
||||
</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>
|
||||
</a>
|
||||
{S_SEARCH_LOCAL_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="pagination">
|
||||
<!-- IF not S_IS_BOT and U_MARK_TOPICS and .topicrow --><a href="{U_MARK_TOPICS}" class="mark" accesskey="m" data-ajax="mark_topics_read">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF -->
|
||||
{TOTAL_TOPICS}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_NO_READ_ACCESS -->
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<strong>{L_NO_READ_ACCESS}</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
|
||||
|
||||
<form action="{S_LOGIN_ACTION}" method="post">
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<div class="content">
|
||||
<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
|
||||
|
||||
<fieldset class="fields1">
|
||||
<dl>
|
||||
<dt><label for="username">{L_USERNAME}{L_COLON}</label></dt>
|
||||
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="password">{L_PASSWORD}{L_COLON}</label></dt>
|
||||
<dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" autocomplete="off" /></dd>
|
||||
<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
|
||||
<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt> </dt>
|
||||
<dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
|
||||
</dl>
|
||||
{S_LOGIN_REDIRECT}
|
||||
{S_FORM_TOKEN_LOGIN}
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewforum_body_topic_row_before -->
|
||||
|
||||
<!-- BEGIN topicrow -->
|
||||
|
||||
<!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
|
||||
<div class="forumbg<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
<ul class="topiclist">
|
||||
<li class="header">
|
||||
<dl class="row-item">
|
||||
<dt<!-- IF S_DISPLAY_ACTIVE --> id="active_topics"<!-- ENDIF -->><div class="list-inner"><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></div></dt>
|
||||
<dd class="posts">{L_REPLIES}</dd>
|
||||
<dd class="views">{L_VIEWS}</dd>
|
||||
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="topiclist topics">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- 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 -->
|
||||
<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>
|
||||
</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>
|
||||
</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>
|
||||
</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>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br />
|
||||
<!-- EVENT topiclist_row_topic_title_after -->
|
||||
<!-- IF topicrow.S_POST_STICKY --><i class="topic-status sticky fa fa-thumb-tack"></i><!-- ENDIF -->
|
||||
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<div class="responsive-show" style="display: none;">
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} <!-- EVENT viewforum_body_last_post_author_username_prepend -->{topicrow.LAST_POST_AUTHOR_FULL}<!-- EVENT viewforum_body_last_post_author_username_append --> « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}"><time datetime="{topicrow.LAST_POST_TIME_RFC3339}">{topicrow.LAST_POST_TIME}</time></a>
|
||||
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --><br />{L_POSTED} {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- IF topicrow.REPLIES -->
|
||||
<span class="responsive-show left-box" style="display: none;">{L_REPLIES}{L_COLON} <strong>{topicrow.REPLIES}</strong></span>
|
||||
<!-- ENDIF -->
|
||||
<!-- 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 -->
|
||||
{% 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 %}
|
||||
<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --> » {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- IF .topicrow.pagination -->
|
||||
<div class="pagination">
|
||||
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
|
||||
<ul>
|
||||
<!-- BEGIN pagination -->
|
||||
<!-- IF topicrow.pagination.S_IS_PREV -->
|
||||
<!-- ELSEIF topicrow.pagination.S_IS_CURRENT --><li class="active"><span>{topicrow.pagination.PAGE_NUMBER}</span></li>
|
||||
<!-- ELSEIF topicrow.pagination.S_IS_ELLIPSIS --><li class="ellipsis"><span>{L_ELLIPSIS}</span></li>
|
||||
<!-- ELSEIF topicrow.pagination.S_IS_NEXT -->
|
||||
<!-- ELSE --><li><a class="button" href="{topicrow.pagination.PAGE_URL}">{topicrow.pagination.PAGE_NUMBER}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- END pagination -->
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT topiclist_row_append -->
|
||||
</div>
|
||||
</dt>
|
||||
<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||
<dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||
<dd class="lastpost">
|
||||
<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>
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<br /><time datetime="{topicrow.LAST_POST_TIME_RFC3339}">{topicrow.LAST_POST_TIME}</time>
|
||||
</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<!-- EVENT viewforum_body_topic_row_append -->
|
||||
</li>
|
||||
<!-- EVENT viewforum_body_topic_row_after -->
|
||||
|
||||
<!-- IF topicrow.S_LAST_ROW -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- BEGINELSE -->
|
||||
<!-- IF S_IS_POSTABLE -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<strong>{L_NO_TOPICS}</strong>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ELSE IF not S_HAS_SUBFORUM -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<strong>{L_NO_FORUMS_IN_CATEGORY}</strong>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- END topicrow -->
|
||||
|
||||
<!-- IF .topicrow and not S_DISPLAY_ACTIVE -->
|
||||
<div class="action-bar bar-bottom">
|
||||
<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
|
||||
<!-- EVENT viewforum_buttons_bottom_before -->
|
||||
<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>
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_NEW_TOPIC}</span> <i class="icon fa-pencil fa-fw" aria-hidden="true"></i>
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
|
||||
<!-- EVENT viewforum_buttons_bottom_after -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_SELECT_SORT_DAYS and not S_IS_BOT -->
|
||||
<form method="post" action="{S_FORUM_ACTION}">
|
||||
<!-- INCLUDE display_options.html -->
|
||||
</form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="pagination">
|
||||
<!-- IF not S_IS_BOT and U_MARK_TOPICS and .topicrow --><a href="{U_MARK_TOPICS}" data-ajax="mark_topics_read">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF -->
|
||||
{TOTAL_TOPICS}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDE jumpbox.html -->
|
||||
|
||||
<!-- IF S_DISPLAY_ONLINE_LIST and U_VIEWONLINE -->
|
||||
<div class="stat-block online-list">
|
||||
<h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3>
|
||||
<p>{LOGGED_IN_USER_LIST}</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_DISPLAY_POST_INFO -->
|
||||
<div class="stat-block permissions">
|
||||
<h3>{L_FORUM_PERMISSIONS}</h3>
|
||||
<p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
470
simplicity/template/viewtopic_body.html
Normal file
@ -0,0 +1,470 @@
|
||||
<!-- DEFINE $NAVLINKS -->
|
||||
<!-- IF not S_IS_BOT and (U_VIEW_UNREAD_POST or U_WATCH_TOPIC or U_BOOKMARK_TOPIC or U_BUMP_TOPIC or U_EMAIL_TOPIC or U_PRINT_TOPIC or S_DISPLAY_TOPIC_TOOLS) -->
|
||||
<!-- IF U_VIEW_UNREAD_POST -->
|
||||
<li class="small-icon icon-mark"><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF U_WATCH_TOPIC -->
|
||||
<li class="small-icon">
|
||||
<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_FORUM -->fa-square-o<!-- ELSE -->fa-check-square-o<!-- ENDIF --> fa-fw" aria-hidden="true"></i><span>{S_WATCH_TOPIC_TITLE}</span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- ENDIF -->
|
||||
<!-- DEFINE $NAVLINKS_SHOW_DEFAULT = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDDEFINE -->
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- EVENT viewtopic_topic_title_before -->
|
||||
<h2 class="topic-title"><!-- EVENT viewtopic_topic_title_prepend --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- EVENT viewtopic_topic_title_append --></h2>
|
||||
<!-- EVENT viewtopic_topic_title_after -->
|
||||
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
|
||||
<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
|
||||
|
||||
<!-- IF MODERATORS -->
|
||||
<p>
|
||||
<strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->{L_COLON}</strong> {MODERATORS}
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF S_FORUM_RULES -->
|
||||
<div class="rules<!-- IF U_FORUM_RULES --> rules-link<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<!-- IF U_FORUM_RULES -->
|
||||
<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
|
||||
<!-- ELSE -->
|
||||
<strong>{L_FORUM_RULES}</strong><br />
|
||||
{FORUM_RULES}
|
||||
<!-- ENDIF -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="action-bar bar-top">
|
||||
<!-- EVENT viewtopic_buttons_top_before -->
|
||||
|
||||
<!-- 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>
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_POST_REPLY}</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i>
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_buttons_top_after -->
|
||||
<!-- INCLUDE viewtopic_topic_tools.html -->
|
||||
<!-- EVENT viewtopic_dropdown_top_custom -->
|
||||
|
||||
<!-- IF S_DISPLAY_SEARCHBOX -->
|
||||
<div class="search-box" role="search">
|
||||
<form method="get" id="topic-search" action="{S_SEARCHBOX_ACTION}">
|
||||
<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>
|
||||
</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>
|
||||
</a>
|
||||
{S_SEARCH_LOCAL_HIDDEN_FIELDS}
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF .pagination or TOTAL_POSTS -->
|
||||
<div class="pagination">
|
||||
<!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}" class="mark">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->{TOTAL_POSTS}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_pagination_top_after -->
|
||||
</div>
|
||||
|
||||
<!-- EVENT viewtopic_body_poll_before -->
|
||||
|
||||
<!-- IF S_HAS_POLL -->
|
||||
<form method="post" action="{S_POLL_ACTION}" data-ajax="vote_poll" class="topic_poll">
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<div class="content">
|
||||
<h2 class="poll-title"><!-- EVENT viewtopic_body_poll_question_prepend -->{POLL_QUESTION}<!-- EVENT viewtopic_body_poll_question_append --></h2>
|
||||
<p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE --><span class="poll_max_votes">{L_MAX_VOTES}</span><!-- ENDIF --></p>
|
||||
|
||||
<fieldset class="polls">
|
||||
<!-- BEGIN poll_option -->
|
||||
<!-- EVENT viewtopic_body_poll_option_before -->
|
||||
<dl class="<!-- IF poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF --><!-- IF poll_option.POLL_OPTION_MOST_VOTES --> most-votes<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF --> data-alt-text="{L_POLL_VOTED_OPTION}" data-poll-option-id="{poll_option.POLL_OPTION_ID}">
|
||||
<dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
|
||||
<!-- IF S_CAN_VOTE --><dd style="width: auto;" class="poll_option_select"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
|
||||
<dd class="resultbar<!-- IF not S_DISPLAY_RESULTS --> hidden<!-- ENDIF -->"><div class="<!-- IF poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll_option.POLL_OPTION_PERCENT_REL};">{poll_option.POLL_OPTION_RESULT}</div></dd>
|
||||
<dd class="poll_option_percent<!-- IF not S_DISPLAY_RESULTS --> hidden<!-- ENDIF -->"><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd>
|
||||
</dl>
|
||||
<!-- EVENT viewtopic_body_poll_option_after -->
|
||||
<!-- END poll_option -->
|
||||
|
||||
<dl class="poll_total_votes<!-- IF not S_DISPLAY_RESULTS --> hidden<!-- ENDIF -->">
|
||||
<dt> </dt>
|
||||
<dd class="resultbar">{L_TOTAL_VOTES}{L_COLON} <span class="poll_total_vote_cnt">{TOTAL_VOTES}</span></dd>
|
||||
</dl>
|
||||
|
||||
<!-- IF S_CAN_VOTE -->
|
||||
<dl style="border-top: none;" class="poll_vote">
|
||||
<dt> </dt>
|
||||
<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF not S_DISPLAY_RESULTS -->
|
||||
<dl style="border-top: none;" class="poll_view_results">
|
||||
<dt> </dt>
|
||||
<dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
</fieldset>
|
||||
<div class="vote-submitted hidden">{L_VOTE_SUBMITTED}</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{S_FORM_TOKEN}
|
||||
{S_HIDDEN_FIELDS}
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_body_poll_after -->
|
||||
|
||||
<!-- BEGIN postrow -->
|
||||
<!-- EVENT viewtopic_body_postrow_post_before -->
|
||||
<!-- IF postrow.S_FIRST_UNREAD -->
|
||||
<a id="unread" class="top-anchor"<!-- IF S_UNREAD_VIEW --> data-url="{postrow.U_MINI_POST}"<!-- ENDIF -->></a>
|
||||
<!-- ENDIF -->
|
||||
<div id="p{postrow.POST_ID}" class="post has-profile <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_POST_DELETED --> deleted<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_POST_HIDDEN --> online<!-- ENDIF --><!-- IF postrow.POSTER_WARNINGS --> warned<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
|
||||
<dl class="postprofile" id="profile{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->>
|
||||
<dt class="<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG -->has-profile-rank<!-- ELSE -->no-profile-rank<!-- ENDIF --> <!-- IF postrow.POSTER_AVATAR -->has-avatar<!-- ELSE -->no-avatar<!-- ENDIF -->">
|
||||
<div class="avatar-container">
|
||||
<!-- EVENT viewtopic_body_avatar_before -->
|
||||
<!-- IF postrow.POSTER_AVATAR -->
|
||||
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}" class="avatar">{postrow.POSTER_AVATAR}</a><!-- ELSE --><span class="avatar">{postrow.POSTER_AVATAR}</span><!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- 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 -->
|
||||
<!-- EVENT viewtopic_body_post_author_after -->
|
||||
</dt>
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_rank_before -->
|
||||
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd class="profile-rank">{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_postrow_rank_after -->
|
||||
|
||||
<!-- IF postrow.POSTER_POSTS != '' --><dd class="profile-posts"><strong>{L_POSTS}{L_COLON}</strong> <!-- IF postrow.U_SEARCH !== '' --><a href="{postrow.U_SEARCH}"><!-- ENDIF -->{postrow.POSTER_POSTS}<!-- IF postrow.U_SEARCH !== '' --></a><!-- ENDIF --></dd><!-- ENDIF -->
|
||||
<!-- IF postrow.POSTER_JOINED --><dd class="profile-joined"><strong>{L_JOINED}{L_COLON}</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
|
||||
<!-- IF postrow.POSTER_WARNINGS --><dd class="profile-warnings"><strong>{L_WARNINGS}{L_COLON}</strong> {postrow.POSTER_WARNINGS}</dd><!-- ENDIF -->
|
||||
|
||||
<!-- IF postrow.S_PROFILE_FIELD1 -->
|
||||
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
|
||||
<dd><strong>{postrow.PROFILE_FIELD1_NAME}{L_COLON}</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_custom_fields_before -->
|
||||
<!-- BEGIN custom_fields -->
|
||||
<!-- IF not postrow.custom_fields.S_PROFILE_CONTACT -->
|
||||
<dd class="profile-custom-field profile-{postrow.custom_fields.PROFILE_FIELD_IDENT}"><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}{L_COLON}</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
|
||||
<!-- ENDIF -->
|
||||
<!-- END custom_fields -->
|
||||
<!-- EVENT viewtopic_body_postrow_custom_fields_after -->
|
||||
|
||||
<!-- EVENT viewtopic_body_contact_fields_before -->
|
||||
<!-- IF not S_IS_BOT and .postrow.contact -->
|
||||
<dd class="profile-contact">
|
||||
<strong>{L_CONTACT}{L_COLON}</strong>
|
||||
<div class="dropdown-container dropdown-{S_CONTENT_FLOW_END} dropdown-down">
|
||||
<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>
|
||||
</a>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<div class="dropdown-contents contact-icons">
|
||||
<!-- BEGIN contact -->
|
||||
{% set REMAINDER = postrow.contact.S_ROW_COUNT % 4 %}
|
||||
<!-- DEFINE $S_LAST_CELL = ((REMAINDER eq 3) or (postrow.contact.S_LAST_ROW and postrow.contact.S_NUM_ROWS < 4)) -->
|
||||
<!-- IF REMAINDER eq 0 -->
|
||||
<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 -->>
|
||||
<span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span>
|
||||
</a>
|
||||
<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- END contact -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</dd>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_contact_fields_after -->
|
||||
|
||||
</dl>
|
||||
|
||||
<div class="postbody">
|
||||
<!-- IF postrow.S_POST_HIDDEN -->
|
||||
<!-- IF postrow.S_POST_DELETED -->
|
||||
<div class="ignore" id="post_hidden{postrow.POST_ID}">
|
||||
{postrow.L_POST_DELETED_MESSAGE}<br />
|
||||
{postrow.L_POST_DISPLAY}
|
||||
</div>
|
||||
<!-- ELSEIF postrow.S_IGNORE_POST -->
|
||||
<div class="ignore" id="post_hidden{postrow.POST_ID}">
|
||||
{postrow.L_IGNORE_POST}<br />
|
||||
{postrow.L_POST_DISPLAY}
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<div id="post_content{postrow.POST_ID}"<!-- IF postrow.S_POST_HIDDEN --> style="display: none;"<!-- ENDIF -->>
|
||||
|
||||
<!-- EVENT viewtopic_body_post_subject_before -->
|
||||
<h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="{postrow.POST_ICON_IMG_ALT}" title="{postrow.POST_ICON_IMG_ALT}" /> <!-- ENDIF --><a href="{postrow.U_MINI_POST}">{postrow.POST_SUBJECT}</a></h3>
|
||||
|
||||
<!-- DEFINE $SHOW_POST_BUTTONS = (postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE) -->
|
||||
<!-- EVENT viewtopic_body_post_buttons_list_before -->
|
||||
<!-- 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 -->
|
||||
</ul>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_post_buttons_list_after -->
|
||||
|
||||
<!-- 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 -->
|
||||
<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 -->
|
||||
|
||||
<!-- IF postrow.S_POST_UNAPPROVED -->
|
||||
<!-- IF postrow.S_CAN_APPROVE -->
|
||||
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
|
||||
<p class="post-notice unapproved">
|
||||
<strong>{L_POST_UNAPPROVED_ACTION}</strong>
|
||||
<input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" />
|
||||
<input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />
|
||||
<input type="hidden" name="post_id_list[]" value="{postrow.POST_ID}" />
|
||||
{S_FORM_TOKEN}
|
||||
</p>
|
||||
</form>
|
||||
<!-- ELSE -->
|
||||
<p class="post-notice unapproved">
|
||||
<span><i class="icon fa-exclamation icon-red fa-fw" aria-hidden="true"></i></span>
|
||||
<strong>{L_POST_UNAPPROVED_EXPLAIN}</strong>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
<!-- ELSEIF postrow.S_POST_DELETED -->
|
||||
<form method="post" class="mcp_approve" action="{postrow.U_APPROVE_ACTION}">
|
||||
<p class="post-notice deleted">
|
||||
<strong>{L_POST_DELETED_ACTION}</strong>
|
||||
<!-- IF postrow.S_DELETE_PERMANENT -->
|
||||
<input class="button2" type="submit" value="{L_DELETE}" name="action[delete]" />
|
||||
<!-- ENDIF -->
|
||||
<input class="button1" type="submit" value="{L_RESTORE}" name="action[restore]" />
|
||||
<input type="hidden" name="post_id_list[]" value="{postrow.POST_ID}" />
|
||||
{S_FORM_TOKEN}
|
||||
</p>
|
||||
</form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- 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>
|
||||
</p>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="content">{postrow.MESSAGE}</div>
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_content_after -->
|
||||
|
||||
<!-- IF postrow.S_HAS_ATTACHMENTS -->
|
||||
<dl class="attachbox">
|
||||
<dt>
|
||||
{L_ATTACHMENTS}
|
||||
</dt>
|
||||
<!-- BEGIN attachment -->
|
||||
<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
|
||||
<!-- END attachment -->
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_post_notices_before -->
|
||||
<!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
|
||||
<!-- IF postrow.DELETED_MESSAGE or postrow.DELETE_REASON -->
|
||||
<div class="notice post_deleted_msg">
|
||||
{postrow.DELETED_MESSAGE}
|
||||
<!-- IF postrow.DELETE_REASON --><br /><strong>{L_REASON}{L_COLON}</strong> <em>{postrow.DELETE_REASON}</em><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ELSEIF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
|
||||
<div class="notice">
|
||||
{postrow.EDITED_MESSAGE}
|
||||
<!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}{L_COLON}</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_body_postrow_post_notices_after -->
|
||||
<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_post_content_footer -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- EVENT viewtopic_body_postrow_back2top_before -->
|
||||
<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>
|
||||
</a>
|
||||
<!-- EVENT viewtopic_body_postrow_back2top_append -->
|
||||
</div>
|
||||
<!-- EVENT viewtopic_body_postrow_back2top_after -->
|
||||
</div>
|
||||
|
||||
<!-- EVENT viewtopic_body_postrow_post_after -->
|
||||
<!-- END postrow -->
|
||||
|
||||
<!-- IF S_QUICK_REPLY -->
|
||||
<!-- INCLUDE quickreply_editor.html -->
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_body_topic_actions_before -->
|
||||
<div class="action-bar bar-bottom">
|
||||
<!-- EVENT viewtopic_buttons_bottom_before -->
|
||||
|
||||
<!-- 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>
|
||||
<!-- ELSE -->
|
||||
<span>{L_BUTTON_POST_REPLY}</span> <i class="icon fa-reply fa-fw" aria-hidden="true"></i>
|
||||
<!-- ENDIF -->
|
||||
</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- EVENT viewtopic_buttons_bottom_after -->
|
||||
|
||||
<!-- INCLUDE viewtopic_topic_tools.html -->
|
||||
|
||||
<!-- IF (S_NUM_POSTS > 1 or .pagination) and not S_IS_BOT -->
|
||||
<form method="post" action="{S_TOPIC_ACTION}">
|
||||
<!-- INCLUDE display_options.html -->
|
||||
</form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- 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>
|
||||
</span>
|
||||
<div class="dropdown">
|
||||
<div class="pointer"><div class="pointer-inner"></div></div>
|
||||
<ul class="dropdown-contents">
|
||||
<!-- BEGIN quickmod -->
|
||||
<!-- DEFINE $QUICKMOD_AJAX = (quickmod.VALUE in ['lock', 'unlock', 'delete_topic', 'restore_topic', 'make_normal', 'make_sticky', 'make_announce', 'make_global']) -->
|
||||
<li><a href="{quickmod.LINK}"<!-- IF $QUICKMOD_AJAX --> data-ajax="true" data-refresh="true"<!-- ENDIF -->>{quickmod.TITLE}</a></li>
|
||||
<!-- END quickmod -->
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- EVENT viewtopic_dropdown_bottom_custom -->
|
||||
|
||||
<!-- IF .pagination or TOTAL_POSTS -->
|
||||
<div class="pagination">
|
||||
{TOTAL_POSTS}
|
||||
<!-- IF .pagination -->
|
||||
<!-- INCLUDE pagination.html -->
|
||||
<!-- ELSE -->
|
||||
• {PAGE_NUMBER}
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
<!-- EVENT viewtopic_body_footer_before -->
|
||||
<!-- INCLUDE jumpbox.html -->
|
||||
|
||||
<!-- IF S_DISPLAY_ONLINE_LIST and U_VIEWONLINE -->
|
||||
<div class="stat-block online-list">
|
||||
<h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3>
|
||||
<p>{LOGGED_IN_USER_LIST}</p>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
1685
simplicity/theme/_colours.scss
Normal file
6
simplicity/theme/_custom.scss
Normal file
@ -0,0 +1,6 @@
|
||||
//
|
||||
// Add your custom code to this file
|
||||
//
|
||||
// This file requires SASS compiler.
|
||||
// You can find instructions here: http://www.artodia.com/phpbb-31-tutorials/compile-theme/
|
||||
//
|
13
simplicity/theme/_custom_config.scss
Normal file
@ -0,0 +1,13 @@
|
||||
//
|
||||
// Add your custom configuration variables to this file.
|
||||
// See _style_config.scss for list of variables
|
||||
//
|
||||
// This file requires SASS compiler.
|
||||
// You can find instructions here: http://www.artodia.com/phpbb-31-tutorials/compile-theme/
|
||||
//
|
||||
|
||||
|
||||
// Examples: (commented to prevent it from working)
|
||||
//
|
||||
// $show-logo: true;
|
||||
// $use-wrapper: false;
|
414
simplicity/theme/_style_config.scss
Normal file
@ -0,0 +1,414 @@
|
||||
//
|
||||
// Do not edit configuration values in this file.
|
||||
//
|
||||
// Instead add your own configuration to _custom_config.scss
|
||||
// Copy line from this file, paste it to _custom_config.scss and change value.
|
||||
//
|
||||
|
||||
// Configuration file
|
||||
$show-logo: true !default; // true or false
|
||||
$center-logo: true !default; // true or false
|
||||
$logo-block-padding: 10px 0 !default;
|
||||
$responsive-hide-logo: false !default; // Hide logo on mobile devices. true or false
|
||||
|
||||
$show-forum-title: false !default; // true or false
|
||||
|
||||
$profile-width: 150px !default;
|
||||
$profile-side: left !default; // left or right
|
||||
$post-margin: ($profile-width + 10px) !default;
|
||||
|
||||
$use-wrapper: false !default; // true or false
|
||||
$max-width: none !default; // Maximum width. Set to "none" to make layout fluid
|
||||
|
||||
$split-forums: true !default; // Changes layout of forums list. Values are true or false
|
||||
|
||||
$tabbed-navigation: false !default; // true or false. Toggles tabbed navigation layout
|
||||
|
||||
//
|
||||
// Fonts
|
||||
//
|
||||
|
||||
$font-size: 11px !default; // Base font size
|
||||
$font-family: Verdana, Helvetica, Arial, sans-serif !default; // Default font
|
||||
$line-height: 1.4 !default; // Line height
|
||||
|
||||
$h1-font-size: $font-size + 10px !default;
|
||||
$h1-font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !default;
|
||||
|
||||
$h2-font-size: $font-size + 8px !default;
|
||||
$h2-font-family: "Droid Sans","Open Sans","Trebuchet MS",Helvetica,Arial,sans-serif !default;
|
||||
|
||||
$paragraph-line-height: 1.3 !default;
|
||||
|
||||
$nav-primary-font-size: $font-size + 1px !default;
|
||||
$nav-secondary-font-size: $font-size + 1px !default;
|
||||
|
||||
$heading-font-size: $font-size + 4px !default;
|
||||
$panel-heading-font-size: $font-size + 4px !default;
|
||||
|
||||
$list-heading-font-size: $font-size + 1px !default;
|
||||
$list-heading-line-height: $font-size + 7px !default;
|
||||
$list-heading-font-family: "Droid Sans","Open Sans","Trebuchet MS",Helvetica,Arial,sans-serif !default;
|
||||
|
||||
$forum-heading-font-size: $list-heading-font-size + 2px !default;
|
||||
$forum-heading-font-family: $list-heading-font-family !default;
|
||||
$forum-heading-font-weight: 500 !default;
|
||||
|
||||
$button-font-size: $font-size + 3px !default;
|
||||
$button-line-height: floor(($font-size + 8px) / 2) * 2 !default; // Convert to even number
|
||||
$button-glyph-font-size: floor($font-size / 2) * 2 !default; // Convert to even number
|
||||
|
||||
$dropdown-header-font-size: $font-size + 2px !default;
|
||||
$dropdown-header-font-family: Arial, "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
||||
$dropdown-header-line-height: 30px !default;
|
||||
|
||||
$forum-link-font-size: $font-size + 5px !default;
|
||||
$forum-link-line-height: 1.2 !default;
|
||||
$forum-link-font-family: "Droid Sans","Open Sans","Trebuchet MS",Helvetica,Arial,sans-serif !default;
|
||||
|
||||
$forum-list-column-font-size: $font-size + 1px !default;
|
||||
$forum-list-last-column-font-size: $font-size !default;
|
||||
$forum-list-description-font-size: $font-size + 2px !default;
|
||||
|
||||
$topic-link-font-size: $font-size + 4px !default;
|
||||
$topic-link-font-family: $forum-link-font-family !default;
|
||||
|
||||
$tab-font-size: $font-size !default;
|
||||
$tab-line-height: $tab-font-size * 2 + 4px !default;
|
||||
|
||||
// Posts
|
||||
$post-content-font-size: $font-size + 2px !default; // Post content
|
||||
$post-content-line-height: 1.4 !default;
|
||||
$post-content-font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif !default;
|
||||
|
||||
$post-title-font-size: $font-size + 5px !default;
|
||||
$post-title-line-height: 1.25 !default;
|
||||
$post-title-font-family: $h2-font-family !default;
|
||||
|
||||
$post-signature-font-size: $font-size + 1px !default;
|
||||
$post-quote-font-size: $post-content-font-size - 1px !default;
|
||||
$post-code-font-size: $post-content-font-size - 1px !default;
|
||||
|
||||
$post-block-title-font-size: $post-quote-font-size !default; // Quote title, code title
|
||||
$post-block-title-line-height: 1.6 !default;
|
||||
$post-block-title-font-family: $post-content-font-family !default;
|
||||
|
||||
$post-profile-font-size: $font-size !default;
|
||||
$post-profile-line-height: $line-height !default;
|
||||
|
||||
// Forms
|
||||
$input-button-font-size: $font-size + 2px !default;
|
||||
$input-button-font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif !default;
|
||||
$bbcode-button-font-size: $font-size + 1px !default;
|
||||
|
||||
//
|
||||
// Color palette
|
||||
//
|
||||
|
||||
// Absolute black and white colors. Reverse them for dark styles
|
||||
$black-color: #000 !default; // Main color to mix with. Black for light styles, white for dark styles
|
||||
$white-color: #fff !default; // Opposite of $black-color
|
||||
|
||||
// Page colors
|
||||
$page-background: #e8e8e8 !default; // HTML element
|
||||
$content-background: #e0e0e0 !default; // Page inside content wrapper
|
||||
$content-border-color: #e0e0e0 !default; // Border color for content wrapper
|
||||
|
||||
// Primary colors
|
||||
$primary-color: #1fa67a !default; // Main color, used for links and stuff
|
||||
$secondary-color: #d06d3c !default; // Secondary color, usually in red - yellow range
|
||||
$overlay-color: $white-color !default; // Text on top of sections that use colorful background.
|
||||
$block-background: #f4f4f4 !default; // Background of blocks
|
||||
$block-background-reported: #f5ede9 !default; // Background for reported posts
|
||||
|
||||
// Global color values
|
||||
$text-color: #141414 !default; // Text color
|
||||
$bold-text-color: $black-color !default; // Text color with higher contrast to background. #000 or #fff
|
||||
$post-text-color: $text-color !default; // Text inside posts
|
||||
$link-color: $primary-color !default; // Links
|
||||
$link-hover-color: $secondary-color !default; // Links, hover state
|
||||
$muted-color: mix($black-color, $content-background, 40%) !default; // Gray color
|
||||
$faint-color: mix($black-color, $content-background, 30%) !default; // Gray color
|
||||
$rules-color: $secondary-color !default; // Forum rules
|
||||
|
||||
//
|
||||
// Calculated colors
|
||||
//
|
||||
|
||||
// Misc. DO NOT EDIT!
|
||||
$light: if(lightness($black-color) < 50%, true, false) !default;
|
||||
|
||||
// Blocks
|
||||
$block-background2: #f6f6f6 !default; // Blocks with .bg2 background color
|
||||
$block-background3: #f8f8f8 !default; // Blocks with .bg3 background color - mostly UCP/MCP and posting form
|
||||
|
||||
$block-border: #e0e0e0 !default; // Border color for blocks
|
||||
$border-radius: 3px !default; // Main border radius
|
||||
$block-top-border: lighten($block-background, 10%) !default; // Top border of forums in forums list
|
||||
$block-bottom-border: darken($block-background, 5%) !default; // Bottom border of forums in forums list
|
||||
$block-inner-border: $block-bottom-border !default; // Border inside blocks where there is only 1 border instead of top/bottom borders
|
||||
|
||||
$block-title-color: desaturate($link-color, 5%) !default; // Title inside blocks, such as post title
|
||||
|
||||
// Tabs
|
||||
$tab-color: desaturate($link-color, 20%) !default;
|
||||
$tab-background: $block-background !default;
|
||||
|
||||
$tab-hover-color: $link-hover-color !default;
|
||||
$tab-hover-background: $block-background3 !default;
|
||||
|
||||
$tab-selected-color: mix($text-color, $block-background3, 90%) !default;
|
||||
$tab-selected-background: $block-background3 !default;
|
||||
|
||||
// Header
|
||||
$header-bg: $content-background !default;
|
||||
$header-text: $text-color !default;
|
||||
$header-link: $overlay-color !default;
|
||||
$header-link-hover: mix($header-link, $header-bg, 80%) !default;
|
||||
|
||||
// Primary navigation
|
||||
$primary-nav-bg: $primary-color !default;
|
||||
$primary-nav-color: $overlay-color !default;
|
||||
|
||||
$primary-nav-selected-bg: $block-background !default;
|
||||
$primary-nav-selected-color: $primary-color !default;
|
||||
|
||||
$primary-nav-hover-bg: $block-background !default;
|
||||
$primary-nav-hover-color: $secondary-color !default;
|
||||
|
||||
$primary-nav-alert-bg: hsl(0, saturation($secondary-color), lightness($secondary-color)) !default;
|
||||
$primary-nav-alert-color: $overlay-color !default;
|
||||
$primary-nav-alert-shadow: 1px 1px 3px rgba(0, 0, 0, .2) !default;
|
||||
|
||||
// Secondary navigation
|
||||
$secondary-nav-hover-link: $link-hover-color !default;
|
||||
|
||||
// Dropdown
|
||||
$dropdown-bg: $block-background !default;
|
||||
$dropdown-border: $primary-color !default;
|
||||
$dropdown-shadow: 1px 3px 5px rgba(0, 0, 0, 0.5) !default;
|
||||
$dropdown-shadow-up: 1px 0 5px rgba(0, 0, 0, 0.5) !default;
|
||||
$dropdown-inner-border: if($light, darken($dropdown-bg, 10%), lighten($dropdown-bg, 10%)) !default;
|
||||
|
||||
$dropdown-heading-top: $dropdown-border !default;
|
||||
$dropdown-heading-bottom: $dropdown-heading-top !default;
|
||||
$dropdown-heading-color: $overlay-color !default;
|
||||
$dropdown-heading-link-color: $overlay-color !default;
|
||||
$dropdown-heading-link-hover-color: $overlay-color !default;
|
||||
|
||||
$forum-description-color: $overlay-color !default;
|
||||
$forum-description-bg: mix($black-color, $block-background, 75%) !default;
|
||||
|
||||
// Notifications
|
||||
$notification-unread-bg: mix($content-background, $rules-color, 90%) !default;
|
||||
$notification-unread-color: $rules-color !default;
|
||||
$notification-unread-strong-color: $black-color !default;
|
||||
|
||||
$dropdown-notification-bg: $block-background !default;
|
||||
$dropdown-notification-hover-bg: $block-background2 !default;
|
||||
$dropdown-notification-color: $link-color !default;
|
||||
$dropdown-notification-strong-color: desaturate(if(lightness($dropdown-notification-color) < 50%, darken($dropdown-notification-color, 30%), lighten($dropdown-notification-color, 30%)), 100%) !default;
|
||||
|
||||
// Panels
|
||||
$panel-title-color: desaturate(if($light, darken($primary-color, 10%), lighten($primary-color, 10%)), 25%) !default;
|
||||
$panel-title-border: $block-inner-border !default;
|
||||
|
||||
// Content outside of blocks
|
||||
$page-title-color: $primary-color !default;
|
||||
$stats-title-color: $primary-color !default;
|
||||
$content-top-border: lighten($content-background, 10%) !default;
|
||||
$content-bottom-border: darken($content-background, 10%) !default;
|
||||
$content-inner-border: $content-bottom-border !default;
|
||||
|
||||
// Heading section
|
||||
$heading-bg: $primary-color !default;
|
||||
$heading-border: $heading-bg !default;
|
||||
$heading-color: $overlay-color !default;
|
||||
$heading-link: $overlay-color !default;
|
||||
$heading-link-hover: $overlay-color !default;
|
||||
|
||||
// Inputs
|
||||
$input-text: $text-color !default; // Input text color
|
||||
$input-bg: $white-color !default; // Input background
|
||||
$input-border: #c6c6c6 !default; // Input border color
|
||||
$input-hover-text: $input-text !default;
|
||||
$input-hover-bg: $input-bg !default;
|
||||
$input-hover-border: $secondary-color !default;
|
||||
$input-focus-text: $input-text !default;
|
||||
$input-focus-bg: $input-bg !default;
|
||||
$input-focus-border: $primary-color !default;
|
||||
$input-border-radius: 2px !default;
|
||||
|
||||
$search-box-border: #c6c6c6 !default; // Border for search box block
|
||||
$search-box-border-header: #ccc !default; // Same as above, for search box in header
|
||||
$search-box-shadow: 1px 1px 3px rgba(0, 0, 0, .1) !default; // Box-shadow for search box in header
|
||||
|
||||
// Buttons
|
||||
$button-bg: mix($block-background, $primary-color, 10%) !default;
|
||||
$button-border-radius: 3px !default;
|
||||
$button-border: $button-bg !default;
|
||||
$button-icon: $overlay-color !default;
|
||||
$button-icon-hover: $overlay-color !default;
|
||||
$button-text: $overlay-color !default;
|
||||
|
||||
$button-top-padding: 2px !default;
|
||||
$button-side-padding: 8px !default;
|
||||
$button-border-width: 1px !default;
|
||||
$button-height: $button-line-height + ($button-top-padding + $button-border-width) * 2 !default;
|
||||
|
||||
$big-button-border-radius: 4px !default; // For big buttons and blocks like quick search
|
||||
|
||||
// BBCode
|
||||
$bbcode-border-radius: 0px !default;
|
||||
$bbcode-background: #fff !default;
|
||||
$bbcode-background2: #f4f4f4 !default;
|
||||
$bbcode-outer-border: if($light, darken($bbcode-background, 7%), lighten($bbcode-background, 7%)) !default;
|
||||
$bbcode-inner-border: if($light, darken($bbcode-background, 5%), lighten($bbcode-background, 5%)) !default;
|
||||
$bbcode-heading-text: #666 !default;
|
||||
|
||||
// Code colors
|
||||
@function code-color($hue) {
|
||||
@return hsl($hue, saturation($primary-color), lightness($primary-color));
|
||||
}
|
||||
$bbcode-code-color: code-color(128deg) !default;
|
||||
|
||||
// Do not edit few lines below
|
||||
$post-side: if($profile-side == left, right, left) !default;
|
||||
|
||||
// Mixins
|
||||
@mixin section {
|
||||
background: $block-background;
|
||||
border: 0 solid $block-border;
|
||||
border-radius: $border-radius;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
@mixin section-forum {
|
||||
@include section;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
// Undo section mixin
|
||||
@mixin section-empty {
|
||||
background: transparent;
|
||||
border-width: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// Heading block
|
||||
@mixin section-heading {
|
||||
margin: -5px -10px 5px;
|
||||
border-radius: max(0, $border-radius - 1px);
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
background: $heading-bg;
|
||||
border: 0 solid $heading-border;
|
||||
padding: 5px;
|
||||
text-transform: none;
|
||||
font-size: $heading-font-size;
|
||||
line-height: $line-height;
|
||||
font-weight: normal;
|
||||
color: $heading-color;
|
||||
|
||||
@if $border-radius > 1px {
|
||||
@media (max-width: 700px) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: $heading-link;
|
||||
&:hover {
|
||||
color: $heading-link-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin section-heading-forum {
|
||||
@include section-heading;
|
||||
@if $split-forums == false {
|
||||
margin: -5px -5px 0;
|
||||
}
|
||||
@else {
|
||||
@include section-heading-separate;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin section-heading-separate {
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
|
||||
@mixin section-heading-cp {
|
||||
background-color: transparent;
|
||||
color: $stats-title-color;
|
||||
background-image: none;
|
||||
a {
|
||||
color: $link-color;
|
||||
&:hover {
|
||||
color: $link-hover-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin table-heading {
|
||||
background: $heading-bg;
|
||||
border: 0 solid $heading-border;
|
||||
color: $heading-color;
|
||||
|
||||
@if $border-radius > 1px {
|
||||
&:first-child {
|
||||
border-top-left-radius: max(0, $border-radius - 1px);
|
||||
}
|
||||
&:last-child {
|
||||
border-top-right-radius: max(0, $border-radius - 1px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin table-heading-transparent {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
@mixin placeholder {
|
||||
&::-moz-placeholder {
|
||||
@content
|
||||
}
|
||||
&::-webkit-input-placeholder {
|
||||
@content
|
||||
}
|
||||
&:-ms-input-placeholder {
|
||||
@content
|
||||
}
|
||||
}
|
||||
|
||||
@mixin tabbed-nav-layout-all {
|
||||
@if ($use-wrapper) {
|
||||
&, #wrap & {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
@else {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin tabbed-nav-layout-alt {
|
||||
@if ($use-wrapper) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin tabbed-nav-layout-default {
|
||||
@if ($use-wrapper) {
|
||||
#wrap & {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
@else {
|
||||
@content;
|
||||
}
|
||||
}
|
1053
simplicity/theme/bidi.css
Normal file
304
simplicity/theme/common/_buttons.scss
Normal file
@ -0,0 +1,304 @@
|
||||
// Button Styles
|
||||
// ----------------------------------------
|
||||
|
||||
$button-inner-height: $button-line-height + $button-top-padding * 2;
|
||||
$button-outer-height: $button-inner-height + $button-border-width * 2;
|
||||
|
||||
.button {
|
||||
display: inline-block;
|
||||
padding: $button-top-padding $button-side-padding;
|
||||
font-size: $button-font-size;
|
||||
font-weight: 600;
|
||||
font-family: "Open Sans", "Droid Sans", Verdana, Arial, Helvetica;
|
||||
line-height: $button-line-height;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
border: $button-border-width solid transparent;
|
||||
border-radius: $big-button-border-radius;
|
||||
|
||||
& > strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.button:focus,
|
||||
.button:hover {
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.caret {
|
||||
border-left: 1px solid;
|
||||
position: relative;
|
||||
right: -6px;
|
||||
}
|
||||
|
||||
.caret i {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Posting page styles
|
||||
----------------------------------------*/
|
||||
.button-search,
|
||||
.button-search-end {
|
||||
float: left;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.button-search-end {
|
||||
border-left-width: 0;
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
|
||||
.search-header .button-search,
|
||||
.search-header .button-search-end {
|
||||
border-top-width: 0;
|
||||
border-bottom-width: 0;
|
||||
padding: 3px 5px;
|
||||
}
|
||||
|
||||
.search-header .button-search-end {
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
.button-icon-only {
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
// Poster contact icons
|
||||
// ----------------------------------------
|
||||
.contact-icons.dropdown-contents {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
.contact-icon {
|
||||
position: relative;
|
||||
display: block;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
&:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
text-align: center;
|
||||
font-family: FontAwesome;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
vertical-align: baseline;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
text-indent: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
.contact-icons a {
|
||||
border-bottom: 1px dotted;
|
||||
border-right: 1px dotted;
|
||||
display: block;
|
||||
float: left;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
%contact-icon-gi {
|
||||
font-family: 'Glyphicons Regular', 'Glyphicons';
|
||||
}
|
||||
|
||||
.contact-icons .last-cell {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.contact-icons div:last-child a {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.contact-icons div {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
// Profile icons
|
||||
.pm-icon:after {
|
||||
content: '\f086'; // fa-comments
|
||||
}
|
||||
.email-icon:after {
|
||||
content: '\f0e0'; // fa-envelope
|
||||
}
|
||||
.jabber-icon:after {
|
||||
content: '\f0eb'; // fa-lightbulb-o
|
||||
font-size: 16px;
|
||||
}
|
||||
.phpbb_icq-icon:after {
|
||||
content: '\f013'; // fa-cog
|
||||
}
|
||||
.phpbb_wlm-icon:after {
|
||||
content: '\f007'; // fa-user
|
||||
}
|
||||
.phpbb_aol-icon:after {
|
||||
content: '\f2bb'; // fa-address-card
|
||||
}
|
||||
.phpbb_website-icon:after {
|
||||
content: '\f08e'; // fa-external-link
|
||||
}
|
||||
.phpbb_youtube-icon:after {
|
||||
content: '\f16a'; // fa-youtube-play
|
||||
}
|
||||
.phpbb_facebook-icon:after {
|
||||
content: '\f230'; // fa-facebook-official
|
||||
}
|
||||
.phpbb_googleplus-icon:after {
|
||||
content: '\f0d5'; // fa-google-plus
|
||||
}
|
||||
.phpbb_skype-icon:after {
|
||||
content: '\f17e'; // fa-skype
|
||||
}
|
||||
.phpbb_twitter-icon:after {
|
||||
content: '\f099'; // fa-twitter
|
||||
}
|
||||
.phpbb_yahoo-icon:after {
|
||||
content: '\f19e'; // fa-yahoo
|
||||
}
|
||||
|
||||
|
||||
// Post control buttons
|
||||
// ---------------------------------------------
|
||||
.post-buttons {
|
||||
float: right;
|
||||
list-style: none;
|
||||
margin-top: 2px;
|
||||
.rtl & {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.has-profile .post-buttons {
|
||||
float: none;
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
top: 5px;
|
||||
|
||||
@if $profile-side == left {
|
||||
right: 0;
|
||||
.rtl & {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@else {
|
||||
right: $post-margin;
|
||||
.rtl & {
|
||||
left: $post-margin;
|
||||
}
|
||||
}
|
||||
|
||||
.rtl & {
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.post-buttons > li {
|
||||
float: left;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.post-buttons .button, .format-buttons .button {
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
|
||||
.hastouch .post-buttons {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.post-buttons .button span {
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
// Responsive buttons in post body
|
||||
.post-buttons .dropdown {
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
$post-dropdown-glyphs-font-size: floor($dropdown-content-font-size / 2) * 2;
|
||||
|
||||
.post-buttons .dropdown a {
|
||||
display: block;
|
||||
font-size: $dropdown-content-font-size;
|
||||
line-height: $dropdown-content-line-height;
|
||||
text-align: left;
|
||||
margin-left: 18px;
|
||||
position: relative;
|
||||
&:before {
|
||||
position: absolute;
|
||||
left: -16px;
|
||||
top: 50%;
|
||||
height: $post-dropdown-glyphs-font-size;
|
||||
line-height: $post-dropdown-glyphs-font-size + 2px;
|
||||
margin: -#{$post-dropdown-glyphs-font-size / 2} 0 0;
|
||||
pointer-events: none;
|
||||
color: inherit;
|
||||
}
|
||||
.rtl & {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
.hasjs .postbody .post-buttons {
|
||||
max-width: 40%;
|
||||
}
|
||||
|
||||
// Browser-specific tweaks
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0
|
||||
}
|
||||
|
||||
|
||||
/* Deprecated as of version 3.2
|
||||
-------------------------------------------------*/
|
||||
.small-icon {
|
||||
background-position: 0 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.dropdown .small-icon {
|
||||
background-position: 5px 50%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.small-icon > a {
|
||||
padding: 0 0 0 18px;
|
||||
}
|
||||
|
||||
ul.linklist.bulletin > li.small-icon:before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dropdown .small-icon > a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.rtl .small-icon {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
|
||||
.rtl .small-icon > a {
|
||||
padding-left: 0;
|
||||
padding-right: 19px;
|
||||
}
|
2336
simplicity/theme/common/_common.scss
Normal file
1278
simplicity/theme/common/_content.scss
Normal file
440
simplicity/theme/common/_cp.scss
Normal file
@ -0,0 +1,440 @@
|
||||
// Control Panel Styles
|
||||
// ----------------------------------------
|
||||
|
||||
|
||||
// Main CP box
|
||||
// ----------------------------------------
|
||||
.cp-menu {
|
||||
float:left;
|
||||
width: 19%;
|
||||
margin: 0 -2px;
|
||||
padding-right: 7px;
|
||||
box-sizing: border-box;
|
||||
.rtl & {
|
||||
float: right;
|
||||
padding-left: 7px;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.cp-main {
|
||||
float: left;
|
||||
width: 81%;
|
||||
.rtl & {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.cp-main .content {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.panel-container .panel {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.panel-container .panel p {
|
||||
font-size: $panel-font-size;
|
||||
line-height: $panel-line-height;
|
||||
}
|
||||
|
||||
.panel-container .panel ol {
|
||||
margin-left: 2em;
|
||||
font-size: $panel-font-size;
|
||||
}
|
||||
|
||||
.panel-container .panel li.row {
|
||||
border-bottom: 1px solid transparent;
|
||||
border-top: 1px solid transparent;
|
||||
}
|
||||
|
||||
ul.cplist {
|
||||
margin-bottom: 5px;
|
||||
border-top: 1px solid transparent;
|
||||
}
|
||||
|
||||
.panel-container .panel li.header dd, .panel-container .panel li.header dt {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.panel-container table.table1 {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.panel-container table.table1 thead th {
|
||||
@include table-heading-transparent;
|
||||
padding: 5px;
|
||||
font-weight: bold;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.panel-container table.table1 tbody th {
|
||||
font-style: italic;
|
||||
background-color: transparent !important;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.cp-main .pm-message {
|
||||
border: 1px solid transparent;
|
||||
margin: 10px 0;
|
||||
width: auto;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.pm-message h2 {
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.cp-main .postbody h3, .cp-main .box2 h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.panel-container .postbody p.author {
|
||||
font-size: $font-size;
|
||||
}
|
||||
|
||||
.cp-main .buttons {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.cp-main ul.linklist {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// MCP Specific tweaks
|
||||
.mcp-main .postbody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.tabs-container h2 {
|
||||
float: left;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
// CP tabs shared
|
||||
// ----------------------------------------
|
||||
.tabs, .minitabs {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.tabs > ul, .minitabs > ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tabs .tab, .minitabs .tab {
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: $tab-font-size;
|
||||
font-weight: bold;
|
||||
line-height: $tab-line-height;
|
||||
}
|
||||
|
||||
.tabs .tab > a, .minitabs .tab > a {
|
||||
display: block;
|
||||
padding: 0 9px;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
// CP tabbed menu
|
||||
// ----------------------------------------
|
||||
.tabs {
|
||||
margin: 20px 0 0 7px;
|
||||
}
|
||||
|
||||
.tabs .tab > a {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px 4px 0 0;
|
||||
margin: 1px 1px 0 0;
|
||||
}
|
||||
|
||||
.tabs .activetab > a {
|
||||
margin-top: 0;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
// Mini tabbed menu used in MCP
|
||||
// ----------------------------------------
|
||||
.minitabs {
|
||||
float: right;
|
||||
margin: 15px 7px 0 0;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.minitabs .tab {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.minitabs .tab > a {
|
||||
border-radius: 5px 5px 0 0;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.minitabs .tab > a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// Responsive tabs
|
||||
// ----------------------------------------
|
||||
.responsive-tab {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a.responsive-tab-link {
|
||||
.responsive-tab > & {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
width: 16px;
|
||||
line-height: 14px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.responsive-tab > &:before {
|
||||
content: '\f0c9'; // fa-bars
|
||||
font-family: FontAwesome;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: 50%;
|
||||
margin-top: -7px;
|
||||
width: 14px;
|
||||
font-size: 13px;
|
||||
line-height: 15px;
|
||||
height: 15px;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
text-indent: 0;
|
||||
}
|
||||
.dropdown-visible.responsive-tab > &:before,
|
||||
.responsive-tab > &:hover:before {
|
||||
font-family: FontAwesome;
|
||||
content: '\f078'; // fa-chevron-down
|
||||
}
|
||||
}
|
||||
|
||||
.tabs .dropdown, .minitabs .dropdown {
|
||||
top: $tab-line-height + 2px;
|
||||
margin-right: -2px;
|
||||
font-size: $dropdown-content-font-size;
|
||||
line-height: $dropdown-content-line-height;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.minitabs .dropdown {
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
.tabs .dropdown-up .dropdown, .minitabs .dropdown-up .dropdown {
|
||||
bottom: $tab-line-height + 2px;
|
||||
top: auto;
|
||||
}
|
||||
|
||||
.tabs .dropdown li {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.minitabs .dropdown li {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
// UCP navigation menu
|
||||
// ----------------------------------------
|
||||
// Container for sub-navigation list
|
||||
.navigation {
|
||||
width: 100%;
|
||||
hr {
|
||||
display: none;
|
||||
+ ul {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navigation ul {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
// Default list state
|
||||
.navigation li {
|
||||
display: inline;
|
||||
font-weight: bold;
|
||||
margin: 1px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// Link styles for the sub-section links
|
||||
.navigation a {
|
||||
display: block;
|
||||
padding: 5px;
|
||||
margin: 2px 0;
|
||||
border-radius: max(0px, $border-radius - 2px);
|
||||
text-decoration: none;
|
||||
font-size: $font-size;
|
||||
line-height: $line-height;
|
||||
}
|
||||
|
||||
.navigation a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// Preferences pane layout
|
||||
// ----------------------------------------
|
||||
.cp-main h2 {
|
||||
border-bottom: none;
|
||||
padding: 0;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
// Friends list
|
||||
.cp-mini {
|
||||
margin: 10px 15px 10px 5px;
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
padding: 5px 10px;
|
||||
border-radius: $border-radius;
|
||||
}
|
||||
|
||||
dl.mini dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl.mini dd {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.friend-online {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.friend-offline {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
// PM Styles
|
||||
// ----------------------------------------
|
||||
// Defined rules list for PM options
|
||||
ol.def-rules {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
ol.def-rules li {
|
||||
line-height: 180%;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
// PM marking colours
|
||||
.pmlist li.bg1 {
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
.pmlist li.bg2 {
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
/* DEPRECATED 3.2.6
|
||||
.pmlist li.pm_message_reported_colour, .pm_message_reported_colour {
|
||||
border-left-color: transparent;
|
||||
border-right-color: transparent;
|
||||
}
|
||||
*/
|
||||
|
||||
.pmlist li.pm_message_reported_colour, .pm_message_reported_colour,
|
||||
.pmlist li.pm_marked_colour, .pm_marked_colour,
|
||||
.pmlist li.pm_replied_colour, .pm_replied_colour,
|
||||
.pmlist li.pm_friend_colour, .pm_friend_colour,
|
||||
.pmlist li.pm_foe_colour, .pm_foe_colour {
|
||||
padding: 0;
|
||||
border: solid 3px transparent;
|
||||
border-width: 0 3px;
|
||||
}
|
||||
|
||||
.pm-legend {
|
||||
border-left-width: 10px;
|
||||
border-left-style: solid;
|
||||
border-right-width: 0;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
// Avatar gallery
|
||||
.gallery label {
|
||||
position: relative;
|
||||
float: left;
|
||||
margin: 10px;
|
||||
padding: 5px;
|
||||
width: auto;
|
||||
border: 1px solid transparent;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
// Responsive *CP navigation
|
||||
// ----------------------------------------
|
||||
@media (max-width: 900px)
|
||||
{
|
||||
.nojs .tabs a span, .nojs .minitabs a span {
|
||||
max-width: 40px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
letter-spacing: -.5px;
|
||||
}
|
||||
|
||||
.cp-menu, .navigation, .cp-main {
|
||||
float: none;
|
||||
width: auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.cp-menu:after {
|
||||
content: ' ';
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
padding: 0;
|
||||
max-width: 320px;
|
||||
.cp-menu & {
|
||||
margin: 0 10px;
|
||||
float: left;
|
||||
@media (max-width: 450px) {
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
&, .cp-menu &:only-child {
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.cp-menu & + .cp-mini {
|
||||
float: left;
|
||||
margin: 0 10px;
|
||||
max-width: 220px;
|
||||
@media (max-width: 450px) {
|
||||
float: none;
|
||||
margin: 10px auto 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navigation a {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.navigation li:first-child a {
|
||||
border-top-left-radius: 5px;
|
||||
border-top-right-radius: 5px;
|
||||
}
|
||||
|
||||
.navigation li:last-child a {
|
||||
border-bottom-left-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
}
|
459
simplicity/theme/common/_forms.scss
Normal file
@ -0,0 +1,459 @@
|
||||
// Form Styles
|
||||
// ----------------------------------------
|
||||
|
||||
// General form styles
|
||||
// ----------------------------------------
|
||||
$input-font-size: $font-size + 1px !default;
|
||||
$input-font-family: $font-family !default;
|
||||
|
||||
fieldset {
|
||||
border-width: 0;
|
||||
font-family: $font-family;
|
||||
font-size: $font-size;
|
||||
}
|
||||
|
||||
input {
|
||||
font-weight: normal;
|
||||
vertical-align: middle;
|
||||
padding: 0 3px;
|
||||
font-size: $input-font-size;
|
||||
font-family: $input-font-family;
|
||||
}
|
||||
|
||||
select {
|
||||
font-family: $input-font-family;
|
||||
font-weight: normal;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
border: 1px solid transparent;
|
||||
border-radius: $input-border-radius;
|
||||
padding: 1px;
|
||||
font-size: $input-font-size;
|
||||
}
|
||||
|
||||
select:focus {
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
option {
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
select optgroup option {
|
||||
padding-right: 1em;
|
||||
font-family: $input-font-family;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: $post-content-font-family;
|
||||
width: 60%;
|
||||
padding: 2px;
|
||||
font-size: $post-content-font-size;
|
||||
line-height: $post-content-line-height;
|
||||
border-radius: $input-border-radius;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: default;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
label input {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
label img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// Definition list layout for forms
|
||||
// ----------------------------------------
|
||||
fieldset dl {
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
fieldset dt {
|
||||
float: left;
|
||||
width: 40%;
|
||||
text-align: left;
|
||||
display: block;
|
||||
}
|
||||
|
||||
fieldset dd {
|
||||
margin-left: 41%;
|
||||
vertical-align: top;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
// Specific layout 1
|
||||
fieldset.fields1 dt {
|
||||
width: 15em;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
fieldset.fields1 dd {
|
||||
margin-left: 15em;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
fieldset.fields1 div {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
// Set it back to 0px for the reCaptcha divs: PHPBB3-9587
|
||||
fieldset.fields1 .live-search div {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
// Specific layout 2
|
||||
fieldset.fields2 dt {
|
||||
width: 15em;
|
||||
border-right-width: 0;
|
||||
}
|
||||
|
||||
fieldset.fields2 dd {
|
||||
margin-left: 16em;
|
||||
border-left-width: 0;
|
||||
}
|
||||
|
||||
// Form elements
|
||||
dt label {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
dd label {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
dd input, dd textarea {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
dd select {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
dd select[multiple] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
dd textarea {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
// Hover effects
|
||||
.timezone {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
/* Browser-specific tweaks */
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0
|
||||
}
|
||||
|
||||
|
||||
// Quick-login on index page
|
||||
fieldset.quick-login {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
fieldset.quick-login input {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
fieldset.quick-login input.inputbox {
|
||||
width: 15%;
|
||||
vertical-align: middle;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
fieldset.quick-login label {
|
||||
white-space: nowrap;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
// Display options on viewtopic/viewforum pages
|
||||
fieldset.display-options {
|
||||
text-align: center;
|
||||
margin: 3px 0 5px 0;
|
||||
}
|
||||
|
||||
fieldset.display-options label {
|
||||
white-space: nowrap;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
fieldset.display-options a {
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.dropdown fieldset.display-options {
|
||||
font-size: 1em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.dropdown fieldset.display-options label {
|
||||
display: block;
|
||||
margin: 4px;
|
||||
padding: 0;
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dropdown fieldset.display-options select {
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
// Display actions for ucp and mcp pages
|
||||
fieldset.display-actions {
|
||||
text-align: right;
|
||||
line-height: 2em;
|
||||
white-space: nowrap;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
fieldset.display-actions label {
|
||||
white-space: nowrap;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
fieldset.sort-options {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
// MCP forum selection
|
||||
fieldset.forum-selection {
|
||||
margin: 5px 0 3px 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
fieldset.forum-selection2 {
|
||||
margin: 13px 0 3px 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
// Submit button fieldset
|
||||
fieldset.submit-buttons {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
fieldset.submit-buttons input {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// Posting page styles
|
||||
// ----------------------------------------
|
||||
|
||||
// Buttons used in the editor
|
||||
.format-buttons {
|
||||
margin: 15px 0 2px 0;
|
||||
}
|
||||
|
||||
.format-buttons input, .format-buttons select {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// Main message box
|
||||
.message-box {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.message-box textarea {
|
||||
font-family: $post-content-font-family;
|
||||
width: 450px;
|
||||
height: 270px;
|
||||
min-width: 100%;
|
||||
max-width: 100%;
|
||||
font-size: $post-content-font-size;
|
||||
line-height: $post-content-line-height;
|
||||
resize: vertical;
|
||||
outline: 3px dashed transparent;
|
||||
outline-offset: -4px;
|
||||
-webkit-transition: all .5s ease, height 1ms linear;
|
||||
-moz-transition: all .5s ease, height 1ms linear;
|
||||
-ms-transition: all .5s ease, height 1ms linear;
|
||||
-o-transition: all .5s ease, height 1ms linear;
|
||||
transition: all .5s ease, height 1ms linear;
|
||||
}
|
||||
|
||||
// Emoticons panel
|
||||
.smiley-box {
|
||||
width: 18%;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.smiley-box img {
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
// Input field styles
|
||||
// ----------------------------------------
|
||||
.inputbox {
|
||||
border: 1px solid transparent;
|
||||
padding: 2px;
|
||||
border-radius: $input-border-radius;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
.inputbox:hover, .inputbox:focus {
|
||||
border: 1px solid transparent;
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
input.inputbox { width: 85%; }
|
||||
input.medium { width: 50%; }
|
||||
input.narrow { width: 25%; }
|
||||
input.tiny { width: 150px; }
|
||||
|
||||
textarea.inputbox {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
.autowidth {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
input[type="number"] {
|
||||
-moz-padding-end: 0;
|
||||
}
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: none;
|
||||
-webkit-box-sizing: content-box;
|
||||
}
|
||||
|
||||
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-results-button, input[type="search"]::-webkit-search-results-decoration {
|
||||
display: none;
|
||||
}
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
// Form button styles
|
||||
// ----------------------------------------
|
||||
input.button1, input.button2 {
|
||||
font-size: $input-button-font-size;
|
||||
}
|
||||
|
||||
a.button1, input.button1, input.button3, a.button2, input.button2 {
|
||||
width: auto !important;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
font-family: $input-button-font-family;
|
||||
background: transparent none repeat-x top left;
|
||||
line-height: 1.5;
|
||||
border-radius: $button-border-radius;
|
||||
font-size: $input-button-font-size;
|
||||
.format-buttons & {
|
||||
font-size: $bbcode-button-font-size;
|
||||
}
|
||||
}
|
||||
|
||||
a.button1, input.button1 {
|
||||
font-weight: bold;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
input.button3 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 5px;
|
||||
height: 12px;
|
||||
background-image: none;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], .search-results li {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
// Alternative button
|
||||
a.button2, input.button2, input.button3 {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
// <a> button in the style of the form buttons
|
||||
a.button1, a.button2 {
|
||||
text-decoration: none;
|
||||
padding: 0 3px;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
// Hover states
|
||||
a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
input.disabled {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
// Focus states
|
||||
input.button1:focus, input.button2:focus, input.button3:focus {
|
||||
outline-style: none;
|
||||
}
|
||||
|
||||
// Topic and forum Search
|
||||
.search-box {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.search-box .inputbox {
|
||||
background-image: none;
|
||||
border-right-width: 0;
|
||||
border-radius: $big-button-border-radius 0 0 $big-button-border-radius;
|
||||
float: left;
|
||||
height: $button-outer-height;
|
||||
padding: 3px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
.rtl & {
|
||||
border-radius: 0 $big-button-border-radius $big-button-border-radius 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Search box (header)
|
||||
// ---------------------------------------------
|
||||
.search-header {
|
||||
border-radius: $big-button-border-radius;
|
||||
display: block;
|
||||
border: 1px solid transparent;
|
||||
.navbar.with-search & {
|
||||
margin-top: 1px;
|
||||
}
|
||||
@if $tabbed-navigation {
|
||||
.navbar.not-static + .navbar.with-search & {
|
||||
&, & a.button, & .inputbox {
|
||||
border-radius: 0;
|
||||
}
|
||||
margin-right: -3px;
|
||||
.rtl & {
|
||||
margin-right: 0;
|
||||
margin-left: -3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.headerbar & {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 5px;
|
||||
margin-top: -13px;
|
||||
}
|
||||
}
|
||||
|
||||
.search-header .inputbox { border: 0; }
|
||||
|
||||
.navbar .linklist > li.responsive-search { display: none; }
|
||||
|
||||
.full { width: 95%; }
|
||||
.medium { width: 50%;}
|
||||
.narrow { width: 25%;}
|
||||
.tiny { width: 10%;}
|
96
simplicity/theme/common/_icons.scss
Normal file
@ -0,0 +1,96 @@
|
||||
/* --------------------------------------------------------------
|
||||
$Icons
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* 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 {
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-family: FontAwesome;
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
text-rendering: auto; /* optimizelegibility throws things off #1094 */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.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 {
|
||||
width: 12px;
|
||||
transform: scale(0.65, 0.75);
|
||||
vertical-align: text-bottom;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.arrow-left .icon {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.arrow-left:hover .icon {
|
||||
margin-left: -5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.arrow-right .icon {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.arrow-right:hover .icon {
|
||||
margin-left: 5px;
|
||||
margin-right: -5px;
|
||||
}
|
||||
|
||||
.post-buttons .dropdown-contents .icon {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.alert_close .icon:before {
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
width: 11px;
|
||||
display: block;
|
||||
line-height: .9;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
blockquote cite:before, .uncited:before {
|
||||
content: '\f10d'; /* Font Awesome quote-left */
|
||||
}
|
||||
|
||||
.rtl blockquote cite:before, .rtl .uncited:before {
|
||||
content: '\f10e'; /* Font Awesome quote-right */
|
||||
}
|
||||
|
278
simplicity/theme/common/_imageset.scss
Normal file
@ -0,0 +1,278 @@
|
||||
// Icon images
|
||||
// ----------------------------------------
|
||||
%icon-image {
|
||||
position: relative;
|
||||
background-image: none;
|
||||
&:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
height: 14px;
|
||||
margin-top: -7px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
vertical-align: baseline;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
text-indent: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
&.small-icon:after {
|
||||
width: 18px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
%icon-image-fa {
|
||||
@extend %icon-image;
|
||||
&:after {
|
||||
font-family: FontAwesome;
|
||||
}
|
||||
}
|
||||
|
||||
%icon-search-old {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f002'; // fa-search
|
||||
}
|
||||
}
|
||||
|
||||
%icon-search-new {
|
||||
@extend %icon-search-old;
|
||||
}
|
||||
|
||||
%icon-search-misc {
|
||||
@extend %icon-search-old;
|
||||
}
|
||||
|
||||
.icon-acp {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f085'; // fa-cogs
|
||||
}
|
||||
}
|
||||
.icon-bookmark {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f02e'; // fa-bookmark
|
||||
margin-left: -1px;
|
||||
margin-right: -1px;
|
||||
}
|
||||
}
|
||||
.icon-bump {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f079'; // fa-retweet
|
||||
}
|
||||
}
|
||||
.icon-contact {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f0e0'; // fa-envelope
|
||||
}
|
||||
}
|
||||
.icon-delete-cookies {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f014'; // fa-trash-o
|
||||
}
|
||||
}
|
||||
.icon-download {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f019'; // fa-download
|
||||
}
|
||||
}
|
||||
.icon-faq {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f059'; // fa-question-circle
|
||||
}
|
||||
}
|
||||
.icon-home {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f015'; // fa-home
|
||||
}
|
||||
&.breadcrumbs:after {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
.icon-logout {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f08b'; // fa-sign-out
|
||||
}
|
||||
}
|
||||
.icon-login {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f090'; // fa-sign-in
|
||||
}
|
||||
}
|
||||
.icon-mark {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f046'; // fa-check-square-o
|
||||
}
|
||||
}
|
||||
.icon-mcp {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f0e3'; // fa-gavel
|
||||
}
|
||||
}
|
||||
.icon-members {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f007'; // fa-user
|
||||
}
|
||||
&:before {
|
||||
@extend .icon-members:after;
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
padding: 0;
|
||||
padding-left: 4px;
|
||||
padding-top: 1px;
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
ul.linklist.bulletin > li.small-icon.icon-members:before {
|
||||
@extend .icon-members:before;
|
||||
}
|
||||
.icon-notification {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f0a2'; // fa-bell-o
|
||||
}
|
||||
&.non-zero:after {
|
||||
content: '\f0f3'; // fa-bell
|
||||
}
|
||||
}
|
||||
.icon-pages {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f0c5'; // fa-copy
|
||||
}
|
||||
}
|
||||
.icon-pm {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f003'; // fa-envelope-o
|
||||
}
|
||||
&.non-zero:after {
|
||||
content: '\f0e0'; // fa-envelope
|
||||
}
|
||||
}
|
||||
.icon-print {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f02f'; // fa-print
|
||||
}
|
||||
}
|
||||
.icon-profile {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f007'; // fa-user
|
||||
}
|
||||
}
|
||||
.icon-register{
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f234'; // fa-user-plus
|
||||
}
|
||||
}
|
||||
.icon-search { @extend %icon-search-old; }
|
||||
.icon-search-active { @extend %icon-search-old; }
|
||||
.icon-search-advanced { @extend %icon-search-old; }
|
||||
.icon-search-new { @extend %icon-search-new; }
|
||||
.icon-search-self { @extend %icon-search-misc; }
|
||||
.icon-search-unanswered { @extend %icon-search-new; }
|
||||
.icon-search-unread { @extend %icon-search-new; }
|
||||
.icon-sendemail {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f003'; // fa-envelope-o
|
||||
}
|
||||
}
|
||||
.icon-subscribe {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f05d'; // fa-check-circle-o
|
||||
}
|
||||
}
|
||||
.icon-team {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f007'; // fa-user
|
||||
}
|
||||
&:before {
|
||||
@extend .icon-team:after;
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
padding-top: 1px;
|
||||
opacity: .7;
|
||||
content: '\f007\f007'; // fa-user fa-user
|
||||
}
|
||||
}
|
||||
ul.linklist.bulletin > li.small-icon.icon-team:before { @extend .icon-team:before; }
|
||||
.icon-ucp {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f0ad'; // fa-wrench
|
||||
}
|
||||
}
|
||||
.icon-unsubscribe {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f05c'; // times-circle-o
|
||||
}
|
||||
}
|
||||
.icon-new-posts {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f086'; // fa-comments
|
||||
}
|
||||
}
|
||||
.icon-forums {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f075'; // fa-comment
|
||||
}
|
||||
}
|
||||
.icon-chat {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f086'; // fa-comments
|
||||
}
|
||||
}
|
||||
.icon-time {
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
// content: '\E055'; // glyphicons-clock
|
||||
content: '\f017'; // fa-clock-o
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Thanks for posts mod
|
||||
.icon-thanks {
|
||||
background-image: none !important;
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f087'; // fa-thumbs-o-up
|
||||
}
|
||||
}
|
||||
|
||||
.icon-thanks_toplist {
|
||||
background-image: none !important;
|
||||
@extend %icon-image-fa;
|
||||
&:after {
|
||||
content: '\f005'; // fa-star
|
||||
}
|
||||
}
|
249
simplicity/theme/common/_links.scss
Normal file
@ -0,0 +1,249 @@
|
||||
// Link Styles
|
||||
// ----------------------------------------
|
||||
|
||||
// Links adjustment to correctly display an order of rtl/ltr mixed content
|
||||
a {
|
||||
direction: ltr;
|
||||
unicode-bidi: embed;
|
||||
text-decoration: none;
|
||||
/* we use links inline more often then not so to address several bugs with
|
||||
IE and some other browsers we render all links as inlineblock by default */
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
// Coloured usernames
|
||||
.username-coloured {
|
||||
font-weight: bold;
|
||||
display: inline !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
span.username-coloured {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
// Links on gradient backgrounds
|
||||
.forumbg .header a, .forabg .header a, th a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.forumbg .header a:hover, .forabg .header a:hover, th a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
// Notification mark read link
|
||||
.dropdown-extended a.mark_read {
|
||||
display: block;
|
||||
opacity: .2;
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 30px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
transition: opacity .2s;
|
||||
}
|
||||
|
||||
.dropdown-extended li:hover a.mark_read {
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
.dropdown-extended li a.mark_read:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.dropdown-extended a.mark_read:after {
|
||||
width: auto;
|
||||
left: 4px;
|
||||
right: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.jumpbox-cat-link,
|
||||
.jumpbox-forum-link { font-weight: bold; }
|
||||
|
||||
// Links for forum/topic lists
|
||||
a.forumtitle {
|
||||
display: inline-block;
|
||||
font-family: $forum-link-font-family;
|
||||
font-size: $forum-link-font-size;
|
||||
line-height: $forum-link-line-height;
|
||||
font-weight: 500;
|
||||
padding-bottom: 2px;
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
a.topictitle {
|
||||
@extend a.forumtitle;
|
||||
font-family: $topic-link-font-family;
|
||||
font-size: $topic-link-font-size;
|
||||
}
|
||||
|
||||
a.lastsubject {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.lastsubject:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
// Profile links
|
||||
.postprofile a, .postprofile dt.author a {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.postprofile a:hover, .postprofile dt.author a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
// Profile searchresults
|
||||
.search .postprofile a {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.search .postprofile a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.top {
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
// Back to top of page
|
||||
.back2top {
|
||||
clear: both;
|
||||
.post > & {
|
||||
position: relative;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
.rtl & {
|
||||
right: auto;
|
||||
left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.back2top .top {
|
||||
float: right;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
a.top, a.top2 {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
// Arrow links
|
||||
%arrow {
|
||||
position: relative;
|
||||
&:after {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
text-align: center;
|
||||
font-family: FontAwesome;
|
||||
font-size: 8px;
|
||||
line-height: 10px;
|
||||
vertical-align: baseline;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
text-transform: none;
|
||||
text-indent: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
a.arrow-up {
|
||||
@extend %arrow;
|
||||
&:after {
|
||||
content: '\f077'; // fa-chevron-up
|
||||
left: 0;
|
||||
}
|
||||
.rtl &:after {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
a.arrow-down {
|
||||
@extend %arrow;
|
||||
&:after {
|
||||
content: '\f078'; // fa-chevron-down
|
||||
right: 0;
|
||||
padding-top: 1px;
|
||||
}
|
||||
.rtl &:after {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
a.arrow-up {
|
||||
padding-left: 10px;
|
||||
text-decoration: none;
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
a.arrow-down {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
a.arrow-down:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.arrow-left:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.arrow-right:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
// invisible skip link, used for accessibility
|
||||
.skiplink {
|
||||
position: absolute;
|
||||
left: -999px;
|
||||
width: 990px;
|
||||
}
|
||||
|
||||
// Feed icon in forumlist_body.html
|
||||
a.feed-icon-forum {
|
||||
float: right;
|
||||
margin: 3px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.topiclist.forums a.feed-icon-forum {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
a.feed-icon-forum:after {
|
||||
content: '\f09e'; // fa-rss
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
font-family: FontAwesome;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
line-height: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.top-anchor {
|
||||
display: block;
|
||||
}
|
414
simplicity/theme/common/_normalize.scss
Normal file
@ -0,0 +1,414 @@
|
||||
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS and IE text size adjust after device orientation change,
|
||||
* without disabling user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||
* and Firefox.
|
||||
* Correct `block` display not defined for `main` in IE 11.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability of focused elements when they are also in an
|
||||
* active/hover state.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9/10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow not hidden in IE 9/10/11.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
* `font-size` values of the `input`, it causes the cursor style of the
|
||||
* decrement button to change from `default` to `text`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
box-sizing: content-box; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
652
simplicity/theme/common/_responsive.scss
Normal file
@ -0,0 +1,652 @@
|
||||
// Responsive Design
|
||||
// ----------------------------------------
|
||||
|
||||
@media (max-width: 320px) {
|
||||
select, .inputbox {
|
||||
max-width: 240px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Notifications list
|
||||
----------------------------------------*/
|
||||
@media (max-width: 350px) {
|
||||
.dropdown-extended .dropdown-contents {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
.action-bar .search-box .inputbox {
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.section-viewtopic .search-box .inputbox {
|
||||
width: 57px;
|
||||
}
|
||||
|
||||
.action-bar .search-box .inputbox ::-moz-placeholder {
|
||||
content: "Search...";
|
||||
}
|
||||
|
||||
.action-bar .search-box .inputbox :-ms-input-placeholder {
|
||||
content: "Search...";
|
||||
}
|
||||
|
||||
.action-bar .search-box .inputbox ::-webkit-input-placeholder {
|
||||
content: "Search...";
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
dd label {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
select, .inputbox {
|
||||
max-width: 260px;
|
||||
}
|
||||
|
||||
.captcha-panel dd.captcha {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.captcha-panel dd.captcha-image img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
dl.details dt, dl.details dd {
|
||||
width: auto;
|
||||
float: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
dl.details dd {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
p.responsive-center {
|
||||
float: none;
|
||||
text-align: center;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.action-bar > div {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.action-bar > .pagination {
|
||||
float: none;
|
||||
clear: both;
|
||||
padding-bottom: 1px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.action-bar > .pagination li.page-jump {
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
p.jumpbox-return {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.display-options > label:nth-child(1) {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.attach-controls {
|
||||
margin-top: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.quick-links .dropdown-trigger span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
ul.topiclist.forums dt {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
ul.topiclist.forums dt .list-inner {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
ul.topiclist.forums dd.lastpost {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.responsive-hide { display: none !important; }
|
||||
.responsive-show { display: block !important; }
|
||||
.responsive-show-inline { display: inline !important; }
|
||||
.responsive-show-inline-block { display: inline-block !important; }
|
||||
|
||||
/* Content wrappers
|
||||
----------------------------------------*/
|
||||
html {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#wrap {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.page-width, .navbar .inner.static > .static-inner {
|
||||
min-width: 290px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.navbar .inner.static > .static-inner,
|
||||
#wrap .navbar .inner.static > .static-inner {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// Common block wrappers
|
||||
// ----------------------------------------
|
||||
.forabg, .forumbg, .post, .panel {
|
||||
border-radius: 0;
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
}
|
||||
.headerbar, .navbar {
|
||||
border-radius: 0;
|
||||
}
|
||||
#wrap .headerbar, #wrap .navbar {
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
}
|
||||
|
||||
.cp-main .forabg, .cp-main .forumdb, .cp-main .post, .cp-main .panel {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
@if $tabbed-navigation == false {
|
||||
.navbar.tabbed .nav-tabs, .navbar.tabbed .nav-tabs .tab {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Logo block
|
||||
// ----------------------------------------
|
||||
.site-description {
|
||||
float: none;
|
||||
width: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.logo {
|
||||
@if $responsive-hide-logo == true {
|
||||
display: none;
|
||||
}
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
padding: 10px;
|
||||
img {
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.site-description h1, .site-description p, .site-description p.sitename {
|
||||
@if $responsive-hide-logo == true {
|
||||
display: block;
|
||||
}
|
||||
text-align: inherit;
|
||||
float: none;
|
||||
margin: 5px;
|
||||
line-height: 1.2em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.site-description p, .headerbar .search-header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Navigation
|
||||
// ----------------------------------------
|
||||
|
||||
// Search
|
||||
// ----------------------------------------
|
||||
.responsive-search { display: block !important; }
|
||||
|
||||
// .topiclist lists
|
||||
// ----------------------------------------
|
||||
li.header dt {
|
||||
}
|
||||
|
||||
ul.topiclist li.header dt, ul.topiclist li.header dt .list-inner {
|
||||
margin-right: 0 !important;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
ul.topiclist li.header dd {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
ul.topiclist dt, ul.topiclist dt .list-inner,
|
||||
ul.topiclist.missing-column dt, ul.topiclist.missing-column dt .list-inner,
|
||||
ul.topiclist.two-long-columns dt, ul.topiclist.two-long-columns dt .list-inner,
|
||||
ul.topiclist.two-columns dt, ul.topiclist.two-columns dt .list-inner {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
ul.topiclist dt .list-inner.with-mark {
|
||||
padding-right: 34px;
|
||||
}
|
||||
|
||||
ul.topiclist dt .list-inner {
|
||||
min-height: 28px;
|
||||
}
|
||||
|
||||
ul.topiclist li.header dt .list-inner {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
ul.topiclist dd {
|
||||
display: none;
|
||||
}
|
||||
ul.topiclist dd.mark {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Forums and topics lists
|
||||
----------------------------------------*/
|
||||
ul.topiclist.forums dt {
|
||||
margin-right: -250px;
|
||||
}
|
||||
|
||||
ul.topiclist dd.mark {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 0;
|
||||
margin: 0;
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn {
|
||||
position: relative;
|
||||
left: 0;
|
||||
width: auto;
|
||||
display: inline;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
li.row .responsive-show strong {
|
||||
font-weight: bold;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
ul.topiclist li.row dt a.subforum {
|
||||
vertical-align: bottom;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 100px;
|
||||
}
|
||||
|
||||
/* Pagination
|
||||
----------------------------------------*/
|
||||
.pagination > ul {
|
||||
margin: 5px 0 0;
|
||||
}
|
||||
|
||||
.row .pagination .ellipsis + li {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Responsive tables
|
||||
----------------------------------------*/
|
||||
table.responsive, table.responsive tbody, table.responsive tr, table.responsive td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
table.responsive thead, table.responsive th {
|
||||
display: none;
|
||||
}
|
||||
|
||||
table.responsive.show-header thead, table.responsive.show-header th:first-child {
|
||||
display: block;
|
||||
width: auto !important;
|
||||
text-align: left !important;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
table.responsive.show-header th:first-child span.rank-img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
table.responsive tr {
|
||||
margin: 2px 0;
|
||||
}
|
||||
|
||||
table.responsive td {
|
||||
width: auto !important;
|
||||
text-align: left !important;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
table.responsive td.empty {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
table.responsive td > dfn {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
table.responsive td > dfn:after {
|
||||
content: ':';
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
table.responsive span.rank-img {
|
||||
float: none;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
table.responsive.memberlist td:first-child input[type="checkbox"] {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
----------------------------------------*/
|
||||
fieldset dt, fieldset.fields1 dt, fieldset.fields2 dt {
|
||||
width: auto;
|
||||
float: none;
|
||||
}
|
||||
|
||||
fieldset dd, fieldset.fields1 dd, fieldset.fields2 dd {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
textarea, dd textarea, .message-box textarea {
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
dl.pmlist dt {
|
||||
width: auto !important;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
dl.pmlist dd {
|
||||
display: inline-block;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
dl.pmlist dd:first-of-type {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.smiley-box, .message-box {
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.smiley-box {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.bbcode-status {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.colour-palette, .colour-palette tbody, .colour-palette tr {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.colour-palette td {
|
||||
display: inline-block;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.horizontal-palette td:nth-child(2n), .vertical-palette tr:nth-child(2n) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
fieldset.quick-login label {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
fieldset.quick-login label > span {
|
||||
display: inline-block;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
fieldset.quick-login input.inputbox {
|
||||
width: 85%;
|
||||
max-width: 300px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
fieldset.quick-login label[for="autologin"] {
|
||||
display: inline-block;
|
||||
text-align: right;
|
||||
min-width: 50%;
|
||||
}
|
||||
|
||||
/* User profile
|
||||
----------------------------------------*/
|
||||
.column1, .column2, .left-box.profile-details {
|
||||
float: none;
|
||||
width: auto;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* Polls
|
||||
----------------------------------------*/
|
||||
fieldset.polls dt {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
fieldset.polls dd.resultbar {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
fieldset.polls dd.poll_option_percent {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
fieldset.polls dd.resultbar, fieldset.polls dd.poll_option_percent {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
/* Post
|
||||
----------------------------------------*/
|
||||
.postbody {
|
||||
position: inherit;
|
||||
}
|
||||
|
||||
.postbody {
|
||||
.postprofile + & {
|
||||
float: none;
|
||||
position: inherit;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.postprofile, .postbody, .search .postbody {
|
||||
display: block;
|
||||
width: auto;
|
||||
float: none;
|
||||
padding: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.post .postprofile {
|
||||
width: auto;
|
||||
border-width: 0 0 1px 0;
|
||||
padding-bottom: 5px;
|
||||
margin: 0;
|
||||
margin-bottom: 5px;
|
||||
min-height: 40px;
|
||||
overflow: hidden;
|
||||
z-index: auto !important;
|
||||
}
|
||||
|
||||
.postprofile dd {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.postprofile dt, .postprofile dd.profile-rank, .search .postprofile dd {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.postprofile .has-avatar .avatar-container,
|
||||
.postprofile .no-avatar .avatar-container {
|
||||
margin: 0;
|
||||
overflow: inherit;
|
||||
float: left;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.postprofile .avatar-container:after {
|
||||
clear: none;
|
||||
}
|
||||
|
||||
.postprofile .avatar, .postprofile .no-avatar .avatar-container {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.postprofile .avatar img {
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
max-height: 32px;
|
||||
}
|
||||
|
||||
.no-avatar .avatar-container {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.has-profile .postbody h3 {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.has-profile .post-buttons {
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
.rtl & {
|
||||
right: auto;
|
||||
left: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.online-ribbon {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
top: 0;
|
||||
#{$profile-side}: 0;
|
||||
|
||||
.rtl & {
|
||||
#{$profile-side}: auto;
|
||||
#{$post-side}: 0;
|
||||
}
|
||||
|
||||
span {
|
||||
width: 50px;
|
||||
font-size: 6px;
|
||||
line-height: 10px;
|
||||
height: 10px;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
white-space: nowrap;
|
||||
#{$profile-side}: -12px;
|
||||
|
||||
.rtl & {
|
||||
#{$profile-side}: auto;
|
||||
#{$post-side}: -12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Misc stuff
|
||||
// ----------------------------------------
|
||||
h2 {
|
||||
margin-top: .5em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: .5em;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
p.rightside {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
fieldset.display-options label {
|
||||
display: inline-block;
|
||||
clear: both;
|
||||
margin-bottom: 5px;
|
||||
letter-spacing: -.3px;
|
||||
}
|
||||
|
||||
dl.mini dd.pm-legend {
|
||||
float: left;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.topicreview {
|
||||
margin: 0 -5px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
fieldset.display-actions {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.phpbb_alert {
|
||||
width: auto;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
.attach-comment dfn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 700px) {
|
||||
.postbody { width: 70%; }
|
||||
}
|
||||
|
||||
@media (min-width: 850px) {
|
||||
.postbody { width: 76%; }
|
||||
}
|
||||
|
||||
@media (min-width: 701px) and (max-width: 950px) {
|
||||
|
||||
ul.topiclist dt {
|
||||
margin-right: -410px;
|
||||
}
|
||||
|
||||
ul.topiclist dt .list-inner {
|
||||
margin-right: 410px;
|
||||
}
|
||||
|
||||
ul.topiclist dd.lastpost {
|
||||
float: right;
|
||||
}
|
||||
|
||||
dd.posts, dd.topics, dd.views {
|
||||
width: 80px;
|
||||
}
|
||||
}
|
66
simplicity/theme/common/_utilities.scss
Normal file
@ -0,0 +1,66 @@
|
||||
/* --------------------------------------------------------------
|
||||
$Utilities
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.sr-only-focusable:active,
|
||||
.sr-only-focusable:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
||||
|
||||
.clearfix:before,
|
||||
.clearfix:after,
|
||||
.container:before,
|
||||
.container:after,
|
||||
.container-fluid:before,
|
||||
.container-fluid:after,
|
||||
.row:before,
|
||||
.row:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
.clearfix:after,
|
||||
.container:after,
|
||||
.container-fluid:after,
|
||||
.row:after { clear: both }
|
||||
|
||||
.center-block {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.pull-right { float: right !important }
|
||||
.pull-left { float: left !important }
|
||||
.hide { display: none !important }
|
||||
.show { display: block !important }
|
||||
.invisible { visibility: hidden }
|
||||
|
||||
.text-hide {
|
||||
font: 0/0 a;
|
||||
color: transparent;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none ;
|
||||
}
|
||||
|
||||
.affix { position: fixed }
|
BIN
simplicity/theme/images/announce_read.png
Normal file
After Width: | Height: | Size: 970 B |
BIN
simplicity/theme/images/announce_read_hd.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
simplicity/theme/images/announce_read_locked.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
simplicity/theme/images/announce_read_locked_hd.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
simplicity/theme/images/announce_unread.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
simplicity/theme/images/announce_unread_hd.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
simplicity/theme/images/announce_unread_locked.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
simplicity/theme/images/announce_unread_locked_hd.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
simplicity/theme/images/forum_link.png
Normal file
After Width: | Height: | Size: 441 B |
BIN
simplicity/theme/images/forum_link_hd.png
Normal file
After Width: | Height: | Size: 836 B |
BIN
simplicity/theme/images/forum_page.png
Normal file
After Width: | Height: | Size: 767 B |
BIN
simplicity/theme/images/forum_page_hd.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
simplicity/theme/images/forum_read.png
Normal file
After Width: | Height: | Size: 970 B |
BIN
simplicity/theme/images/forum_read_hd.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
simplicity/theme/images/forum_read_locked.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
simplicity/theme/images/forum_read_locked_hd.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
simplicity/theme/images/forum_read_subforum.png
Normal file
After Width: | Height: | Size: 970 B |
BIN
simplicity/theme/images/forum_read_subforum_hd.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
simplicity/theme/images/forum_unread.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
simplicity/theme/images/forum_unread_hd.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
simplicity/theme/images/forum_unread_locked.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
simplicity/theme/images/forum_unread_locked_hd.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
simplicity/theme/images/forum_unread_subforum.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
simplicity/theme/images/forum_unread_subforum_hd.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
simplicity/theme/images/icon_post_target.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
simplicity/theme/images/icon_post_target_hd.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
simplicity/theme/images/icon_post_target_unread.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
simplicity/theme/images/icon_post_target_unread_hd.png
Normal file
After Width: | Height: | Size: 281 B |
BIN
simplicity/theme/images/icon_textbox_search.gif
Normal file
After Width: | Height: | Size: 335 B |
0
simplicity/theme/images/index.htm
Normal file
BIN
simplicity/theme/images/loading.gif
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
simplicity/theme/images/logo.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
simplicity/theme/images/logo_hd.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
simplicity/theme/images/no_avatar.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
simplicity/theme/images/no_avatar.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
simplicity/theme/images/no_avatar_female.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
simplicity/theme/images/no_avatar_female_hd.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
simplicity/theme/images/no_avatar_hd.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
simplicity/theme/images/no_avatar_male.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
simplicity/theme/images/no_avatar_male_hd.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
simplicity/theme/images/pattern.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
simplicity/theme/images/plupload/done.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
simplicity/theme/images/plupload/error.gif
Normal file
After Width: | Height: | Size: 994 B |
BIN
simplicity/theme/images/plupload/throbber.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
simplicity/theme/images/subforum_read.png
Normal file
After Width: | Height: | Size: 167 B |
BIN
simplicity/theme/images/subforum_read_hd.png
Normal file
After Width: | Height: | Size: 276 B |
BIN
simplicity/theme/images/subforum_unread.png
Normal file
After Width: | Height: | Size: 166 B |
BIN
simplicity/theme/images/subforum_unread_hd.png
Normal file
After Width: | Height: | Size: 281 B |
BIN
simplicity/theme/images/topic_moved.png
Normal file
After Width: | Height: | Size: 441 B |
BIN
simplicity/theme/images/topic_moved_hd.png
Normal file
After Width: | Height: | Size: 836 B |
BIN
simplicity/theme/images/topic_read.png
Normal file
After Width: | Height: | Size: 970 B |
BIN
simplicity/theme/images/topic_read_hd.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
simplicity/theme/images/topic_read_hot.png
Normal file
After Width: | Height: | Size: 970 B |