From e256e9a039f68847ba22dde81acefc941f676ee4 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 29 Aug 2008 18:56:37 +0000 Subject: [PATCH] #115: ACP option to hide / show the columns "views" and "replies" in compact mode for news and announcements. RC3 preparation. --- root/includes/acp/acp_portal.php | 20 +++--- root/install_portal/install.php | 4 +- root/install_portal/schemas/_schema_data.sql | 4 ++ root/install_portal/schemas/update_schema.php | 5 ++ root/language/de/mods/lang_portal_acp.php | 64 ++++++++++--------- root/language/en/mods/lang_portal_acp.php | 8 ++- root/portal/block/announcements.php | 11 ++-- root/portal/block/news.php | 1 + .../portal/block/announcements_compact.html | 9 ++- .../template/portal/block/news_compact.html | 13 ++-- .../portal/block/announcements_compact.html | 9 ++- .../template/portal/block/news_compact.html | 9 ++- 12 files changed, 99 insertions(+), 58 deletions(-) diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index 7b7e05f0..6ef243d6 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -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; @@ -88,15 +89,16 @@ class acp_portal $display_vars = array( 'title' => 'ACP_PORTAL_ANNOUNCE_SETTINGS', 'vars' => array( - 'legend1' => 'ACP_PORTAL_ANNOUNCE_SETTINGS', - 'portal_announcements' => array('lang' => 'PORTAL_ANNOUNCEMENTS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'portal_announcements_style' => array('lang' => 'PORTAL_ANNOUNCEMENTS_STYLE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'portal_number_of_announcements' => array('lang' => 'PORTAL_NUMBER_OF_ANNOUNCEMENTS' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), - 'portal_announcements_day' => array('lang' => 'PORTAL_ANNOUNCEMENTS_DAY' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), - 'portal_announcements_length' => array('lang' => 'PORTAL_ANNOUNCEMENTS_LENGTH' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), - '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), + 'legend1' => 'ACP_PORTAL_ANNOUNCE_SETTINGS', + 'portal_announcements' => array('lang' => 'PORTAL_ANNOUNCEMENTS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), + 'portal_announcements_style' => array('lang' => 'PORTAL_ANNOUNCEMENTS_STYLE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), + 'portal_number_of_announcements' => array('lang' => 'PORTAL_NUMBER_OF_ANNOUNCEMENTS' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), + 'portal_announcements_day' => array('lang' => 'PORTAL_ANNOUNCEMENTS_DAY' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), + 'portal_announcements_length' => array('lang' => 'PORTAL_ANNOUNCEMENTS_LENGTH' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), + '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; diff --git a/root/install_portal/install.php b/root/install_portal/install.php index a6b753b8..6358543b 100644 --- a/root/install_portal/install.php +++ b/root/install_portal/install.php @@ -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; diff --git a/root/install_portal/schemas/_schema_data.sql b/root/install_portal/schemas/_schema_data.sql index 2cc2f5d7..68aa6e00 100644 --- a/root/install_portal/schemas/_schema_data.sql +++ b/root/install_portal/schemas/_schema_data.sql @@ -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 # diff --git a/root/install_portal/schemas/update_schema.php b/root/install_portal/schemas/update_schema.php index 689b3f4e..0d1c7826 100644 --- a/root/install_portal/schemas/update_schema.php +++ b/root/install_portal/schemas/update_schema.php @@ -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');", +); + ?> \ No newline at end of file diff --git a/root/language/de/mods/lang_portal_acp.php b/root/language/de/mods/lang_portal_acp.php index 4ca6442b..9e6fb2bd 100644 --- a/root/language/de/mods/lang_portal_acp.php +++ b/root/language/de/mods/lang_portal_acp.php @@ -39,44 +39,48 @@ $lang = array_merge($lang, array( 'ACP_PORTAL_SETTINGS_EXPLAIN' => 'Danke, dass du dich für board3 Portal entschieden hast. Auf dieser Seite kannst du dein Portal verwalten. Diese Anzeige gibt dir einen schnellen Überblick über die verschiedenen Portal-Einstellungen. Die Links auf der linken Seite dieser Anzeige ermöglichen dir alle Einstellungen vorzunehmen, welche das Portal betreffen.', // general - 'ACP_PORTAL_GENERAL_INFO' => 'Portal Administration', + 'ACP_PORTAL_GENERAL_INFO' => 'Portal Administration', 'ACP_PORTAL_GENERAL_INFO_EXPLAIN' => 'Danke, dass du dich für board3 Portal entschieden hast. Auf dieser Seite kannst du dein Portal verwalten. Diese Anzeige gibt dir einen schnellen Überblick über die verschiedenen Portal-Einstellungen. Die Links auf der linken Seite dieser Anzeige ermöglichen dir alle Einstellungen vorzunehmen, welche das Portal betreffen.', - 'ACP_PORTAL_VERSION' => 'Board3 Portal Version v%s', - 'ACP_PORTAL_GENERAL_SETTINGS' => 'Allgemeine Einstellungen', - 'ACP_PORTAL_GENERAL_SETTINGS_EXPLAIN' => 'Hier kannst du die Haupteinstellungen vornehmen.', - 'PORTAL_ADVANCED_STAT' => 'Erweiterte Statistik', - 'PORTAL_ADVANCED_STAT_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - 'PORTAL_LEADERS' => 'Team', - 'PORTAL_LEADERS_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - 'PORTAL_LEADERS_EXT' => 'Erweiterter Team-Block', - 'PORTAL_LEADERS_EXT_EXPLAIN' => 'Damit dieser Block angezeigt wird, muss der Standard-Team-Block aktiviert sein.
Der erweiterte Team-Block listet zusätzlich alle nicht-versteckten Gruppen inklusive Legende auf.', - 'PORTAL_CLOCK' => 'Uhr', - 'PORTAL_CLOCK_EXPLAIN' => 'Die Uhr auf dem Portal anzeigen.', - 'PORTAL_LINK_US' => 'Verlink uns', - 'PORTAL_LINK_US_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - 'PORTAL_BIRTHDAYS' => 'Geburtstage', - 'PORTAL_BIRTHDAYS_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - 'PORTAL_BIRTHDAYS_AHEAD' => 'Anstehende Geburtstage', - 'PORTAL_BIRTHDAYS_AHEAD_EXPLAIN' => 'Zeitraum für die Geburtstagsvorschau (Tage)', - 'PORTAL_SEARCH' => 'Suche', - 'PORTAL_SEARCH_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - 'PORTAL_WELCOME' => 'Willkommen', - 'PORTAL_WELCOME_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - 'PORTAL_WHOIS_ONLINE' => 'Wer ist online?', - 'PORTAL_WHOIS_ONLINE_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'ACP_PORTAL_VERSION' => 'Board3 Portal Version v%s', + 'ACP_PORTAL_GENERAL_SETTINGS' => 'Allgemeine Einstellungen', + 'ACP_PORTAL_GENERAL_SETTINGS_EXPLAIN' => 'Hier kannst du die Haupteinstellungen vornehmen.', + 'PORTAL_ADVANCED_STAT' => 'Erweiterte Statistik', + 'PORTAL_ADVANCED_STAT_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_LEADERS' => 'Team', + 'PORTAL_LEADERS_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_LEADERS_EXT' => 'Erweiterter Team-Block', + 'PORTAL_LEADERS_EXT_EXPLAIN' => 'Damit dieser Block angezeigt wird, muss der Standard-Team-Block aktiviert sein.
Der erweiterte Team-Block listet zusätzlich alle nicht-versteckten Gruppen inklusive Legende auf.', + 'PORTAL_CLOCK' => 'Uhr', + 'PORTAL_CLOCK_EXPLAIN' => 'Die Uhr auf dem Portal anzeigen.', + 'PORTAL_LINK_US' => 'Verlink uns', + 'PORTAL_LINK_US_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_BIRTHDAYS' => 'Geburtstage', + 'PORTAL_BIRTHDAYS_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_BIRTHDAYS_AHEAD' => 'Anstehende Geburtstage', + 'PORTAL_BIRTHDAYS_AHEAD_EXPLAIN' => 'Zeitraum für die Geburtstagsvorschau (Tage)', + 'PORTAL_SEARCH' => 'Suche', + 'PORTAL_SEARCH_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_WELCOME' => 'Willkommen', + 'PORTAL_WELCOME_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_WHOIS_ONLINE' => 'Wer ist online?', + 'PORTAL_WHOIS_ONLINE_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', 'PORTAL_CHANGE_STYLE' => 'Style-Umschalter', 'PORTAL_CHANGE_STYLE_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.
Achtung: wenn in den Board-Einstellungen "Benutzer-Style überschreiben:" auf "ja" gesetzt ist, wird dieser Block unabhängig von seinen Einstellungen nicht angezeigt.', - 'PORTAL_MAIN_MENU' => 'Hauptmenü', - 'PORTAL_MAIN_MENU_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_MAIN_MENU' => 'Hauptmenü', + 'PORTAL_MAIN_MENU_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', 'PORTAL_USER_MENU' => 'Benutzer-Menü / Login Box', - 'PORTAL_USER_MENU_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - 'PORTAL_FORUM_INDEX' => 'Foren Index (Foren Liste)', - 'PORTAL_FORUM_INDEX_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', - + 'PORTAL_USER_MENU_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + 'PORTAL_FORUM_INDEX' => 'Foren Index (Foren Liste)', + 'PORTAL_FORUM_INDEX_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.', + // random member '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.
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', diff --git a/root/language/en/mods/lang_portal_acp.php b/root/language/en/mods/lang_portal_acp.php index a8cef1c5..d7c63a9d 100644 --- a/root/language/en/mods/lang_portal_acp.php +++ b/root/language/en/mods/lang_portal_acp.php @@ -77,10 +77,14 @@ $lang = array_merge($lang, array( 'PORTAL_USER_MENU_EXPLAIN' => 'Display this block on the portal.', 'PORTAL_FORUM_INDEX' => 'Forum Index (Forum list)', 'PORTAL_FORUM_INDEX_EXPLAIN' => 'Display this block on the portal.', - + // random member '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.
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', @@ -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', diff --git a/root/portal/block/announcements.php b/root/portal/block/announcements.php index 59d23bb4..c12f0bcf 100644 --- a/root/portal/block/announcements.php +++ b/root/portal/block/announcements.php @@ -306,11 +306,12 @@ else } $template->assign_vars(array( - 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), - '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_TOPIC_ICONS' => $fetch_news['topic_icons'], + 'NEWEST_POST_IMG' => $user->img('icon_topic_newest', 'VIEW_NEWEST_POST'), + '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'], )); ?> \ No newline at end of file diff --git a/root/portal/block/news.php b/root/portal/block/news.php index 8b4413cc..0623fc64 100644 --- a/root/portal/block/news.php +++ b/root/portal/block/news.php @@ -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'], )); diff --git a/root/styles/prosilver/template/portal/block/announcements_compact.html b/root/styles/prosilver/template/portal/block/announcements_compact.html index 9e7bf253..d2ad3c09 100644 --- a/root/styles/prosilver/template/portal/block/announcements_compact.html +++ b/root/styles/prosilver/template/portal/block/announcements_compact.html @@ -31,9 +31,11 @@
  • -
    {L_LATEST_ANNOUNCEMENTS}
    +
    style="width: 44%"style="width: 60%">{L_LATEST_ANNOUNCEMENTS}
    +
    {L_REPLIES}
    {L_VIEWS}
    +
    {L_LAST_POST}
  • @@ -43,7 +45,7 @@
  • -
    {NEWEST_POST_IMG} {announcements_row.ATTACH_ICON_IMG} {announcements_row.TITLE}{L_VIEW_UNREAD_POST} +
    {NEWEST_POST_IMG} {announcements_row.ATTACH_ICON_IMG} {announcements_row.TITLE}{L_VIEW_UNREAD_POST} {announcements_row.PAGINATION}
    {L_POSTED} {L_POST_BY_AUTHOR} {announcements_row.POSTER_FULL} {L_POSTED_ON_DATE} {announcements_row.TIME} @@ -51,9 +53,12 @@
    {L_GLOBAL_ANNOUNCEMENT} + {L_REPLIES}: {announcements_row.REPLIES} • {L_VIEWS}: {announcements_row.TOPIC_VIEWS}
    +
    {announcements_row.REPLIES} {L_REPLIES}
    {announcements_row.TOPIC_VIEWS} {L_VIEWS}
    +
    {L_LAST_POST}{NEWEST_POST_IMG}{READ_POST_IMG} {L_POST_BY_AUTHOR} {announcements_row.USERNAME_FULL_LAST}
    {L_POSTED_ON_DATE} {announcements_row.LAST_POST_TIME}
    diff --git a/root/styles/prosilver/template/portal/block/news_compact.html b/root/styles/prosilver/template/portal/block/news_compact.html index 43080933..49809567 100644 --- a/root/styles/prosilver/template/portal/block/news_compact.html +++ b/root/styles/prosilver/template/portal/block/news_compact.html @@ -29,10 +29,12 @@
  • -
    {L_LATEST_NEWS}
    +
    style="width: 44%"style="width: 60%">{L_LATEST_NEWS}
    +
    {L_REPLIES}
    {L_VIEWS}
    -
    {L_LAST_POST}
    + +
    {L_LAST_POST}
  • @@ -40,16 +42,19 @@
  • -
    {NEWEST_POST_IMG} {news_row.ATTACH_ICON_IMG} {L_POLL}: {news_row.TITLE}{L_VIEW_UNREAD_POST} +
    {NEWEST_POST_IMG} {news_row.ATTACH_ICON_IMG} {L_POLL}: {news_row.TITLE}{L_VIEW_UNREAD_POST} {news_row.PAGINATION}
    {L_POSTED} {L_POST_BY_AUTHOR} {news_row.POSTER_FULL} {L_POSTED_ON_DATE} {news_row.TIME}
    {L_FORUM}: {news_row.FORUM_NAME} + {L_REPLIES}: {news_row.REPLIES} • {L_VIEWS}: {news_row.TOPIC_VIEWS}
    +
    {news_row.REPLIES} {L_REPLIES}
    {news_row.TOPIC_VIEWS} {L_VIEWS}
    -
    {L_LAST_POST}{NEWEST_POST_IMG}{READ_POST_IMG} {L_POST_BY_AUTHOR} {news_row.USERNAME_FULL_LAST}
    + +
    {L_LAST_POST}{NEWEST_POST_IMG}{READ_POST_IMG} {L_POST_BY_AUTHOR} {news_row.USERNAME_FULL_LAST}
    {L_POSTED_ON_DATE} {news_row.LAST_POST_TIME}
    diff --git a/root/styles/subsilver2/template/portal/block/announcements_compact.html b/root/styles/subsilver2/template/portal/block/announcements_compact.html index fbc7a22e..29f7af40 100644 --- a/root/styles/subsilver2/template/portal/block/announcements_compact.html +++ b/root/styles/subsilver2/template/portal/block/announcements_compact.html @@ -1,7 +1,7 @@ - + @@ -9,8 +9,10 @@ + + @@ -33,10 +35,13 @@ {L_GLOBAL_ANNOUNCEMENT} + • {L_REPLIES}: {announcements_row.REPLIES} • {L_VIEWS}: {announcements_row.TOPIC_VIEWS}

    + + - diff --git a/root/styles/subsilver2/template/portal/block/news_compact.html b/root/styles/subsilver2/template/portal/block/news_compact.html index 412050e1..f2c88d03 100644 --- a/root/styles/subsilver2/template/portal/block/news_compact.html +++ b/root/styles/subsilver2/template/portal/block/news_compact.html @@ -2,7 +2,7 @@
     {L_TOPICS}   {L_REPLIES}   {L_VIEWS}   {L_LAST_POST} 

    {announcements_row.REPLIES}

    {announcements_row.TOPIC_VIEWS}

    {NEWEST_POST_IMG}{READ_POST_IMG} {POSTED_BY_TEXT} {L_POST_BY_AUTHOR}: {announcements_row.USERNAME_FULL_LAST} @@ -48,7 +53,7 @@

    {TOTAL_ANNOUNCEMENTS} + {TOTAL_ANNOUNCEMENTS} • {AP_PAGE_NUMBER} • {AP_PAGINATION} • {AP_PAGE_NUMBER}
    - + @@ -10,8 +10,10 @@ + + @@ -32,10 +34,13 @@
    {L_FORUM}: {news_row.FORUM_NAME} + • {L_REPLIES}: {news_row.REPLIES} • {L_VIEWS}: {news_row.TOPIC_VIEWS}

    + + -
     {L_TOPICS}   {L_REPLIES}   {L_VIEWS}   {L_LAST_POST} 

    {news_row.REPLIES}

    {news_row.TOPIC_VIEWS}

    {NEWEST_POST_IMG}{READ_POST_IMG} {POSTED_BY_TEXT} {L_POST_BY_AUTHOR}: {news_row.USERNAME_FULL_LAST} @@ -47,7 +52,7 @@

    {TOTAL_NEWS} + {TOTAL_NEWS} • {NP_PAGE_NUMBER} • {NP_PAGINATION} • {NP_PAGE_NUMBER}