Added missing feature to show phpBB menu on portal
This commit is contained in:
@@ -64,7 +64,7 @@ class acp_portal
|
||||
'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' => false),
|
||||
'board3_forum_index' => array('lang' => 'PORTAL_FORUM_INDEX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
'board3_phpbb_menu' => array('lang' => 'PORTAL_PHPBB_MENU', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||
|
||||
'legend2' => 'ACP_PORTAL_COLUMN_WIDTH_SETTINGS',
|
||||
'board3_left_column_width' => array('lang' => 'PORTAL_LEFT_COLUMN_WIDTH', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||
|
||||
@@ -111,6 +111,7 @@ $versions = array(
|
||||
array('board3_forum_index', 1, 0),
|
||||
array('board3_left_column_width', 180, 0),
|
||||
array('board3_right_column_width', 180, 0),
|
||||
array('board3_phpbb_menu', 0, 0),
|
||||
),
|
||||
|
||||
'module_add' => array(
|
||||
|
||||
@@ -79,6 +79,8 @@ $lang = array_merge($lang, array(
|
||||
'PORTAL_LEFT_COLUMN_WIDTH_EXP' => 'Ändere hier die Breite der linken Spalte in Pixel, empfohlener Wert 180',
|
||||
'PORTAL_RIGHT_COLUMN_WIDTH' => 'Breite der rechten Spalte',
|
||||
'PORTAL_RIGHT_COLUMN_WIDTH_EXP' => 'Ändere hier die Breite der rechten Spalte in Pixel, empfohlener Wert 180',
|
||||
'PORTAL_PHPBB_MENU' => 'phpBB-Menü',
|
||||
'PORTAL_PHPBB_MENU_EXP' => 'Den phpBB Header auf dem Portal anzeigen.',
|
||||
|
||||
'LINK_ADDED' => 'Der Link wurde erfolgreich eingetragen',
|
||||
'LOG_PORTAL_LINK_ADDED' => '<strong>Portal-Einstellungen geändert</strong><br />» Link hinzu gefügt: %s ',
|
||||
|
||||
@@ -71,8 +71,8 @@ $lang = array_merge($lang, array(
|
||||
'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.',
|
||||
'PORTAL_PHPBB_MENU' => 'phpBB menu',
|
||||
'PORTAL_PHPBB_MENU_EXP' => 'Display the phpBB Header 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',
|
||||
|
||||
@@ -156,6 +156,7 @@ $template->assign_vars(array(
|
||||
'S_RIGHT_COLUMN' => ($module_count['right'] > 0) ? true : false,
|
||||
'S_TOP_COLUMN' => ($module_count['top'] > 0) ? true : false,
|
||||
'S_BOTTOM_COLUMN' => ($module_count['bottom'] > 0) ? true : false,
|
||||
'S_DISPLAY_PHPBB_MENU' => $config['board3_phpbb_menu'],
|
||||
));
|
||||
|
||||
// Output page
|
||||
|
||||
Reference in New Issue
Block a user