#115: ACP option to hide / show the columns "views" and "replies" in compact mode for news and announcements.
RC3 preparation.
This commit is contained in:
@@ -81,6 +81,7 @@ class acp_portal
|
||||
'portal_news_show_last' => array('lang' => 'PORTAL_NEWS_SHOW_LAST', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
'portal_news_archive' => array('lang' => 'PORTAL_NEWS_ARCHIVE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
'portal_news_permissions' => array('lang' => 'PORTAL_NEWS_PERMISSIONS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
'portal_show_news_replies_views' => array('lang' => 'PORTAL_SHOW_REPLIES_VIEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
)
|
||||
);
|
||||
break;
|
||||
@@ -97,6 +98,7 @@ class acp_portal
|
||||
'portal_global_announcements_forum' => array('lang' => 'PORTAL_GLOBAL_ANNOUNCEMENTS_FORUM' , 'validate' => 'string', 'type' => 'text:10:200', 'explain' => true),
|
||||
'portal_announcements_archive' => array('lang' => 'PORTAL_ANNOUNCEMENTS_ARCHIVE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
'portal_announcements_permissions' => array('lang' => 'PORTAL_ANNOUNCEMENTS_PERMISSIONS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
'portal_show_announcements_replies_views' => array('lang' => 'PORTAL_SHOW_REPLIES_VIEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
)
|
||||
);
|
||||
break;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
$current_version = '1.0.0RC2';
|
||||
$current_version = '1.0.0RC3';
|
||||
|
||||
// If only checking version, exit.
|
||||
if( defined('IN_PHPBB') )
|
||||
@@ -39,7 +39,7 @@ $page_title = 'Board3portal v' . $current_version;
|
||||
|
||||
if( $user->data['is_registered'] && $auth->acl_get('a_board') )
|
||||
{
|
||||
$version_array = array('0.1.0', '0.2.0', '0.2.1', '0.2.2', '0.3.0', '1.0.0RC1', 'p3p1.2.2', 'p3p1.2.1', 'p3p1.2.0', 'p3p1.1.0b');
|
||||
$version_array = array('0.1.0', '0.2.0', '0.2.1', '0.2.2', '0.3.0', '1.0.0RC1', '1.0.0RC2', 'p3p1.2.2', 'p3p1.2.1', 'p3p1.2.0', 'p3p1.1.0b');
|
||||
|
||||
$old_version = 0;
|
||||
$phpbb3portal = false;
|
||||
|
||||
@@ -89,5 +89,9 @@ INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_link
|
||||
# Version 1.0.0RC2 #
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders_ext', '0');
|
||||
|
||||
# Version 1.0.0RC3 #
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_announcements_replies_views', '1');
|
||||
INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');
|
||||
|
||||
# POSTGRES COMMIT #
|
||||
|
||||
|
||||
@@ -68,4 +68,9 @@ $sql_update['1.0.0RC2'] = array(
|
||||
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_leaders_ext', '0');",
|
||||
);
|
||||
|
||||
$sql_update['1.0.0RC3'] = array(
|
||||
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_announcements_replies_views', '1');",
|
||||
"INSERT INTO phpbb_portal_config (config_name, config_value) VALUES ('portal_show_news_replies_views', '1');",
|
||||
);
|
||||
|
||||
?>
|
||||
@@ -77,6 +77,10 @@ $lang = array_merge($lang, array(
|
||||
'PORTAL_RANDOM_MEMBER' => 'Zufälliges Profil',
|
||||
'PORTAL_RANDOM_MEMBER_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.',
|
||||
|
||||
// news and announcements
|
||||
'PORTAL_SHOW_REPLIES_VIEWS' => '"Antworten" und "Zugriffe" in Extraspalten',
|
||||
'PORTAL_SHOW_REPLIES_VIEWS_EXPLAIN' => 'Einstellung für den kompakter Bekanntmachungen-Block-Stil.<br />Wenn aktiviert, wird die Anzahl der Antworten und Zugriffe in gesonderten Spalten angezeigt. Wenn deaktiviert gibt es nur zwei Spalten und die Antworten und Zugriffe werden neben "Forum" angezeigt. Bei Darstellungsproblemen mit z.B. schmalen Styles bitte deaktivieren.',
|
||||
|
||||
// announcements
|
||||
'ACP_PORTAL_ANNOUNCE_INFO' => 'Bekanntmachungen',
|
||||
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Einstellungen für Bekanntmachungen',
|
||||
|
||||
@@ -82,6 +82,10 @@ $lang = array_merge($lang, array(
|
||||
'PORTAL_RANDOM_MEMBER' => 'Random member block',
|
||||
'PORTAL_RANDOM_MEMBER_EXPLAIN' => 'Display this block on the portal.',
|
||||
|
||||
// news and announcements
|
||||
'PORTAL_SHOW_REPLIES_VIEWS' => '"Replies" and "Views" in extra columns',
|
||||
'PORTAL_SHOW_REPLIES_VIEWS_EXPLAIN' => 'Setting for the compact global announcements block style.<br />If select yes the amound of replies and views will be displayed in extra columns. No is just two columns and the replies and views will be shown beside "Forum". Deactivate if you receive trouble with problems with diplaying.',
|
||||
|
||||
// global announcements
|
||||
'ACP_PORTAL_ANNOUNCE_INFO' => 'Global announcements',
|
||||
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Global announcements settings',
|
||||
@@ -229,7 +233,7 @@ $lang = array_merge($lang, array(
|
||||
'PORTAL_WORDGRAPH_WORD_COUNTS' => 'Include count values to display',
|
||||
'PORTAL_WORDGRAPH_WORD_COUNTS_EXPLAIN' => 'Display count values per word eg. (25).',
|
||||
'PORTAL_WORDGRAPH_RATIO' => 'Used aspect ratio word size',
|
||||
'PORTAL_WORDGRAPH_RATIO_EXPLAIN' => 'Change the aspect ratio (bigger/smaller) word size (default=18)',
|
||||
'PORTAL_WORDGRAPH_RATIO_EXPLAIN' => 'Change the aspect ratio (bigger/smaler) word size (default=18)',
|
||||
|
||||
// welcome message
|
||||
'ACP_PORTAL_WELCOME_INFO' => 'Welcome',
|
||||
|
||||
@@ -310,6 +310,7 @@ $template->assign_vars(array(
|
||||
'READ_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_NEWEST_POST'),
|
||||
'GOTO_PAGE_IMG' => $user->img('icon_post_target', 'GOTO_PAGE'),
|
||||
'S_DISPLAY_ANNOUNCEMENTS' => true,
|
||||
'S_DISPLAY_ANNOUNCEMENTS_RVS' => ( $portal_config['portal_show_announcements_replies_views'] ) ? true : false,
|
||||
'S_TOPIC_ICONS' => $fetch_news['topic_icons'],
|
||||
));
|
||||
|
||||
|
||||
@@ -297,6 +297,7 @@ $template->assign_vars(array(
|
||||
'S_NEWEST_OR_FIRST' => ( $portal_config['portal_news_show_last'] ) ? $user->lang['JUMP_NEWEST'] : $user->lang['JUMP_FIRST'],
|
||||
'POSTED_BY_TEXT' => ( $portal_config['portal_news_show_last'] ) ? $user->lang['LAST_POST'] : $user->lang['POSTED'],
|
||||
'S_DISPLAY_NEWS' => true,
|
||||
'S_DISPLAY_NEWS_RVS' => ( $portal_config['portal_show_news_replies_views'] ) ? true : false,
|
||||
'S_TOPIC_ICONS' => $fetch_news['topic_icons'],
|
||||
));
|
||||
|
||||
|
||||
@@ -31,9 +31,11 @@
|
||||
<li class="header">
|
||||
<dl class="icon">
|
||||
|
||||
<dt style="width: 44%">{L_LATEST_ANNOUNCEMENTS}</dt>
|
||||
<dt <!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{L_LATEST_ANNOUNCEMENTS}</dt>
|
||||
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
||||
<dd class="posts" style="width: 11%">{L_REPLIES}</dd>
|
||||
<dd class="views" style="width: 11%">{L_VIEWS}</dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
|
||||
</dl>
|
||||
</li>
|
||||
@@ -43,7 +45,7 @@
|
||||
<!-- ENDIF -->
|
||||
<li class="row<!-- IF announcements_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({announcements_row.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt style="<!-- IF announcements_row.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{announcements_row.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{announcements_row.TOPIC_FOLDER_IMG_ALT}"><!-- IF announcements_row.S_UNREAD_TOPIC --><a href="{announcements_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><!-- IF announcements_row.ATTACH_ICON_IMG -->{announcements_row.ATTACH_ICON_IMG} <!-- ENDIF --><a href="{announcements_row.U_VIEW_COMMENTS}" title="{announcements_row.TITLE}" class="topictitle">{announcements_row.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
||||
<dt style="<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->width: 44%;<!-- ELSE -->width: 60%;<!-- ENDIF --> <!-- IF announcements_row.TOPIC_ICON_IMG -->background-image: url({T_ICONS_PATH}{announcements_row.TOPIC_ICON_IMG}); background-repeat: no-repeat;<!-- ENDIF -->" title="{announcements_row.TOPIC_FOLDER_IMG_ALT}"><!-- IF announcements_row.S_UNREAD_TOPIC --><a href="{announcements_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><!-- IF announcements_row.ATTACH_ICON_IMG -->{announcements_row.ATTACH_ICON_IMG} <!-- ENDIF --><a href="{announcements_row.U_VIEW_COMMENTS}" title="{announcements_row.TITLE}" class="topictitle">{announcements_row.TITLE}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
||||
<!-- IF announcements_row.PAGINATION --><strong class="pagination"><span>{announcements_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||
<br />{L_POSTED} {L_POST_BY_AUTHOR} {announcements_row.POSTER_FULL} {L_POSTED_ON_DATE} {announcements_row.TIME}
|
||||
<!-- IF announcements_row.FORUM_NAME -->
|
||||
@@ -51,9 +53,12 @@
|
||||
<!-- ELSE -->
|
||||
<br />{L_GLOBAL_ANNOUNCEMENT}
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_DISPLAY_ANNOUNCEMENTS_RVS --><!-- IF announcements_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{announcements_row.REPLIES}</strong> • {L_VIEWS}: <strong>{announcements_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
||||
</dt>
|
||||
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
||||
<dd class="posts" style="width: 11%">{announcements_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||
<dd class="views" style="width: 11%">{announcements_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost" style="width: 25%"><span><dfn>{L_LAST_POST}</dfn><!-- IF announcements_row.S_UNREAD_INFO --><a href="{announcements_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{announcements_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --> {L_POST_BY_AUTHOR} {announcements_row.USERNAME_FULL_LAST}<br />
|
||||
{L_POSTED_ON_DATE} {announcements_row.LAST_POST_TIME}</span>
|
||||
</dd>
|
||||
|
||||
@@ -29,9 +29,11 @@
|
||||
<li class="header">
|
||||
<dl class="icon">
|
||||
|
||||
<dt style="width: 44%">{L_LATEST_NEWS}</dt>
|
||||
<dt <!-- IF S_DISPLAY_NEWS_RVS -->style="width: 44%"<!-- ELSE -->style="width: 60%"<!-- ENDIF -->>{L_LATEST_NEWS}</dt>
|
||||
<!-- IF S_DISPLAY_NEWS_RVS -->
|
||||
<dd class="posts" style="width: 11%">{L_REPLIES}</dd>
|
||||
<dd class="views" style="width: 11%">{L_VIEWS}</dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
|
||||
</dl>
|
||||
</li>
|
||||
@@ -40,15 +42,18 @@
|
||||
<!-- ENDIF -->
|
||||
<li class="row<!-- IF news_row.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||
<dl class="icon" style="background-image: url({news_row.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||
<dt style="width: 44%; <!-- IF news_row.TOPIC_ICON_IMG -->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_row.S_UNREAD_TOPIC --><a href="{news_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><!-- IF news_row.ATTACH_ICON_IMG -->{news_row.ATTACH_ICON_IMG} <!-- ENDIF --><!-- IF news_row.S_POLL --><strong>{L_POLL}: </strong><!-- 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 --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
||||
<dt style="<!-- IF S_DISPLAY_NEWS_RVS -->width: 44%;<!-- ELSE -->width: 60%;<!-- ENDIF --> <!-- IF news_row.TOPIC_ICON_IMG -->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_row.S_UNREAD_TOPIC --><a href="{news_row.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><!-- IF news_row.ATTACH_ICON_IMG -->{news_row.ATTACH_ICON_IMG} <!-- ENDIF --><!-- IF news_row.S_POLL --><strong>{L_POLL}: </strong><!-- 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 --> • <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> • <!-- ENDIF -->
|
||||
<!-- IF news_row.PAGINATION --><strong class="pagination"><span>{news_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||
<br />{L_POSTED} {L_POST_BY_AUTHOR} {news_row.POSTER_FULL} {L_POSTED_ON_DATE} {news_row.TIME}
|
||||
<!-- IF news_row.FORUM_NAME -->
|
||||
<br />{L_FORUM}: <a href="{news_row.U_VIEWFORUM}" style="font-weight: bold;">{news_row.FORUM_NAME}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_DISPLAY_NEWS_RVS --><!-- IF news_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{news_row.REPLIES}</strong> • {L_VIEWS}: <strong>{news_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
||||
</dt>
|
||||
<!-- IF S_DISPLAY_NEWS_RVS -->
|
||||
<dd class="posts" style="width: 11%">{news_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||
<dd class="views" style="width: 11%">{news_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost" style="width: 25%"><span><dfn>{L_LAST_POST}</dfn><!-- IF news_row.S_UNREAD_INFO --><a href="{news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --> {L_POST_BY_AUTHOR} {news_row.USERNAME_FULL_LAST}<br />
|
||||
{L_POSTED_ON_DATE} {news_row.LAST_POST_TIME}</span>
|
||||
</dd>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--version $Id$ //-->
|
||||
<table class="tablebg" cellspacing="1" width="100%">
|
||||
<tr class="nav">
|
||||
<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->6<!-- ELSE -->5<!-- ENDIF -->" valign="middle" align="center">{L_LATEST_ANNOUNCEMENTS} <a name="a"></a></td>
|
||||
<td class="cat" colspan="<!-- IF S_TOPIC_ICONS and S_DISPLAY_ANNOUNCEMENTS_RVS -->6<!-- ELSEIF not S_TOPIC_ICONS and S_DISPLAY_ANNOUNCEMENTS_RVS -->5<!-- ELSEIF S_TOPIC_ICONS and not S_DISPLAY_ANNOUNCEMENTS_RVS -->4<!-- ELSE -->3<!-- ENDIF -->" valign="middle" align="center">{L_LATEST_ANNOUNCEMENTS} <a name="a"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- IF S_TOPIC_ICONS -->
|
||||
@@ -9,8 +9,10 @@
|
||||
<!-- ELSE -->
|
||||
<th colspan="2"> {L_TOPICS} </th>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
||||
<th> {L_REPLIES} </th>
|
||||
<th> {L_VIEWS} </th>
|
||||
<!-- ENDIF -->
|
||||
<th> {L_LAST_POST} </th>
|
||||
</tr>
|
||||
<!-- BEGIN announcements_row -->
|
||||
@@ -33,10 +35,13 @@
|
||||
<!-- ELSE -->
|
||||
{L_GLOBAL_ANNOUNCEMENT}
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_DISPLAY_ANNOUNCEMENTS_RVS --><!-- IF announcements_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{announcements_row.REPLIES}</strong> • {L_VIEWS}: <strong>{announcements_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
||||
</p>
|
||||
</td>
|
||||
<!-- IF S_DISPLAY_ANNOUNCEMENTS_RVS -->
|
||||
<td class="row1" width="50" align="center"><p class="topicdetails">{announcements_row.REPLIES}</p></td>
|
||||
<td class="row2" width="50" align="center"><p class="topicdetails">{announcements_row.TOPIC_VIEWS}</p></td>
|
||||
<!-- ENDIF -->
|
||||
<td class="row1" width="140" align="center">
|
||||
<p class="topicdetails"><!-- IF announcements_row.S_UNREAD_INFO --><a href="{announcements_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{announcements_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF -->
|
||||
{POSTED_BY_TEXT} {L_POST_BY_AUTHOR}: {announcements_row.USERNAME_FULL_LAST}
|
||||
@@ -48,7 +53,7 @@
|
||||
<!-- IF announcements_row.S_LAST_ROW -->
|
||||
<!-- IF AP_PAGINATION or TOTAL_ANNOUNCEMENTS -->
|
||||
<tr class="row<!-- IF announcements_row.S_ROW_COUNT is even -->2<!-- ELSE -->1<!-- ENDIF -->">
|
||||
<td class="gensmall" valign="middle" align="right" nowrap="nowrap" colspan="<!-- IF S_TOPIC_ICONS -->6<!-- ELSE -->5<!-- ENDIF -->">{TOTAL_ANNOUNCEMENTS}
|
||||
<td class="gensmall" valign="middle" align="right" nowrap="nowrap" colspan="<!-- IF S_TOPIC_ICONS and S_DISPLAY_ANNOUNCEMENTS_RVS -->6<!-- ELSEIF not S_TOPIC_ICONS and S_DISPLAY_ANNOUNCEMENTS_RVS -->5<!-- ELSEIF S_TOPIC_ICONS and not S_DISPLAY_ANNOUNCEMENTS_RVS -->4<!-- ELSE -->3<!-- ENDIF -->">{TOTAL_ANNOUNCEMENTS}
|
||||
<!-- IF AP_PAGE_NUMBER --><!-- IF AP_PAGINATION --> • {AP_PAGE_NUMBER} • <span>{AP_PAGINATION}</span><!-- ELSE --> • {AP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div id="pagecontent">
|
||||
<table class="tablebg" cellspacing="1" width="100%">
|
||||
<tr class="nav">
|
||||
<td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->6<!-- ELSE -->5<!-- ENDIF -->" valign="middle" align="center">{L_LATEST_NEWS} <a name="n"></a></td>
|
||||
<td class="cat" colspan="<!-- IF S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->6<!-- ELSEIF not S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->5<!-- ELSEIF S_TOPIC_ICONS and not S_DISPLAY_NEWS_RVS -->4<!-- ELSE -->3<!-- ENDIF -->" valign="middle" align="center">{L_LATEST_NEWS} <a name="n"></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<!-- IF S_TOPIC_ICONS -->
|
||||
@@ -10,8 +10,10 @@
|
||||
<!-- ELSE -->
|
||||
<th colspan="2"> {L_TOPICS} </th>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_DISPLAY_NEWS_RVS -->
|
||||
<th> {L_REPLIES} </th>
|
||||
<th> {L_VIEWS} </th>
|
||||
<!-- ENDIF -->
|
||||
<th> {L_LAST_POST} </th>
|
||||
</tr>
|
||||
<!-- BEGIN news_row -->
|
||||
@@ -32,10 +34,13 @@
|
||||
<!-- IF news_row.FORUM_NAME -->
|
||||
<br />{L_FORUM}: <a href="{news_row.U_VIEWFORUM}" style="font-weight: bold;">{news_row.FORUM_NAME}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_DISPLAY_NEWS_RVS --><!-- IF news_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}: <strong>{news_row.REPLIES}</strong> • {L_VIEWS}: <strong>{news_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
||||
</p>
|
||||
</td>
|
||||
<!-- IF S_DISPLAY_NEWS_RVS -->
|
||||
<td class="row1" width="50" align="center"><p class="topicdetails">{news_row.REPLIES}</p></td>
|
||||
<td class="row2" width="50" align="center"><p class="topicdetails">{news_row.TOPIC_VIEWS}</p></td>
|
||||
<!-- ENDIF -->
|
||||
<td class="row1" width="140" align="center">
|
||||
<p class="topicdetails"><!-- IF news_row.S_UNREAD_INFO --><a href="{news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF -->
|
||||
{POSTED_BY_TEXT} {L_POST_BY_AUTHOR}: {news_row.USERNAME_FULL_LAST}
|
||||
@@ -47,7 +52,7 @@
|
||||
<!-- IF news_row.S_LAST_ROW -->
|
||||
<!-- IF NP_PAGINATION or TOTAL_NEWS -->
|
||||
<tr class="row<!-- IF news_row.S_ROW_COUNT is even -->2<!-- ELSE -->1<!-- ENDIF -->">
|
||||
<td class="gensmall" valign="middle" align="right" nowrap="nowrap" colspan="<!-- IF S_TOPIC_ICONS -->6<!-- ELSE -->5<!-- ENDIF -->">{TOTAL_NEWS}
|
||||
<td class="gensmall" valign="middle" align="right" nowrap="nowrap" colspan="<!-- IF S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->6<!-- ELSEIF not S_TOPIC_ICONS and S_DISPLAY_NEWS_RVS -->5<!-- ELSEIF S_TOPIC_ICONS and not S_DISPLAY_NEWS_RVS -->4<!-- ELSE -->3<!-- ENDIF -->">{TOTAL_NEWS}
|
||||
<!-- IF NP_PAGE_NUMBER --><!-- IF NP_PAGINATION --> • {NP_PAGE_NUMBER} • <span>{NP_PAGINATION}</span><!-- ELSE --> • {NP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --></td>
|
||||
</tr>
|
||||
<!-- ENDIF -->
|
||||
|
||||
Reference in New Issue
Block a user