summaryrefslogtreecommitdiffstats
path: root/modules/generators
diff options
context:
space:
mode:
authorDaniel Ruggeri <druggeri@apache.org>2014-12-28 14:43:25 +0100
committerDaniel Ruggeri <druggeri@apache.org>2014-12-28 14:43:25 +0100
commitcded18be8c11c75298604084dba3e8d169053083 (patch)
treea93c704bdbf2751a60f65ac6f43ec53a0b8000fd /modules/generators
parentChange the return value to const, so the const non-matching input can just be (diff)
downloadapache2-cded18be8c11c75298604084dba3e8d169053083.tar.xz
apache2-cded18be8c11c75298604084dba3e8d169053083.zip
Add class attributes for empty descriptions
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1648201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r--modules/generators/mod_autoindex.c2
1 files changed, 1 insertions, 1 deletions
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("</td><td>&nbsp;", r);
+ ap_rvputs(r, "</td><td", (d->style_sheet != NULL) ? " class=\"indexcoldesc\">" : ">", "&nbsp;", NULL);
}
}
ap_rputs("</td></tr>\n", r);