[ticket/469] Only allow showing left or right module on all pages

B3P-469
This commit is contained in:
Marc Alexander
2015-02-13 16:33:06 +01:00
parent f75dd66601
commit 311c7cb97f
7 changed files with 41 additions and 12 deletions

View File

@@ -104,8 +104,7 @@ class portal_module
'legend3' => 'ACP_PORTAL_SHOW_ALL',
'board3_show_all_pages' => array('lang' => 'ACP_PORTAL_SHOW_ALL', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'board3_show_all_left' => array('lang' => 'PORTAL_SHOW_ALL_LEFT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'board3_show_all_right' => array('lang' => 'PORTAL_SHOW_ALL_RIGHT', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'board3_show_all_side' => array('lang' => 'PORTAL_SHOW_ALL_SIDE', 'validate' => 'bool', 'type' => 'custom', 'method' => array('board3.portal.modules_helper', 'display_left_right'), 'explain' => true),
)
);