From 72e958fc92c489de513d5e9d133ea7a25f4ed518 Mon Sep 17 00:00:00 2001 From: DSB Date: Sat, 28 Jul 2012 20:32:52 +0000 Subject: [PATCH] SQL-Server / Show staus: - added column which outputs numeric values in human readable form (e.g. xx MB) --- .../views/scripts/sql-server/show-status.phtml | 14 ++++++++++++-- .../views/scripts/sql-server/show-variables.phtml | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/application/views/scripts/sql-server/show-status.phtml b/application/views/scripts/sql-server/show-status.phtml index ebda235..65e82eb 100644 --- a/application/views/scripts/sql-server/show-status.phtml +++ b/application/views/scripts/sql-server/show-status.phtml @@ -19,6 +19,7 @@ # lang->L_NAME;?> lang->L_VALUE;?> + lang->L_INTERPRETED_AS_BYTES;?> next()?>"> . escape($name);?> - escape($value);?> + escape($value);?> + + byteOutput($value); + } else { + echo '-'; + } + ?> +


- \ No newline at end of file + diff --git a/application/views/scripts/sql-server/show-variables.phtml b/application/views/scripts/sql-server/show-variables.phtml index c488267..f6e72b7 100644 --- a/application/views/scripts/sql-server/show-variables.phtml +++ b/application/views/scripts/sql-server/show-variables.phtml @@ -33,7 +33,7 @@ . escape($name);?> escape($value);?> - + byteOutput($value);