]> granicus.if.org Git - php/commitdiff
(_display_module_info): Add anchor for module names
authorSascha Schumann <sas@php.net>
Wed, 20 Oct 1999 16:16:58 +0000 (16:16 +0000)
committerSascha Schumann <sas@php.net>
Wed, 20 Oct 1999 16:16:58 +0000 (16:16 +0000)
ext/standard/info.c

index 4e1bc847292f6d60b52d0572f48baf56c7c83e5b..9cd1c90b54546c349e7f609034f0cf4c6adaff5e 100644 (file)
@@ -42,7 +42,7 @@ static int _display_module_info(zend_module_entry *module, void *arg)
        int show_info_func = *((int *) arg);
 
        if (show_info_func && module->info_func) {
-               php_printf("<hr><h2>%s</h2>\n", module->name);
+               php_printf("<hr><a name=\"module_%s\"><h2>%s</h2>\n", module->name, module->name);
                module->info_func(module);
        } else if (!show_info_func && !module->info_func) {
                php_printf("<tr><td bgcolor=\"" PHP_CONTENTS_COLOR "\">");