Revision 916
Added by doc almost 16 years ago
class.admin.php | ||
---|---|---|
164 | 164 |
$header_template->set_block('header_block', 'linkBlock', 'link'); |
165 | 165 |
foreach($menu AS $menu_item) { |
166 | 166 |
$link = $menu_item[0]; |
167 |
$target = $menu_item[1]; |
|
167 |
$target = ($menu_item[1] == '') ? '_self' : $menu_item[1];
|
|
168 | 168 |
$title = $menu_item[2]; |
169 | 169 |
$permission_title = $menu_item[3]; |
170 | 170 |
$required = $menu_item[4]; |
Also available in: Unified diff
Added default target attribut to backend menu links