diff --git a/styles/prosilver/template/portal/_block_config.html b/styles/prosilver/template/portal/_block_config.html index 069d6103..fc9aa34e 100644 --- a/styles/prosilver/template/portal/_block_config.html +++ b/styles/prosilver/template/portal/_block_config.html @@ -1,35 +1,35 @@ - - - - +{% DEFINE LR_BLOCK_H_L = '
' %} +{% DEFINE LR_BLOCK_F_R = '

' %} - - - - +{% DEFINE C_BLOCK_H_L = '
' %} +{% DEFINE C_BLOCK_F_L = ' ' %} +{% DEFINE C_BLOCK_F_R = '

' %} - - +{% DEFINE CC_BLOCK_H_L = '
' %} - +{% DEFINE NO_AVATAR_IMG = '/images/no_avatar.gif' %} - +{% DEFINE BLOCK_DISTANCE = '10px' %} - +{% DEFINE S_BLOCK_ICON = 1 %} - +{% DEFINE S_POSTBODY_TOP = 1 %} - +{% DEFINE S_COLUMNS_WIDTH_OVERRIDE = 0 %} - - \ No newline at end of file +{% DEFINE PORTAL_LEFT_COLUMN_OVERRIDE = '200' %} +{% DEFINE PORTAL_RIGHT_COLUMN_OVERRIDE = '200' %} diff --git a/styles/prosilver/template/portal/portal_body.html b/styles/prosilver/template/portal/portal_body.html index f5b2d1d1..5f9502d3 100644 --- a/styles/prosilver/template/portal/portal_body.html +++ b/styles/prosilver/template/portal/portal_body.html @@ -1,124 +1,124 @@ - - +{% INCLUDE 'overall_header.html' %} +{% INCLUDE 'portal/_block_config.html' %}
- + {% if S_TOP_COLUMN %}
  • - - - - - - - - - - - - - + {% 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 %}
- + {% endif %} - + {% if S_CENTER_COLUMN %}
-
- - - - - - - - - - - - - - +
+ {% 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 %}
- - + {% INCLUDE 'portal/modules/jumpbox.html' %} + {% endif %}
- + {% endif %} - -
- - - - - - - - - - - - - + {% if S_LEFT_COLUMN %} +
+ {% 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 %}
- + {% endif %} - -
- - - - - - - - - - - - - + {% if S_RIGHT_COLUMN %} +
+ {% 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 %}
- + {% endif %}
- + {% if S_BOTTOM_COLUMN %}
  • - - - - - - - - - - - - - + {% 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 %}
- + {% endif %}
- + - - +{% INCLUDEJS 'portal/assets/jquery.getscrollbarwidth.js' %} +{% INCLUDEJS 'portal/assets/portal.js' %} - +{% INCLUDE 'overall_footer.html' %}