diff --git a/root/includes/acp/acp_portal.php b/root/includes/acp/acp_portal.php index 000dd3f1..4dcf46fb 100644 --- a/root/includes/acp/acp_portal.php +++ b/root/includes/acp/acp_portal.php @@ -56,7 +56,7 @@ class acp_portal 'board3_enable' => array('lang' => 'PORTAL_ENABLE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'board3_left_column' => array('lang' => 'PORTAL_LEFT_COLUMN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'board3_right_column' => array('lang' => 'PORTAL_RIGHT_COLUMN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), - 'board3_version_check' => array('lang' => 'PORTAL_VERSION_CHECK', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), + 'board3_version_check' => array('lang' => 'PORTAL_VERSION_CHECK', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false), 'board3_forum_index' => array('lang' => 'PORTAL_FORUM_INDEX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), 'legend2' => 'ACP_PORTAL_COLUMN_WIDTH_SETTINGS', @@ -128,15 +128,27 @@ class acp_portal // We go through the display_vars to make sure no one is trying to set variables he/she is not allowed to... foreach ($display_vars['vars'] as $config_name => $null) { + if ($submit && $null['type'] == 'custom') + { + $func = array($c_class, $null['submit']); + call_user_func_array($func, $config_name); + } + + if (!isset($cfg_array[$config_name]) || strpos($config_name, 'legend') !== false) { continue; } + + if($null['type'] == 'custom') + { + continue; + } $this->new_config[$config_name] = $config_value = $cfg_array[$config_name]; if ($submit) - { + { set_config($config_name, $config_value); } } @@ -197,7 +209,16 @@ class acp_portal $l_explain = (isset($user->lang[$vars['lang'] . '_EXP'])) ? $user->lang[$vars['lang'] . '_EXP'] : ''; } - $content = build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars); + if($vars['type'] != 'custom') + { + $content = build_cfg_template($type, $config_key, $this->new_config, $config_key, $vars); + } + else + { + $args = array($this->new_config[$config_key], $config_key); + $func = array($c_class, $vars['method']); + $content = call_user_func_array($func, $args); + } if (empty($content)) { diff --git a/root/language/en/mods/info_acp_portal.php b/root/language/en/mods/info_acp_portal.php index 3790764a..e6526c5f 100644 --- a/root/language/en/mods/info_acp_portal.php +++ b/root/language/en/mods/info_acp_portal.php @@ -48,41 +48,21 @@ $lang = array_merge($lang, array( 'ACP_PORTAL_GENERAL_INFO' => 'Allgemeine Einstellungen', 'ACP_PORTAL_GENERAL_TITLE' => 'Portal Administration', 'ACP_PORTAL_GENERAL_TITLE_EXP' => 'Thank you for choosing Board3 Portal! This is where you can manage your portal page. The options below let you customize the various general settings.', - - 'BLOCK_ADDED' => 'The block was successfully added.', - 'BLOCK_FILENAME' => 'Block template file', - 'BLOCK_FILENAME_EXPLAIN' => 'Use this to define a tempalte file used for the block. The path is relative to the root phpBB directory.', - 'BLOCK_ICON' => 'Block icon', - 'BLOCK_ICON_EXPLAIN' => 'Use this to define a small icon associated with the block. The path is relative to the root phpBB directory.', - 'BLOCK_POSITION' => 'Display position', - 'BLOCK_POSITION_EXPLAIN' => 'Select the display position on index page.', - 'BLOCK_POSITION_BOTTOM' => 'Bottom', - 'BLOCK_POSITION_LEFT' => 'Left', - 'BLOCK_POSITION_MIDDLE_BOTTOM' => 'Middle - Bottom', - 'BLOCK_POSITION_MIDDLE_TOP' => 'Middle - Top', - 'BLOCK_POSITION_NONE' => 'Not display', - 'BLOCK_POSITION_RIGHT' => 'Right', - 'BLOCK_POSITION_TOP' => 'Top', - 'BLOCK_REMOVED' => 'The block was successfully deleted.', - 'BLOCK_TEXT' => 'Text', - 'BLOCK_TEXT_EXPLAIN' => 'Enter here the content of the block text.', - 'BLOCK_TITLE' => 'Block title', - 'BLOCK_TITLE_EXPLAIN' => 'Enter the displayed block title. Use language constant if name is served from language file: language/en/mods/portal.php', - 'BLOCK_TYPE' => 'Block type', - 'BLOCK_TYPE_EXPLAIN' => 'Select the block type.', - 'BLOCK_UPDATED' => 'The block was successfully updated.', + 'PORTAL_ENABLE' => 'Enable Portal', + 'PORTAL_ENABLE_EXP' => 'Turns the whole portal on or off', + 'PORTAL_LEFT_COLUMN' => 'Enable left column', + 'PORTAL_LEFT_COLUMN_EXP' => 'Switch to no if you wish to turn off the left column', + 'PORTAL_RIGHT_COLUMN' => 'Enable right column', + 'PORTAL_RIGHT_COLUMN_EXP' => 'Switch to no if you wish to turn off the right column', + 'PORTAL_VERSION_CHECK' => 'Versioncheck on Portal', + 'PORTAL_FORUM_INDEX' => 'Forum Index (Forum list)', + 'PORTAL_FORUM_INDEX_EXP' => 'Display this block on the portal.', + 'ACP_PORTAL_COLUMN_WIDTH_SETTINGS' => 'Left and right column width settings', + 'PORTAL_LEFT_COLUMN_WIDTH' => 'Width of the left column', + 'PORTAL_LEFT_COLUMN_WIDTH_EXP' => 'Change the width of the left column in pixels; recommended value is 180', + 'PORTAL_RIGHT_COLUMN_WIDTH' => 'Width of the right column', + 'PORTAL_RIGHT_COLUMN_WIDTH_EXP' => 'Change the width of the right column in pixels; recommended value is 180', - 'MUST_SELECT_BLOCK' => 'You must select a block.', - - 'NO_BLOCK_HTML' => 'You have created block with template file but haven’t selected a template file for this block.', - 'NO_BLOCK_TEXT' => 'You have created custom text block but haven’t entered the content for this block.', - 'NO_BLOCK_TITLE' => 'You haven’t specified a title for the block.', - - 'SELECT_BLOCK_FILE' => 'Select a template file…', - 'SELECT_BLOCK_ICON' => 'Select an icon…', - 'SELECT_BLOCK_CLOCK' => 'Select an clock…', - 'SELECT_BLOCK_POSITION' => 'Select a position…', - 'SELECT_BLOCK_TYPE' => 'Select a type…', // Portal Modules 'ACP_PORTAL_MODULES' => 'Portal Modules', diff --git a/root/language/en/mods/portal.php b/root/language/en/mods/portal.php index 73626a12..6b04a2e3 100644 --- a/root/language/en/mods/portal.php +++ b/root/language/en/mods/portal.php @@ -33,137 +33,8 @@ if (empty($lang) || !is_array($lang)) // equally where a string contains only two placeholders which are used to wrap text // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine -// Manage categories -$lang = array_merge($lang, array( - 'BIRTHDAYS_AHEAD' => 'In den nächsten %s Tagen', - 'NO_BIRTHDAYS_AHEAD' => 'In diesem Zeitraum hat kein Mitglied Geburtstag', -)); - // Common $lang = array_merge($lang, array( - // ACP - General Settings - 'ACP_PORTAL_GENERAL_TITLE' => 'Portal administration', - 'ACP_PORTAL_GENERAL_TITLE_EXP' => 'Thank you for choosing Board3 Portal! This is where you can manage your portal page. The options below let you customize the various general settings. The links on the left-hand side allow you to customize in detail every aspect of your portal experience.', - 'ACP_PORTAL_GENERAL_SETTINGS' => 'General settings', - 'PORTAL_ENABLE' => 'Enable Portal', - 'PORTAL_ENABLE_EXP' => 'Turns the whole portal on or off.', - 'PORTAL_LEFT_COLUMN' => 'Enable left column', - 'PORTAL_LEFT_COLUMN_EXP' => 'Switch to no if you wish to turn off the left column', - 'PORTAL_RIGHT_COLUMN' => 'Enable right column', - 'PORTAL_RIGHT_COLUMN_EXP' => 'Switch to no if you wish to turn off the right column', - 'PORTAL_VERSION_CHECK' => 'Versioncheck on Portal', - 'PORTAL_FORUM_INDEX' => 'Forum Index (Forum list)', - 'PORTAL_FORUM_INDEX_EXP' => 'Display this block on the portal.', - - 'ACP_PORTAL_COLUMN_WIDTH_SETTINGS' => 'Left and right column width settings', - 'PORTAL_LEFT_COLUMN_WIDTH' => 'Width of the left column', - 'PORTAL_LEFT_COLUMN_WIDTH_EXP' => 'Change the width of the left column in pixels; recommended value is 180', - 'PORTAL_RIGHT_COLUMN_WIDTH' => 'Width of the right column', - 'PORTAL_RIGHT_COLUMN_WIDTH_EXP' => 'Change the width of the right column in pixels; recommended value is 180', - - - 'POSTERS' => 'Posters', - - // Search engine names - 'SEARCH_A9' => 'A9.com', - 'SEARCH_ACRONYM_FINDER' => 'AcronymFinder', - 'SEARCH_ALEXA' => 'Alexa', - 'SEARCH_ALTA_VISTA' => 'AltaVista', - 'SEARCH_AMAZON' => 'Amazon', - 'SEARCH_AOL' => 'AOL', - 'SEARCH_ASK' => 'Ask.com', - 'SEARCH_BAAMBOO' => 'BaamBoo', - 'SEARCH_BIT_TORRENT' => 'BitTorrent', - 'SEARCH_CREATIVE_COMMONS' => 'Crative Commons', - 'SEARCH_EBAY' => 'Ebay', - 'SEARCH_GOOGLE' => 'Google', - 'SEARCH_LIVE' => 'Bing', - 'SEARCH_LYCOS' => 'Lycos', - 'SEARCH_MININOVA' => 'Mininova', - 'SEARCH_REFERENCE' => 'Reference.com', - 'SEARCH_SOURCE_FORGE' => 'SourceForge', - 'SEARCH_TORRENT_PORTAL' => 'TorrentPortal', - 'SEARCH_TORRENT_SPY' => 'TorrentSpy', - 'SEARCH_TORRENTZ' => 'TorrentZ', - 'SEARCH_VDICT' => 'VDict', - 'SEARCH_WIKI_PEDIA' => 'WikiPedia', - 'SEARCH_YAHOO' => 'Yahoo! Search', - - 'WELCOME_YOU' => 'Welcome you', - - // paypal - 'PORTAL_PAY_ACC' => 'Paypal Account', - 'PORTAL_PAY_ACC_EXP' => 'Gib deine e-mail-Adresse an, die du bei Paypal benutzt, z.B. xxx@xxx.com', - -// User menu - 'UM_LOG_ME_IN' => 'Mich bei jedem Besuch automatisch anmelden', - 'UM_HIDE_ME' => 'Meinen Online-Status während dieser Sitzung verbergen', - 'UM_MAIN_SUBSCRIBED' => 'Benachrichtigungen verwalten', - 'UM_BOOKMARKS' => 'Lesezeichen verwalten', - 'M_MENU' => 'Menü', - 'M_ACP' => 'Administrations-Bereich', - - // search - 'GO' => 'Los', - 'SEARCH_BOARD' => 'Foren', - 'SEARCH_SERVICE' => 'Suchmaschinen', - 'SEARCH_LOOKUP' => 'Lookup', - 'SEARCH_TORRENT' => 'Torrent', - 'SEARCH_ADV' => 'erweiterte Suche', - -// Styles - 'STYLE_CHOOSE' => '', - -// Friends - 'FRIENDS_OFFLINE' => 'Offline', - 'FRIENDS_ONLINE' => 'Online', - 'NO_FRIENDS' => 'Derzeit sind keine Freunde definiert', - 'NO_FRIENDS_OFFLINE' => 'Keine Freunde offline', - 'NO_FRIENDS_ONLINE' => 'Keine Freunde online', - -// Statistics - 'ST_TOP' => 'Insgesamt', - 'ST_TOP_ANNS' => 'Bekanntmachungen insgesamt:', - 'ST_TOP_STICKYS' => 'Wichtig insgesamt:', - 'ST_TOT_ATTACH' => 'Dateianhänge insgesamt:', - - 'TOPICS_PER_DAY_OTHER' => 'Themen pro Tag: %d', - 'TOPICS_PER_DAY_ZERO' => 'Themen pro Tag: 0', - 'POSTS_PER_DAY_OTHER' => 'Beiträge pro Tag: %d', - 'POSTS_PER_DAY_ZERO' => 'Beiträge pro Tag: 0', - 'USERS_PER_DAY_OTHER' => 'Benutzer pro Tag: %d', - 'USERS_PER_DAY_ZERO' => 'Benutzer pro Tag: 0', - 'TOPICS_PER_USER_OTHER' => 'Themen pro Benutzer: %d', - 'TOPICS_PER_USER_ZERO' => 'Themen pro Benutzer: 0', - 'POSTS_PER_USER_OTHER' => 'Beiträge pro Benutzer: %d', - 'POSTS_PER_USER_ZERO' => 'Beiträge pro Benutzer: 0', - 'POSTS_PER_TOPIC_OTHER' => 'Beiträge pro Thema: %d', - 'POSTS_PER_TOPIC_ZERO' => 'Beiträge pro Thema: 0', - - -// PayPal - 'DONATION' => 'PayPal-Spenden', - 'DONATION_TEXT' => 'ist eine Webseite ohne jedes Gewinninteresse. Jeder der dieses Projekt unterstützen möchte, kann dies mit einer kleinen PayPal-Spende tun, damit die Rechnungen für den Server, die Domain, etc. bezahlt werden können.', - 'PAY_MSG' => 'Betrag bitte mit Punkt statt Komma trennen, z.B. 3.50', - 'PAY_ITEM' => 'Freiwillige Foren-Spende', - - 'AUD' => 'Australische Dollar (AUD)', - 'CAD' => 'Kanadische Dollar (CAD)', - 'CZK' => 'Tschechische Kronen (CZK)', - 'DKK' => 'Dänische Kronen (DKK)', - 'HKD' => 'Hongkong-Dollar (HKD)', - 'HUF' => 'Ungarische Forint (HUF)', - 'NZD' => 'Neuseeland-Dollar (NZD)', - 'NOK' => 'Norwegische Kronen (NOK)', - 'PLN' => 'Polnische Zloty (PLN)', - 'GBP' => 'Britische Pfund (GBP)', - 'SGD' => 'Singapur-Dollar (SGD)', - 'SEK' => 'Schwedische Kronen (SEK)', - 'CHF' => 'Schweizer Franken (CHF)', - 'JPY' => 'Japanische Yen (JPY)', - 'USD' => 'US-Dollar (USD)', - 'EUR' => 'Euro (EUR)', - 'MXN' => 'Mexikanische Pesos (MXN)', - 'ILS' => 'Neue Israelische Schekel (ILS)', + 'PORTAL' => 'Portal', )); ?> \ No newline at end of file diff --git a/root/language/en/mods/portal/portal_announcements_module.php b/root/language/en/mods/portal/portal_announcements_module.php index 0f82e9e7..7c2b3cca 100644 --- a/root/language/en/mods/portal/portal_announcements_module.php +++ b/root/language/en/mods/portal/portal_announcements_module.php @@ -32,6 +32,7 @@ if (empty($lang) || !is_array($lang)) // in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine $lang = array_merge($lang, array( 'LATEST_ANNOUNCEMENTS' => 'Latest global announcements', + 'GLOBAL_ANNOUNCEMENTS' => 'Global announcements', 'GLOBAL_ANNOUNCEMENT' => 'Global announcement', 'VIEW_LATEST_ANNOUNCEMENT' => '1 announcement', 'VIEW_LATEST_ANNOUNCEMENTS' => '%d announcements', diff --git a/root/portal.php b/root/portal.php index bfe3af52..4635a365 100644 --- a/root/portal.php +++ b/root/portal.php @@ -19,6 +19,8 @@ include($phpbb_root_path . 'common.' . $phpEx); $portal_root_path = PORTAL_ROOT_PATH; $portal_icons_path = PORTAL_ICONS_PATH; include($phpbb_root_path . $portal_root_path . 'includes/functions_modules.' . $phpEx); +include($phpbb_root_path . 'includes/functions_display.' . $phpEx); +include($phpbb_root_path . $portal_root_path . 'includes/functions.' . $phpEx); //include($phpbb_root_path . 'includes/message_parser.' . $phpEx); @@ -69,6 +71,14 @@ while ($row = $db->sql_fetchrow($result)) $template_module = $module->get_template_side($row['module_id']); $template_column = 'right'; } + if ($row['module_column'] == 4) + { + $template_module = $module->get_template_center($row['module_id']); + } + if ($row['module_column'] == 5) + { + $template_module = $module->get_template_center($row['module_id']); + } if (!$template_module) { continue; @@ -78,6 +88,7 @@ while ($row = $db->sql_fetchrow($result)) 'TEMPLATE_FILE' => 'portal/modules/' . $template_module, 'IMAGE_SRC' => $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/' . $row['module_image_src'], )); + unset($template_module); } $db->sql_freeresult($result); @@ -89,7 +100,7 @@ $template->assign_vars(array( )); // Output page -page_header($user->lang['INDEX']); +page_header($user->lang['PORTAL']); $template->set_filenames(array( 'body' => 'portal/portal_body.html') diff --git a/root/portal/modules/portal_announcements.php b/root/portal/modules/portal_announcements.php index dbd714f6..6d638190 100644 --- a/root/portal/modules/portal_announcements.php +++ b/root/portal/modules/portal_announcements.php @@ -48,7 +48,7 @@ class portal_announcements_module function get_template_center($module_id) { - global $config, $template, $db; + global $config, $template, $db, $user, $auth, $cache; $announcement = request_var('announcement', -1); $announcement = ($announcement > $portal_config['portal_announcements_length'] -1) ? -1 : $announcement; @@ -354,7 +354,7 @@ class portal_announcements_module 'S_TOPIC_ICONS' => $topic_icons, )); - return 'modulename_center.html'; + return 'announcements_center.html'; } function get_template_side($module_id) @@ -374,15 +374,15 @@ class portal_announcements_module 'title' => 'ACP_PORTAL_ANNOUNCE_SETTINGS', 'vars' => array( 'legend1' => 'ACP_PORTAL_ANNOUNCE_SETTINGS', - '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' => 'custom', 'explain' => true, 'method' => 'select_forums', 'submit' => 'store_selected_forums'), - 'portal_announcements_forum_exclude' => array('lang' => 'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE', 'validate' => 'string', 'type' => 'radio:yes_no', '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), + 'board3_announcements_style' => array('lang' => 'PORTAL_ANNOUNCEMENTS_STYLE' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), + 'board3_number_of_announcements' => array('lang' => 'PORTAL_NUMBER_OF_ANNOUNCEMENTS' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), + 'board3_announcements_day' => array('lang' => 'PORTAL_ANNOUNCEMENTS_DAY' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), + 'board3_announcements_length' => array('lang' => 'PORTAL_ANNOUNCEMENTS_LENGTH' , 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true), + 'board3_global_announcements_forum' => array('lang' => 'PORTAL_GLOBAL_ANNOUNCEMENTS_FORUM' , 'validate' => 'string', 'type' => 'custom', 'explain' => true, 'method' => 'select_forums', 'submit' => 'store_selected_forums'), + 'board3_announcements_forum_exclude' => array('lang' => 'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE', 'validate' => 'string', 'type' => 'radio:yes_no', 'explain' => true), + 'board3_announcements_archive' => array('lang' => 'PORTAL_ANNOUNCEMENTS_ARCHIVE', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), + 'board3_announcements_permissions' => array('lang' => 'PORTAL_ANNOUNCEMENTS_PERMISSIONS' , 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), + 'board3_show_announcements_replies_views' => array('lang' => 'PORTAL_SHOW_REPLIES_VIEWS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true), ), ); } @@ -392,15 +392,15 @@ class portal_announcements_module */ function install($module_id) { - set_config('portal_announcements_style', 0); - set_config('portal_number_of_announcements', 1); - set_config('portal_announcements_day', 0); - set_config('portal_announcements_length', 200); - set_config('portal_global_announcements_forum', ''); - set_config('portal_announcements_forum_exclude', 0); - set_config('portal_announcements_archive', 1); - set_config('portal_announcements_permissions', 1); - set_config('portal_show_announcements_replies_views', 1); + set_config('board3_announcements_style', 0); + set_config('board3_number_of_announcements', 1); + set_config('board3_announcements_day', 0); + set_config('board3_announcements_length', 200); + set_config('board3_global_announcements_forum', ''); + set_config('board3_announcements_forum_exclude', 0); + set_config('board3_announcements_archive', 1); + set_config('board3_announcements_permissions', 1); + set_config('board3_show_announcements_replies_views', 1); return true; } @@ -410,15 +410,15 @@ class portal_announcements_module global $db; $del_config = array( - 'portal_announcements_style', - 'portal_number_of_announcements', - 'portal_announcements_day', - 'portal_announcements_length', - 'portal_global_announcements_forum', - 'portal_announcements_forum_exclude', - 'portal_announcements_archive', - 'portal_announcements_permissions', - 'portal_show_announcements_replies_views', + 'board3_announcements_style', + 'board3_number_of_announcements', + 'board3_announcements_day', + 'board3_announcements_length', + 'board3_global_announcements_forum', + 'board3_announcements_forum_exclude', + 'board3_announcements_archive', + 'board3_announcements_permissions', + 'board3_show_announcements_replies_views', ); $sql = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE ' . $db->sql_in_set('config_name', $del_config); diff --git a/root/styles/prosilver/template/portal/modules/announcements_center.html b/root/styles/prosilver/template/portal/modules/announcements_center.html new file mode 100644 index 00000000..648078b4 --- /dev/null +++ b/root/styles/prosilver/template/portal/modules/announcements_center.html @@ -0,0 +1,52 @@ + + + +{$C_BLOCK_H_L}
{L_LATEST_ANNOUNCEMENTS}
{$C_BLOCK_H_R} + +
+ +
+
+ {L_NO_ANNOUNCEMENTS} + +
+
+

{NEWEST_POST_IMG}{READ_POST_IMG} {announcements_row.ATTACH_ICON_IMG} {L_POLL}: {announcements_row.TITLE}

+ {announcements_row.PAGINATION} + +
+
+
{announcements_row.TEXT} +
+ +
+
{L_ATTACHMENTS}
+ +
{announcements_row.attachment.DISPLAY_ATTACHMENT}
+ +
+ +
+ {L_TOPIC_VIEWS}: {announcements_row.TOPIC_VIEWS}  •  {L_COMMENTS}: {announcements_row.REPLIES}  •  {L_POST_REPLY} + {announcements_row.OPEN}{announcements_row.L_READ_FULL}{announcements_row.CLOSE} + +
+ +
+ + +
+ +
+
+
+ +{$C_BLOCK_F_L}{$C_BLOCK_F_R} + + \ No newline at end of file