mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Use php_info_print_table_header for actual column headers only (#9485)
Using php_info_print_table_header() for "Foo: bar" looks odd and out of place, because the whole line is colored. It is also questionable from a HTML semantics point of view, because it does not described the columns that follow. The use of this across extensions is inconsistent. It was part of the skeleton, but ext/date or ext/json already use a regular row.
This commit is contained in:
@@ -58,7 +58,7 @@ PHP_RINIT_FUNCTION(%EXTNAME%)
|
||||
PHP_MINFO_FUNCTION(%EXTNAME%)
|
||||
{
|
||||
php_info_print_table_start();
|
||||
php_info_print_table_header(2, "%EXTNAME% support", "enabled");
|
||||
php_info_print_table_row(2, "%EXTNAME% support", "enabled");
|
||||
php_info_print_table_end();
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
Reference in New Issue
Block a user