From: Daniel Ruggeri Date: Sun, 28 Dec 2014 13:43:25 +0000 (+0000) Subject: Add class attributes for empty descriptions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e875f430cfeca9f90688fdfbc0ae7e69d3ccb616;p=thirdparty%2Fapache%2Fhttpd.git Add class attributes for empty descriptions git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1648201 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c index 79f83d73f4e..5e86e407287 100644 --- a/modules/generators/mod_autoindex.c +++ b/modules/generators/mod_autoindex.c @@ -1782,7 +1782,7 @@ static void output_directories(struct ent **ar, int n, } } else { - ap_rputs(" ", r); + ap_rvputs(r, "style_sheet != NULL) ? " class=\"indexcoldesc\">" : ">", " ", NULL); } } ap_rputs("\n", r);