Lines 160-168
Link Here
|
160 |
d = (autoindex_config_rec *) ap_get_module_config(r->per_dir_config, |
160 |
d = (autoindex_config_rec *) ap_get_module_config(r->per_dir_config, |
161 |
&autoindex_module); |
161 |
&autoindex_module); |
162 |
|
162 |
|
163 |
ap_rvputs(r, xhtml ? DOCTYPE_XHTML_1_0T : DOCTYPE_HTML_3_2, |
163 |
if (xhtml) { |
164 |
"<html>\n <head>\n <title>Index of ", title, |
164 |
ap_rvputs(r, DOCTYPE_XHTML_1_0T, |
165 |
"</title>\n", NULL); |
165 |
"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" |
|
|
166 |
"<head>\n <title>Index of ", title, |
167 |
"</title>\n", NULL); |
168 |
} else { |
169 |
ap_rvputs(r, DOCTYPE_HTML_3_2, |
170 |
"<html>\n <head>\n" |
171 |
"<title>Index of ", title, |
172 |
"</title>\n", NULL); |
173 |
} |
174 |
|
166 |
if (d->style_sheet != NULL) { |
175 |
if (d->style_sheet != NULL) { |
167 |
ap_rvputs(r, " <link rel=\"stylesheet\" href=\"", d->style_sheet, |
176 |
ap_rvputs(r, " <link rel=\"stylesheet\" href=\"", d->style_sheet, |
168 |
"\" type=\"text/css\"", xhtml ? " />\n" : ">\n", NULL); |
177 |
"\" type=\"text/css\"", xhtml ? " />\n" : ">\n", NULL); |