Reverted acp_portal.php back;
Added news block; Added function get_portal_tracking_info in order to reduce queries when fetching news and announcements;
This commit is contained in:
70
root/language/en/mods/portal/portal_news_module.php
Normal file
70
root/language/en/mods/portal/portal_news_module.php
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Portal - Newws
|
||||
* @version $Id$
|
||||
* @copyright (c) 2009, 2010 Board3 Portal Team
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// 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
|
||||
$lang = array_merge($lang, array(
|
||||
'LATEST_NEWS' => 'Latest news',
|
||||
'READ_FULL' => 'Read all',
|
||||
'NO_NEWS' => 'No news',
|
||||
'POSTED_BY' => 'Poster',
|
||||
'COMMENTS' => 'Comments',
|
||||
'VIEW_COMMENTS' => 'View comments',
|
||||
'POST_REPLY' => 'Write comments',
|
||||
'TOPIC_VIEWS' => 'Views',
|
||||
'JUMP_NEWEST' => 'Jump to newest post',
|
||||
'JUMP_FIRST' => 'Jump to first post',
|
||||
'JUMP_TO_POST' => 'Jump to post',
|
||||
'BACK' => 'Back',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_NEWS_SETTINGS' => 'News settings',
|
||||
'ACP_PORTAL_NEWS_SETTINGS_EXPLAIN' => 'This is where you customize the news block.',
|
||||
'PORTAL_NEWS_STYLE' => 'Compact news block style',
|
||||
'PORTAL_NEWS_STYLE_EXPLAIN' => '"Yes" means use the compact style for news. "No" means use the large style (text view).',
|
||||
'PORTAL_SHOW_ALL_NEWS' => 'Show all of the articles in this forum',
|
||||
'PORTAL_SHOW_ALL_NEWS_EXPLAIN' => 'Includes stickies.',
|
||||
'PORTAL_NUMBER_OF_NEWS' => 'Number of news articles on the portal',
|
||||
'PORTAL_NUMBER_OF_NEWS_EXPLAIN' => '0 means infinite',
|
||||
'PORTAL_NEWS_LENGTH' => 'Max length of news article',
|
||||
'PORTAL_NEWS_LENGTH_EXPLAIN' => '0 means infinite',
|
||||
'PORTAL_NEWS_FORUM' => 'News Forums',
|
||||
'PORTAL_NEWS_FORUM_EXPLAIN' => 'Forum(s) we pull the articles from, leave blank to pull from all forums. If "Exclude forums" is set to "Yes", select the forums you want to exclude.<br />If "Exclude forums" is set to "No" select the forums you want to see.<br />Select/Deselect multiple forums by holding <samp>CTRL</samp> and clicking.',
|
||||
'PORTAL_NEWS_EXCLUDE' => 'Exclude forums',
|
||||
'PORTAL_NEWS_EXCLUDE_EXPLAIN' => 'Select "Yes" if you want to exlude the selected forums from the news block, and "No" if you want to see only the selected forums in the news block.',
|
||||
'PORTAL_NEWS_PERMISSIONS' => 'Enable/disable permissions',
|
||||
'PORTAL_NEWS_PERMISSIONS_EXPLAIN' => 'Take forum viewing permissions into account when displaying news',
|
||||
'PORTAL_NEWS_SHOW_LAST' => 'Sort in order to the newest posts',
|
||||
'PORTAL_NEWS_SHOW_LAST_EXPLAIN' => 'When activated, the newest will be sorted in order to the newest posts. When deactivated, the news will be sorted in order to the newest topic.',
|
||||
'PORTAL_NEWS_ARCHIVE' => 'Enable the news archive system',
|
||||
'PORTAL_NEWS_ARCHIVE_EXPLAIN' => 'If enabled the news archive system / page numbers will be displayed.',
|
||||
));
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user