data['head'] = ' '; $this->includeAtTemplateBase('includes/header.php'); $title = $this->data['title']; $table = $this->data['table']; /* Identify column headings. */ $column_titles = array(); foreach($table as $row_title => $row_data) { foreach($row_data as $ct => $foo) { if(!in_array($ct, $column_titles)) { $column_titles[] = $ct; } } } ?>
' . htmlspecialchars($ct) . '' . "\n"; } ?> | ||
---|---|---|
' . $this->t('{memcacheMonitor:memcachestat:' . $row_title . '}') . ' | ' . "\n"; # echo '' . $row_title . ' | ' . "\n"; foreach($column_titles as $ct) { echo ''; if(array_key_exists($ct, $row_data)) { echo htmlspecialchars($row_data[$ct]); } echo ' | ' . "\n"; } echo '