[Fusionforge-commits] r11887 - trunk/src/common/widget

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Thu Dec 23 10:31:04 CET 2010


Author: nerville
Date: 2010-12-23 10:31:04 +0100 (Thu, 23 Dec 2010)
New Revision: 11887

Modified:
   trunk/src/common/widget/Widget_MyArtifacts.class.php
Log:
use boxGetAltRowStyle

Modified: trunk/src/common/widget/Widget_MyArtifacts.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyArtifacts.class.php	2010-12-23 09:30:36 UTC (rev 11886)
+++ trunk/src/common/widget/Widget_MyArtifacts.class.php	2010-12-23 09:31:04 UTC (rev 11887)
@@ -118,6 +118,7 @@
 	}
 
 	function _display_artifacts($list_trackers, $print_box_begin) {
+		global $HTML;
 		$request = HTTPRequest::instance();
 		$vItemId = new Valid_UInt('hide_item_id');
 		$vItemId->required();
@@ -221,15 +222,8 @@
 					}
 
 					if($AS_flag !='N') {
-						if ($count_aids % 2 == 0) {
-							$class="bgcolor-white";
-						}
-						else {
-							$class="bgcolor-grey";
-						}
-
 						$html .= '
-							<TR class="'.$class.'">'.
+							<TR '. $HTML->boxGetAltRowStyle($count_aids) .'>'.
 							'<TD class="priority'.$trackers_array->getPriority().'">'.$trackers_array->getPriority().'</TD>'.
 							'<TD><A HREF="/tracker/?func=detail&group_id='.
 							$group_id.'&aid='.$aid.'&atid='.$atid.




More information about the Fusionforge-commits mailing list