httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drugg...@apache.org
Subject svn commit: r1648201 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
Date Sun, 28 Dec 2014 13:43:26 GMT
Author: druggeri
Date: Sun Dec 28 13:43:25 2014
New Revision: 1648201

URL: http://svn.apache.org/r1648201
Log:
Add class attributes for empty descriptions

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

Modified: httpd/httpd/trunk/modules/generators/mod_autoindex.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_autoindex.c?rev=1648201&r1=1648200&r2=1648201&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Sun Dec 28 13:43:25 2014
@@ -1782,7 +1782,7 @@ static void output_directories(struct en
                     }
                 }
                 else {
-                    ap_rputs("</td><td>&nbsp;", r);
+                    ap_rvputs(r, "</td><td", (d->style_sheet != NULL) ? " class=\"indexcoldesc\">"
: ">", "&nbsp;", NULL);
                 }
             }
             ap_rputs("</td></tr>\n", r);



Mime
View raw message