Index: trunk/admin/include/elements.php =================================================================== diff -u -r38 -r288 --- trunk/admin/include/elements.php (.../elements.php) (revision 38) +++ trunk/admin/include/elements.php (.../elements.php) (revision 288) @@ -337,7 +337,7 @@ //*********************************** //Table Alternating colors -function int_table_color($reset_color=0) +function int_table_color($reset_color=0, $return_result = false) { static $colorset; @@ -351,7 +351,12 @@ else $colorset = "table_color1"; - print "class=\"".$colorset."\""; + $ret = "class=\"".$colorset."\""; + if($return_result) + return $ret; + else + print $ret; + }//Table Alternating colors //Table Alternating colors with return