From: Gabriel Wicke Date: Fri, 9 Apr 2004 21:19:44 +0000 (+0000) Subject: uses portal-url X-Git-Tag: 1.3.0beta1~500 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=3de7d8de1ff7e9a32eba96e263a40b91b8009e4c;p=lhc%2Fweb%2Fwiklou.git uses portal-url --- diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index c3ac2bd4c1..4bc016125b 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -81,10 +81,10 @@ $tpl->setRef( "title", &$this->titletxt ); // ? $tpl->setRef( "thispage", &$this->thispage ); $tpl->set( "subtitle", $out->getSubtitle() ); - $tpl->setRef( 'mimetype', $wgMimeType ); - $tpl->setRef( 'charset', $wgOutputEncoding ); + $tpl->setRef( 'mimetype', &$wgMimeType ); + $tpl->setRef( 'charset', &$wgOutputEncoding ); $tpl->set( 'headlinks', $out->getHeadLinks() ); - $tpl->setRef( 'skinname', $this->skinname ); + $tpl->setRef( 'skinname', &$this->skinname ); $tpl->setRef( "loggedin", &$this->loggedin ); /* XXX currently unused, might get useful later $tpl->set( "editable", ($wgTitle->getNamespace() != NS_SPECIAL ) ); @@ -349,7 +349,7 @@ $nav_urls['recentchanges'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Recentchanges'))); $nav_urls['whatlinkshere'] = array('href' => htmlspecialchars( $this->makeSpecialUrl('Whatlinkshere', 'target='.$this->thispage))); $nav_urls['currentevents'] = (wfMsg('currentevents') != '') ? array('href' => htmlspecialchars( $this->makeI18nUrl('currentevents'))) : ''; - $nav_urls['portal'] = (wfMsg('portal') != '') ? array('href' => htmlspecialchars( $this->makeI18nUrl('portal'))) : ''; + $nav_urls['portal'] = (wfMsg('portal') != '') ? array('href' => htmlspecialchars( $this->makeI18nUrl('portal-url'))) : ''; $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')));