summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Viebrock <cmv@php.net>2000-04-07 16:50:55 +0000
committerColin Viebrock <cmv@php.net>2000-04-07 16:50:55 +0000
commit9130f05d08e03d2ca83cd7b8122beb0a9ff4ea6e (patch)
tree1654f33a4ff69154850181843347ab751b7c7e33
parent86cff779c30cf72355ad77280ba32fc88bb86b04 (diff)
downloadphp-git-9130f05d08e03d2ca83cd7b8122beb0a9ff4ea6e.tar.gz
prettying
-rw-r--r--sapi/isapi/php4isapi.c5
-rw-r--r--sapi/roxen/roxen.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c
index 3597a18e2e..ca9dc4633e 100644
--- a/sapi/isapi/php4isapi.c
+++ b/sapi/isapi/php4isapi.c
@@ -102,7 +102,7 @@ static void php_info_isapi(ZEND_MODULE_INFO_FUNC_ARGS)
lpECB = (LPEXTENSION_CONTROL_BLOCK) SG(server_context);
- PUTS("<table border=5 width=\"600\">\n");
+ php_info_print_table_start();
php_info_print_table_header(2, "Server Variable", "Value");
while (*p) {
variable_len = ISAPI_SERVER_VAR_BUF_SIZE;
@@ -121,8 +121,7 @@ static void php_info_isapi(ZEND_MODULE_INFO_FUNC_ARGS)
}
p++;
}
-
- PUTS("</table>");
+ php_info_print_table_end();
}
diff --git a/sapi/roxen/roxen.c b/sapi/roxen/roxen.c
index ed374305cb..ac260516b4 100644
--- a/sapi/roxen/roxen.c
+++ b/sapi/roxen/roxen.c
@@ -26,6 +26,7 @@
#include "php_globals.h"
#include "SAPI.h"
#include "main.h"
+#include "ext/standard/info.h"
#include "php_version.h"
@@ -445,9 +446,7 @@ php_roxen_sapi_read_cookies(SLS_D)
static void php_info_roxen(ZEND_MODULE_INFO_FUNC_ARGS)
{
/* char buf[512]; */
- extern void php_info_print_table_row( int, ... );
-
- PUTS("<table border=5 width=600>\n");
+ php_info_print_table_start();
php_info_print_table_row(2, "SAPI module version", "$Id$");
/* php_info_print_table_row(2, "Build date", Ns_InfoBuildDate());
php_info_print_table_row(2, "Config file path", Ns_InfoConfigFile());
@@ -465,7 +464,7 @@ static void php_info_roxen(ZEND_MODULE_INFO_FUNC_ARGS)
uptime % 60);
php_info_print_table_row(2, "Server uptime", buf);
*/
- PUTS("</table>");
+ php_info_print_table_end();
}
static zend_module_entry php_roxen_module = {