From c8cd1da88fbf0df1a99463032d97ac42d221a774 Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Sun, 3 Feb 2013 04:54:37 -0500 Subject: Fix the debug_result convenience function The point of a convenience function is to be convenient, not to have an unused first parameter and always be surrounded by the same boilerplate. --- templates/show_install_check.inc.php | 54 +++++----------- templates/show_install_config.inc.php | 22 ++----- templates/show_test_table.inc.php | 112 +++++++++------------------------- 3 files changed, 49 insertions(+), 139 deletions(-) (limited to 'templates') diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php index 5b6fd83d..4085642f 100644 --- a/templates/show_install_check.inc.php +++ b/templates/show_install_check.inc.php @@ -32,48 +32,24 @@ - -[ - -] - - + + + + + - -[ - -] - - + + + + + - -[ - -] - - + + + + + diff --git a/templates/show_install_config.inc.php b/templates/show_install_config.inc.php index bae4d3ba..9ec17b1f 100644 --- a/templates/show_install_config.inc.php +++ b/templates/show_install_config.inc.php @@ -72,33 +72,19 @@ require $prefix . '/templates/install_header.inc.php'; - - diff --git a/templates/show_test_table.inc.php b/templates/show_test_table.inc.php index ba22e717..eaef19d1 100644 --- a/templates/show_test_table.inc.php +++ b/templates/show_test_table.inc.php @@ -22,9 +22,8 @@ ?> - - - - - - - - - - - - - - -
[ - - ] + +
[ + - ]
[ - - ] + + @@ -32,9 +31,8 @@
[ - - ] + + @@ -42,9 +40,8 @@
[ - - ] + + @@ -52,9 +49,8 @@
[ - - ] + + @@ -62,9 +58,8 @@
[ - - ] + + @@ -72,15 +67,8 @@
[ - ] + + @@ -88,9 +76,8 @@
[ - - ] + + @@ -98,15 +85,8 @@
[ - ] + + @@ -114,8 +94,8 @@
[ - ] + + @@ -123,8 +103,8 @@
[ - ] + + @@ -135,16 +115,8 @@ if (!defined('INSTALL')) { ?>
[ - - ] + + @@ -154,18 +126,12 @@ if (!defined('INSTALL')) { [ + - ] @@ -173,16 +139,8 @@ if (!defined('INSTALL')) {
[ - - ] + + @@ -190,17 +148,8 @@ if (!defined('INSTALL')) {
[ - - ] + + @@ -209,7 +158,7 @@ if (!defined('INSTALL')) {
[ +    "; } else { - echo debug_result('',false); + echo debug_result(false); } ?> - ] -- cgit