summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorColin Viebrock <cmv@php.net>2002-09-19 21:57:25 +0000
committerColin Viebrock <cmv@php.net>2002-09-19 21:57:25 +0000
commit14a6cc8847c1ba35604aee6c96720dbe213c12ac (patch)
tree7717ac8459c7aa90b5e10f75571e7b7ee49077c3 /sapi
parentcd47bf286fb2a09cf3627e69d0bbe7fd937b7ea3 (diff)
downloadphp-git-14a6cc8847c1ba35604aee6c96720dbe213c12ac.tar.gz
Change phpinfo() to use CSS styling instead of HTML code.
It doesn't render as nicely as it used to on older browsers, but it does result in smaller files, and opens the door to using your own CSS to style it differently. There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so Derick has the patch.
Diffstat (limited to 'sapi')
-rw-r--r--sapi/aolserver/aolserver.c2
-rw-r--r--sapi/apache/php_apache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c
index 3131d69d71..1a8d1e4b17 100644
--- a/sapi/aolserver/aolserver.c
+++ b/sapi/aolserver/aolserver.c
@@ -36,7 +36,7 @@
#endif
#include "ext/standard/info.h"
-#define SECTION(name) PUTS("<H2 align=\"center\">" name "</H2>\n")
+#define SECTION(name) PUTS("<h2 class=\"section\">" name "</h2>\n")
#define NS_BUF_SIZE 511
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c
index 99cb694fcc..3bd2563e5b 100644
--- a/sapi/apache/php_apache.c
+++ b/sapi/apache/php_apache.c
@@ -34,7 +34,7 @@ int php_apache_info_id;
php_apache_info_struct php_apache_info;
#endif
-#define SECTION(name) PUTS("<H2 align=\"center\">" name "</H2>\n")
+#define SECTION(name) PUTS("<h2 class=\"section\">" name "</h2>\n")
extern module *top_module;