]> granicus.if.org Git - apache/commitdiff
Merge r1648201 from trunk:
authorJim Jagielski <jim@apache.org>
Wed, 14 Jan 2015 12:56:05 +0000 (12:56 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 14 Jan 2015 12:56:05 +0000 (12:56 +0000)
Add class attributes for empty descriptions
Submitted by: druggeri
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1651644 13f79535-47bb-0310-9956-ffa450edef68

STATUS
modules/generators/mod_autoindex.c

diff --git a/STATUS b/STATUS
index e60aa344aee39b74ba9d26a83a9f386205c9394e..c52b75217b30c273bc8f2909828d148da95e5ff4 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -104,11 +104,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-   * mod_autoindex: Fix (add) css attribute for description column when column
-                    contains no data. PR 57227. [Bruno Raoult]
-     trunk patch: http://svn.apache.org/r1648201
-     2.4.x patch: https://issues.apache.org/bugzilla/attachment.cgi?id=32209
-     +1: druggeri, gsmith, rjung
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
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);