linked 'about opencaching' wiki page to blank target

This commit is contained in:
following
2013-03-19 12:37:18 +01:00
parent 2907515804
commit c885686c21
4 changed files with 13 additions and 4 deletions

View File

@@ -63,7 +63,16 @@ class Menu
$aMenu[$r['id']]['title'] = $translate->t($r['title'], '', basename(__FILE__), __LINE__);
$aMenu[$r['id']]['menustring'] = $translate->t($r['menustring'], '', basename(__FILE__), __LINE__);
$aMenu[$r['id']]['authlevel'] = ($r['access']==0) ? AUTH_LEVEL_ALL : AUTH_LEVEL_ADMIN;
$aMenu[$r['id']]['href'] = $r['href'];
if (substr($r['href'],0,1) == '!')
{
$aMenu[$r['id']]['href'] = substr($r['href'],1);
$aMenu[$r['id']]['target'] = 'target="_blank"';
}
else
{
$aMenu[$r['id']]['href'] = $r['href'];
$aMenu[$r['id']]['target'] = '';
}
$aMenu[$r['id']]['visible'] = ($r['visible'] == 1) ? true : false;
$aMenu[$r['id']]['sublevel'] = $this->pGetMenuSublevel($r['id']);