]> granicus.if.org Git - apache/commitdiff
Add class attributes for empty descriptions
authorDaniel Ruggeri <druggeri@apache.org>
Sun, 28 Dec 2014 13:43:25 +0000 (13:43 +0000)
committerDaniel Ruggeri <druggeri@apache.org>
Sun, 28 Dec 2014 13:43:25 +0000 (13:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1648201 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c

index 79f83d73f4eecfa4d7351f97ae624df20fe1695f..5e86e407287a2d83b0987b83395e8a3bdd2b8276 100644 (file)
@@ -1782,7 +1782,7 @@ static void output_directories(struct ent **ar, int n,
                     }
                 }
                 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);