Use twig syntax in modules html files

This commit is contained in:
Marc Alexander
2023-02-13 20:34:16 +01:00
parent 46a9e89db2
commit 807e06f8a6
37 changed files with 961 additions and 958 deletions

View File

@@ -1,61 +1,61 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<!-- IF $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF --> {% if definition.S_POSTBODY_TOP %}<div class="postbody portal-module-postbody">{% endif %}
<!-- BEGIN announcements --> {% for announcements in loops.announcements %}
<!-- IF announcements.MODULE_ID eq $MODULE_ID --> {% if announcements.MODULE_ID eq definition.MODULE_ID %}
<!-- BEGIN center_row --> {% for center_row in announcements.center_row %}
<!-- IF announcements.center_row.S_NO_TOPICS --> {% if center_row.S_NO_TOPICS %}
<div class="post bg2"> <div class="post b3p-post bg2">
<div class="inner"> <div class="inner">
<span><strong>{L_NO_ANNOUNCEMENTS}</strong></span> <span><strong>{{ lang('NO_ANNOUNCEMENTS') }}</strong></span>
<!-- ELSE --> {% else %}
<div class="post <!-- IF announcements.center_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --> portal-no-margin"> <div class="post {% if center_row.S_ROW_COUNT is odd %}bg1{% else %}bg2{% endif %} portal-no-margin">
<div class="inner"> <div class="inner">
<h4 class="first"> <h4 class="first">
<a <!-- IF announcements.center_row.S_FIRST_ROW -->id="a_{$MODULE_ID}" <!-- ENDIF -->name="a_{$MODULE_ID}_{announcements.center_row.A_ID}"></a><!-- IF announcements.center_row.S_UNREAD_INFO --><a class="unread" href="{announcements.center_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}"><!-- ENDIF --> <a {% if center_row.S_FIRST_ROW %}id="a_{{ definition.MODULE_ID }}" {% endif %}name="a_{{ definition.MODULE_ID }}_{{ center_row.A_ID }}"></a>{% if center_row.S_UNREAD_INFO %}<a class="unread" href="{{ center_row.U_VIEW_UNREAD }}" title="{{ center_row.MINI_POST }}">{% else %}<a href="{{ center_row.U_LAST_COMMENTS }}" title="{{ center_row.MINI_POST }}">{% endif %}
<i class="icon fa-file fa-fw <!-- IF announcements.center_row.S_UNREAD_INFO -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span> <i class="icon fa-file fa-fw {% if center_row.S_UNREAD_INFO %}icon-red{% else %}icon-lightgray{% endif %} icon-md" aria-hidden="true"></i><span class="sr-only">{{ center_row.MINI_POST }}</span>
</a> </a>
<a <!-- IF announcements.center_row.S_FIRST_ROW -->id="a_{$MODULE_ID}" <!-- ENDIF -->name="a_{$MODULE_ID}_{announcements.center_row.A_ID}"></a><!-- IF announcements.center_row.S_UNREAD_INFO --><a class="unread" href="{announcements.center_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- IF announcements.center_row.S_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i> <!-- ENDIF --><!-- IF announcements.center_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{announcements.center_row.POST_ICON_IMG}" width="{announcements.center_row.POST_ICON_IMG_WIDTH}" height="{announcements.center_row.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{announcements.center_row.U_VIEW_COMMENTS}"><strong>{announcements.center_row.TITLE}</strong></a> <a href="{{ center_row.U_VIEW_COMMENTS }}"><strong>{{ center_row.TITLE }}</strong></a>
</h4> </h4>
<!-- IF announcements.center_row.PAGINATION --><strong class="pagination"><span>{announcements.center_row.PAGINATION}</span></strong><!-- ENDIF --> {% if center_row.PAGINATION %}<strong class="pagination"><span>{{ center_row.PAGINATION }}</span></strong>{% endif %}
<ul class="linklist"> <ul class="linklist">
<li>{L_POSTED} {L_POST_BY_AUTHOR}{L_COLON} {announcements.center_row.POSTER_FULL} &raquo; <a href="{announcements.center_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {announcements.center_row.TIME}</a></li> <li>{{ lang('POSTED') }} {{ lang('POST_BY_AUTHOR') }}{{ lang('COLON') }} {{ center_row.POSTER_FULL }} &raquo; <a href="{{ center_row.U_LAST_COMMENTS }}" title="{{ lang('GOTO_LAST_POST') }}"> {{ center_row.TIME }}</a></li>
<li class="rightside"><!-- IF announcements.center_row.FORUM_NAME -->{L_FORUM}{L_COLON} <strong><a href="{announcements.center_row.U_VIEWFORUM}">{announcements.center_row.FORUM_NAME}</a></strong><!-- ELSE -->{L_GLOBAL_ANNOUNCEMENT}<!-- ENDIF --></li> <li class="rightside">{% if center_row.FORUM_NAME %}{{ lang('FORUM') }}{{ lang('COLON') }} <strong><a href="{{ center_row.U_VIEWFORUM }}">{{ center_row.FORUM_NAME }}</a></strong>{% else %}{{ lang('GLOBAL_ANNOUNCEMENT') }}{% endif %}</li>
</ul> </ul>
<!-- IF not $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF --> {% if not definition.S_POSTBODY_TOP %}<div class="postbody portal-module-postbody">{% endif %}
<div class="content"> <div class="content">
<br />{announcements.center_row.TEXT} <br />{{ center_row.TEXT }}
</div> </div>
<!-- IF announcements.center_row.S_HAS_ATTACHMENTS --> {% if center_row.S_HAS_ATTACHMENTS %}
<dl class="attachbox"> <dl class="attachbox">
<dt>{L_ATTACHMENTS}</dt> <dt>{{ lang('ATTACHMENTS') }}</dt>
<!-- BEGIN attachment --> {% for attachment in center_row.attachment %}
<dd>{announcements.center_row.attachment.DISPLAY_ATTACHMENT}</dd> <dd>{{ attachment.DISPLAY_ATTACHMENT }}</dd>
<!-- END attachment --> {% endfor %}
</dl> </dl>
<!-- ENDIF --> {% endif %}
<br class="portal-clear" /> <br class="portal-clear" />
<span class="portal-title-span">{L_TOPIC_VIEWS}{L_COLON} {announcements.center_row.TOPIC_VIEWS} &nbsp;&bull;&nbsp; <a href="{announcements.center_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}{L_COLON} {announcements.center_row.REPLIES}</a> &nbsp;&bull;&nbsp; <a href="{announcements.center_row.U_POST_COMMENT}">{L_POST_REPLY}</a></span> <span class="portal-title-span">{{ lang('TOPIC_VIEWS') }}{{ lang('COLON') }} {{ center_row.TOPIC_VIEWS }} &nbsp;&bull;&nbsp; <a href="{{ center_row.U_VIEW_COMMENTS }}" title="{{ lang('VIEW_COMMENTS') }}">{{ lang('COMMENTS') }}{{ lang('COLON') }} {{ center_row.REPLIES }}</a> &nbsp;&bull;&nbsp; <a href="{{ center_row.U_POST_COMMENT }}">{{ lang('POST_REPLY') }}</a></span>
<span class="portal-read-all-link">{announcements.center_row.OPEN}<a href="{announcements.center_row.U_READ_FULL}">{announcements.center_row.L_READ_FULL}</a>{announcements.center_row.CLOSE}</span> <span class="portal-read-all-link">{{ center_row.OPEN }}<a href="{{ center_row.U_READ_FULL }}">{{ center_row.L_READ_FULL }}</a>{{ center_row.CLOSE }}</span>
<div class="back2top"> <div class="back2top">
<a href="#top" class="top" title="{L_BACK_TO_TOP}"> <a href="#top" class="top" title="{{ lang('BACK_TO_TOP') }}">
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i>
<span class="sr-only">{L_BACK_TO_TOP}</span> <span class="sr-only">{{ lang('BACK_TO_TOP') }}</span>
</a> </a>
</div> </div>
<!-- IF announcements.center_row.S_NOT_LAST --><br class="portal-clear" /><!-- ENDIF --> {% if center_row.S_NOT_LAST %}<br class="portal-clear" />{% endif %}
<!-- IF announcements.center_row.S_LAST_ROW and (announcements.AP_PAGINATION or announcements.TOTAL_ANNOUNCEMENTS) --> {% if center_row.S_LAST_ROW and (announcements.AP_PAGINATION or announcements.TOTAL_ANNOUNCEMENTS) %}
<hr class="dashed" /> <hr class="dashed" />
<div class="pagination"> <div class="pagination">
{announcements.TOTAL_ANNOUNCEMENTS} {{ announcements.TOTAL_ANNOUNCEMENTS }}
<!-- IF announcements.AP_PAGE_NUMBER --><!-- IF announcements.AP_PAGINATION --> &bull; {announcements.AP_PAGE_NUMBER} &bull; {announcements.AP_PAGINATION}<!-- ELSE --> &bull; {announcements.AP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> {% if announcements.AP_PAGE_NUMBER %}{% if announcements.AP_PAGINATION %} &bull; {{ announcements.AP_PAGE_NUMBER }} &bull; {{ announcements.AP_PAGINATION }}{% else %} &bull; {{ announcements.AP_PAGE_NUMBER }}{% endif %}{% endif %}
</div> </div>
<!-- ENDIF --> {% endif %}
<!-- IF not $S_POSTBODY_TOP --></div><!-- ENDIF --> {% if not definition.S_POSTBODY_TOP %}</div>{% endif %}
<!-- ENDIF --> {% endif %}
</div> </div>
</div> </div>
<!-- END center_row --> {% endfor %}
<!-- ENDIF --> {% endif %}
<!-- END announcements --> {% endfor %}
<!-- IF $S_POSTBODY_TOP --></div><!-- ENDIF --> {% if definition.S_POSTBODY_TOP %}</div>{% endif %}
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}

View File

@@ -1,94 +1,94 @@
<!-- BEGIN announcements --> {% for announcements in loops.announcements %}
<!-- IF announcements.MODULE_ID eq $MODULE_ID --> {% if announcements.MODULE_ID eq definition.MODULE_ID %}
<!-- BEGIN center_row --> {% for center_row in announcements.center_row %}
<!-- IF announcements.center_row.S_NO_TOPICS --> {% if center_row.S_NO_TOPICS %}
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<div class="post bg2 portal-no-margin"> <div class="post bg2 portal-no-margin">
<div class="inner"> <div class="inner">
<span><strong>{L_NO_ANNOUNCEMENTS}</strong></span> <span><strong>{{ lang('NO_ANNOUNCEMENTS') }}</strong></span>
</div> </div>
</div> </div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}
<!-- ELSE --> {% else %}
<!-- IF announcements.center_row.S_FIRST_ROW --> {% if center_row.S_FIRST_ROW %}
{$CC_BLOCK_H_L} {{ definition.CC_BLOCK_H_L }}
<dt id="a_{$MODULE_ID}">{$TITLE}</dt> <dt id="a_{{ definition.MODULE_ID }}">{{ definition.TITLE }}</dt>
<!-- IF announcements.S_DISPLAY_ANNOUNCEMENTS_RVS --> {% if announcements.S_DISPLAY_ANNOUNCEMENTS_RVS %}
<dd class="posts responsive-portal-announcements">{L_REPLIES}</dd> <dd class="posts responsive-portal-announcements">{{ lang('REPLIES') }}</dd>
<dd class="views responsive-portal-announcements">{L_VIEWS}</dd> <dd class="views responsive-portal-announcements">{{ lang('VIEWS') }}</dd>
<!-- ENDIF --> {% endif %}
<dd class="lastpost responsive-portal-announcements"><span>{L_LAST_POST}</span></dd> <dd class="lastpost responsive-portal-announcements"><span>{{ lang('LAST_POST') }}</span></dd>
{$CC_BLOCK_H_R} {{ definition.CC_BLOCK_H_R }}
<ul class="topiclist topics responsive-portal-announcements"> <ul class="topiclist topics responsive-portal-announcements">
<!-- ENDIF --> {% endif %}
<li class="row<!-- IF announcements.center_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> <li class="row{% if center_row.S_ROW_COUNT is even %} bg1{% else %} bg2{% endif %}">
<dl class="row-item {announcements.center_row.TOPIC_IMG_STYLE}"> <dl class="row-item {{ center_row.TOPIC_IMG_STYLE }}">
<dt style="<!-- IF announcements.center_row.TOPIC_ICON_IMG and S_TOPIC_ICONS -->background-image: url({T_ICONS_PATH}{announcements.center_row.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{announcements.center_row.TOPIC_FOLDER_IMG_ALT}"> <dt title="{{ center_row.TOPIC_FOLDER_IMG_ALT }}">
<!-- IF announcements.center_row.S_UNREAD_INFO and not S_IS_BOT --><a href="{announcements.center_row.U_VIEW_UNREAD}" class="row-item-link"></a><!-- ENDIF --> {% if center_row.S_UNREAD_INFO and not S_IS_BOT %}<a href="{{ center_row.U_VIEW_UNREAD }}" class="row-item-link"></a>{% endif %}
<div class="list-inner"> <div class="list-inner">
<a href="{announcements.center_row.U_VIEW_COMMENTS}" title="{announcements.center_row.TITLE}" class="topictitle">{announcements.center_row.TITLE}</a> <a href="{{ center_row.U_VIEW_COMMENTS }}" title="{{ center_row.TITLE }}" class="topictitle">{{ center_row.TITLE }}</a>
<!-- IF announcements.center_row.pagination --> {% if center_row.pagination %}
<div class="pagination"> <div class="pagination">
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span> <span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
<ul> <ul>
<!-- BEGIN pagination --> {% for pagination in center_row.pagination %}
<!-- IF announcements.center_row.pagination.S_IS_PREV --> {% if pagination.S_IS_PREV %}
<!-- ELSEIF announcements.center_row.pagination.S_IS_CURRENT --><li><a class="button" href="{announcements.center_row.pagination.PAGE_URL}">{announcements.center_row.pagination.PAGE_NUMBER}</a></li> {% elseif pagination.S_IS_CURRENT %}<li><a class="button" href="{{ pagination.PAGE_URL }}">{{ pagination.PAGE_NUMBER }}</a></li>
<!-- ELSEIF announcements.center_row.pagination.S_IS_ELLIPSIS --><li class="ellipsis"><span>{L_ELLIPSIS}</span></li> {% elseif pagination.S_IS_ELLIPSIS %}<li class="ellipsis"><span>{{ lang('ELLIPSIS') }}</span></li>
<!-- ELSEIF announcements.center_row.pagination.S_IS_NEXT --> {% elseif pagination.S_IS_NEXT %}
<!-- ELSE --><li><a class="button" href="{announcements.center_row.pagination.PAGE_URL}">{announcements.center_row.pagination.PAGE_NUMBER}</a></li> {% else %}<li><a class="button" href="{{ pagination.PAGE_URL }}">{{ pagination.PAGE_NUMBER }}</a></li>
<!-- ENDIF --> {% endif %}
<!-- END pagination --> {% endfor %}
</ul> </ul>
</div> </div>
<!-- ENDIF --> {% endif %}
<!-- IF not S_IS_BOT --> {% if not S_IS_BOT %}
<div class="responsive-show" style="display: none;"> <div class="responsive-show" style="display: none;">
{L_LAST_POST} {L_POST_BY_AUTHOR} {announcements.center_row.USERNAME_FULL_LAST} &raquo; <a href="{announcements.center_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {announcements.center_row.LAST_POST_TIME}</a> {{ lang('LAST_POST') }} {{ lang('POST_BY_AUTHOR') }} {{ center_row.USERNAME_FULL_LAST }} &raquo; <a href="{{ center_row.U_LAST_COMMENTS }}" title="{{ lang('GOTO_LAST_POST') }}"> {{ center_row.LAST_POST_TIME }}</a>
</div> </div>
<!-- ELSE --> {% else %}
<br /> <br />
<!-- ENDIF --> {% endif %}
<div class="responsive-hide"> <div class="responsive-hide">
<!-- IF announcements.center_row.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF --> {% if center_row.ATTACH_ICON_IMG %}<i class="icon fa-paperclip fa-fw" aria-hidden="true"></i>{% endif %}
<!-- IF announcements.center_row.S_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i><!-- ENDIF --> {% if center_row.S_POLL %}<i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i>{% endif %}
{L_POST_BY_AUTHOR} {announcements.center_row.POSTER_FULL} &raquo; {announcements.center_row.TIME} {{ lang('POST_BY_AUTHOR') }} {{ center_row.POSTER_FULL }} &raquo; {{ center_row.TIME }}
</div> </div>
<!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> &bull; <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF --> {% if U_VIEW_UNREAD_POST and not S_IS_BOT %} &bull; <a href="{{ U_VIEW_UNREAD_POST }}">{{ lang('VIEW_UNREAD_POST') }}</a> &bull; {% endif %}
<!-- IF announcements.center_row.FORUM_NAME --> {% if center_row.FORUM_NAME %}
{L_FORUM}{L_COLON} <a href="{announcements.center_row.U_VIEWFORUM}" class="portal-forumtitle">{announcements.center_row.FORUM_NAME}</a> {{ lang('FORUM') }}{{ lang('COLON') }} <a href="{{ center_row.U_VIEWFORUM }}" class="portal-forumtitle">{{ center_row.FORUM_NAME }}</a>
<!-- ELSE --> {% else %}
<br />{L_GLOBAL_ANNOUNCEMENT} <br />{{ lang('GLOBAL_ANNOUNCEMENT') }}
<!-- ENDIF --> {% endif %}
<!-- IF not announcements.S_DISPLAY_ANNOUNCEMENTS_RVS --><!-- IF announcements.center_row.FORUM_NAME -->&bull; <!-- ENDIF -->{L_REPLIES}{L_COLON} <strong>{announcements.center_row.REPLIES}</strong> &bull; {L_VIEWS}{L_COLON} <strong>{announcements.center_row.TOPIC_VIEWS}</strong><!-- ENDIF --> {% if not announcements.S_DISPLAY_ANNOUNCEMENTS_RVS %}{% if center_row.FORUM_NAME %}&bull; {% endif %}{{ lang('REPLIES') }}{{ lang('COLON') }} <strong>{{ center_row.REPLIES }}</strong> &bull; {{ lang('VIEWS') }}{{ lang('COLON') }} <strong>{{ center_row.TOPIC_VIEWS }}</strong>{% endif %}
</div> </div>
</dt> </dt>
<!-- IF announcements.S_DISPLAY_ANNOUNCEMENTS_RVS --> {% if announcements.S_DISPLAY_ANNOUNCEMENTS_RVS %}
<dd class="posts">{announcements.center_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd> <dd class="posts">{{ center_row.REPLIES }} <dfn>{{ lang('REPLIES') }}</dfn></dd>
<dd class="views">{announcements.center_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd> <dd class="views">{{ center_row.TOPIC_VIEWS }} <dfn>{{ lang('VIEWS') }}</dfn></dd>
<!-- ENDIF --> {% endif %}
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {announcements.center_row.USERNAME_FULL_LAST} <!-- IF not S_IS_BOT --><!-- IF announcements.center_row.S_UNREAD_INFO --><a href="{announcements.center_row.U_VIEW_UNREAD}" title="{L_VIEW_NEWEST_POST}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}" 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 /> <dd class="lastpost"><span><dfn>{{ lang('LAST_POST') }}</dfn>{{ lang('POST_BY_AUTHOR') }} {{ center_row.USERNAME_FULL_LAST }} {% if not S_IS_BOT %}{% if center_row.S_UNREAD_INFO %}<a href="{{ center_row.U_VIEW_UNREAD }}" title="{{ lang('VIEW_NEWEST_POST') }}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{{ lang('VIEW_LATEST_POST') }}</span></a>{% else %}<a href="{{ center_row.U_LAST_COMMENTS }}" title="{{ lang('VIEW_LATEST_POST') }}"><i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{{ lang('VIEW_LATEST_POST') }}</span></a>{% endif %}<br />
{announcements.center_row.LAST_POST_TIME}</span><!-- ENDIF --> {{ center_row.LAST_POST_TIME }}</span>{% endif %}
</dd> </dd>
</dl> </dl>
</li> </li>
<!-- IF announcements.center_row.S_LAST_ROW --> {% if center_row.S_LAST_ROW %}
<!-- IF announcements.AP_PAGINATION or announcements.TOTAL_ANNOUNCEMENTS --> {% if announcements.AP_PAGINATION or announcements.TOTAL_ANNOUNCEMENTS %}
<li class="row<!-- IF announcements.center_row.S_ROW_COUNT is even --> bg2<!-- ELSE --> bg1<!-- ENDIF --> portal-news-pagination"> <li class="row{% if center_row.S_ROW_COUNT is even %} bg2{% else %} bg1{% endif %} portal-news-pagination">
<div class="topic-actions"> <div class="topic-actions">
<div class="pagination"> <div class="pagination">
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span> <span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
{announcements.TOTAL_ANNOUNCEMENTS} {{ announcements.TOTAL_ANNOUNCEMENTS }}
<!-- IF announcements.AP_PAGE_NUMBER --><!-- IF announcements.AP_PAGINATION --> &bull; {announcements.AP_PAGE_NUMBER} &bull; {announcements.AP_PAGINATION}<!-- ELSE --> &bull; {announcements.AP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> &nbsp; {% if announcements.AP_PAGE_NUMBER %}{% if announcements.AP_PAGINATION %} &bull; {{ announcements.AP_PAGE_NUMBER }} &bull; {{ announcements.AP_PAGINATION }}{% else %} &bull; {{ announcements.AP_PAGE_NUMBER }}{% endif %}{% endif %} &nbsp;
</div> </div>
</div> </div>
</li> </li>
<!-- ENDIF --> {% endif %}
</ul> </ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}
<!-- ENDIF --> {% endif %}
<!-- ENDIF --> {% endif %}
<!-- END center_row --> {% endfor %}
<!-- ENDIF --> {% endif %}
<!-- END announcements --> {% endfor %}

View File

@@ -1,17 +1,17 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<div class="panel bg1 portal-no-margin"> <div class="panel bg1 portal-no-margin">
<div class="inner"> <div class="inner">
<!-- IF .attach_center --> {% if loops.attach_center|length %}
<span class="portal-title-span"><strong>{L_FILENAME}</strong></span><br /> <span class="portal-title-span"><strong>{{ lang('FILENAME') }}</strong></span><br />
<!-- BEGIN attach_center --> {% for attach_center in loops.attach_center %}
<span class="portal-title-span icon fa-paperclip fa-fw" aria-hidden="true">&nbsp;</span>&nbsp;<a class="portal-title-link" href="{attach_center.U_TOPIC}" title="{attach_center.REAL_FILENAME}"><strong>{attach_center.FILENAME}</strong></a><br class="portal-clear" /> <span class="portal-title-span icon fa-paperclip fa-fw" aria-hidden="true">&nbsp;</span>&nbsp;<a class="portal-title-link" href="{{ attach_center.U_TOPIC }}" title="{{ attach_center.REAL_FILENAME }}"><strong>{{ attach_center.FILENAME }}</strong></a><br class="portal-clear" />
<span class="portal-text-span">{L_FILESIZE}{L_COLON}</span><span class="portal-data-span portal-gensmall"><strong>{attach_center.FILESIZE}</strong></span><br class="portal-clear" /> <span class="portal-text-span">{{ lang('FILESIZE') }}{{ lang('COLON') }}</span><span class="portal-data-span portal-gensmall"><strong>{{ attach_center.FILESIZE }}</strong></span><br class="portal-clear" />
<span class="portal-text-span">{L_DOWNLOADS}{L_COLON}</span><span class="portal-data-span portal-gensmall"><strong>{attach_center.DOWNLOAD_COUNT}</strong></span><br class="portal-clear" /> <span class="portal-text-span">{{ lang('DOWNLOADS') }}{{ lang('COLON') }}</span><span class="portal-data-span portal-gensmall"><strong>{{ attach_center.DOWNLOAD_COUNT }}</strong></span><br class="portal-clear" />
<!-- IF not attach_center.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF --> {% if not attach_center.S_LAST_ROW %}<hr class="dashed" />{% endif %}
<!-- END attach_center --> {% endfor %}
<!-- ELSE --> {% else %}
<span class="portal-title-span portal-gensmall"><strong>{L_NO_ATTACHMENTS}</strong></span><br /> <span class="portal-title-span portal-gensmall"><strong>{{ lang('NO_ATTACHMENTS') }}</strong></span><br />
<!-- ENDIF --> {% endif %}
</div> </div>
</div> </div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}

View File

@@ -1,20 +1,20 @@
{$LR_BLOCK_H_L} {{ definition.LR_BLOCK_H_L }}
<!-- IF $S_BLOCK_ICON --> {% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<!-- IF .attach_side --> {% if loops.attach_side|length %}
<span class="portal-title-span"><strong>{L_FILENAME}</strong></span><br /> <span class="portal-title-span"><strong>{{ lang('FILENAME') }}</strong></span><br />
<!-- BEGIN attach_side --> {% for attach_side in loops.attach_side %}
<span class="portal-title-span portal-gensmall icon fa-paperclip fa-fw" aria-hidden="true">&nbsp;</span>&nbsp;<a class="portal-title-link" href="{attach_side.U_TOPIC}" title="{attach_side.REAL_FILENAME}"><strong>{attach_side.FILENAME}</strong></a><br class="portal-clear" /> <span class="portal-title-span portal-gensmall icon fa-paperclip fa-fw" aria-hidden="true">&nbsp;</span>&nbsp;<a class="portal-title-link" href="{{ attach_side.U_TOPIC }}" title="{{ attach_side.REAL_FILENAME }}"><strong>{{ attach_side.FILENAME }}</strong></a><br class="portal-clear" />
<span class="portal-text-span">{L_FILESIZE}{L_COLON}</span><span class="portal-data-span portal-gensmall"><strong>{attach_side.FILESIZE}</strong></span><br class="portal-clear" /> <span class="portal-text-span">{{ lang('FILESIZE') }}{{ lang('COLON') }}</span><span class="portal-data-span portal-gensmall"><strong>{{ attach_side.FILESIZE }}</strong></span><br class="portal-clear" />
<span class="portal-text-span">{L_DOWNLOADS}{L_COLON}</span><span class="portal-data-span portal-gensmall"><strong>{attach_side.DOWNLOAD_COUNT}</strong></span><br class="portal-clear" /> <span class="portal-text-span">{{ lang('DOWNLOADS') }}{{ lang('COLON') }}</span><span class="portal-data-span portal-gensmall"><strong>{{ attach_side.DOWNLOAD_COUNT }}</strong></span><br class="portal-clear" />
<!-- IF not attach_side.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF --> {% if not attach_side.S_LAST_ROW %}<hr class="dashed" />{% endif %}
<!-- END attach_side --> {% endfor %}
<!-- ELSE --> {% else %}
<span class="portal-title-span portal-gensmall"><strong>{L_NO_ATTACHMENTS}</strong></span><br /> <span class="portal-title-span portal-gensmall"><strong>{{ lang('NO_ATTACHMENTS') }}</strong></span><br />
<!-- ENDIF --> {% endif %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,41 +1,41 @@
{$LR_BLOCK_H_L} {{ definition.LR_BLOCK_H_L }}
<!-- IF $S_BLOCK_ICON --> {% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->&nbsp;{$TITLE}{$LR_BLOCK_H_R} {% endif %}&nbsp;{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<!-- IF BIRTHDAY_LIST --> {% if BIRTHDAY_LIST %}
<strong>{L_CONGRATULATIONS}{L_COLON}</strong><br /> <strong>{{ lang('CONGRATULATIONS') }}{{ lang('COLON') }}</strong><br />
<!-- BEGIN board3_birthday_list --> {% for board3_birthday_list in loops.board3_birthday_list %}
<span class="portal-user-icon"></span> <span class="portal-user-icon"></span>
<span class="portal-user-span"> <span class="portal-user-span">
{board3_birthday_list.USER} {{ board3_birthday_list.USER }}
</span> </span>
<span class="portal-user-annotation"> <span class="portal-user-annotation">
<!-- IF board3_birthday_list.AGE -->{board3_birthday_list.AGE}<!-- ENDIF --> {% if board3_birthday_list.AGE %}{{ board3_birthday_list.AGE }}{% endif %}
</span><br class="portal-clear" /> </span><br class="portal-clear" />
<!-- END board3_birthday_list --> {% endfor %}
<!-- ELSE --> {% else %}
{L_NO_BIRTHDAYS} {{ lang('NO_BIRTHDAYS') }}
<!-- ENDIF --> {% endif %}
<!-- IF S_DISPLAY_BIRTHDAY_AHEAD_LIST --> {% if S_DISPLAY_BIRTHDAY_AHEAD_LIST %}
<hr class="dashed" /> <hr class="dashed" />
<strong>{L_BIRTHDAYS_AHEAD}</strong> <strong>{{ lang('BIRTHDAYS_AHEAD') }}</strong>
<br /> <br />
<!-- IF BIRTHDAYS_AHEAD_LIST --> {% if BIRTHDAYS_AHEAD_LIST %}
<!-- BEGIN board3_birthday_ahead_list --> {% for board3_birthday_ahead_list in loops.board3_birthday_ahead_list %}
<span class="portal-user-icon"></span> <span class="portal-user-icon"></span>
<span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i> <span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i>
<span title="{board3_birthday_ahead_list.DATE}">{board3_birthday_ahead_list.USER}</span> <span title="{{ board3_birthday_ahead_list.DATE }}">{{ board3_birthday_ahead_list.USER }}</span>
</span> </span>
<span class="portal-user-annotation"> <span class="portal-user-annotation">
<!-- IF board3_birthday_ahead_list.AGE -->{board3_birthday_ahead_list.AGE}<!-- ENDIF --> {% if board3_birthday_ahead_list.AGE %}{{ board3_birthday_ahead_list.AGE }}{% endif %}
</span><br class="portal-clear" /> </span><br class="portal-clear" />
<!-- END board3_birthday_ahead_list --> {% endfor %}
<!-- ELSE --> {% else %}
{L_NO_BIRTHDAYS_AHEAD} {{ lang('NO_BIRTHDAYS_AHEAD') }}
<!-- ENDIF --> {% endif %}
<!-- ENDIF --> {% endif %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,94 +1,94 @@
<!-- BEGIN minical --> {% for minical in loops.minical %}
<!-- IF minical.MODULE_ID eq $MODULE_ID --> {% if minical.MODULE_ID eq definition.MODULE_ID %}
<a id="minical{minical.MODULE_ID}"></a> <a id="minical{{ minical.MODULE_ID }}"></a>
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<table class="portal-module-postbody"> <table class="portal-module-postbody">
<tr> <tr>
<td class="portal-calendar-go-previous" colspan="2"><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{minical.U_NEXT_MONTH}<!-- ELSE -->{minical.U_PREV_MONTH}<!-- ENDIF --></td> <td class="portal-calendar-go-previous" colspan="2">{% if S_CONTENT_DIRECTION eq 'rtl' %}{{ minical.U_NEXT_MONTH }}{% else %}{{ minical.U_PREV_MONTH }}{% endif %}</td>
<td colspan="3" class="portal-calendar-current-month"><span class="genmed">{minical.L_MINI_CAL_MONTH}</span></td> <td colspan="3" class="portal-calendar-current-month"><span class="genmed">{{ minical.L_MINI_CAL_MONTH }}</span></td>
<td class="portal-calendar-go-next" colspan="2"><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{minical.U_PREV_MONTH}<!-- ELSE -->{minical.U_NEXT_MONTH}<!-- ENDIF --></td> <td class="portal-calendar-go-next" colspan="2">{% if S_CONTENT_DIRECTION eq 'rtl' %}{{ minical.U_PREV_MONTH }}{% else %}{{ minical.U_NEXT_MONTH }}{% endif %}</td>
</tr> </tr>
<tr class="portal-calendar-days-title"> <tr class="portal-calendar-days-title">
<!-- IF minical.S_SUNDAY_FIRST --> {% if minical.S_SUNDAY_FIRST %}
<td><span class="gensmall">{minical.L_MINI_CAL_SUN}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_SUN }}</span></td>
<!-- ENDIF --> {% endif %}
<td><span class="gensmall">{minical.L_MINI_CAL_MON}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_MON }}</span></td>
<td><span class="gensmall">{minical.L_MINI_CAL_TUE}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_TUE }}</span></td>
<td><span class="gensmall">{minical.L_MINI_CAL_WED}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_WED }}</span></td>
<td><span class="gensmall">{minical.L_MINI_CAL_THU}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_THU }}</span></td>
<td><span class="gensmall">{minical.L_MINI_CAL_FRI}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_FRI }}</span></td>
<td><span class="gensmall">{minical.L_MINI_CAL_SAT}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_SAT }}</span></td>
<!-- IF not minical.S_SUNDAY_FIRST --> {% if not minical.S_SUNDAY_FIRST %}
<td><span class="gensmall">{minical.L_MINI_CAL_SUN}</span></td> <td><span class="gensmall">{{ minical.L_MINI_CAL_SUN }}</span></td>
<!-- ENDIF --> {% endif %}
</tr> </tr>
<!-- BEGIN mini_cal_row --> {% for mini_cal_row in minical.mini_cal_row %}
<!-- IF minical.mini_cal_row.MODULE_ID eq $MODULE_ID --> {% if mini_cal_row.MODULE_ID eq definition.MODULE_ID %}
<tr class="portal-calendar-days"> <tr class="portal-calendar-days">
<!-- BEGIN mini_cal_days --> {% for mini_cal_days in mini_cal_row.mini_cal_days %}
<td><span class="gensmall">{minical.mini_cal_row.mini_cal_days.MINI_CAL_DAY}</span></td> <td><span class="gensmall">{{ mini_cal_days.MINI_CAL_DAY }}</span></td>
<!-- END mini_cal_days --> {% endfor %}
</tr> </tr>
<!-- ENDIF --> {% endif %}
<!-- END mini_cal_row --> {% endfor %}
</table> </table>
<!-- IF minical.S_DISPLAY_EVENTS --> {% if minical.S_DISPLAY_EVENTS %}
<hr class="dashed" /> <hr class="dashed" />
<div class="menutitle portal-calendar-events-heading">{L_CURRENT_EVENTS}{L_COLON}</div> <div class="menutitle portal-calendar-events-heading">{{ lang('CURRENT_EVENTS') }}{{ lang('COLON') }}</div>
<ul class="portal-events"> <ul class="portal-events">
<!-- BEGIN cur_events --> {% for cur_events in minical.cur_events %}
<li class="row"> <li class="row">
<dl class="row-item"> <dl class="row-item">
<dt class="portal-calendar-event-listing"> <dt class="portal-calendar-event-listing">
<!-- IF minical.cur_events.EVENT_URL --><a href="{minical.cur_events.EVENT_URL}" title="{minical.cur_events.EVENT_TITLE}" <!-- IF minical.cur_events.EVENT_URL_NEW_WINDOW -->onclick="window.open('{minical.cur_events.EVENT_URL}'); return false;"<!-- ENDIF -->><!-- ENDIF --> {% if cur_events.EVENT_URL %}<a href="{{ cur_events.EVENT_URL }}" title="{{ cur_events.EVENT_TITLE }}" {% if cur_events.EVENT_URL_NEW_WINDOW %}onclick="window.open('{{ cur_events.EVENT_URL }}'); return false;"{% endif %}>{% endif %}
<span class="portal-calendar-event-title">{minical.cur_events.EVENT_TITLE}{L_COLON}</span><br /> <span class="portal-calendar-event-title">{{ cur_events.EVENT_TITLE }}{{ lang('COLON') }}</span><br />
<!-- IF minical.cur_events.ALL_DAY -->{L_EVENT_START}{L_COLON}&nbsp;{minical.cur_events.START_TIME}<br />{L_EVENT_ALL_DAY}<br /> {% if cur_events.ALL_DAY %}{{ lang('EVENT_START') }}{{ lang('COLON') }}&nbsp;{{ cur_events.START_TIME }}<br />{{ lang('EVENT_ALL_DAY') }}<br />
<!-- ELSEIF not minical.cur_events.ALL_DAY and minical.cur_events.END_TIME -->{L_EVENT_START}{L_COLON}&nbsp;{minical.cur_events.START_TIME}<br />{L_EVENT_END}{L_COLON}&nbsp;{minical.cur_events.END_TIME}<br /> {% elseif not cur_events.ALL_DAY and cur_events.END_TIME %}{{ lang('EVENT_START') }}{{ lang('COLON') }}&nbsp;{{ cur_events.START_TIME }}<br />{{ lang('EVENT_END') }}{{ lang('COLON') }}&nbsp;{{ cur_events.END_TIME }}<br />
<!-- ELSE -->{L_EVENT_ALL_DAY}<br /> {% else %}{{ lang('EVENT_ALL_DAY') }}<br />
<!-- ENDIF --> {% endif %}
<!-- IF minical.cur_events.EVENT_DESC --><span class="portal-calendar-event-description">{minical.cur_events.EVENT_DESC}</span><!-- ENDIF --> {% if cur_events.EVENT_DESC %}<span class="portal-calendar-event-description">{{ cur_events.EVENT_DESC }}</span>{% endif %}
<!-- IF minical.cur_events.EVENT_URL --></a><!-- ENDIF --> {% if cur_events.EVENT_URL %}</a>{% endif %}
</dt> </dt>
</dl> </dl>
</li> </li>
<!-- BEGINELSE --> {% else %}
<li class="calendar-info"><span class="gensmall portal-title-span"><strong>{L_NO_CUR_EVENTS}</strong></span><br /></li> <li class="calendar-info"><span class="gensmall portal-title-span"><strong>{{ lang('NO_CUR_EVENTS') }}</strong></span><br /></li>
<!-- END cur_events --> {% endfor %}
</ul> </ul>
<hr class="portal-calendar-divider" /> <hr class="portal-calendar-divider" />
<div class="menutitle portal-calendar-events-heading">{L_UPCOMING_EVENTS}{L_COLON}</div> <div class="menutitle portal-calendar-events-heading">{{ lang('UPCOMING_EVENTS') }}{{ lang('COLON') }}</div>
<ul class="portal-events"> <ul class="portal-events">
<!-- BEGIN upcoming_events --> {% for upcoming_events in minical.upcoming_events %}
<li class="row"> <li class="row">
<dl class="row-item"> <dl class="row-item">
<dt class="portal-calendar-event-listing"> <dt class="portal-calendar-event-listing">
<!-- IF minical.upcoming_events.EVENT_URL --><a href="{minical.upcoming_events.EVENT_URL}" title="{minical.upcoming_events.EVENT_TITLE}" <!-- IF minical.upcoming_events.EVENT_URL_NEW_WINDOW -->onclick="window.open('{minical.upcoming_events.EVENT_URL}'); return false;"<!-- ENDIF -->><!-- ENDIF --> {% if upcoming_events.EVENT_URL %}<a href="{{ upcoming_events.EVENT_URL }}" title="{{ upcoming_events.EVENT_TITLE }}" {% if upcoming_events.EVENT_URL_NEW_WINDOW %}onclick="window.open('{{ upcoming_events.EVENT_URL }}'); return false;"{% endif %}>{% endif %}
<span class="portal-calendar-event-title">{minical.upcoming_events.EVENT_TITLE}{L_COLON}</span><br /> <span class="portal-calendar-event-title">{{ upcoming_events.EVENT_TITLE }}{{ lang('COLON') }}</span><br />
<!-- IF not minical.upcoming_events.ALL_DAY and not minical.upcoming_events.END_TIME -->{L_EVENT_TIME}{L_COLON}&nbsp;{minical.upcoming_events.START_TIME}<br /> {% if not upcoming_events.ALL_DAY and not upcoming_events.END_TIME %}{{ lang('EVENT_TIME') }}{{ lang('COLON') }}&nbsp;{{ upcoming_events.START_TIME }}<br />
<!-- ELSEIF not minical.upcoming_events.ALL_DAY and minical.upcoming_events.END_TIME -->{L_EVENT_START}{L_COLON}&nbsp;{minical.upcoming_events.START_TIME}<br />{L_EVENT_END}{L_COLON}&nbsp;{minical.upcoming_events.END_TIME}<br /> {% elseif not upcoming_events.ALL_DAY and upcoming_events.END_TIME %}{{ lang('EVENT_START') }}{{ lang('COLON') }}&nbsp;{{ upcoming_events.START_TIME }}<br />{{ lang('EVENT_END') }}{{ lang('COLON') }}&nbsp;{{ upcoming_events.END_TIME }}<br />
<!-- ELSE -->{L_EVENT_TIME}{L_COLON}&nbsp;{minical.upcoming_events.START_TIME}<br />{L_EVENT_ALL_DAY}<br /> {% else %}{{ lang('EVENT_TIME') }}{{ lang('COLON') }}&nbsp;{{ upcoming_events.START_TIME }}<br />{{ lang('EVENT_ALL_DAY') }}<br />
<!-- ENDIF --> {% endif %}
<!-- IF minical.upcoming_events.EVENT_DESC --><span class="portal-calendar-event-description">{minical.upcoming_events.EVENT_DESC}</span><br /><!-- ENDIF --> {% if upcoming_events.EVENT_DESC %}<span class="portal-calendar-event-description">{{ upcoming_events.EVENT_DESC }}</span><br />{% endif %}
<!-- IF minical.upcoming_events.EVENT_URL --></a><!-- ENDIF --> {% if upcoming_events.EVENT_URL %}</a>{% endif %}
</dt> </dt>
</dl> </dl>
</li> </li>
<!-- BEGINELSE --> {% else %}
<li class="calendar-info"><span class="gensmall portal-title-span"><strong>{L_NO_UPCOMING_EVENTS}</strong></span><br /></li> <li class="calendar-info"><span class="gensmall portal-title-span"><strong>{{ lang('NO_UPCOMING_EVENTS') }}</strong></span><br /></li>
<!-- END upcoming_events --> {% endfor %}
</ul> </ul>
<br /> <br />
<!-- ENDIF --> {% endif %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}
<!-- ENDIF --> {% endif %}
<!-- END minical --> {% endfor %}

View File

@@ -1,11 +1,11 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<!-- IF not B3P_CLOCK_SRC --> {% if not B3P_CLOCK_SRC %}
<div class="portal-clock-wrapper"> <div class="portal-clock-wrapper">
<div class="portal-clock"> <div class="portal-clock">
<div class="portal-clock-back"> <div class="portal-clock-back">
@@ -34,15 +34,15 @@
</div> </div>
</div> </div>
</div> </div>
<!-- INCLUDEJS portal/assets/jquery_easing_1_3.js --> {% INCLUDEJS 'portal/assets/jquery_easing_1_3.js' %}
<!-- INCLUDEJS portal/assets/portal_clock.js --> {% INCLUDEJS 'portal/assets/portal_clock.js' %}
<!-- ELSE --> {% else %}
<div style="text-align: center;"> <div style="text-align: center;">
<br /> <br />
<object type="application/x-shockwave-flash" data="{T_EXT_THEME_PATH}/images/portal/{B3P_CLOCK_SRC}" width="140" height="140"> <object type="application/x-shockwave-flash" data="{{ T_EXT_THEME_PATH }}/images/portal/{{ B3P_CLOCK_SRC }}" width="140" height="140">
<param name="wmode" value="transparent" /> <param name="wmode" value="transparent" />
<param name="movie" value="{T_EXT_THEME_PATH}/images/portal/{B3P_CLOCK_SRC}" /> <param name="movie" value="{{ T_EXT_THEME_PATH }}/images/portal/{{ B3P_CLOCK_SRC }}" />
</object> </object>
</div> </div>
<!-- ENDIF --> {% endif %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,9 +1,9 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<div class="panel bg1 portal-no-margin"> <div class="panel bg1 portal-no-margin">
<div class="inner"> <div class="inner">
<div class="postbody portal-module-postbody"> <div class="postbody portal-module-postbody">
<div class="content portal-module-content">{$CUSTOM_CODE}</div> <div class="content portal-module-content">{{ definition.CUSTOM_CODE }}</div>
</div> </div>
</div> </div>
</div> </div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}

View File

@@ -1,13 +1,13 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<div class="inner"> <div class="inner">
<div class="postbody portal-module-postbody"> <div class="postbody portal-module-postbody">
<div class="content portal-module-content">{$CUSTOM_CODE}</div> <div class="content portal-module-content">{{ definition.CUSTOM_CODE }}</div>
</div> </div>
</div> </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,36 +1,36 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<ul class="topiclist bg1"> <ul class="topiclist bg1">
<li><dl><dt></dt> <li><dl><dt></dt>
<dd class="portal-donation-center-content portal-responsive-show"> <dd class="portal-donation-center-content portal-responsive-show">
<div> <div>
<strong>{SITENAME}</strong> {L_DONATION_TEXT} <strong>{{ SITENAME }}</strong> {{ lang('DONATION_TEXT') }}
<br /> <br />
<div class="portal-paypal-icon">&nbsp;</div> <div class="portal-paypal-icon">&nbsp;</div>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" class="portal-donation-form"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" class="portal-donation-form">
<div> <div>
<input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="{PAY_ACC_CENTER}" /> <input type="hidden" name="business" value="{{ PAY_ACC_CENTER }}" />
<input type="hidden" name="item_name" value="{L_PAY_ITEM}" /> <input type="hidden" name="item_name" value="{{ lang('PAY_ITEM') }}" />
<input type="hidden" name="no_note" value="1" /> <input type="hidden" name="no_note" value="1" />
<input type="hidden" name="no_shipping" value="2" /> <input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="bn" value="PP-DonationsBF" /> <input type="hidden" name="bn" value="PP-DonationsBF" />
<input type="hidden" name="tax" value="0" /> <input type="hidden" name="tax" value="0" />
<!-- IF PAY_CUSTOM_CENTER --> {% if PAY_CUSTOM_CENTER %}
<input type="hidden" name="custom" value="{PAY_CUSTOM_CENTER}" /> <input type="hidden" name="custom" value="{{ PAY_CUSTOM_CENTER }}" />
<!-- ENDIF --> {% endif %}
<input type="text" tabindex="11" name="amount" size="10" maxlength="6" value="" class="inputbox autowidth" title="{L_PAY_MSG}" /> <input type="text" tabindex="11" name="amount" size="10" maxlength="6" value="" class="inputbox autowidth" title="{{ lang('PAY_MSG') }}" />
<select name="currency_code" class="autowidth"> <select name="currency_code" class="autowidth">
<!-- BEGIN b3p_donation_currency_center --> {% for b3p_donation_currency_center in loops.b3p_donation_currency_center %}
<option value="{b3p_donation_currency_center.VALUE}"<!-- IF b3p_donation_currency_center.SELECTED --> selected="selected"<!-- ENDIF -->>{b3p_donation_currency_center.TITLE}</option> <option value="{{ b3p_donation_currency_center.VALUE }}"{% if b3p_donation_currency_center.SELECTED %} selected="selected"{% endif %}>{{ b3p_donation_currency_center.TITLE }}</option>
<!-- END b3p_donation_currency_center --> {% endfor %}
</select> </select>
<input type="submit" name="submit" value="{L_DONATION}" class="button1" /> <input type="submit" name="submit" value="{{ lang('DONATION') }}" class="button1" />
</div> </div>
</form> </form>
<br /> <br />
<strong>{L_PAY_MSG}</strong> <strong>{{ lang('PAY_MSG') }}</strong>
</div> </div>
</dd> </dd>
</dl></li> </dl></li>
</ul> </ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}

View File

@@ -1,31 +1,31 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<div class="portal-centered-content"> <div class="portal-centered-content">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div> <div>
<input type="hidden" name="cmd" value="_xclick" /> <input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="{PAY_ACC_SIDE}" /> <input type="hidden" name="business" value="{{ PAY_ACC_SIDE }}" />
<input type="hidden" name="item_name" value="{L_PAY_ITEM}" /> <input type="hidden" name="item_name" value="{{ lang('PAY_ITEM') }}" />
<input type="hidden" name="no_note" value="1" /> <input type="hidden" name="no_note" value="1" />
<input type="hidden" name="no_shipping" value="2" /> <input type="hidden" name="no_shipping" value="2" />
<input type="hidden" name="bn" value="PP-DonationsBF" /> <input type="hidden" name="bn" value="PP-DonationsBF" />
<input type="hidden" name="tax" value="0" /> <input type="hidden" name="tax" value="0" />
<!-- IF PAY_CUSTOM_SIDE --> {% if PAY_CUSTOM_SIDE %}
<input type="hidden" name="custom" value="{PAY_CUSTOM_SIDE}"> <input type="hidden" name="custom" value="{{ PAY_CUSTOM_SIDE }}">
<!-- ENDIF --> {% endif %}
<input type="text" tabindex="10" name="amount" size="10" maxlength="6" value="" class="inputbox autowidth" title="{L_PAY_MSG}" /> <input type="text" tabindex="10" name="amount" size="10" maxlength="6" value="" class="inputbox autowidth" title="{{ lang('PAY_MSG') }}" />
<select name="currency_code" class="autowidth"> <select name="currency_code" class="autowidth">
<!-- BEGIN b3p_donation_currency_side --> {% for b3p_donation_currency_side in loops.b3p_donation_currency_side %}
<option value="{b3p_donation_currency_side.VALUE}"<!-- IF b3p_donation_currency_side.SELECTED --> selected="selected"<!-- ENDIF -->>{b3p_donation_currency_side.TITLE}</option> <option value="{{ b3p_donation_currency_side.VALUE }}"{% if b3p_donation_currency_side.SELECTED %} selected="selected"{% endif %}>{{ b3p_donation_currency_side.TITLE }}</option>
<!-- END b3p_donation_currency_side --> {% endfor %}
</select> </select>
<input type="submit" name="submit" value="{L_DONATION}" class="button1" /> <input type="submit" name="submit" value="{{ lang('DONATION') }}" class="button1" />
</div> </div>
</form> </form>
</div> </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,12 +1,12 @@
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) --> {% if S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) %}
<ul class="linklist"> <ul class="linklist">
<!-- IF S_DISPLAY_SEARCH --> {% if S_DISPLAY_SEARCH %}
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li> <li><a href="{{ U_SEARCH_UNANSWERED }}">{{ lang('SEARCH_UNANSWERED') }}</a>{% if S_USER_LOGGED_IN %} &bull; <a href="{{ U_SEARCH_UNREAD }}">{{ lang('SEARCH_UNREAD') }}</a> &bull; <a href="{{ U_SEARCH_NEW }}">{{ lang('SEARCH_NEW') }}</a>{% endif %} &bull; <a href="{{ U_SEARCH_ACTIVE_TOPICS }}">{{ lang('SEARCH_ACTIVE_TOPICS') }}</a></li>
<!-- ENDIF --> {% endif %}
<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF --> {% if not S_IS_BOT and U_MARK_FORUMS %}<li class="rightside"><a href="{{ U_MARK_FORUMS }}" accesskey="m">{{ lang('MARK_FORUMS_READ') }}</a></li>{% endif %}
</ul> </ul>
<!-- ENDIF --> {% endif %}
<div id="portal-forumlist"> <div id="portal-forumlist">
<!-- INCLUDE forumlist_body.html --> {% INCLUDE 'forumlist_body.html' %}
</div> </div>
<br /> <br />

View File

@@ -1,23 +1,23 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<strong style="color:green<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->; float: right;<!-- ENDIF -->">{L_FRIENDS_ONLINE}</strong><br /> <strong style="color:green{% if S_CONTENT_DIRECTION eq 'rtl' %}; float: right;{% endif %}">{{ lang('FRIENDS_ONLINE') }}</strong><br />
<!-- BEGIN b3p_friends_online --> {% for b3p_friends_online in loops.b3p_friends_online %}
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{b3p_friends_online.USERNAME_FULL}</span</span><br class="portal-clear" /> <span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{{ b3p_friends_online.USERNAME_FULL }}</span</span><br class="portal-clear" />
<!-- BEGINELSE --> {% else %}
<span class="portal-user-span">{L_NO_FRIENDS_ONLINE}</span> <span class="portal-user-span">{{ lang('NO_FRIENDS_ONLINE') }}</span>
<br class="portal-clear" />
<!-- END b3p_friends_online -->
<br class="portal-clear" /> <br class="portal-clear" />
<strong style="color:red<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->; float: right;<!-- ENDIF -->">{L_FRIENDS_OFFLINE}</strong><br /> {% endfor %}
<!-- BEGIN b3p_friends_offline --> <br class="portal-clear" />
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{b3p_friends_offline.USERNAME_FULL}</span></span><br class="portal-clear" /> <strong style="color:red{% if S_CONTENT_DIRECTION eq 'rtl' %}; float: right;{% endif %}">{{ lang('FRIENDS_OFFLINE') }}</strong><br />
<!-- BEGINELSE --> {% for b3p_friends_offline in loops.b3p_friends_offline %}
<span class="portal-user-span">{L_NO_FRIENDS_OFFLINE}</span> <span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{{ b3p_friends_offline.USERNAME_FULL }}</span></span><br class="portal-clear" />
<!-- END b3p_friends_offline --> {% else %}
<span class="portal-user-span">{{ lang('NO_FRIENDS_OFFLINE') }}</span>
{% endfor %}
<br /> <br />
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,19 +1,19 @@
<!-- IF S_DISPLAY_JUMPBOX --> {% 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"> <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 title="{% if S_IN_MCP and S_MERGE_SELECT %}{{ lang('SELECT_TOPICS_FROM') }}{% elseif S_IN_MCP %}{{ lang('MODERATE_FORUM') }}{% else %}{{ lang('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>{% if S_IN_MCP and S_MERGE_SELECT %}{{ lang('SELECT_TOPICS_FROM') }}{% elseif S_IN_MCP %}{{ lang('MODERATE_FORUM') }}{% else %}{{ lang('JUMP_TO') }}{% endif %}</span>
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span> <span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
</span> </span>
<div class="dropdown"> <div class="dropdown">
<div class="pointer"><div class="pointer-inner"></div></div> <div class="pointer"><div class="pointer-inner"></div></div>
<ul class="dropdown-contents"> <ul class="dropdown-contents">
<!-- BEGIN jumpbox_forums --> {% for jumpbox_forums in loops.jumpbox_forums %}
<!-- IF jumpbox_forums.FORUM_ID neq -1 --> {% 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 --> &#8627; &nbsp;<!-- ENDIF --> {jumpbox_forums.FORUM_NAME}</span></a></li> <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 %}">{% for level in jumpbox_forums.level %}<span class="spacer"></span>{% endfor %} <span>{% if jumpbox_forums.level %} &#8627; &nbsp;{% endif %} {{ jumpbox_forums.FORUM_NAME }}</span></a></li>
<!-- ENDIF --> {% endif %}
<!-- END jumpbox_forums --> {% endfor %}
</ul> </ul>
</div> </div>
</div> </div>
<br /> <br />
<!-- ENDIF --> {% endif %}

View File

@@ -1,12 +1,12 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<!-- BEGIN last_visited_bots --> {% for last_visited_bots in loops.last_visited_bots %}
<span class="genmed">{last_visited_bots.BOT_NAME}</span> <br /> <span class="gensmall">{last_visited_bots.LAST_VISIT_DATE}</span> <span class="genmed">{{ last_visited_bots.BOT_NAME }}</span> <br /> <span class="gensmall">{{ last_visited_bots.LAST_VISIT_DATE }}</span>
<!-- IF not last_visited_bots.S_LAST_ROW --><hr /><!-- ENDIF --> {% if not last_visited_bots.S_LAST_ROW %}<hr />{% endif %}
<!-- END last_visited_bots --> {% endfor %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,14 +1,14 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<span class="portal-user-span"><strong>{L_USERNAME}</strong></span> <span class="portal-user-span"><strong>{{ lang('USERNAME') }}</strong></span>
<span class="portal-user-annotation"><strong>{L_JOINED}</strong></span><br class="portal-clear" /> <span class="portal-user-annotation"><strong>{{ lang('JOINED') }}</strong></span><br class="portal-clear" />
<!-- BEGIN latest_members --> {% for latest_members in loops.latest_members %}
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{latest_members.USERNAME_FULL}</span></span> <span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{{ latest_members.USERNAME_FULL }}</span></span>
<span class="portal-user-annotation">{latest_members.JOINED}</span><br class="portal-clear" /> <span class="portal-user-annotation">{{ latest_members.JOINED }}</span><br class="portal-clear" />
<!-- END latest_members --> {% endfor %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,17 +1,17 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<!-- BEGIN group --> {% for group in loops.group %}
<strong class="portal-user-span"><a href="{group.U_GROUP}" style="color: #{group.GROUP_COLOUR};" class="username-coloured">{group.GROUP_NAME}</a></strong><br class="portal-clear" /> <strong class="portal-user-span"><a href="{{ group.U_GROUP }}" style="color: #{{ group.GROUP_COLOUR }};" class="username-coloured">{{ group.GROUP_NAME }}</a></strong><br class="portal-clear" />
<!-- BEGIN member --> {% for member in group.member %}
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span><strong>{group.member.USERNAME_FULL}</strong></span></span><br class="portal-clear" /> <span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span><strong>{{ member.USERNAME_FULL }}</strong></span></span><br class="portal-clear" />
<!-- END member --> {% endfor %}
<br class="portal-clear" /> <br class="portal-clear" />
<!-- BEGINELSE --> {% else %}
{L_NO_GROUPS_P} {{ lang('NO_GROUPS_P') }}
<!-- END group --> {% endfor %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,21 +1,21 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<strong class="portal-user-span">{L_ADMINISTRATORS}</strong><br class="portal-clear" /> <strong class="portal-user-span">{{ lang('ADMINISTRATORS') }}</strong><br class="portal-clear" />
<!-- BEGIN b3p_admins --> {% for b3p_admins in loops.b3p_admins %}
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span><strong>{b3p_admins.USERNAME_FULL}</strong></span></span><br class="portal-clear" /> <span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span><strong>{{ b3p_admins.USERNAME_FULL }}</strong></span></span><br class="portal-clear" />
<!-- BEGINELSE --> {% else %}
{L_NO_ADMINISTRATORS_P}<br /><br /> {{ lang('NO_ADMINISTRATORS_P') }}<br /><br />
<!-- END b3p_admins --> {% endfor %}
<br class="portal-clear" /> <br class="portal-clear" />
<strong class="portal-user-span">{L_MODERATORS}</strong><br class="portal-clear" /> <strong class="portal-user-span">{{ lang('MODERATORS') }}</strong><br class="portal-clear" />
<!-- BEGIN b3p_moderators --> {% for b3p_moderators in loops.b3p_moderators %}
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span><strong>{b3p_moderators.USERNAME_FULL}</strong></span></span><br class="portal-clear" /> <span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span><strong>{{ b3p_moderators.USERNAME_FULL }}</strong></span></span><br class="portal-clear" />
<!-- BEGINELSE --> {% else %}
{L_NO_MODERATORS_P} {{ lang('NO_MODERATORS_P') }}
<!-- END b3p_moderators --> {% endfor %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,10 +1,13 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
{LINK_US_TXT}<br /><br /> {{ LINK_US_TXT }}<br><br>
<input type="text" tabindex="9" value="{U_LINK_US}" class="inputbox autowidth" onclick="this.focus();this.select();" readonly="readonly" /><br /> <strong>HTML{L_COLON}</strong><br>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} <input type="text" tabindex="9" value="{U_LINK_US_HTML}" class="inputbox autowidth" onclick="this.focus();this.select();" readonly="readonly" /><br><br>
<strong>BBCode{L_COLON}</strong><br>
<input type="text" tabindex="9" value="{U_LINK_US_BB}" class="inputbox autowidth" onclick="this.focus();this.select();" readonly="readonly" /><br>
{{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,21 +1,21 @@
<!-- BEGIN portal_links --> {% for portal_links in loops.portal_links %}
<!-- IF portal_links.MODULE_ID eq $MODULE_ID --> {% if portal_links.MODULE_ID eq definition.MODULE_ID %}
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<div class="portal-navigation"> <div class="portal-navigation">
<ul> <ul>
<!-- BEGIN links --> {% for links in portal_links.links %}
<li><a href="{portal_links.links.LINK_URL}" title="{portal_links.links.LINK_TITLE}" <!-- IF portal_links.links.NEW_WINDOW -->onclick="window.open('{portal_links.links.LINK_URL}'); return false;"<!-- ENDIF -->><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{portal_links.links.LINK_TITLE}</span></a></li> <li><a href="{{ links.LINK_URL }}" title="{{ links.LINK_TITLE }}" {% if links.NEW_WINDOW %}onclick="window.open('{{ links.LINK_URL }}'); return false;"{% endif %}><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ links.LINK_TITLE }}</span></a></li>
<!-- BEGINELSE --> {% else %}
<span class="portal-title-span gensmall"><strong>{L_LINKS_NO_LINKS}</strong></span><br /> <span class="portal-title-span gensmall"><strong>{{ lang('LINKS_NO_LINKS') }}</strong></span><br />
<!-- END links --> {% endfor %}
</ul> </ul>
</div> </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}
<!-- ENDIF --> {% endif %}
<!-- END portal_links --> {% endfor %}

View File

@@ -1,30 +1,30 @@
<form action="{S_LOGIN_ACTION}" method="post" id="portal-login-box"> <form action="{{ S_LOGIN_ACTION }}" method="post" id="portal-login-box">
<div> <div>
{$LR_BLOCK_H_L}<a href="{U_LOGIN_LOGOUT}"><!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}<a href="{{ U_LOGIN_LOGOUT }}">{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}</a>{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}</a>{{ definition.LR_BLOCK_H_R }}
<span class="genmed">{L_USERNAME}{L_COLON}</span><br /> <span class="genmed">{{ lang('USERNAME') }}{{ lang('COLON') }}</span><br />
<input type="text" tabindex="1" name="username" id="username" value="" class="inputbox autowidth" /><br /><br /> <input type="text" tabindex="-1" name="username" id="username" value="" class="inputbox autowidth" /><br /><br />
<span class="genmed">{L_PASSWORD}{L_COLON}</span><br /> <span class="genmed">{{ lang('PASSWORD') }}{{ lang('COLON') }}</span><br />
<input type="password" tabindex="2" id="password" name="password" class="inputbox autowidth" /> <input type="password" tabindex="0" id="password" name="password" class="inputbox autowidth" />
<!-- IF S_DISPLAY_FULL_LOGIN --> {% if S_DISPLAY_FULL_LOGIN %}
<br /><br /> <br /><br />
<!-- IF S_AUTOLOGIN_ENABLED --> {% if S_AUTOLOGIN_ENABLED %}
<input type="checkbox" class="radio" name="autologin" tabindex="3" /> <span class="gensmall">{L_UM_LOG_ME_IN}</span><br /> <input type="checkbox" class="radio" name="autologin" tabindex="3" /> <span class="gensmall">{{ lang('UM_LOG_ME_IN') }}</span><br />
<!-- ENDIF --> {% endif %}
<!-- ENDIF --> {% endif %}
<!-- IF S_SHOW_REGISTER and S_REGISTER_ENABLED --> {% if S_SHOW_REGISTER and S_REGISTER_ENABLED %}
<br /><a href="{U_REGISTER}">{L_UM_REGISTER_NOW}</a><br /> <br /><a href="{{ U_REGISTER }}">{{ lang('UM_REGISTER_NOW') }}</a><br />
<!-- ENDIF --> {% endif %}
<br /> <br />
<input type="hidden" name="redirect" value="{U_PORTAL_REDIRECT}" /> <input type="hidden" name="redirect" value="{{ U_PORTAL_REDIRECT }}" />
<input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /> <input type="submit" name="login" tabindex="5" value="{{ lang('LOGIN') }}" class="button1" />
{S_LOGIN_REDIRECT} {{ S_LOGIN_REDIRECT }}
{S_FORM_TOKEN_LOGIN} {{ S_FORM_TOKEN_LOGIN }}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}
</div> </div>
</form> </form>

View File

@@ -1,27 +1,27 @@
<!-- BEGIN portal_menu --> {% for portal_menu in loops.portal_menu %}
<!-- IF portal_menu.MODULE_ID eq $MODULE_ID --> {% if portal_menu.MODULE_ID eq definition.MODULE_ID %}
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<div class="portal-navigation" role="menu"> <div class="portal-navigation" role="menu">
<!-- BEGIN category --> {% for category in portal_menu.category %}
<div class="menutitle">{portal_menu.category.CAT_TITLE}</div> <div class="menutitle">{{ category.CAT_TITLE }}</div>
<ul> <ul>
<!-- BEGIN links --> {% for links in category.links %}
<li><a href="{portal_menu.category.links.LINK_URL}" role="menuitem" <!-- IF portal_menu.category.links.NEW_WINDOW -->onclick="window.open('{portal_menu.category.links.LINK_URL}'); return false;"<!-- ENDIF -->><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{portal_menu.category.links.LINK_TITLE}</span></a></li> <li><a href="{{ links.LINK_URL }}" role="menuitem" {% if links.NEW_WINDOW %}onclick="window.open('{{ links.LINK_URL }}'); return false;"{% endif %}><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ links.LINK_TITLE }}</span></a></li>
<!-- END links --> {% endfor %}
</ul> </ul>
<hr class="dashed" /> <hr class="dashed" />
<!-- BEGINELSE --> {% else %}
<ul> <ul>
<li><span class="portal-title-span gensmall"><strong>{L_MENU_NO_LINKS}</strong></span><br /></li> <li><span class="portal-title-span gensmall"><strong>{{ lang('MENU_NO_LINKS') }}</strong></span><br /></li>
</ul> </ul>
<!-- END category --> {% endfor %}
</div> </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}
<!-- ENDIF --> {% endif %}
<!-- END portal_menu --> {% endfor %}

View File

@@ -1,67 +1,67 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<!-- IF $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF --> {% if definition.S_POSTBODY_TOP %}<div class="postbody portal-module-postbody">{% endif %}
<!-- BEGIN news --> {% for news in loops.news %}
<!-- IF news.MODULE_ID eq $MODULE_ID --> {% if news.MODULE_ID eq definition.MODULE_ID %}
<!-- BEGIN news_row --> {% for news_row in news.news_row %}
<!-- IF news.news_row.S_NO_TOPICS --> {% if news_row.S_NO_TOPICS %}
<div class="post bg2"> <div class="post b3p-post bg2">
<div class="inner"> <div class="inner">
<span><strong>{L_NO_NEWS}</strong></span> <span><strong>{{ lang('NO_NEWS') }}</strong></span>
</div> </div>
</div> </div>
<!-- ELSE --> {% else %}
<div class="post <!-- IF news.news_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> <div class="post b3p-post {% if news_row.S_ROW_COUNT is odd %}bg1{% else %}bg2{% endif %}">
<div class="inner"> <div class="inner">
<h4 class="first"> <h4 class="first">
<a id="n_{$MODULE_ID}_{news.news_row.N_ID}"></a><!-- IF news.news_row.S_UNREAD_INFO --><a href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"><!-- ENDIF --> <a id="n_{{ definition.MODULE_ID }}_{{ news_row.N_ID }}"></a>{% if news_row.S_UNREAD_INFO %}<a href="{{ news_row.U_VIEW_UNREAD }}" title="{{ news_row.MINI_POST }}">{% else %}<a href="{{ news_row.U_LAST_COMMENTS }}" title="{{ news_row.MINI_POST }}">{% endif %}
<i class="icon fa-file fa-fw <!-- IF news.news_row.S_UNREAD_INFO -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span> <i class="icon fa-file fa-fw {% if news_row.S_UNREAD_INFO %}icon-red{% else %}icon-lightgray{% endif %} icon-md" aria-hidden="true"></i><span class="sr-only">{{ news_row.MINI_POST }}</span>
</a> </a>
<!-- IF news.news_row.S_UNREAD_INFO --><a class="unread" href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><!-- IF news.news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news.news_row.POST_ICON_IMG}" width="{news.news_row.POST_ICON_IMG_WIDTH}" height="{news.news_row.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{news.news_row.U_VIEW_COMMENTS}"><strong>{news.news_row.TITLE}</strong></a> <a href="{{ news_row.U_VIEW_COMMENTS }}"><strong>{{ news_row.TITLE }}</strong></a>
</h4> </h4>
<!-- IF news.news_row.PAGINATION --><strong class="pagination"><span>{news.news_row.PAGINATION}</span></strong><!-- ENDIF --> {% if news_row.PAGINATION %}<strong class="pagination"><span>{{ news_row.PAGINATION }}</span></strong>{% endif %}
<ul class="linklist"> <ul class="linklist">
<li>{news.POSTED_BY_TEXT} {L_POST_BY_AUTHOR}{L_COLON} {news.news_row.POSTER_FULL} &raquo; <a href="{news.news_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {news.news_row.TIME}</a></li> <li>{{ news.POSTED_BY_TEXT }} {{ lang('POST_BY_AUTHOR') }}{{ lang('COLON') }} {{ news_row.POSTER_FULL }} &raquo; <a href="{{ news_row.U_LAST_COMMENTS }}" title="{{ lang('GOTO_LAST_POST') }}"> {{ news_row.TIME }}</a></li>
<li class="rightside">{L_FORUM}{L_COLON} <strong><a href="{news.news_row.U_VIEWFORUM}">{news.news_row.FORUM_NAME}</a></strong></li> <li class="rightside">{{ lang('FORUM') }}{{ lang('COLON') }} <strong><a href="{{ news_row.U_VIEWFORUM }}">{{ news_row.FORUM_NAME }}</a></strong></li>
</ul> </ul>
<!-- IF not $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF --> {% if not definition.S_POSTBODY_TOP %}<div class="postbody portal-module-postbody">{% endif %}
<div class="content"> <div class="content">
<br />{news.news_row.TEXT} <br />{{ news_row.TEXT }}
</div> </div>
<!-- IF news.news_row.S_HAS_ATTACHMENTS --> {% if news_row.S_HAS_ATTACHMENTS %}
<dl class="attachbox"> <dl class="attachbox">
<dt>{L_ATTACHMENTS}</dt> <dt>{{ lang('ATTACHMENTS') }}</dt>
<!-- BEGIN attachment --> {% for attachment in news_row.attachment %}
<dd>{news.news_row.attachment.DISPLAY_ATTACHMENT}</dd> <dd>{{ attachment.DISPLAY_ATTACHMENT }}</dd>
<!-- END attachment --> {% endfor %}
</dl> </dl>
<!-- ENDIF --> {% endif %}
<br class="portal-clear" /> <br class="portal-clear" />
<span class="portal-title-span">{L_TOPIC_VIEWS}{L_COLON} {news.news_row.TOPIC_VIEWS} &nbsp;&bull;&nbsp; <a href="{news.news_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}{L_COLON} {news.news_row.REPLIES}</a> &nbsp;&bull;&nbsp; <a href="{news.news_row.U_POST_COMMENT}">{L_PORTAL_POST_REPLY}</a></span> <span class="portal-title-span">{{ lang('TOPIC_VIEWS') }}{{ lang('COLON') }} {{ news_row.TOPIC_VIEWS }} &nbsp;&bull;&nbsp; <a href="{{ news_row.U_VIEW_COMMENTS }}" title="{{ lang('VIEW_COMMENTS') }}">{{ lang('COMMENTS') }}{{ lang('COLON') }} {{ news_row.REPLIES }}</a> &nbsp;&bull;&nbsp; <a href="{{ news_row.U_POST_COMMENT }}">{{ lang('PORTAL_POST_REPLY') }}</a></span>
<span class="portal-read-all-link">{news.news_row.OPEN}<a href="{news.news_row.U_READ_FULL}">{news.news_row.L_READ_FULL}</a>{news.news_row.CLOSE}</span> <span class="portal-read-all-link">{{ news_row.OPEN }}<a href="{{ news_row.U_READ_FULL }}">{{ news_row.L_READ_FULL }}</a>{{ news_row.CLOSE }}</span>
<div class="back2top"> <div class="back2top">
<a href="#top" class="top" title="{L_BACK_TO_TOP}"> <a href="#top" class="top" title="{{ lang('BACK_TO_TOP') }}">
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i> <i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i>
<span class="sr-only">{L_BACK_TO_TOP}</span> <span class="sr-only">{{ lang('BACK_TO_TOP') }}</span>
</a> </a>
</div> </div>
<!-- IF news.news_row.S_NOT_LAST --><br class="portal-clear" /><!-- ENDIF --> {% if news_row.S_NOT_LAST %}<br class="portal-clear" />{% endif %}
<!-- IF news.news_row.S_LAST_ROW --> {% if news_row.S_LAST_ROW %}
<!-- IF not news.news_row.S_NO_TOPICS --> {% if not news_row.S_NO_TOPICS %}
<!-- IF news.NP_PAGINATION or news.TOTAL_NEWS --> {% if news.NP_PAGINATION or news.TOTAL_NEWS %}
<hr class="dashed" /> <hr class="dashed" />
<div class="pagination"> <div class="pagination">
{news.TOTAL_NEWS} {{ news.TOTAL_NEWS }}
<!-- IF news.NP_PAGE_NUMBER --><!-- IF news.NP_PAGINATION --> &bull; {news.NP_PAGE_NUMBER} &bull; {news.NP_PAGINATION}<!-- ELSE --> &bull; {news.NP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> {% if news.NP_PAGE_NUMBER %}{% if news.NP_PAGINATION %} &bull; {{ news.NP_PAGE_NUMBER }} &bull; {{ news.NP_PAGINATION }}{% else %} &bull; {{ news.NP_PAGE_NUMBER }}{% endif %}{% endif %}
</div> </div>
<!-- ENDIF --> {% endif %}
<!-- ENDIF --> {% endif %}
<!-- ENDIF --> {% endif %}
<!-- IF not $S_POSTBODY_TOP --></div><!-- ENDIF --> {% if not definition.S_POSTBODY_TOP %}</div>{% endif %}
</div> </div>
</div> </div>
<!-- ENDIF --> {% endif %}
<!-- END news_row --> {% endfor %}
<!-- ENDIF --> {% endif %}
<!-- END news --> {% endfor %}
<!-- IF $S_POSTBODY_TOP --></div><!-- ENDIF --> {% if definition.S_POSTBODY_TOP %}</div>{% endif %}
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}

View File

@@ -1,91 +1,91 @@
<!-- BEGIN news --> {% for news in loops.news %}
<!-- IF news.MODULE_ID eq $MODULE_ID --> {% if news.MODULE_ID eq definition.MODULE_ID %}
<!-- BEGIN news_row --> {% for news_row in news.news_row %}
<!-- IF news.news_row.S_NO_TOPICS --> {% if news_row.S_NO_TOPICS %}
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<div class="post bg2 portal-no-margin"> <div class="post bg2 portal-no-margin">
<div class="inner"> <div class="inner">
<span><strong>{L_NO_NEWS}</strong></span> <span><strong>{{ lang('NO_NEWS') }}</strong></span>
</div> </div>
</div> </div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}
<!-- ELSE --> {% else %}
<!-- IF news.news_row.S_FIRST_ROW --> {% if news_row.S_FIRST_ROW %}
{$CC_BLOCK_H_L} {{ definition.CC_BLOCK_H_L }}
<dt id="n_{$MODULE_ID}">{$TITLE}</dt> <dt id="n_{{ definition.MODULE_ID }}">{{ definition.TITLE }}</dt>
<!-- IF news.S_DISPLAY_NEWS_RVS --> {% if news.S_DISPLAY_NEWS_RVS %}
<dd class="posts responsive-portal-news">{L_REPLIES}</dd> <dd class="posts responsive-portal-news">{{ lang('REPLIES') }}</dd>
<dd class="views responsive-portal-news">{L_VIEWS}</dd> <dd class="views responsive-portal-news">{{ lang('VIEWS') }}</dd>
<!-- ENDIF --> {% endif %}
<dd class="lastpost responsive-portal-news"><span>{L_LAST_POST}</span></dd> <dd class="lastpost responsive-portal-news"><span>{{ lang('LAST_POST') }}</span></dd>
{$CC_BLOCK_H_R} {{ definition.CC_BLOCK_H_R }}
<ul class="topiclist topics responsive-portal-news"> <ul class="topiclist topics responsive-portal-news">
<!-- ENDIF --> {% endif %}
<li class="row<!-- IF news.news_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> <li class="row{% if news_row.S_ROW_COUNT is even %} bg1{% else %} bg2{% endif %}">
<dl class="row-item {news.news_row.TOPIC_IMG_STYLE}"> <dl class="row-item {{ news_row.TOPIC_IMG_STYLE }}">
<dt<!-- IF news.news_row.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{news.news_row.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{news.news_row.TOPIC_FOLDER_IMG_ALT}"> <dt{% if news_row.TOPIC_ICON_IMG and S_TOPIC_ICONS %} style="background-image: url({{ T_ICONS_PATH }}{{ news_row.TOPIC_ICON_IMG }}); background-repeat: no-repeat;"{% endif %} title="{{ news_row.TOPIC_FOLDER_IMG_ALT }}">
<!-- IF news.news_row.S_UNREAD_INFO and not S_IS_BOT --><a href="{news.news_row.U_VIEW_UNREAD}" class="row-item-link"></a><!-- ENDIF --> {% if news_row.S_UNREAD_INFO and not S_IS_BOT %}<a href="{{ news_row.U_VIEW_UNREAD }}" class="row-item-link"></a>{% endif %}
<div class="list-inner"> <div class="list-inner">
<a href="{news.news_row.U_VIEW_COMMENTS}" title="{news.news_row.TITLE}" class="topictitle">{news.news_row.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> &bull; <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF --> <a href="{{ news_row.U_VIEW_COMMENTS }}" title="{{ news_row.TITLE }}" class="topictitle">{{ news_row.TITLE }}</a>{% if U_VIEW_UNREAD_POST and not S_IS_BOT %} &bull; <a href="{{ U_VIEW_UNREAD_POST }}">{{ lang('VIEW_UNREAD_POST') }}</a> &bull; {% endif %}
<!-- IF news.news_row.pagination --> {% if news_row.pagination %}
<div class="pagination"> <div class="pagination">
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span> <span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
<ul> <ul>
<!-- BEGIN pagination --> {% for pagination in news_row.pagination %}
<!-- IF news.news_row.pagination.S_IS_PREV --> {% if pagination.S_IS_PREV %}
<!-- ELSEIF news.news_row.pagination.S_IS_CURRENT --><li><a class="button" href="{news.news_row.pagination.PAGE_URL}">{news.news_row.pagination.PAGE_NUMBER}</a></li> {% elseif pagination.S_IS_CURRENT %}<li><a class="button" href="{{ pagination.PAGE_URL }}">{{ pagination.PAGE_NUMBER }}</a></li>
<!-- ELSEIF news.news_row.pagination.S_IS_ELLIPSIS --><li class="ellipsis"><span>{L_ELLIPSIS}</span></li> {% elseif pagination.S_IS_ELLIPSIS %}<li class="ellipsis"><span>{{ lang('ELLIPSIS') }}</span></li>
<!-- ELSEIF news.news_row.pagination.S_IS_NEXT --> {% elseif pagination.S_IS_NEXT %}
<!-- ELSE --><li><a class="button" href="{news.news_row.pagination.PAGE_URL}">{news.news_row.pagination.PAGE_NUMBER}</a></li> {% else %}<li><a class="button" href="{{ pagination.PAGE_URL }}">{{ pagination.PAGE_NUMBER }}</a></li>
<!-- ENDIF --> {% endif %}
<!-- END pagination --> {% endfor %}
</ul> </ul>
</div> </div>
<!-- ENDIF --> {% endif %}
<!-- IF not S_IS_BOT --> {% if not S_IS_BOT %}
<div class="responsive-show" style="display: none;"> <div class="responsive-show" style="display: none;">
{L_LAST_POST} {L_POST_BY_AUTHOR} {news.news_row.USERNAME_FULL_LAST} &raquo; <a href="{news.news_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {news.news_row.LAST_POST_TIME}</a> {{ lang('LAST_POST') }} {{ lang('POST_BY_AUTHOR') }} {{ news_row.USERNAME_FULL_LAST }} &raquo; <a href="{{ news_row.U_LAST_COMMENTS }}" title="{{ lang('GOTO_LAST_POST') }}"> {{ news_row.LAST_POST_TIME }}</a>
</div> </div>
<!-- ELSE --> {% else %}
<br /> <br />
<!-- ENDIF --> {% endif %}
<div class="responsive-hide"> <div class="responsive-hide">
<!-- IF news.news_row.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF --> {% if news_row.ATTACH_ICON_IMG %}<i class="icon fa-paperclip fa-fw" aria-hidden="true"></i>{% endif %}
<!-- IF news.news_row.S_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i> <!-- ENDIF --> {% if news_row.S_POLL %}<i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i> {% endif %}
{L_POSTED} {L_POST_BY_AUTHOR} {news.news_row.POSTER_FULL} &raquo; {news.news_row.TIME} {{ lang('POSTED') }} {{ lang('POST_BY_AUTHOR') }} {{ news_row.POSTER_FULL }} &raquo; {{ news_row.TIME }}
</div> </div>
<!-- IF news.news_row.FORUM_NAME --> {% if news_row.FORUM_NAME %}
{L_FORUM}{L_COLON} <a href="{news.news_row.U_VIEWFORUM}" class="portal-forumtitle">{news.news_row.FORUM_NAME}</a> {{ lang('FORUM') }}{{ lang('COLON') }} <a href="{{ news_row.U_VIEWFORUM }}" class="portal-forumtitle">{{ news_row.FORUM_NAME }}</a>
<!-- ENDIF --> {% endif %}
<!-- IF not news.S_DISPLAY_NEWS_RVS --><!-- IF news.news_row.FORUM_NAME -->&bull; <!-- ENDIF -->{L_REPLIES}{L_COLON} <strong>{news.news_row.REPLIES}</strong> &bull; {L_VIEWS}{L_COLON} <strong>{news.news_row.TOPIC_VIEWS}</strong><!-- ENDIF --> {% if not news.S_DISPLAY_NEWS_RVS %}{% if news_row.FORUM_NAME %}&bull; {% endif %}{{ lang('REPLIES') }}{{ lang('COLON') }} <strong>{{ news_row.REPLIES }}</strong> &bull; {{ lang('VIEWS') }}{{ lang('COLON') }} <strong>{{ news_row.TOPIC_VIEWS }}</strong>{% endif %}
</div> <!-- \END <div class="list-inner"> --> </div> <!-- \END <div class="list-inner"> -->
</dt> </dt>
<!-- IF news.S_DISPLAY_NEWS_RVS --> {% if news.S_DISPLAY_NEWS_RVS %}
<dd class="posts" data-skip-responsive="true">{news.news_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd> <dd class="posts" data-skip-responsive="true">{{ news_row.REPLIES }} <dfn>{{ lang('REPLIES') }}</dfn></dd>
<dd class="views" data-skip-responsive="true">{news.news_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd> <dd class="views" data-skip-responsive="true">{{ news_row.TOPIC_VIEWS }} <dfn>{{ lang('VIEWS') }}</dfn></dd>
<!-- ENDIF --> {% endif %}
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {news.news_row.USERNAME_FULL_LAST} <!-- IF not S_IS_BOT --><!-- IF news.news_row.S_UNREAD_INFO --><a href="{news.news_row.U_VIEW_UNREAD}" title="{L_VIEW_NEWEST_POST}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}" 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 /> <dd class="lastpost"><span><dfn>{{ lang('LAST_POST') }}</dfn>{{ lang('POST_BY_AUTHOR') }} {{ news_row.USERNAME_FULL_LAST }} {% if not S_IS_BOT %}{% if news_row.S_UNREAD_INFO %}<a href="{{ news_row.U_VIEW_UNREAD }}" title="{{ lang('VIEW_NEWEST_POST') }}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{{ lang('VIEW_LATEST_POST') }}</span></a>{% else %}<a href="{{ news_row.U_LAST_COMMENTS }}" title="{{ lang('VIEW_LATEST_POST') }}"><i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{{ lang('VIEW_LATEST_POST') }}</span></a>{% endif %}<br />
{news.news_row.LAST_POST_TIME}</span><!-- ENDIF --> {{ news_row.LAST_POST_TIME }}</span>{% endif %}
</dd> </dd>
</dl> </dl>
</li> </li>
<!-- IF news.news_row.S_LAST_ROW --> {% if news_row.S_LAST_ROW %}
<!-- IF news.NP_PAGINATION or news.TOTAL_NEWS --> {% if news.NP_PAGINATION or news.TOTAL_NEWS %}
<li class="row<!-- IF news.news_row.S_ROW_COUNT is even --> bg2<!-- ELSE --> bg1<!-- ENDIF --> portal-news-pagination"> <li class="row{% if news_row.S_ROW_COUNT is even %} bg2{% else %} bg1{% endif %} portal-news-pagination">
<div class="topic-actions"> <div class="topic-actions">
<div class="pagination"> <div class="pagination">
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span> <span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
{news.TOTAL_NEWS} {{ news.TOTAL_NEWS }}
<!-- IF news.NP_PAGE_NUMBER --><!-- IF news.NP_PAGINATION --> &bull; {news.NP_PAGE_NUMBER} &bull; {news.NP_PAGINATION}<!-- ELSE --> &bull; {news.NP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> &nbsp; {% if news.NP_PAGE_NUMBER %}{% if news.NP_PAGINATION %} &bull; {{ news.NP_PAGE_NUMBER }} &bull; {{ news.NP_PAGINATION }}{% else %} &bull; {{ news.NP_PAGE_NUMBER }}{% endif %}{% endif %} &nbsp;
</div> </div>
</div> </div>
</li> </li>
<!-- ENDIF --> {% endif %}
</ul> </ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}
<!-- ENDIF --> {% endif %}
<!-- ENDIF --> {% endif %}
<!-- END news_row --> {% endfor %}
<!-- ENDIF --> {% endif %}
<!-- END news --> {% endfor %}

View File

@@ -1,65 +1,65 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<!-- IF S_HAS_POLL --> {% if S_HAS_B3P_POLL %}
<div id="viewpoll" class="panel bg1 portal-no-margin"> <div id="viewpoll" class="panel bg1 portal-no-margin">
<div class="inner"> <div class="inner">
<!-- BEGIN poll --> {% for poll in loops.poll %}
<!-- IF not poll.S_FIRST_ROW --><hr class="dashed" /><!-- ENDIF --> {% if not poll.S_FIRST_ROW %}<hr class="dashed" />{% endif %}
<!-- IF poll.S_CAN_VOTE --><form method="post" action="{poll.S_POLL_ACTION}"><!-- ENDIF --> {% if poll.S_CAN_VOTE %}<form method="post" action="{{ poll.S_POLL_ACTION }}">{% endif %}
<div class="content"> <div class="content">
<h2>{poll.POLL_QUESTION}</h2> <h2>{{ poll.POLL_QUESTION }}</h2>
<p class="author">{poll.L_POLL_LENGTH}<!-- IF poll.S_CAN_VOTE and poll.L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF poll.S_CAN_VOTE -->{poll.L_MAX_VOTES}<!-- ENDIF --></p> <p class="author">{{ poll.L_POLL_LENGTH }}{% if poll.S_CAN_VOTE and poll.L_POLL_LENGTH %}<br />{% endif %}{% if poll.S_CAN_VOTE %}{{ poll.L_MAX_VOTES }}{% endif %}</p>
<fieldset class="polls"> <fieldset class="polls">
<!-- IF poll.S_POLL_HAS_OPTIONS --> {% if poll.S_POLL_HAS_OPTIONS %}
<!-- BEGIN poll_option --> {% for poll_option in poll.poll_option %}
<dl class="<!-- IF poll.poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF --> portal-responsive-poll"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->> <dl class="{% if poll_option.POLL_OPTION_VOTED %}voted{% endif %} portal-responsive-poll"{% if poll_option.POLL_OPTION_VOTED %} title="{{ lang('POLL_VOTED_OPTION') }}"{% endif %}>
<dt><!-- IF poll.S_CAN_VOTE --><label for="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}">{poll.poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll.poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt> <dt>{% if poll.S_CAN_VOTE %}<label for="poll_{{ poll.TOPIC_ID }}_vote_{{ poll_option.POLL_OPTION_ID }}">{{ poll_option.POLL_OPTION_CAPTION }}</label>{% else %}{{ poll_option.POLL_OPTION_CAPTION }}{% endif %}</dt>
<!-- IF poll.S_CAN_VOTE --><dd><!-- IF poll.S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="poll_{poll.TOPIC_ID}_vote_{poll.poll_option.POLL_OPTION_ID}" value="{poll.poll_option.POLL_OPTION_ID}"<!-- IF poll.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF --> {% if poll.S_CAN_VOTE %}<dd>{% if poll.S_IS_MULTI_CHOICE %}<input type="checkbox" name="vote_id[]" id="poll_{{ poll.TOPIC_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="poll_{{ poll.TOPIC_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 %}
<!-- IF poll.S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll.poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll.poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll.poll_option.POLL_OPTION_PERCENT};">{poll.poll_option.POLL_OPTION_RESULT}</div></dd> {% if poll.S_DISPLAY_RESULTS %}<dd class="resultbar"><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 }};">{{ poll_option.POLL_OPTION_RESULT }}</div></dd>
<dd><!-- IF poll.poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll.poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF --> <dd>{% if poll_option.POLL_OPTION_RESULT == 0 %}{{ lang('NO_VOTES') }}{% else %}{{ poll_option.POLL_OPTION_PERCENT }}{% endif %}</dd>{% endif %}
</dl> </dl>
<!-- END poll_option --> {% endfor %}
<!-- ELSE --> {% else %}
{L_NO_OPTIONS} {{ lang('NO_OPTIONS') }}
<!-- ENDIF --> {% endif %}
<!-- IF poll.S_DISPLAY_RESULTS --> {% if poll.S_DISPLAY_RESULTS %}
<dl> <dl>
<dt>&nbsp;</dt> <dt>&nbsp;</dt>
<dd class="resultbar"><p class="portal-poll-subtext">{L_TOTAL_VOTES} : {poll.TOTAL_VOTES}</p></dd> <dd class="resultbar"><p class="portal-poll-subtext">{{ lang('TOTAL_VOTES') }} : {{ poll.TOTAL_VOTES }}</p></dd>
</dl> </dl>
<!-- ENDIF --> {% endif %}
<!-- IF poll.S_CAN_VOTE --> {% if poll.S_CAN_VOTE %}
<dl class="portal-poll-vote"> <dl class="portal-poll-vote">
<dt>&nbsp;</dt> <dt>&nbsp;</dt>
<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd> <dd class="resultbar"><input type="submit" name="update" value="{{ lang('SUBMIT_VOTE') }}" class="button1" /></dd>
</dl> </dl>
<!-- ENDIF --> {% endif %}
<!-- IF not poll.S_DISPLAY_RESULTS --> {% if not poll.S_DISPLAY_RESULTS %}
<dl class="portal-poll-vote"> <dl class="portal-poll-vote">
<dt>&nbsp;</dt> <dt>&nbsp;</dt>
<dd class="resultbar"><p class="portal-poll-subtext"><a href="{poll.U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></p></dd> <dd class="resultbar"><p class="portal-poll-subtext"><a href="{{ poll.U_VIEW_RESULTS }}">{{ lang('VIEW_RESULTS') }}</a></p></dd>
</dl> </dl>
<!-- ENDIF --> {% endif %}
<dl class="portal-poll-vote"> <dl class="portal-poll-vote">
<dt>&nbsp;</dt> <dt>&nbsp;</dt>
<dd class="resultbar"><p class="portal-poll-subtext"><a href="{poll.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a></p></dd> <dd class="resultbar"><p class="portal-poll-subtext"><a href="{{ poll.U_VIEW_TOPIC }}">{{ lang('VIEW_TOPIC') }}</a></p></dd>
</dl> </dl>
</fieldset> </fieldset>
</div> </div>
<!-- IF poll.S_CAN_VOTE -->{poll.S_HIDDEN_FIELDS}<!-- ENDIF --> {% if poll.S_CAN_VOTE %}{{ poll.S_HIDDEN_FIELDS }}{% endif %}
<!-- IF poll.S_CAN_VOTE --></form><!-- ENDIF --> {% if poll.S_CAN_VOTE %}</form>{% endif %}
<!-- END poll --> {% endfor %}
</div>
</div> </div>
</div> {% else %}
<!-- ELSE --> <div class="panel bg1 portal-no-margin">
<div class="panel bg1 portal-no-margin"> <div class="inner">
<div class="inner"> <span><strong>{{ lang('NO_POLL') }}</strong></span>
<span><strong>{L_NO_POLL}</strong></span> </div>
</div> </div>
</div> {% endif %}
<!-- ENDIF --> {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}
{$C_BLOCK_F_L}{$C_BLOCK_F_R}

View File

@@ -1,64 +1,64 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<!-- IF S_HAS_POLL --> {% if S_HAS_B3P_POLL %}
<div id="viewpoll" class="inner"> <div id="viewpoll" class="inner">
<!-- BEGIN poll_side --> {% for poll_side in loops.poll_side %}
<!-- IF not poll_side.S_FIRST_ROW --><hr class="dashed" /><!-- ENDIF --> {% if not poll_side.S_FIRST_ROW %}<hr class="dashed" />{% endif %}
<!-- IF poll_side.S_CAN_VOTE --><form method="post" action="{poll_side.S_POLL_ACTION}"><!-- ENDIF --> {% if poll_side.S_CAN_VOTE %}<form method="post" action="{{ poll_side.S_POLL_ACTION }}">{% endif %}
<div class="content"> <div class="content">
<h2>{poll_side.POLL_QUESTION}</h2> <h2>{{ poll_side.POLL_QUESTION }}</h2>
<p class="author portal-module-postbody">{poll_side.L_POLL_LENGTH}<!-- IF poll_side.S_CAN_VOTE and poll_side.L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF poll_side.S_CAN_VOTE -->{poll_side.L_MAX_VOTES}<!-- ENDIF --></p> <p class="author portal-module-postbody">{{ poll_side.L_POLL_LENGTH }}{% if poll_side.S_CAN_VOTE and poll_side.L_POLL_LENGTH %}<br />{% endif %}{% if poll_side.S_CAN_VOTE %}{{ poll_side.L_MAX_VOTES }}{% endif %}</p>
<fieldset class="polls"> <fieldset class="polls">
<!-- IF poll_side.S_POLL_HAS_OPTIONS --> {% if poll_side.S_POLL_HAS_OPTIONS %}
<!-- BEGIN poll_option --> {% for poll_option in poll_side.poll_option %}
<dl class="<!-- IF poll_side.poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF --> portal-poll-side-option"<!-- IF poll_side.poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->> <dl class="{% if poll_option.POLL_OPTION_VOTED %}voted{% endif %} portal-poll-side-option"{% if poll_option.POLL_OPTION_VOTED %} title="{{ lang('POLL_VOTED_OPTION') }}"{% endif %}>
<dt><!-- IF poll_side.S_CAN_VOTE --><label for="poll_side_{poll_side.TOPIC_ID}_vote_{poll_side.poll_option.POLL_OPTION_ID}">{poll_side.poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_side.poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt><dd><br /></dd> <dt>{% if poll_side.S_CAN_VOTE %}<label for="poll_side_{{ poll_side.TOPIC_ID }}_vote_{{ poll_option.POLL_OPTION_ID }}">{{ poll_option.POLL_OPTION_CAPTION }}</label>{% else %}{{ poll_option.POLL_OPTION_CAPTION }}{% endif %}</dt><dd><br /></dd>
<!-- IF poll_side.S_CAN_VOTE --><dt class="portal-poll-side-checkbox"><!-- IF poll_side.S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="poll_side_{poll_side.TOPIC_ID}_vote_{poll_side.poll_option.POLL_OPTION_ID}" value="{poll_side.poll_option.POLL_OPTION_ID}"<!-- IF poll_side.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="poll_side_{poll_side.TOPIC_ID}_vote_{poll_side.poll_option.POLL_OPTION_ID}" value="{poll_side.poll_option.POLL_OPTION_ID}"<!-- IF poll_side.poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dt><!-- ENDIF --> {% if poll_side.S_CAN_VOTE %}<br class="portal-clear"><dt class="portal-poll-side-checkbox">{% if poll_side.S_IS_MULTI_CHOICE %}<input type="checkbox" name="vote_id[]" id="poll_side_{{ poll_side.TOPIC_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="poll_side_{{ poll_side.TOPIC_ID }}_vote_{{ poll_option.POLL_OPTION_ID }}" value="{{ poll_option.POLL_OPTION_ID }}"{% if poll_option.POLL_OPTION_VOTED %} checked="checked"{% endif %} />{% endif %}</dt>{% endif %}
<!-- IF poll_side.S_DISPLAY_RESULTS --> <dd class="portal-poll-side-option-info"><!-- IF poll_side.poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_side.poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF --> {% if poll_side.S_DISPLAY_RESULTS %}<dd class="portal-poll-side-option-info">{% if poll_option.POLL_OPTION_RESULT == 0 %}{{ lang('NO_VOTES') }}{% else %}{{ poll_option.POLL_OPTION_PERCENT }}{% endif %}</dd>{% endif %}
</dl> </dl>
<!-- END poll_option --> {% endfor %}
<!-- ELSE --> {% else %}
{L_NO_OPTIONS} {{ lang('NO_OPTIONS') }}
<!-- ENDIF --> {% endif %}
<!-- IF poll_side.S_DISPLAY_RESULTS --> {% if poll_side.S_DISPLAY_RESULTS %}
<dl> <dl>
<dd class="resultbar"><p class="portal-poll-subtext">{L_TOTAL_VOTES} : {poll_side.TOTAL_VOTES}</p></dd> <dd class="resultbar"><p class="portal-side-poll-subtext">{{ lang('TOTAL_VOTES') }} : {{ poll_side.TOTAL_VOTES }}</p></dd>
</dl> </dl>
<!-- ENDIF --> {% endif %}
<!-- IF poll_side.S_CAN_VOTE --> {% if poll_side.S_CAN_VOTE %}
<dl class="portal-poll-vote"> <dl class="portal-poll-vote">
<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd> <dd class="resultbar"><input type="submit" name="update" value="{{ lang('SUBMIT_VOTE') }}" class="button1" /></dd>
</dl> </dl>
<!-- ENDIF --> {% endif %}
<!-- IF not poll_side.S_DISPLAY_RESULTS --> {% if not poll_side.S_DISPLAY_RESULTS %}
<dl class="portal-poll-vote"> <dl class="portal-poll-vote">
<dd class="resultbar"><p class="portal-poll-subtext"><a href="{poll_side.U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></p></dd> <dd class="resultbar"><p class="portal-poll-subtext"><a href="{{ poll_side.U_VIEW_RESULTS }}">{{ lang('VIEW_RESULTS') }}</a></p></dd>
</dl> </dl>
<!-- ENDIF --> {% endif %}
<dl class="portal-poll-vote"> <dl class="portal-poll-vote">
<dd class="resultbar"><p class="portal-poll-subtext"><a href="{poll_side.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a></p></dd> <dd class="resultbar portal-poll-side-resultbar"><p class="portal-poll-subtext"><a href="{{ poll_side.U_VIEW_TOPIC }}">{{ lang('VIEW_TOPIC') }}</a></p></dd>
</dl> </dl>
</fieldset> </fieldset>
</div> </div>
<!-- IF poll_side.S_CAN_VOTE -->{poll_side.S_HIDDEN_FIELDS}<!-- ENDIF --> {% if poll_side.S_CAN_VOTE %}{{ poll_side.S_HIDDEN_FIELDS }}{% endif %}
<!-- IF poll_side.S_CAN_VOTE --></form><!-- ENDIF --> {% if poll_side.S_CAN_VOTE %}</form>{% endif %}
<!-- END poll_side --> {% endfor %}
</div> </div>
<!-- ELSE --> {% else %}
<div class="panel bg1 portal-no-margin"> <div class="panel bg1 portal-no-margin">
<div class="inner"> <div class="inner">
<span><strong>{L_NO_POLL}</strong></span> <span><strong>{{ lang('NO_POLL') }}</strong></span>
</div> </div>
</div> </div>
<!-- ENDIF --> {% endif %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,27 +1,27 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<!-- BEGIN random_member --> {% for random_member in loops.random_member %}
<div class="portal-centered-content"><span class="portal-random-member-name">{random_member.USERNAME_FULL}</span><br class="portal-clear" /> <div class="portal-centered-content"><span class="portal-random-member-name">{{ random_member.USERNAME_FULL }}</span><br class="portal-clear">
<!-- IF random_member.AVATAR_IMG --><a href="{random_member.U_VIEW_PROFILE}">{random_member.AVATAR_IMG}</a><!-- ELSEIF $NO_AVATAR_IMG --><a href="{random_member.U_VIEW_PROFILE}"><img src="{T_THEME_PATH}{$NO_AVATAR_IMG}" alt="" /></a><br class="portal-clear" /><!-- ENDIF --> {% if random_member.AVATAR_IMG %}<a href="{{ random_member.U_VIEW_PROFILE }}">{{ random_member.AVATAR_IMG }}</a><br class="portal-clear">{% elseif definition.NO_AVATAR_IMG %}<a href="{{ random_member.U_VIEW_PROFILE }}"><img src="{{ T_THEME_PATH }}{{ definition.NO_AVATAR_IMG }}" alt="" /></a><br class="portal-clear">{% endif %}
<!-- IF random_member.RANK_TITLE --><span class="gensmall">{random_member.RANK_TITLE}</span><br class="portal-clear" /><!-- ENDIF --> {% if random_member.RANK_TITLE %}<span class="gensmall">{{ random_member.RANK_TITLE }}</span><br class="portal-clear">{% endif %}
<!-- IF random_member.RANK_IMG -->{random_member.RANK_IMG}<br class="portal-clear" /><!-- ENDIF --> {% if random_member.RANK_IMG %}{{ random_member.RANK_IMG }}<br class="portal-clear">{% endif %}
</div> </div>
<br class="portal-clear" /> <br class="portal-clear">
<span class="portal-title-span"><strong>{L_RND_JOIN}{L_COLON}</strong></span><span class="portal-data-span">{random_member.JOINED}</span><br class="portal-clear" /> <span class="portal-title-span"><strong>{{ lang('RND_JOIN') }}{{ lang('COLON') }}</strong></span><span class="portal-data-span">{{ random_member.JOINED }}</span><br class="portal-clear">
<span class="portal-title-span"><strong>{L_RND_POSTS}{L_COLON}</strong></span><span class="portal-data-span">{random_member.USER_POSTS}</span><br class="portal-clear" /> <span class="portal-title-span"><strong>{{ lang('RND_POSTS') }}{{ lang('COLON') }}</strong></span><span class="portal-data-span">{{ random_member.USER_POSTS }}</span><br class="portal-clear">
<!-- IF random_member.USER_OCC --> {% if random_member.USER_OCC %}
<span class="portal-title-span"><strong>{L_RND_OCC}{L_COLON}</strong></span><span class="portal-data-span"> &nbsp; {random_member.USER_OCC}</span><br class="portal-clear" /> <span class="portal-title-span"><strong>{{ lang('RND_OCC') }}{{ lang('COLON') }}</strong></span><span class="portal-data-span"> &nbsp; {{ random_member.USER_OCC }}</span><br class="portal-clear">
<!-- ENDIF --> {% endif %}
<!-- IF random_member.USER_FROM --> {% if random_member.USER_FROM %}
<span class="portal-title-span"><strong>{L_RND_FROM}{L_COLON}</strong></span><span class="portal-data-span"> &nbsp; {random_member.USER_FROM}</span><br class="portal-clear" /> <span class="portal-title-span"><strong>{{ lang('RND_FROM') }}{{ lang('COLON') }}</strong></span><span class="portal-data-span"> &nbsp; {{ random_member.USER_FROM }}</span><br class="portal-clear">
<!-- ENDIF --> {% endif %}
<!-- IF random_member.U_WWW --> {% if random_member.U_WWW %}
<span class="portal-title-span"><a href="{random_member.U_WWW}" title="{random_member.U_WWW}"><strong>{L_RND_WWW}</strong></a></span><br class="portal-clear" /> <span class="portal-title-span"><a href="{{ random_member.U_WWW }}" title="{{ random_member.U_WWW }}"><strong>{{ lang('RND_WWW') }}</strong></a></span><br class="portal-clear">
<!-- ENDIF --> {% endif %}
<!-- END random_member --> {% endfor %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,52 +1,52 @@
<!-- IF .latest_announcements or .latest_hot_topics or .latest_topics --> {% if loops.latest_announcements|length or loops.latest_hot_topics|length or loops.latest_topics|length %}
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<div class="panel bg1 portal-no-margin"> <div class="panel bg1 portal-no-margin">
<div class="inner"> <div class="inner">
<div class="portal-navigation"> <div class="portal-navigation">
<ul class="topiclist bg1"> <ul class="topiclist bg1">
<li><dl><dt></dt> <li><dl><dt></dt>
<dd class="portal-responsive-show portal-module-postbody portal-whois-online-content"> <dd class="portal-responsive-show portal-module-postbody portal-whois-online-content">
<table class="portal-module-postbody"> <table class="portal-module-postbody">
<tr class="menutitle"> <tr class="menutitle">
<!-- IF .latest_announcements --><td class="portal-responsive-hide"><strong>{L_PORTAL_RECENT_ANN}</strong></td><!-- ENDIF --> {% if loops.latest_announcements|length %}<td class="portal-responsive-hide"><strong>{{ lang('PORTAL_RECENT_ANN') }}</strong></td>{% endif %}
<!-- IF .latest_hot_topics --><td class="portal-responsive-hide"><strong>{L_PORTAL_RECENT_HOT_TOPIC}</strong></td><!-- ENDIF --> {% if loops.latest_hot_topics|length %}<td class="portal-responsive-hide"><strong>{{ lang('PORTAL_RECENT_HOT_TOPIC') }}</strong></td>{% endif %}
<!-- IF .latest_topics --><td><strong>{L_PORTAL_RECENT_TOPIC}</strong></td><!-- ENDIF --> {% if loops.latest_topics|length %}<td><strong>{{ lang('PORTAL_RECENT_TOPIC') }}</strong></td>{% endif %}
</tr> </tr>
<tr> <tr>
<!-- IF .latest_announcements --> {% if loops.latest_announcements|length %}
<td class="row1 portal-responsive-hide portal-recent-column"> <td class="row1 portal-responsive-hide portal-recent-column">
<span class="gensmall"> <span class="gensmall">
<!-- BEGIN latest_announcements --> {% for latest_announcements in loops.latest_announcements %}
<a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{latest_announcements.TITLE}</span></a> <a href="{{ latest_announcements.U_VIEW_TOPIC }}" title="{{ latest_announcements.FULL_TITLE }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ latest_announcements.TITLE }}</span></a>
<!-- END latest_announcements --> {% endfor %}
</span> </span>
</td> </td>
<!-- ENDIF --> {% endif %}
<!-- IF .latest_hot_topics --> {% if loops.latest_hot_topics|length %}
<td class="row1 portal-responsive-hide portal-recent-column"> <td class="row1 portal-responsive-hide portal-recent-column">
<span class="gensmall"> <span class="gensmall">
<!-- BEGIN latest_hot_topics --> {% for latest_hot_topics in loops.latest_hot_topics %}
<a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{latest_hot_topics.TITLE}</span></a> <a href="{{ latest_hot_topics.U_VIEW_TOPIC }}" title="{{ latest_hot_topics.FULL_TITLE }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ latest_hot_topics.TITLE }}</span></a>
<!-- END latest_hot_topics --> {% endfor %}
</span> </span>
</td> </td>
<!-- ENDIF --> {% endif %}
<!-- IF .latest_topics --> {% if loops.latest_topics|length %}
<td class="row1 portal-recent-column"> <td class="row1 portal-recent-column">
<span class="gensmall"> <span class="gensmall">
<!-- BEGIN latest_topics --> {% for latest_topics in loops.latest_topics %}
<a href="{latest_topics.U_VIEW_TOPIC}" title="{latest_topics.FULL_TITLE}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{latest_topics.TITLE}</span></a> <a href="{{ latest_topics.U_VIEW_TOPIC }}" title="{{ latest_topics.FULL_TITLE }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ latest_topics.TITLE }}</span></a>
<!-- END latest_topics --> {% endfor %}
</span> </span>
</td> </td>
<!-- ENDIF --> {% endif %}
</tr> </tr>
</table> </table>
</dd> </dd>
</dl></li> </dl></li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}
<!-- ENDIF --> {% endif %}

View File

@@ -46,24 +46,24 @@ function qsearch_onSubmit()
//--> //-->
</script> </script>
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<form id="qsearch_form" method="post" action="{U_SEARCH}" onsubmit="return qsearch_onSubmit();"> <form id="qsearch_form" method="post" action="{{ U_SEARCH }}" onsubmit="return qsearch_onSubmit();">
<p> <p>
<input type="text" tabindex="6" name="keywords" id="searchfield" maxlength="40" title="{L_SEARCH_KEYWORDS}" class="inputbox search icon_portal_search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" /> <input type="text" tabindex="6" name="keywords" id="searchfield" maxlength="40" title="{{ lang('SEARCH_KEYWORDS') }}" class="inputbox search icon_portal_search" value="{% if SEARCH_WORDS%}{{ SEARCH_WORDS }}{% else %}{{ lang('SEARCH_MINI') }}{% endif %}" onclick="if(this.value=='{{ lang('SEARCH_MINI')|escape('js') }}')this.value='';" onblur="if(this.value=='')this.value='{{ lang('SEARCH_MINI')|escape('js') }}';" />
</p> </p>
<p> <p>
<select id="qsearch_select" tabindex="7"> <select id="qsearch_select" tabindex="7">
<optgroup label="{L_PORTAL_SEARCH_SITE}"> <optgroup label="{{ lang('PORTAL_SEARCH_SITE') }}">
<option value="site">{L_PORTAL_SEARCH_POSTS}</option> <option value="site">{{ lang('PORTAL_SEARCH_POSTS') }}</option>
<option value="author">{L_PORTAL_SEARCH_AUTHOR}</option> <option value="author">{{ lang('PORTAL_SEARCH_AUTHOR') }}</option>
</optgroup> </optgroup>
<optgroup label="{L_PORTAL_SEARCH_ENGINE}"> <optgroup label="{{ lang('PORTAL_SEARCH_ENGINE') }}">
<option value="wikipedia">Wikipedia</option> <option value="wikipedia">Wikipedia</option>
<option value="google">Google</option> <option value="google">Google</option>
<option value="yahoo">Yahoo</option> <option value="yahoo">Yahoo</option>
@@ -75,8 +75,8 @@ function qsearch_onSubmit()
</select> </select>
<input type="hidden" name="search_fields" value="all" /> <input type="hidden" name="search_fields" value="all" />
<input type="hidden" name="show_results" value="topics" /> <input type="hidden" name="show_results" value="topics" />
<input type="submit" value="{L_PORTAL_SEARCH_GO}" class="button2" tabindex="8" /> <input type="submit" value="{{ lang('PORTAL_SEARCH_GO') }}" class="button2" tabindex="8" />
</p> </p>
</form> </form>
<p><a href="{U_SEARCH}">{L_PORTAL_SEARCH_ADV}</a></p> <p><a href="{{ U_SEARCH }}">{{ lang('PORTAL_SEARCH_ADV') }}</a></p>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,26 +1,26 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<strong>{L_ST_TOP}</strong><br /> <strong>{{ lang('ST_TOP') }}</strong><br />
{B3_TOTAL_POSTS}<br /> {{ B3_TOTAL_POSTS }}<br />
{B3_TOTAL_TOPICS}<br /> {{ B3_TOTAL_TOPICS }}<br />
{L_ST_TOP_ANNS} <strong>{B3_ANNOUNCE_COUNT}</strong><br /> {{ lang('ST_TOP_ANNS') }} <strong>{{ B3_ANNOUNCE_COUNT }}</strong><br />
{L_ST_TOP_STICKYS} <strong>{B3_STICKY_COUNT}</strong><br /> {{ lang('ST_TOP_STICKYS') }} <strong>{{ B3_STICKY_COUNT }}</strong><br />
{L_ST_TOT_ATTACH} <strong>{B3_TOTAL_ATTACH}</strong><br /> {{ lang('ST_TOT_ATTACH') }} <strong>{{ B3_TOTAL_ATTACH }}</strong><br />
<hr class="dashed" /> <hr class="dashed" />
{B3_TOPICS_PER_DAY}<br /> {{ B3_TOPICS_PER_DAY }}<br />
{B3_POSTS_PER_DAY}<br /> {{ B3_POSTS_PER_DAY }}<br />
{B3_USERS_PER_DAY}<br /> {{ B3_USERS_PER_DAY }}<br />
{B3_TOPICS_PER_USER}<br /> {{ B3_TOPICS_PER_USER }}<br />
{B3_POSTS_PER_USER}<br /> {{ B3_POSTS_PER_USER }}<br />
{B3_POSTS_PER_TOPIC}<br /> {{ B3_POSTS_PER_TOPIC }}<br />
<hr class="dashed" /> <hr class="dashed" />
{B3_TOTAL_USERS}<br /> {{ B3_TOTAL_USERS }}<br />
{B3_NEWEST_USER} {{ B3_NEWEST_USER }}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,14 +1,14 @@
<!-- IF S_STYLE_OPTIONS --> {% if S_STYLE_OPTIONS %}
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<select class="portal-stylechanger-select" name="demo" id="demo" role="listbox" onchange="document.location.href = this.options[this.selectedIndex].value;"> <select class="portal-stylechanger-select" name="demo" id="demo" role="listbox" onchange="document.location.href = this.options[this.selectedIndex].value;">
{STYLE_SELECT} {{ STYLE_SELECT }}
</select> </select>
<br /> <br />
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}
<!-- ENDIF --> {% endif %}

View File

@@ -1,14 +1,14 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<span class="portal-user-span"><strong>{L_USERNAME}</strong></span> <span class="portal-user-span"><strong>{{ lang('USERNAME') }}</strong></span>
<span class="portal-user-annotation"><strong>{L_POSTS}</strong></span><br class="portal-clear" /> <span class="portal-user-annotation"><strong>{{ lang('POSTS') }}</strong></span><br class="portal-clear" />
<!-- BEGIN topposters --> {% for topposters in loops.topposters %}
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{topposters.USERNAME_FULL}</span></span> <span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{{ topposters.USERNAME_FULL }}</span></span>
<span class="portal-user-annotation"><a href="{topposters.S_SEARCH_ACTION}">{topposters.POSTER_POSTS}</a></span><br class="portal-clear" /> <span class="portal-user-annotation"><a href="{{ topposters.S_SEARCH_ACTION }}">{{ topposters.POSTER_POSTS }}</a></span><br class="portal-clear" />
<!-- END topposters --> {% endfor %}
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,51 +1,51 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R} {% endif %}{{ definition.TITLE }}{{ definition.LR_BLOCK_H_R }}
<div class="portal-centered-content"> <div class="portal-centered-content">
{USERNAME_FULL}<br /> {{ USERNAME_FULL }}<br />
<!-- IF B3P_AVATAR_IMG --> {% if B3P_AVATAR_IMG %}
<a href="{U_PROFILE}">{B3P_AVATAR_IMG}</a> <a href="{{ U_PROFILE }}">{{ B3P_AVATAR_IMG }}</a>
<!-- ELSEIF $NO_AVATAR_IMG --> {% elseif definition.NO_AVATAR_IMG %}
<a href="{U_PROFILE}"><img src="{T_THEME_PATH}{$NO_AVATAR_IMG}" alt="" /></a> <a href="{{ U_PROFILE }}"><img src="{{ T_THEME_PATH }}{{ definition.NO_AVATAR_IMG }}" alt="" /></a>
<!-- ENDIF --> {% endif %}
<!-- IF B3P_RANK_TITLE --><br /><span class="gensmall">{B3P_RANK_TITLE}</span><!-- ENDIF --> {% if B3P_RANK_TITLE %}<br /><span class="gensmall">{{ B3P_RANK_TITLE }}</span>{% endif %}
<!-- IF B3P_RANK_IMG --><br />{B3P_RANK_IMG}<!-- ENDIF --> {% if B3P_RANK_IMG %}<br />{{ B3P_RANK_IMG }}{% endif %}
</div> </div>
<hr class="dashed" /> <hr class="dashed" />
<div class="portal-navigation"> <div class="portal-navigation">
<div class="menutitle">{L_M_MENU}</div> <div class="menutitle">{{ lang('M_MENU') }}</div>
<ul> <ul>
<!-- IF S_DISPLAY_SEARCH --> {% if S_DISPLAY_SEARCH %}
<li><a href="{U_NEW_POSTS}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_NEW_POSTS}</span></a></li> <li><a href="{{ U_NEW_POSTS }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('NEW_POSTS') }}</span></a></li>
<li><a href="{U_UNREAD_POSTS}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_UNREAD_POSTS}</span></a></li> <li><a href="{{ U_UNREAD_POSTS }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('UNREAD_POSTS') }}</span></a></li>
<li><a href="{U_SELF_POSTS}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_SELF_POSTS}</span></a></li> <li><a href="{{ U_SELF_POSTS }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('SELF_POSTS') }}</span></a></li>
<!-- ENDIF --> {% endif %}
<!-- IF U_UM_BOOKMARKS --> {% if U_UM_BOOKMARKS %}
<li><a href="{U_UM_BOOKMARKS}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_UM_BOOKMARKS}</span></a></li> <li><a href="{{ U_UM_BOOKMARKS }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('UM_BOOKMARKS') }}</span></a></li>
<!-- ENDIF --> {% endif %}
<!-- IF S_DISPLAY_SUBSCRIPTIONS --> {% if S_DISPLAY_SUBSCRIPTIONS %}
<li><a href="{U_UM_MAIN_SUBSCRIBED}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_UM_MAIN_SUBSCRIBED}</span></a></li> <li><a href="{{ U_UM_MAIN_SUBSCRIBED }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('UM_MAIN_SUBSCRIBED') }}</span></a></li>
<!-- ENDIF --> {% endif %}
<!-- IF S_NOTIFICATIONS_DISPLAY --> {% if S_NOTIFICATIONS_DISPLAY %}
<li data-skip-responsive="true"> <li data-skip-responsive="true">
<a href="{U_VIEW_ALL_NOTIFICATIONS}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_NOTIFICATIONS} [</span><strong>{NOTIFICATIONS_COUNT}</strong><span>]</span></a> <a href="{{ U_VIEW_ALL_NOTIFICATIONS }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('NOTIFICATIONS') }} [</span><strong>{{ NOTIFICATIONS_COUNT }}</strong><span>]</span></a>
</li> </li>
<!-- ENDIF --> {% endif %}
<!-- IF S_DISPLAY_PM --> {% if S_DISPLAY_PM %}
<li><a href="{U_PRIVATEMSGS}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_PRIVATE_MESSAGES} [</span><strong>{PRIVATE_MESSAGE_COUNT}</strong><span>]</span></a></li> <li><a href="{{ U_PRIVATEMSGS }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('PRIVATE_MESSAGES') }} [</span><strong>{{ PRIVATE_MESSAGE_COUNT }}</strong><span>]</span></a></li>
<!-- ENDIF --> {% endif %}
<li><a href="{U_PROFILE}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_PROFILE}</span></a></li> <li><a href="{{ U_PROFILE }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('PROFILE') }}</span></a></li>
<!-- IF U_UM_MCP --> {% if U_UM_MCP %}
<li><a href="{U_UM_MCP}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_MCP}</span></a></li> <li><a href="{{ U_UM_MCP }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('MCP') }}</span></a></li>
<!-- ENDIF --> {% endif %}
<!-- IF U_ACP --> {% if U_ACP %}
<li><a href="{U_ACP}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_M_ACP}</span></a></li> <li><a href="{{ U_ACP }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('M_ACP') }}</span></a></li>
<!-- ENDIF --> {% endif %}
<li><a href="{U_LOGIN_LOGOUT}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{L_LOGIN_LOGOUT}</span></a></li> <li><a href="{{ U_LOGIN_LOGOUT }}"><i class="icon fa-arrow-circle-o-right fa-fw" aria-hidden="true"></i><span>{{ lang('LOGIN_LOGOUT') }}</span></a></li>
</ul> </ul>
</div> </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}

View File

@@ -1,9 +1,9 @@
{$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{{ definition.TITLE }}{{ definition.C_BLOCK_H_R }}
<div class="panel bg1 portal-no-margin"> <div class="panel bg1 portal-no-margin">
<div class="inner"> <div class="inner">
<div class="postbody portal-module-postbody"> <div class="postbody portal-module-postbody">
<div class="content portal-module-content">{PORTAL_WELCOME_MSG}</div> <div class="content portal-module-content">{{ PORTAL_WELCOME_MSG }}</div>
</div> </div>
</div> </div>
</div> </div>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}

View File

@@ -1,17 +1,17 @@
{$C_BLOCK_H_L}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$C_BLOCK_H_R} {{ definition.C_BLOCK_H_L }}{% if U_VIEWONLINE %}<a href="{{ U_VIEWONLINE }}">{{ definition.TITLE }}</a>{% else %}{{ definition.TITLE }}{% endif %}{{ definition.C_BLOCK_H_R }}
<ul class="topiclist bg1"> <ul class="topiclist bg1">
<li> <li>
<dl> <dl>
<dt></dt> <dt></dt>
<dd class="portal-whois-online-content portal-responsive-show"> <dd class="portal-whois-online-content portal-responsive-show">
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <p>{{ TOTAL_USERS_ONLINE }} ({{ lang('ONLINE_EXPLAIN') }})<br />{{ RECORD_USERS }}<br />
<!-- IF U_VIEWONLINE --> {% if U_VIEWONLINE %}
<br />{LOGGED_IN_USER_LIST} <br />{{ LOGGED_IN_USER_LIST }}
<!-- IF PORTAL_LEGEND --><br /><em>{L_LEGEND}{L_COLON} {PORTAL_LEGEND}</em><!-- ENDIF --> {% if PORTAL_LEGEND %}<br /><em>{{ lang('LEGEND') }}{{ lang('COLON') }} {{ PORTAL_LEGEND }}</em>{% endif %}
<!-- ENDIF --> {% endif %}
</p> </p>
</dd> </dd>
</dl> </dl>
</li> </li>
</ul> </ul>
{$C_BLOCK_F_L}{$C_BLOCK_F_R} {{ definition.C_BLOCK_F_L }}{{ definition.C_BLOCK_F_R }}

View File

@@ -1,15 +1,15 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --> {{ definition.LR_BLOCK_H_L }}{% if definition.S_BLOCK_ICON %}
<!-- IF $FA_ENABLED --> {% if definition.FA_ENABLED %}
<i class="icon fa {$FA_ICON}" style="font-size: {$FA_SIZE}px;" aria-hidden="true"></i> <i class="icon fa {{ definition.FA_ICON }}" style="font-size: {{ definition.FA_SIZE }}px;" aria-hidden="true"></i>
<!-- ELSE --> {% else %}
<img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <img src="{{ definition.IMAGE_SRC }}" width="{{ definition.IMAGE_WIDTH }}" height="{{ definition.IMAGE_HEIGHT }}" alt="" />
<!-- ENDIF --> {% endif %}
<!-- ENDIF --><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$LR_BLOCK_H_R} {% endif %}{% if U_VIEWONLINE %}<a href="{{ U_VIEWONLINE }}">{{ definition.TITLE }}</a>{% else %}{{ definition.TITLE }}{% endif %}{{ definition.LR_BLOCK_H_R }}
<div class="portal-whois-online-content"> <div class="portal-whois-online-content">
<p>{TOTAL_USERS_ONLINE}<br /> <p>{{ TOTAL_USERS_ONLINE }}<br />
<!-- IF U_VIEWONLINE --> {% if U_VIEWONLINE %}
<br />{LOGGED_IN_USER_LIST} <br />{{ LOGGED_IN_USER_LIST }}
<!-- ENDIF --> {% endif %}
</p> </p>
</div> </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R} {{ definition.LR_BLOCK_F_L }}{{ definition.LR_BLOCK_F_R }}