[evolvis-commits] r17645: [#2030] theme-evolvis pending merges:↵ Thorsten Glaser 2011-10-26 allow headlinks in submenu to wrap around in case they get too long↵ Thorsten Glaser 2011-10-26 I’ll n̲e̲v̲e̲r̲ get this…

mirabilos at evolvis.org mirabilos at evolvis.org
Wed Oct 26 16:07:09 CEST 2011


Author: mirabilos
Date: 2011-10-26 16:07:09 +0200 (Wed, 26 Oct 2011)
New Revision: 17645

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php
Log:
[#2030] theme-evolvis pending merges:
  Thorsten Glaser 2011-10-26 allow headlinks in submenu to wrap around in case they get too long
    Thorsten Glaser 2011-10-26 I’ll n̲e̲v̲e̲r̲ get this…


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-10-26 13:36:12 UTC (rev 17644)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/evolvis/Theme.class.php	2011-10-26 14:07:09 UTC (rev 17645)
@@ -601,6 +601,13 @@
 		$rv = "";
 
 		for ($i = 0; $i < count($links_arr); ++$i) {
+			if ($i) {
+				/*
+				 * insert spaces between the items
+				 * so that they can wrap around
+				 */
+				$rv .= "\n";
+			}
 			$rv .= $this->emit_headlink(true,
 			    util_ifsetor($tooltip_arr[$i], ""),
 			    false, $links_arr[$i],

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php	2011-10-26 13:36:12 UTC (rev 17644)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php	2011-10-26 14:07:09 UTC (rev 17645)
@@ -42,7 +42,7 @@
 	}
 
 	function header($params) {
-		header_internal(false, $params);
+		$this->header_internal(false, $params);
 	}
 
 	function footer($params) {
@@ -50,7 +50,7 @@
 	}
 
 	function adminHeader($params) {
-		header_internal(true, $params);
+		$this->header_internal(true, $params);
 	}
 
 	function adminFooter($params) {



More information about the evolvis-commits mailing list