Change block_config and portal_config to twig style & update copyright

This commit is contained in:
Marc Alexander
2023-02-07 21:00:56 +01:00
parent 791fc8920b
commit 46e7d5c334
2 changed files with 104 additions and 104 deletions

View File

@@ -1,35 +1,35 @@
<!-- Config for the left and right blocks //-->
<!-- DEFINE $LR_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl><dt style="padding: 0px 0px 2px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' -->
<!-- DEFINE $LR_BLOCK_H_R = '</dt><dd></dd></dl></li></ul><ul class="topiclist forums"><li><dl><dt></dt><dd class="portal-side-wrapper"><div class="portal-side">' -->
<!-- DEFINE $LR_BLOCK_F_L = '</div></dd></dl></li></ul>' -->
<!-- DEFINE $LR_BLOCK_F_R = '</div></div><br class="portal-clear" />' -->
{% DEFINE LR_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl><dt style="padding: 0px 0px 2px; white-space: nowrap; margin-bottom: 0px; margin-top: 0px;">' %}
{% DEFINE LR_BLOCK_H_R = '</dt><dd></dd></dl></li></ul><ul class="topiclist forums"><li><dl><dt></dt><dd class="portal-side-wrapper"><div class="portal-side">' %}
{% DEFINE LR_BLOCK_F_L = '</div></dd></dl></li></ul>' %}
{% DEFINE LR_BLOCK_F_R = '</div></div><br class="portal-clear" />' %}
<!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl class="row-item"><dt>' -->
<!-- DEFINE $C_BLOCK_H_R = '</dt><dd></dd></dl></li></ul>' -->
<!-- DEFINE $C_BLOCK_F_L = ' ' -->
<!-- DEFINE $C_BLOCK_F_R = '</div></div><br class="portal-clear" />' -->
{% DEFINE C_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl class="row-item"><dt>' %}
{% DEFINE C_BLOCK_H_R = '</dt><dd></dd></dl></li></ul>' %}
{% DEFINE C_BLOCK_F_L = ' ' %}
{% DEFINE C_BLOCK_F_R = '</div></div><br class="portal-clear" />' %}
<!-- Config for compact blocks //-->
<!-- DEFINE $CC_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl class="row-item">' -->
<!-- DEFINE $CC_BLOCK_H_R = '</dl></li></ul>' -->
{% DEFINE CC_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl class="row-item">' %}
{% DEFINE CC_BLOCK_H_R = '</dl></li></ul>' %}
<!-- Images-URL //-->
<!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' -->
{% DEFINE NO_AVATAR_IMG = '/images/no_avatar.gif' %}
<!-- Vertical distance between left/right and center Blocks -->
<!-- DEFINE $BLOCK_DISTANCE = '10px' -->
{% DEFINE BLOCK_DISTANCE = '10px' %}
<!-- show Icons in left/right Blocks? 0=no 1=yes -->
<!-- DEFINE $S_BLOCK_ICON = 1 -->
{% DEFINE S_BLOCK_ICON = 1 %}
<!-- postbody top (default 1 by prosilver) 0=no 1=yes -->
<!-- DEFINE $S_POSTBODY_TOP = 1 -->
{% DEFINE S_POSTBODY_TOP = 1 %}
<!-- override the column width settings of the ACP for this style? 0=no 1=yes -->
<!-- DEFINE $S_COLUMNS_WIDTH_OVERRIDE = 0 -->
{% DEFINE S_COLUMNS_WIDTH_OVERRIDE = 0 %}
<!-- override the column width settings of the ACP - set the width if enabled -->
<!-- DEFINE $PORTAL_LEFT_COLUMN_OVERRIDE = '200' -->
<!-- DEFINE $PORTAL_RIGHT_COLUMN_OVERRIDE = '200' -->
{% DEFINE PORTAL_LEFT_COLUMN_OVERRIDE = '200' %}
{% DEFINE PORTAL_RIGHT_COLUMN_OVERRIDE = '200' %}

View File

@@ -1,124 +1,124 @@
<!-- INCLUDE overall_header.html -->
<!-- INCLUDE portal/_block_config.html -->
{% INCLUDE 'overall_header.html' %}
{% INCLUDE 'portal/_block_config.html' %}
<div id="portal-body" role="grid">
<!-- IF S_TOP_COLUMN -->
{% if S_TOP_COLUMN %}
<div id="portal-top" role="rowgroup">
<!-- [+] top module area -->
<ul>
<li>
<!-- BEGIN modules_top -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_top.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_top.IMAGE_SRC}' -->
<!-- DEFINE $IMAGE_WIDTH = '{modules_top.IMAGE_WIDTH}' -->
<!-- DEFINE $IMAGE_HEIGHT = '{modules_top.IMAGE_HEIGHT}' -->
<!-- DEFINE $CUSTOM_CODE = '{modules_top.CODE}' -->
<!-- DEFINE $TITLE = '{modules_top.TITLE}' -->
<!-- DEFINE $MODULE_ID = '{modules_top.MODULE_ID}' -->
<!-- DEFINE $FA_ICON = '{modules_top.FA_ICON}' -->
<!-- DEFINE $FA_SIZE = '{modules_top.FA_SIZE}' -->
<!-- DEFINE $FA_ENABLED = '{modules_top.FA_ENABLED}' -->
<!-- INCLUDE {$TEMPLATE_FILE} -->
<!-- END modules_top -->
{% for modules_top in loops.modules_top %}
{% DEFINE TEMPLATE_FILE = ''~ modules_top.TEMPLATE_FILE ~'' %}
{% DEFINE IMAGE_SRC = ''~ modules_top.IMAGE_SRC ~'' %}
{% DEFINE IMAGE_WIDTH = ''~ modules_top.IMAGE_WIDTH ~'' %}
{% DEFINE IMAGE_HEIGHT = ''~ modules_top.IMAGE_HEIGHT ~'' %}
{% DEFINE CUSTOM_CODE = ''~ modules_top.CODE ~'' %}
{% DEFINE TITLE = ''~ modules_top.TITLE ~'' %}
{% DEFINE MODULE_ID = ''~ modules_top.MODULE_ID ~'' %}
{% DEFINE FA_ICON = ''~ modules_top.FA_ICON ~'' %}
{% DEFINE FA_SIZE = ''~ modules_top.FA_SIZE ~'' %}
{% DEFINE FA_ENABLED = ''~ modules_top.FA_ENABLED ~'' %}
{% INCLUDE ''~ definition.TEMPLATE_FILE ~'' %}
{% endfor %}
</li>
</ul>
<!-- [-] top module area -->
</div>
<!-- ENDIF -->
{% endif %}
<!-- [+] center module area -->
<!-- IF S_CENTER_COLUMN -->
{% if S_CENTER_COLUMN %}
<div id="portal-center-wrapper">
<div id="portal-center" style="margin: 0 <!-- IF S_RIGHT_COLUMN -->{S_PORTAL_RIGHT_COLUMN}px<!-- ELSE -->-{$BLOCK_DISTANCE}<!-- ENDIF --> 0 <!-- IF S_LEFT_COLUMN -->{S_PORTAL_LEFT_COLUMN}px<!-- ELSE -->-{$BLOCK_DISTANCE}<!-- ENDIF -->; padding: 0 {$BLOCK_DISTANCE};" role="rowgroup">
<!-- BEGIN modules_center -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_center.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_center.IMAGE_SRC}' -->
<!-- DEFINE $IMAGE_WIDTH = '{modules_center.IMAGE_WIDTH}' -->
<!-- DEFINE $IMAGE_HEIGHT = '{modules_center.IMAGE_HEIGHT}' -->
<!-- DEFINE $CUSTOM_CODE = '{modules_center.CODE}' -->
<!-- DEFINE $TITLE = '{modules_center.TITLE}' -->
<!-- DEFINE $MODULE_ID = '{modules_center.MODULE_ID}' -->
<!-- DEFINE $FA_ICON = '{modules_center.FA_ICON}' -->
<!-- DEFINE $FA_SIZE = '{modules_center.FA_SIZE}' -->
<!-- DEFINE $FA_ENABLED = '{modules_center.FA_ENABLED}' -->
<!-- INCLUDE {$TEMPLATE_FILE} -->
<!-- END modules_center -->
<!-- IF S_DISPLAY_JUMPBOX and B3P_DISPLAY_JUMPBOX -->
<div id="portal-center" style="margin: 0 {% if S_RIGHT_COLUMN %}{{ S_PORTAL_RIGHT_COLUMN }}px{% else %}-{{ definition.BLOCK_DISTANCE }}{% endif %} 0 {% if S_LEFT_COLUMN %}{{ S_PORTAL_LEFT_COLUMN }}px{% else %}-{{ definition.BLOCK_DISTANCE }}{% endif %}; padding: 0 {{ definition.BLOCK_DISTANCE }};" role="rowgroup">
{% for modules_center in loops.modules_center %}
{% DEFINE TEMPLATE_FILE = ''~ modules_center.TEMPLATE_FILE ~'' %}
{% DEFINE IMAGE_SRC = ''~ modules_center.IMAGE_SRC ~'' %}
{% DEFINE IMAGE_WIDTH = ''~ modules_center.IMAGE_WIDTH ~'' %}
{% DEFINE IMAGE_HEIGHT = ''~ modules_center.IMAGE_HEIGHT ~'' %}
{% DEFINE CUSTOM_CODE = ''~ modules_center.CODE ~'' %}
{% DEFINE TITLE = ''~ modules_center.TITLE ~'' %}
{% DEFINE MODULE_ID = ''~ modules_center.MODULE_ID ~'' %}
{% DEFINE FA_ICON = ''~ modules_center.FA_ICON ~'' %}
{% DEFINE FA_SIZE = ''~ modules_center.FA_SIZE ~'' %}
{% DEFINE FA_ENABLED = ''~ modules_center.FA_ENABLED ~'' %}
{% INCLUDE ''~ definition.TEMPLATE_FILE ~'' %}
{% endfor %}
{% if S_DISPLAY_JUMPBOX and B3P_DISPLAY_JUMPBOX %}
<br />
<!-- INCLUDE portal/modules/jumpbox.html -->
<!-- ENDIF -->
{% INCLUDE 'portal/modules/jumpbox.html' %}
{% endif %}
</div>
</div>
<!-- ENDIF -->
{% endif %}
<!-- [-] center module area -->
<!-- [+] left module area -->
<!-- IF S_LEFT_COLUMN -->
<div id="portal-left" style="width: {S_PORTAL_LEFT_COLUMN}px;" role="rowgroup">
<!-- BEGIN modules_left -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_left.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_left.IMAGE_SRC}' -->
<!-- DEFINE $IMAGE_WIDTH = '{modules_left.IMAGE_WIDTH}' -->
<!-- DEFINE $IMAGE_HEIGHT = '{modules_left.IMAGE_HEIGHT}' -->
<!-- DEFINE $CUSTOM_CODE = '{modules_left.CODE}' -->
<!-- DEFINE $TITLE = '{modules_left.TITLE}' -->
<!-- DEFINE $MODULE_ID = '{modules_left.MODULE_ID}' -->
<!-- DEFINE $FA_ICON = '{modules_left.FA_ICON}' -->
<!-- DEFINE $FA_SIZE = '{modules_left.FA_SIZE}' -->
<!-- DEFINE $FA_ENABLED = '{modules_left.FA_ENABLED}' -->
<!-- INCLUDE {$TEMPLATE_FILE} -->
<!-- END modules_left -->
{% if S_LEFT_COLUMN %}
<div id="portal-left" style="width: {{ S_PORTAL_LEFT_COLUMN }}px;" role="rowgroup">
{% for modules_left in loops.modules_left %}
{% DEFINE TEMPLATE_FILE = ''~ modules_left.TEMPLATE_FILE ~'' %}
{% DEFINE IMAGE_SRC = ''~ modules_left.IMAGE_SRC ~'' %}
{% DEFINE IMAGE_WIDTH = ''~ modules_left.IMAGE_WIDTH ~'' %}
{% DEFINE IMAGE_HEIGHT = ''~ modules_left.IMAGE_HEIGHT ~'' %}
{% DEFINE CUSTOM_CODE = ''~ modules_left.CODE ~'' %}
{% DEFINE TITLE = ''~ modules_left.TITLE ~'' %}
{% DEFINE MODULE_ID = ''~ modules_left.MODULE_ID ~'' %}
{% DEFINE FA_ICON = ''~ modules_left.FA_ICON ~'' %}
{% DEFINE FA_SIZE = ''~ modules_left.FA_SIZE ~'' %}
{% DEFINE FA_ENABLED = ''~ modules_left.FA_ENABLED ~'' %}
{% INCLUDE ''~ definition.TEMPLATE_FILE ~'' %}
{% endfor %}
</div>
<!-- ENDIF -->
{% endif %}
<!-- [-] left module area -->
<!-- [+] right module area -->
<!-- IF S_RIGHT_COLUMN -->
<div id="portal-right" style="width: {S_PORTAL_RIGHT_COLUMN}px; margin-<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->right<!-- ELSE -->left<!-- ENDIF -->: -{S_PORTAL_RIGHT_COLUMN}px;" data-width="{S_PORTAL_RIGHT_COLUMN}" role="rowgroup">
<!-- BEGIN modules_right -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_right.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_right.IMAGE_SRC}' -->
<!-- DEFINE $IMAGE_WIDTH = '{modules_right.IMAGE_WIDTH}' -->
<!-- DEFINE $IMAGE_HEIGHT = '{modules_right.IMAGE_HEIGHT}' -->
<!-- DEFINE $CUSTOM_CODE = '{modules_right.CODE}' -->
<!-- DEFINE $TITLE = '{modules_right.TITLE}' -->
<!-- DEFINE $MODULE_ID = '{modules_right.MODULE_ID}' -->
<!-- DEFINE $FA_ICON = '{modules_right.FA_ICON}' -->
<!-- DEFINE $FA_SIZE = '{modules_right.FA_SIZE}' -->
<!-- DEFINE $FA_ENABLED = '{modules_right.FA_ENABLED}' -->
<!-- INCLUDE {$TEMPLATE_FILE} -->
<!-- END modules_right -->
{% if S_RIGHT_COLUMN %}
<div id="portal-right" style="width: {{ S_PORTAL_RIGHT_COLUMN }}px; margin-{% if S_CONTENT_DIRECTION eq 'rtl' %}right{% else %}left{% endif %}: -{{ S_PORTAL_RIGHT_COLUMN }}px;" data-width="{{ S_PORTAL_RIGHT_COLUMN }}" role="rowgroup">
{% for modules_right in loops.modules_right %}
{% DEFINE TEMPLATE_FILE = ''~ modules_right.TEMPLATE_FILE ~'' %}
{% DEFINE IMAGE_SRC = ''~ modules_right.IMAGE_SRC ~'' %}
{% DEFINE IMAGE_WIDTH = ''~ modules_right.IMAGE_WIDTH ~'' %}
{% DEFINE IMAGE_HEIGHT = ''~ modules_right.IMAGE_HEIGHT ~'' %}
{% DEFINE CUSTOM_CODE = ''~ modules_right.CODE ~'' %}
{% DEFINE TITLE = ''~ modules_right.TITLE ~'' %}
{% DEFINE MODULE_ID = ''~ modules_right.MODULE_ID ~'' %}
{% DEFINE FA_ICON = ''~ modules_right.FA_ICON ~'' %}
{% DEFINE FA_SIZE = ''~ modules_right.FA_SIZE ~'' %}
{% DEFINE FA_ENABLED = ''~ modules_right.FA_ENABLED ~'' %}
{% INCLUDE ''~ definition.TEMPLATE_FILE ~'' %}
{% endfor %}
</div>
<!-- ENDIF -->
{% endif %}
<!-- [-] right module area -->
<br class="portal-clear" />
<!-- IF S_BOTTOM_COLUMN -->
{% if S_BOTTOM_COLUMN %}
<div id="portal-bottom" role="rowgroup">
<!-- [+] bottom module area -->
<ul>
<li>
<!-- BEGIN modules_bottom -->
<!-- DEFINE $TEMPLATE_FILE = '{modules_bottom.TEMPLATE_FILE}' -->
<!-- DEFINE $IMAGE_SRC = '{modules_bottom.IMAGE_SRC}' -->
<!-- DEFINE $IMAGE_WIDTH = '{modules_bottom.IMAGE_WIDTH}' -->
<!-- DEFINE $IMAGE_HEIGHT = '{modules_bottom.IMAGE_HEIGHT}' -->
<!-- DEFINE $CUSTOM_CODE = '{modules_bottom.CODE}' -->
<!-- DEFINE $TITLE = '{modules_bottom.TITLE}' -->
<!-- DEFINE $MODULE_ID = '{modules_bottom.MODULE_ID}' -->
<!-- DEFINE $FA_ICON = '{modules_bottom.FA_ICON}' -->
<!-- DEFINE $FA_SIZE = '{modules_bottom.FA_SIZE}' -->
<!-- DEFINE $FA_ENABLED = '{modules_bottom.FA_ENABLED}' -->
<!-- INCLUDE {$TEMPLATE_FILE} -->
<!-- END modules_bottom -->
{% for modules_bottom in loops.modules_bottom %}
{% DEFINE TEMPLATE_FILE = ''~ modules_bottom.TEMPLATE_FILE ~'' %}
{% DEFINE IMAGE_SRC = ''~ modules_bottom.IMAGE_SRC ~'' %}
{% DEFINE IMAGE_WIDTH = ''~ modules_bottom.IMAGE_WIDTH ~'' %}
{% DEFINE IMAGE_HEIGHT = ''~ modules_bottom.IMAGE_HEIGHT ~'' %}
{% DEFINE CUSTOM_CODE = ''~ modules_bottom.CODE ~'' %}
{% DEFINE TITLE = ''~ modules_bottom.TITLE ~'' %}
{% DEFINE MODULE_ID = ''~ modules_bottom.MODULE_ID ~'' %}
{% DEFINE FA_ICON = ''~ modules_bottom.FA_ICON ~'' %}
{% DEFINE FA_SIZE = ''~ modules_bottom.FA_SIZE ~'' %}
{% DEFINE FA_ENABLED = ''~ modules_bottom.FA_ENABLED ~'' %}
{% INCLUDE ''~ definition.TEMPLATE_FILE ~'' %}
{% endfor %}
</li>
</ul>
<!-- [-] bottom module area -->
</div>
<!-- ENDIF -->
{% endif %}
</div>
<!--// board3 Portal by www.board3.de //-->
<div class="copyright b3p-copyright">Powered by <a href="http://www.board3.de/">Board3 Portal</a> &copy; 2009 - 2021 Board3 Group</div>
<div class="copyright b3p-copyright">Powered by <a href="https://www.board3.de/">Board3 Portal</a> &copy; 2009 - 2023 Board3 Group</div>
<!-- INCLUDEJS portal/assets/jquery.getscrollbarwidth.js -->
<!-- INCLUDEJS portal/assets/portal.js -->
{% INCLUDEJS 'portal/assets/jquery.getscrollbarwidth.js' %}
{% INCLUDEJS 'portal/assets/portal.js' %}
<!-- INCLUDE overall_footer.html -->
{% INCLUDE 'overall_footer.html' %}