[evolvis-commits] r17743: [#2214] theme-evolvis pending merges:↵ Thorsten Glaser 2011-11-30 really pass toptab↵ Thorsten Glaser 2011-11-30 oops, local variable duplicate misnomer

mirabilos at evolvis.org mirabilos at evolvis.org
Wed Nov 30 16:28:39 CET 2011


Author: mirabilos
Date: 2011-11-30 16:28:39 +0100 (Wed, 30 Nov 2011)
New Revision: 17743

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
Log:
[#2214] theme-evolvis pending merges:
  Thorsten Glaser 2011-11-30 really pass toptab
    Thorsten Glaser 2011-11-30 oops, local variable duplicate misnomer


Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php	2011-11-30 15:28:33 UTC (rev 17742)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php	2011-11-30 15:28:39 UTC (rev 17743)
@@ -141,8 +141,11 @@
 					_('New Account'),
 				    );
 			}
-			$p = array('skipmypage' => true);
-			$sitemenu = $this->navigation->getSiteMenu($p);
+			$psm = array('skipmypage' => true);
+			if (util_ifsetor($params['toptab'])) {
+				$psm['toptab'] = $params['toptab'];
+			}
+			$sitemenu = $this->navigation->getSiteMenu($psm);
 			$request_uri = $sitemenu['request_uri'];
 			if (strstr($request_uri, util_make_uri('/my/')) ||
 			    strstr($request_uri, util_make_uri('/account/')) ||



More information about the evolvis-commits mailing list