#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:
@@ -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,10 +29,12 @@
|
||||
<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>
|
||||
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost" style="width: 25%"><span>{L_LAST_POST}</span></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -40,16 +42,19 @@
|
||||
<!-- 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>
|
||||
<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 />
|
||||
<!-- 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>
|
||||
</dl>
|
||||
|
||||
@@ -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