httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1152179 - /httpd/httpd/trunk/modules/generators/mod_info.c
Date Fri, 29 Jul 2011 11:56:27 GMT
Author: rbowen
Date: Fri Jul 29 11:56:26 2011
New Revision: 1152179

URL: http://svn.apache.org/viewvc?rev=1152179&view=rev
Log:
For consistency, makes the "Loaded Modules" section of the mod_info output into a top-level
section, and provides a link to it.

Modified:
    httpd/httpd/trunk/modules/generators/mod_info.c

Modified: httpd/httpd/trunk/modules/generators/mod_info.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_info.c?rev=1152179&r1=1152178&r2=1152179&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_info.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_info.c Fri Jul 29 11:56:26 2011
@@ -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,



Mime
View raw message