Unreported: Show version oh portal in ACP>>.MODs>>Portal>>General Settings

This commit is contained in:
Ice
2008-02-04 21:00:33 +00:00
parent de642c865f
commit 643d3e5c1b
3 changed files with 7 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ $lang = array_merge($lang, array(
// general // general
'ACP_PORTAL_GENERAL_INFO' => 'Portal Administration', 'ACP_PORTAL_GENERAL_INFO' => 'Portal Administration',
'ACP_PORTAL_GENERAL_INFO_EXPLAIN' => 'Danke das 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, das Portal betreffend, zu kontrollieren.', 'ACP_PORTAL_GENERAL_INFO_EXPLAIN' => 'Danke das 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, das Portal betreffend, zu kontrollieren.',
'ACP_PORTAL_VERSION' => 'Version v%s',
'ACP_PORTAL_GENERAL_SETTINGS' => 'Allgemeine Einstellungen', 'ACP_PORTAL_GENERAL_SETTINGS' => 'Allgemeine Einstellungen',
'ACP_PORTAL_GENERAL_SETTINGS_EXPLAIN' => 'Hier kannst du die Haupteinstellungen vornehmen.', 'ACP_PORTAL_GENERAL_SETTINGS_EXPLAIN' => 'Hier kannst du die Haupteinstellungen vornehmen.',
'PORTAL_ADVANCED_STAT' => 'Erweiterte Statistik', 'PORTAL_ADVANCED_STAT' => 'Erweiterte Statistik',

View File

@@ -266,9 +266,13 @@ class acp_portal
$this->tpl_name = 'acp_board'; $this->tpl_name = 'acp_board';
$this->page_title = $display_vars['title']; $this->page_title = $display_vars['title'];
$title_explain = $user->lang[$display_vars['title'] . '_EXPLAIN'];
$title_explain .= ( $display_vars['title'] == 'ACP_PORTAL_GENERAL_INFO' ) ? '<br /><br />' . sprintf($user->lang['ACP_PORTAL_VERSION'], $portal_config['portal_version']) : '';
$template->assign_vars(array( $template->assign_vars(array(
'L_TITLE' => $user->lang[$display_vars['title']], 'L_TITLE' => $user->lang[$display_vars['title']],
'L_TITLE_EXPLAIN' => $user->lang[$display_vars['title'] . '_EXPLAIN'], 'L_TITLE_EXPLAIN' => $title_explain,
'S_ERROR' => (sizeof($error)) ? true : false, 'S_ERROR' => (sizeof($error)) ? true : false,
'ERROR_MSG' => implode('<br />', $error), 'ERROR_MSG' => implode('<br />', $error),

View File

@@ -41,6 +41,7 @@ $lang = array_merge($lang, array(
// general // general
'ACP_PORTAL_GENERAL_INFO' => 'Portal administration', 'ACP_PORTAL_GENERAL_INFO' => 'Portal administration',
'ACP_PORTAL_GENERAL_INFO_EXPLAIN' => 'Thank you for choosing board3 Portal. On this page you can manage the portal of your board. The screens inhere will give you a quick overview of all the various portal settings. The links on the left hand side of this screen allow you to control every aspect of your portal experience.', 'ACP_PORTAL_GENERAL_INFO_EXPLAIN' => 'Thank you for choosing board3 Portal. On this page you can manage the portal of your board. The screens inhere will give you a quick overview of all the various portal settings. The links on the left hand side of this screen allow you to control every aspect of your portal experience.',
'ACP_PORTAL_VERSION' => 'Version v%s',
'ACP_PORTAL_GENERAL_SETTINGS' => 'General settings', 'ACP_PORTAL_GENERAL_SETTINGS' => 'General settings',
'ACP_PORTAL_GENERAL_SETTINGS_EXPLAIN' => 'Here you can change your general and certain specific options.', 'ACP_PORTAL_GENERAL_SETTINGS_EXPLAIN' => 'Here you can change your general and certain specific options.',
'PORTAL_ADVANCED_STAT' => 'Advanced statistics block', 'PORTAL_ADVANCED_STAT' => 'Advanced statistics block',