diff --git a/includes/page.php b/includes/page.php index afdd772..1fdc390 100644 --- a/includes/page.php +++ b/includes/page.php @@ -146,6 +146,11 @@ class Page { * @return null|string */ function get_name($uuid) { + $console_aliases = $this->settings->console_aliases; + if (in_array($uuid, $console_aliases)) { + return $this->settings->console_name; + } + if (array_key_exists($uuid, $this->uuid_name_cache)) return $this->uuid_name_cache[$uuid]; $history = $this->settings->table['history']; $stmt = $this->conn->prepare("SELECT name FROM $history WHERE uuid=? ORDER BY date DESC LIMIT 1"); @@ -269,16 +274,16 @@ class Page { } function table_print_headers($headers) { - echo(""); + echo ""; foreach ($headers as $header) { echo "
$header
"; } - echo(""); + echo ""; } function print_check_form() { $table = $this->name; - echo(' + echo '
@@ -286,7 +291,7 @@ class Page {

- '); + '; } function print_pager($total = -1, $args = "") {