histogram: Make histograms crash less
[ninja.git] / application / views / extinfo / process_info.php
blob3a54d2bd67b54207d3d31d8871ba561b64d9816a
1 <?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
2 <table>
3 <colgroup>
4 <col />
5 <col style="min-width: 128px" />
6 </colgroup>
7 <?php
8 foreach ( $info as $row ) {
10 echo "<tr>";
11 echo "<td class=\"dark\">" . $row["title"] . "</td>";
13 if ( isset( $row[ "command" ] ) ) {
15 if ( isset( $row[ "value" ] ) ) {
16 echo "<td style=\"padding: 8px\">" . $row["value"] . "</td>";
17 echo "<td>";
18 } else {
19 echo "<td colspan=\"2\">";
22 if ( is_array( $row[ "command" ] ) ) {
23 echo implode( " ", $row[ "command" ] );
24 } else {
25 echo $row[ "command" ];
28 } else {
29 echo "<td colspan=\"2\" style=\"padding: 8px\">" . $row["value"];
32 echo "</td>";
33 echo "</tr>";
36 </table>