From 9fb404bdac6bd091f58458c5df454daa8516d0f1 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 5 May 2005 02:48:04 +0000 Subject: [PATCH] r83: Changed all calls to exec_swap_bg() to ues bugsys::funct::exec_swap_bg() --- includes/adminfunctions.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/includes/adminfunctions.php b/includes/adminfunctions.php index 2c48514..ef25a7b 100755 --- a/includes/adminfunctions.php +++ b/includes/adminfunctions.php @@ -182,10 +182,11 @@ EOD; // ################################################################### function row_span($text, $class = ':swap:', $align = 'left', $colspan = 2) { + global $bugsys; if ($class === ':swap:') { - global $row_class; - exec_swap_bg(); + $bugsys->funt->exec_swap_bg(); + $row_class = $bugsys->funct->bgcolour; $is_style_element = false; } else @@ -207,8 +208,8 @@ EOD; function row_multi_item($row_array) { - global $row_class; - exec_swap_bg(); + global $bugsys; + $bugsys->funct->exec_swap_bg(); foreach ($row_array AS $item => $align) { @@ -234,7 +235,7 @@ EOD; foreach ($item_array AS $value) { - echo "\r\t$value"; + echo "\r\tfunct->bgcolour}\" align=\"$align\">$value"; } } @@ -243,14 +244,13 @@ EOD; function row_text($label, $value = ' ', $valign = 'top', $colspan = 2, $class = -1) { - global $IS_SETTINGS; + global $bugsys, $IS_SETTINGS; if ($class == -1) { if (!$IS_SETTINGS) { - global $row_class; - exec_swap_bg(); + $bugsys->funct->exec_swap_bg(); } else { @@ -263,12 +263,12 @@ EOD; } echo ""; - echo "\r\t$label"; - echo "\r\t$value"; + echo "\r\tfunct->bgcolour}\">$label"; + echo "\r\tfunct->bgcolour}\">$value"; if ($colspan > 2) { - echo "\r\t "; + echo "\r\tfunct->bgcolour}\" colspan=\"" . $colspan - 2 . "\"> "; } echo "\r\r"; -- 2.43.5