Merged proposed change by archivar with a little for the compact blocks and the recent block:

http://www.board3.de/viewtopic.php?f=2&t=2262&start=120#p26413
This commit is contained in:
Marc Alexander
2011-02-09 13:36:02 +00:00
parent 58d85c69ea
commit a28429dbc0
11 changed files with 22 additions and 17 deletions

View File

@@ -6,11 +6,17 @@
<!-- DEFINE $LR_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' --> <!-- DEFINE $LR_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Config for the center blocks //--> <!-- Config for the center blocks //-->
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon">' --> <!-- DEFINE $C_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon"><dt>' -->
<!-- DEFINE $C_BLOCK_H_R = '</dl></li></ul>' --> <!-- DEFINE $C_BLOCK_H_R = '</dt></dl></li></ul>' -->
<!-- DEFINE $C_BLOCK_F_L = '' --> <!-- DEFINE $C_BLOCK_F_L = '' -->
<!-- DEFINE $C_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' --> <!-- DEFINE $C_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Config for compact blocks //-->
<!-- DEFINE $CC_BLOCK_H_L = '<div class="forabg"><div class="inner"><span class="corners-top"><span></span></span><ul class="topiclist"><li class="header"><dl class="icon">' -->
<!-- DEFINE $CC_BLOCK_H_R = '</dl></li></ul>' -->
<!-- DEFINE $CC_BLOCK_F_L = '' -->
<!-- DEFINE $CC_BLOCK_F_R = '<span class="corners-bottom"><span></span></span></div></div><br style="clear:both" />' -->
<!-- Images-URL //--> <!-- Images-URL //-->
<!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' --> <!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' -->

View File

@@ -1,7 +1,7 @@
<!--version $Id$ //--> <!--version $Id$ //-->
<!-- BEGIN announcements_row --> <!-- BEGIN announcements_row -->
<!-- IF announcements_row.S_FIRST_ROW --> <!-- IF announcements_row.S_FIRST_ROW -->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<!-- ENDIF --> <!-- ENDIF -->
<!-- IF $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF --> <!-- IF $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
<!-- IF announcements_row.S_NO_TOPICS --> <!-- IF announcements_row.S_NO_TOPICS -->

View File

@@ -1,7 +1,7 @@
<!--version $Id$ //--> <!--version $Id$ //-->
<!-- BEGIN announcements_row --> <!-- BEGIN announcements_row -->
<!-- IF announcements_row.S_NO_TOPICS --> <!-- IF announcements_row.S_NO_TOPICS -->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="post bg2" style="margin-bottom: 0px"> <div class="post bg2" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span> <div class="inner"><span class="portal-corners-top-inner"></span>
<span style="text-align: center;"><strong>{L_NO_ANNOUNCEMENTS}</strong></span> <span style="text-align: center;"><strong>{L_NO_ANNOUNCEMENTS}</strong></span>
@@ -11,14 +11,14 @@
<!-- ELSE --> <!-- ELSE -->
<!-- IF announcements_row.S_FIRST_ROW --> <!-- IF announcements_row.S_FIRST_ROW -->
<a name="a"></a> <a name="a"></a>
{$C_BLOCK_H_L} {$CC_BLOCK_H_L}
<dt <!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{$TITLE}</dt> <dt <!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{$TITLE}</dt>
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS --> <!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
<dd class="posts" style="width: 11%">{L_REPLIES}</dd> <dd class="posts" style="width: 11%">{L_REPLIES}</dd>
<dd class="views" style="width: 11%">{L_VIEWS}</dd> <dd class="views" style="width: 11%">{L_VIEWS}</dd>
<!-- ENDIF --> <!-- ENDIF -->
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd> <dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
{$C_BLOCK_H_R} {$CC_BLOCK_H_R}
<ul class="topiclist topics"> <ul class="topiclist topics">
<!-- ENDIF --> <!-- ENDIF -->
<li class="row<!-- IF announcements_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->"> <li class="row<!-- IF announcements_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">

View File

@@ -1,5 +1,5 @@
<!--version $Id$ //--> <!--version $Id$ //-->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="panel bg1" style="margin-bottom: 0px"> <div class="panel bg1" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span> <div class="inner"><span class="portal-corners-top-inner"></span>
<div class="postbody" style="width: 100%"> <div class="postbody" style="width: 100%">

View File

@@ -1,5 +1,5 @@
<!--version $Id$ //--> <!--version $Id$ //-->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<ul class="topiclist bg1"> <ul class="topiclist bg1">
<li><dl> <li><dl>
<dd style="border-left: 0px"> <dd style="border-left: 0px">

View File

@@ -1,5 +1,5 @@
<!--version $Id$ //--> <!--version $Id$ //-->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<!-- IF $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF --> <!-- IF $S_POSTBODY_TOP --><div class="postbody" style="width: 100%"><!-- ENDIF -->
<!-- BEGIN news_row --> <!-- BEGIN news_row -->
<!-- IF news_row.S_NO_TOPICS --> <!-- IF news_row.S_NO_TOPICS -->

View File

@@ -1,7 +1,7 @@
<!--version $Id$ //--> <!--version $Id$ //-->
<!-- BEGIN news_row --> <!-- BEGIN news_row -->
<!-- IF news_row.S_NO_TOPICS --> <!-- IF news_row.S_NO_TOPICS -->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="post bg2" style="margin-bottom: 0px"> <div class="post bg2" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span> <div class="inner"><span class="portal-corners-top-inner"></span>
<span style="text-align: center;"><strong>{L_NO_NEWS}</strong></span> <span style="text-align: center;"><strong>{L_NO_NEWS}</strong></span>
@@ -11,15 +11,14 @@
<!-- ELSE --> <!-- ELSE -->
<!-- IF news_row.S_FIRST_ROW --> <!-- IF news_row.S_FIRST_ROW -->
<a name="n"></a> <a name="n"></a>
{$C_BLOCK_H_L} {$CC_BLOCK_H_L}
<dt <!-- IF S_DISPLAY_NEWS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{$TITLE}</dt> <dt <!-- IF S_DISPLAY_NEWS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{$TITLE}</dt>
<!-- IF S_DISPLAY_NEWS_RVS --> <!-- IF S_DISPLAY_NEWS_RVS -->
<dd class="posts" style="width: 11%">{L_REPLIES}</dd> <dd class="posts" style="width: 11%">{L_REPLIES}</dd>
<dd class="views" style="width: 11%">{L_VIEWS}</dd> <dd class="views" style="width: 11%">{L_VIEWS}</dd>
<!-- ENDIF --> <!-- ENDIF -->
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd> <dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
{$CC_BLOCK_H_R}
{$C_BLOCK_H_R}
<ul class="topiclist topics"> <ul class="topiclist topics">
<!-- ENDIF --> <!-- ENDIF -->
<li class="row<!-- IF 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 -->">

View File

@@ -1,6 +1,6 @@
<!--version $Id$ //--> <!--version $Id$ //-->
<a name="viewpoll"></a> <a name="viewpoll"></a>
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<!-- IF S_HAS_POLL --> <!-- IF S_HAS_POLL -->
<div class="panel bg1" style="margin-bottom: 0px"> <div class="panel bg1" style="margin-bottom: 0px">
<div class="inner"> <div class="inner">

View File

@@ -1,6 +1,6 @@
<!--version $Id$ //--> <!--version $Id$ //-->
<!-- IF .latest_announcements or .latest_hot_topics or .latest_topics --> <!-- IF .latest_announcements or .latest_hot_topics or .latest_topics -->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<ul class="topiclist bg1"> <ul class="topiclist bg1">
<li><dl> <li><dl>
<dd style="border-left:0px; width:100%"> <dd style="border-left:0px; width:100%">

View File

@@ -1,5 +1,5 @@
<!--version $Id$ //--> <!--version $Id$ //-->
{$C_BLOCK_H_L}<dt>{$TITLE}</dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}{$TITLE}{$C_BLOCK_H_R}
<div class="panel bg1" style="margin-bottom: 0px"> <div class="panel bg1" style="margin-bottom: 0px">
<div class="inner"><span class="portal-corners-top-inner"></span> <div class="inner"><span class="portal-corners-top-inner"></span>
<div class="postbody" style="width: 100%"> <div class="postbody" style="width: 100%">

View File

@@ -1,5 +1,5 @@
<!--version $Id$ //--> <!--version $Id$ //-->
{$C_BLOCK_H_L}<dt><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF --></dt>{$C_BLOCK_H_R} {$C_BLOCK_H_L}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$C_BLOCK_H_R}
<ul class="topiclist bg1"> <ul class="topiclist bg1">
<li><dl> <li><dl>
<dd style="border-left:0px"> <dd style="border-left:0px">