[Fusionforge-commits] r18489 - in trunk/src: common/widget www/people

Marc-Etienne VARGENAU vargenau at fusionforge.org
Thu Nov 21 12:21:57 CET 2013


Author: vargenau
Date: 2013-11-21 12:21:57 +0100 (Thu, 21 Nov 2013)
New Revision: 18489

Modified:
   trunk/src/common/widget/Widget_MyAdmin.class.php
   trunk/src/www/people/people_utils.php
Log:
Use CSS

Modified: trunk/src/common/widget/Widget_MyAdmin.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyAdmin.class.php	2013-11-20 18:26:28 UTC (rev 18488)
+++ trunk/src/common/widget/Widget_MyAdmin.class.php	2013-11-21 11:21:57 UTC (rev 18489)
@@ -101,6 +101,6 @@
 	}
 	function _get_admin_row($i, $text, $value, $bgcolor, $textcolor = 'white') {
 		$i=$i++;
-		return '<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'><td>'. $text .'</td><td nowrap="nowrap" style="width:20%; background:'. $bgcolor .'; color:'. $textcolor .'; padding: 2px 8px; font-weight:bold; text-align:center;">'. $value .'</td></tr>';
+		return '<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'><td>'. $text .'</td><td style="white-space:nowrap; width:20%; background:'. $bgcolor .'; color:'. $textcolor .'; padding: 2px 8px; font-weight:bold; text-align:center;">'. $value .'</td></tr>';
 	}
 }

Modified: trunk/src/www/people/people_utils.php
===================================================================
--- trunk/src/www/people/people_utils.php	2013-11-20 18:26:28 UTC (rev 18488)
+++ trunk/src/www/people/people_utils.php	2013-11-21 11:21:57 UTC (rev 18489)
@@ -175,7 +175,7 @@
 				<td>'. people_get_skill_name(db_result($result,$i,'skill_id')) .'</td>
 				<td>'. people_skill_level_box('skill_level_id',db_result($result,$i,'skill_level_id')). '</td>
 				<td>'. people_skill_year_box('skill_year_id',db_result($result,$i,'skill_year_id')). '</td>
-				<td nowrap="nowrap"><input type="submit" name="update_skill_inventory" value="'._('Update').'" />  
+				<td style="white-space:nowrap"><input type="submit" name="update_skill_inventory" value="'._('Update').'" />  
 					<input type="submit" name="delete_from_skill_inventory" value="'._('Delete').'" /></td>
 				</tr></form>';
 		}




More information about the Fusionforge-commits mailing list