From: Gabriel Wicke Date: Fri, 9 Apr 2004 18:11:58 +0000 (+0000) Subject: portal actually added to nav_urls X-Git-Tag: 1.3.0beta1~505 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=947d0bdc9e8ea1d1267af4ef130448b949d1c700;p=lhc%2Fweb%2Fwiklou.git portal actually added to nav_urls --- diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index 605bdd48ad..c3ac2bd4c1 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -348,9 +348,8 @@ $nav_urls['randompage'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Randompage'))); $nav_urls['recentchanges'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Recentchanges'))); $nav_urls['whatlinkshere'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Whatlinkshere', 'target='.$this->thispage))); - if(wfMsg('currentevents') != '-') { - $nav_urls['currentevents'] = array('href' => htmlspecialchars( $this->makeI18nUrl('currentevents'))); - } + $nav_urls['currentevents'] = (wfMsg('currentevents') != '') ? array('href' => htmlspecialchars( $this->makeI18nUrl('currentevents'))) : ''; + $nav_urls['portal'] = (wfMsg('portal') != '') ? array('href' => htmlspecialchars( $this->makeI18nUrl('portal'))) : ''; $nav_urls['recentchangeslinked'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Recentchangeslinked', 'target='.$this->thispage))); $nav_urls['bugreports'] = array('href' => htmlspecialchars( $this->makeI18nUrl('bugreportspage'))); // $nav_urls['sitesupport'] = array('href' => htmlspecialchars( $this->makeI18nUrl('sitesupportpage')));