You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dr...@apache.org on 2014/12/28 14:43:26 UTC

svn commit: r1648201 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c

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);