[Fusionforge-commits] r7212 - branches/Branch_4_7/gforge/www/themes/gforge

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Mar 20 14:59:29 CET 2009


Author: lolando
Date: 2009-03-20 14:59:28 +0100 (Fri, 20 Mar 2009)
New Revision: 7212

Modified:
   branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php
Log:
Brown paper bag fix: previous backport from trunk was over-enthusiastic

Modified: branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php
===================================================================
--- branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php	2009-03-20 13:35:02 UTC (rev 7211)
+++ branches/Branch_4_7/gforge/www/themes/gforge/Theme.class.php	2009-03-20 13:59:28 UTC (rev 7212)
@@ -113,7 +113,10 @@
     <title><?php echo $params['title']; ?></title>
     <link rel="icon" type="image/png" href="<?php echo util_make_url('/images/icon.png'); ?>"/>
     <link rel="shortcut icon" type="image/png" href="<?php echo util_make_url('/images/icon.png'); ?>"/>
-		<?php $this->headerLink(); ?>
+    <link rel="alternate" title="<?php echo $GLOBALS['sys_name']; ?> - Project News Highlights RSS" href="<?php echo util_make_url ('/export/rss_sfnews.php'); ?>" type="application/rss+xml"/>
+    <link rel="alternate" title="<?php echo $GLOBALS['sys_name']; ?> - Project News Highlights RSS" href="<?php echo util_make_url ('/export/rss20_news.php'); ?>" type="application/rss+xml"/>
+    <link rel="alternate" title="<?php echo $GLOBALS['sys_name']; ?> - New Projects RSS" href="<?php echo util_make_url ('/export/rss_sfprojects.php'); ?>" type="application/rss+xml"/>
+
     <script language="JavaScript" type="text/javascript">
     <!--
 
@@ -154,9 +157,8 @@
 		  <td class="topLeft"><?php echo util_make_link ('/', html_image('header/top-logo.png',192,54,array('border'=>'0'))); ?></td>
         <td class="middleRight"><?php echo $this->searchBox(); ?></td>
         <td class="middleRight"><?php
-	if (session_loggedin()) {
-		$u =& user_get_object(user_getid());
-		echo util_make_link ('/account/logout.php', sprintf("%s (%s)", _('Log Out'), $u->getRealName()));
+        if (session_loggedin()) {
+        	echo util_make_link ('/account/logout.php', _('Log Out'));
         	echo ' | ';
         	echo util_make_link ('/account/', _('My Account'));
         } else {




More information about the Fusionforge-commits mailing list