@@ 153-164 (lines=12) @@ | ||
150 | /** |
|
151 | * {@inheritdoc} |
|
152 | */ |
|
153 | public function get_template_acp($module_id) |
|
154 | { |
|
155 | // do not remove this as it is needed in order to run manage_links |
|
156 | return array( |
|
157 | 'title' => 'ACP_PORTAL_LINKS', |
|
158 | 'vars' => array( |
|
159 | 'legend1' => 'ACP_PORTAL_LINKS', |
|
160 | 'board3_links_' . $module_id => array('lang' => 'ACP_PORTAL_MENU_MANAGE', 'validate' => 'string', 'type' => 'custom', 'explain' => true, 'method' => 'manage_links', 'submit' => 'update_links'), |
|
161 | 'board3_links_url_new_window_' . $module_id => array('lang' => 'ACP_PORTAL_LINKS_NEW_WINDOW', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false), |
|
162 | ), |
|
163 | ); |
|
164 | } |
|
165 | ||
166 | /** |
|
167 | * {@inheritdoc} |
@@ 162-172 (lines=11) @@ | ||
159 | /** |
|
160 | * {@inheritdoc} |
|
161 | */ |
|
162 | public function get_template_acp($module_id) |
|
163 | { |
|
164 | return array( |
|
165 | 'title' => 'ACP_PORTAL_MENU', |
|
166 | 'vars' => array( |
|
167 | 'legend1' => 'ACP_PORTAL_MENU', |
|
168 | 'board3_menu_' . $module_id => array('lang' => 'ACP_PORTAL_MENU_MANAGE', 'validate' => 'string', 'type' => 'custom', 'explain' => true, 'method' => 'manage_links', 'submit' => 'update_links'), |
|
169 | 'board3_menu_url_new_window_' . $module_id => array('lang' => 'ACP_PORTAL_MENU_EXT_NEW_WINDOW', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false), |
|
170 | ), |
|
171 | ); |
|
172 | } |
|
173 | ||
174 | /** |
|
175 | * {@inheritdoc} |