From: Daniel Ruggeri Date: Sun, 28 Dec 2014 13:43:25 +0000 (+0000) Subject: Add class attributes for empty descriptions X-Git-Tag: 2.5.0-alpha~3586 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cded18be8c11c75298604084dba3e8d169053083;p=apache 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 79f83d73f4..5e86e40728 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);