From a4347c94f5762e4c1296753eddc7e13077b1a705 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Tue, 3 Aug 2010 07:24:09 +0000 Subject: [PATCH] Remove unused template: status-table.php This template was used by the memcache status page, but this is no longer the case after r1319. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2467 44740490-163a-0410-bde0-09ae8108e29a --- templates/status-table.php | 55 -------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 templates/status-table.php diff --git a/templates/status-table.php b/templates/status-table.php deleted file mode 100644 index 842eaf982..000000000 --- a/templates/status-table.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -$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 => $this->data) { - if(!in_array($ct, $column_titles)) { - $column_titles[] = $ct; - } - } -} - -?> - -<h2><?php echo htmlspecialchars($title); ?></h2> - -<table> - -<tr> -<th></th> -<?php -foreach($column_titles as $ct) { - echo '<th>' . htmlspecialchars($ct) . '</th>' . "\n"; -} -?> -</tr> - -<?php -foreach($table as $row_title => $row_data) { - echo '<tr>' . "\n"; - echo '<th class="rowtitle">' . htmlspecialchars($row_title) . '</th>' . "\n"; - - foreach($column_titles as $ct) { - echo '<td>'; - - if(array_key_exists($ct, $row_data)) { - echo htmlspecialchars($row_data[$ct]); - } - - echo '</td>' . "\n"; - } - - echo '</tr>' . "\n"; -} -?> - -</table> - -<?php -$this->includeAtTemplateBase('includes/footer.php'); -?> \ No newline at end of file -- GitLab