mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix coding style part 2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$total_queries = count($sql_debug);
|
||||
$total_queries = count($sql_debug);
|
||||
$total_php_issues = count($php_debug);
|
||||
?>
|
||||
|
||||
@@ -14,25 +14,23 @@
|
||||
<div class="modal-body">
|
||||
<table class="table table-condensed table-hover">
|
||||
<?php
|
||||
|
||||
foreach ($sql_debug as $sql_error) {
|
||||
echo ("
|
||||
echo "
|
||||
<tr>
|
||||
<td>
|
||||
$sql_error
|
||||
</td>
|
||||
</tr>
|
||||
");
|
||||
";
|
||||
}
|
||||
|
||||
echo ("
|
||||
echo "
|
||||
<tr>
|
||||
<td>
|
||||
$total_queries total SQL queries run.
|
||||
</td>
|
||||
</tr>
|
||||
");
|
||||
|
||||
";
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
@@ -52,26 +50,25 @@ foreach ($sql_debug as $sql_error) {
|
||||
<div class="modal-body">
|
||||
<table class="table table-condensed table-hover">
|
||||
<?php
|
||||
|
||||
foreach ($php_debug as $php_error) {
|
||||
echo ("
|
||||
echo '
|
||||
<tr>
|
||||
<td>
|
||||
");
|
||||
';
|
||||
print_r($php_error);
|
||||
echo("
|
||||
echo '
|
||||
</td>
|
||||
</tr>
|
||||
");
|
||||
';
|
||||
}
|
||||
|
||||
echo ("
|
||||
echo "
|
||||
<tr>
|
||||
<td>
|
||||
$total_php_issues total PHP issues / errors.
|
||||
</td>
|
||||
</tr>
|
||||
");
|
||||
";
|
||||
|
||||
?>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user