]> granicus.if.org Git - apache/commitdiff
For consistency, makes the "Loaded Modules" section of the mod_info output into a...
authorRich Bowen <rbowen@apache.org>
Fri, 29 Jul 2011 11:56:26 +0000 (11:56 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 29 Jul 2011 11:56:26 +0000 (11:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1152179 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_info.c

index 03aa07e8b340c2a4eca20c6f1ecd1907d0469c22..6991ed065dac71b902c50af80364646ac6bb7b08 100644 (file)
@@ -682,12 +682,15 @@ static int display_info(request_rec * r)
             ap_rputs("</tt></dt></dl><hr />", r);
 
             ap_rputs("<dl><dt><tt>Sections:<br />", r);
-            ap_rputs("<a href=\"#server\">Server Settings</a>, "
+            ap_rputs("<a href=\"#modules\">Loaded Modules</a>, "
+                     "<a href=\"#server\">Server Settings</a>, "
                      "<a href=\"#startup_hooks\">Startup Hooks</a>, "
                      "<a href=\"#request_hooks\">Request Hooks</a>", r);
             ap_rputs("</tt></dt></dl><hr />", r);
 
-            ap_rputs("<dl><dt><tt>Loaded Modules: <br />", r);
+            ap_rputs("<h2><a name=\"modules\">Loaded Modules</a></h2>"
+                    "<dl><dt><tt>", r);
+
             /* TODO: Sort by Alpha */
             for (modp = ap_top_module; modp; modp = modp->next) {
                 ap_rprintf(r, "<a href=\"#%s\">%s</a>", modp->name,