[evolvis-commits] r17672: theme-evolvis pending merges:↵ Thorsten Glaser 2011-10-31 mage more legible↵ Thorsten Glaser 2011-10-31 table rows don’t want to have display:block, otherwise children suffer↵ Thorsten Glaser 2011-10-31 fix idiotic mis-alignment and put some containment borders up↵ Thorsten Glaser 2011-10-31 prevent error when empty result set

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Oct 31 15:44:23 CET 2011


Author: mirabilos
Date: 2011-10-31 15:44:23 +0100 (Mon, 31 Oct 2011)
New Revision: 17672

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/js/common.js
   trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/full_list.php
Log:
theme-evolvis pending merges:
  Thorsten Glaser 2011-10-31 mage more legible
    Thorsten Glaser 2011-10-31 table rows don’t want to have display:block, otherwise children suffer
    Thorsten Glaser 2011-10-31 fix idiotic mis-alignment and put some containment borders up
    Thorsten Glaser 2011-10-31 prevent error when empty result set


Modified: trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php	2011-10-31 14:44:19 UTC (rev 17671)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php	2011-10-31 14:44:23 UTC (rev 17672)
@@ -199,7 +199,7 @@
 	function getJavascripts() {
 		$code = '';
 		foreach ($this->javascripts as $js) {
-			$code .= "\n\t\t\t" .
+			$code .= "\n\t" .
 			    '<script type="text/javascript" src="' . $js .
 			    '"></script>';
 		}
@@ -209,7 +209,7 @@
 	function getStylesheets() {
 		$code = '';
 		foreach ($this->stylesheets as $c) {
-			$code .= "\t\t\t";
+			$code .= "\t";
 			if ($c['media']) {
 				$code .= '<link rel="stylesheet" type="text/css" href="'.$c['css'].'" media="'.$c['media'].'" />'."\n";
 			} else {
@@ -368,11 +368,9 @@
 		 * Forge-Identification Meta Header, Version 1.0
 		 * cf. http://home.gna.org/forgeplucker/forge-identification.html
 		 */
-		echo "\t\t\t";
 		$ff = new FusionForge();
-		printf('<meta name="Forge-Identification" content="%s:%s" />',
+		printf('\t<meta name="Forge-Identification" content="%s:%s" />\n',
 		    $ff->software_type, $ff->software_version);
-		echo "\n";
 	}
 
 	function bodyHeader($params){

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/js/common.js
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/js/common.js	2011-10-31 14:44:19 UTC (rev 17671)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/js/common.js	2011-10-31 14:44:23 UTC (rev 17672)
@@ -219,7 +219,7 @@
 	}
 	if (dopen == 1) {
 		eicon.getElementsByTagName("img")[0].getAttributeNode("src").nodeValue = icon_minimise;
-		eelem.style.display = "block";
+		eelem.style.display = "table-row";
 		if (cid) {
 			deleteCookie("evcol_" + cid);
 		}

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php	2011-10-31 14:44:19 UTC (rev 17671)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php	2011-10-31 14:44:23 UTC (rev 17672)
@@ -385,13 +385,12 @@
 					<td>
 						<table width="100%" cellspacing="0" border="0">
 							<tr class="tablecontent">
-								<!--<td colspan="2">'._('Search in').':</td-->
-								<td align="right">'._('Select').' <a href="javascript:setCheckBoxes(\'\', true)">'._('all').'</a> / <a href="javascript:setCheckBoxes(\'\', false)">'._('none').'</a></td>
+								<td style="border:1px solid grey;" align="center" colspan="3">'._('Select').' <a href="javascript:setCheckBoxes(\'\', true)">'._('all').'</a> / <a href="javascript:setCheckBoxes(\'\', false)">'._('none').'</a></td>
 							</tr>
 							<tr class="tablecontent">
 								<td colspan="3"> </td>
 							</tr>
-							<tr valign="top" class="tablecontent align-center">
+							<tr valign="top" class="tablecontent">
 								<td>';
 		foreach($sectionsArray as $key => $section) {
 			$oldcountlines = $countLines;
@@ -411,8 +410,8 @@
 				}
 			}
 		
-			$return .= '<table width="90%" border="0" cellpadding="1" cellspacing="0">
-							<tr><td><table width="100%" border="0" cellspacing="0" cellpadding="3">
+			$return .= '<table style="border:1px solid grey;" width="100%" border="0" cellpadding="1" cellspacing="0">
+							<tr><td><table width="90%" border="0" cellspacing="0" cellpadding="3">
 							<tr>
 								<td cellspacing="0">
 									<a href="#'.$key.'">'.$group_subsection_names[$key].'</a>'

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/full_list.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/full_list.php	2011-10-31 14:44:19 UTC (rev 17671)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/softwaremap/full_list.php	2011-10-31 14:44:23 UTC (rev 17672)
@@ -111,7 +111,6 @@
 print $html_limit."<hr />\n";
 
 $tblcnt = 0;
-print "<table border=\"0\" cellspacing=\"4\">\n";
 
 // #################################################################
 // print actual project listings
@@ -127,6 +126,10 @@
 
 	if ($viewthisrow) {
 
+		if (!$tblcnt) {
+			print "<table border=\"0\" cellspacing=\"4\">\n";
+		}
+
 		print "<tr " . $HTML->boxGetAltRowStyle($tblcnt++) .
 		    "><td style=\"border:1px solid grey; padding:3px;\">\n";
 
@@ -173,7 +176,9 @@
 	} // end if for row and range chacking   
 }
 
-print "</table>\n";
+if ($tblcnt) {
+	print "</table>\n";
+}
 
 // print bottom navigation if there are more projects to display
 if ($querytotalcount > $TROVE_BROWSELIMIT) {



More information about the evolvis-commits mailing list