summaryrefslogtreecommitdiff
path: root/ext/icap
diff options
context:
space:
mode:
authorColin Viebrock <cmv@php.net>2000-04-06 16:57:33 +0000
committerColin Viebrock <cmv@php.net>2000-04-06 16:57:33 +0000
commit5115342c6ed0aab1d86a3b9ba36d0144580692d6 (patch)
treed6ec170f2c6e788932a98ffbf6c4999239be29fa /ext/icap
parenta9159c2eec7ce25ad6df38a2befa0924463d2032 (diff)
downloadphp-git-5115342c6ed0aab1d86a3b9ba36d0144580692d6.tar.gz
More phpinfo() prettying.
Can someone check my code for the interbase support, and I need someone else to decode the LDAP stuff ... it's beyond me.
Diffstat (limited to 'ext/icap')
-rw-r--r--ext/icap/php_icap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/icap/php_icap.c b/ext/icap/php_icap.c
index 74d86a4be0..06322edafd 100644
--- a/ext/icap/php_icap.c
+++ b/ext/icap/php_icap.c
@@ -50,6 +50,7 @@
#include "cal.h"
#include "php_icap.h"
#include "modules.h"
+#include "ext/standard/info.h"
#if (WIN32|WINNT)
#include "winsock.h"
#endif
@@ -127,11 +128,10 @@ CALSTREAM *cal_close_it (pils *icap_le_struct)
PHP_MINFO_FUNCTION(icap)
{
- php_printf("Icap Support enabled<br>");
- php_printf("<table>");
- php_printf("<tr><td>Icap Version:</td>");
- php_printf("<td>%s</td>",CALVER);
- php_printf("</tr></table>");
+ php_info_print_table_start();
+ php_info_print_table_row(2, "ICAP Support", "enabled");
+ php_info_print_table_row(2, "ICAP Version", CALVER);
+ php_info_print_table_end();
}
PHP_MINIT_FUNCTION(icap)