diff --git a/lib.inc.php3 b/lib.inc.php3 index f56027b86..80c88c815 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -840,6 +840,7 @@ var errorMsg2 = '
' . "\n"; } - if(eregi("^[ \n\r]*show[ \n\r]*processlist[ \n\r]*$",$sql_query)) { + if ($is_show_processlist) { echo ' | ' . "\n"; } while ($field = mysql_fetch_field($dt_result)) { @@ -919,7 +920,8 @@ var errorMsg2 = '"> name) . ' '; if (!isset($row[$i])) { @@ -929,8 +931,7 @@ var errorMsg2 = 'numeric == 1) { - if(eregi("^[ \n\r]*show[ \n\r]*processlist[ \n\r]*$",$sql_query)) { - + if ($is_show_processlist) { $Id = $row[$i]; } } @@ -987,7 +988,7 @@ var errorMsg2 = ' | @@ -997,9 +998,8 @@ var errorMsg2 = ' ' . htmlspecialchars($row[$i]) . ' | ' . "\n"; } } // end for + // Possibility to have the modify/delete button on the left added + // Benjamin Gandon -- 2000-08-29 if ($GLOBALS['cfgModifyDeleteAtRight'] && !$is_simple) { ?>