[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-cvs
Subject:    svn commit: r1648201 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
From:       druggeri () apache ! org
Date:       2014-12-28 13:43:26
Message-ID: 20141228134332.6B990AC095D () hades ! apache ! org
[Download RAW message or body]

Author: druggeri
Date: Sun Dec 28 13:43:25 2014
New Revision: 1648201

URL: http://svn.apache.org/r1648201
Log:
Add class attributes for empty descriptions

Modified:
    httpd/httpd/trunk/modules/generators/mod_autoindex.c

Modified: httpd/httpd/trunk/modules/generators/mod_autoindex.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_autoindex.c?rev=1648201&r1=1648200&r2=1648201&view=diff
 ==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Sun Dec 28 13:43:25 2014
@@ -1782,7 +1782,7 @@ static void output_directories(struct en
                     }
                 }
                 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);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic