Version 2.1.0

This commit is contained in:
dmzx
2018-08-02 11:34:39 +02:00
parent cd0f139598
commit 006a4e404e
140 changed files with 2695 additions and 2699 deletions

View File

@@ -1 +0,0 @@
{% DEFINE MCHAT_USE_WHITE_MESSAGE_ICONS = FALSE %}

View File

@@ -2,6 +2,6 @@
</p>
</div>
<div class="stat-block online-list mchat-stats-index">
<h3><a href="{% if MCHAT_CUSTOM_PAGE and not MCHAT_INDEX %}{{ U_MCHAT }}{% endif %}#mChat">{{ lang('MCHAT_WHO_IS_CHATTING') }}</a></h3>
<h3><a href="{% if U_MCHAT_CUSTOM_PAGE and not MCHAT_INDEX %}{{ U_MCHAT_CUSTOM_PAGE }}{% endif %}#mChat">{{ lang('MCHAT_WHO_IS_CHATTING') }}</a></h3>
<p>{{ MCHAT_USERS_TOTAL }} {{ MCHAT_ONLINE_EXPLAIN }}<br>{{ MCHAT_USERS_LIST }}
{% endif %}

View File

@@ -1,3 +1,3 @@
{% if MCHAT_CUSTOM_PAGE and MCHAT_NAVBAR_LINK %}
{% if U_MCHAT_CUSTOM_PAGE or MCHAT_PAGE %}
{% INCLUDE '@dmzx_mchat/mchat_navlink.html' %}
{% endif %}

View File

@@ -1,7 +1,14 @@
{% if (MCHAT_CUSTOM_HEIGHT or MCHAT_INDEX_HEIGHT) and MCHAT_PAGE != 'archive' %}
<style>
#mchat-messages {
height: {{ MCHAT_PAGE == 'custom' ? MCHAT_CUSTOM_HEIGHT : MCHAT_INDEX_HEIGHT }}px;
}
</style>
{% if MCHAT_PAGE and MCHAT_PAGE != 'archive' %}
<style>
{% if MCHAT_PAGE == 'custom' and MCHAT_CUSTOM_HEIGHT or MCHAT_INDEX_HEIGHT %}
#mchat-messages {
height: {{ MCHAT_PAGE == 'custom' ? MCHAT_CUSTOM_HEIGHT : MCHAT_INDEX_HEIGHT }}px;
}
{% endif %}
{% if MCHAT_MAX_INPUT_HEIGHT %}
#mchat-input {
max-height: {{ MCHAT_MAX_INPUT_HEIGHT }}px;
}
{% endif %}
</style>
{% endif %}