Expanding TXT support
[hcoop/domtool2.git] / lib / mod_autoindex.dtl
CommitLineData
9d7fa346
AC
1{{Support for Apache's mod_autoindex, which generates pretty default directory
2 index pages}}
3
4extern val addDescription : string -> [no_spaces] -> [^Vhost];
5{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#adddescription">the
6 Apache documentation</a> for <tt>AddDescription</tt>.}}
7
1817ed97
AC
8extern val addIcon : location -> [no_spaces] -> [^Vhost];
9{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#addicon">the
10 Apache documentation</a> for <tt>AddIcon</tt>.}}
11
12extern val indexIgnore : [no_spaces] -> [^Vhost];
13{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexignore">the
14 Apache documentation</a> for <tt>IndexIgnore</tt>.}}
15
9d7fa346
AC
16extern type autoindex_width;
17{{A setting for how wide some column should be}}
18extern val autofit : autoindex_width;
19extern val characters : int -> autoindex_width;
20
21extern type autoindex_option;
22{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexoptions">the
23 Apache documentation</a> for what the options mean.}}
24
25extern val descriptionWidth : autoindex_width -> autoindex_option;
26extern val fancyIndexing : autoindex_option;
27extern val foldersFirst : autoindex_option;
28extern val htmlTable : autoindex_option;
29extern val iconsAreLinks : autoindex_option;
30extern val iconHeight : int -> autoindex_option;
31extern val iconWidth : int -> autoindex_option;
32extern val ignoreCase : autoindex_option;
33extern val ignoreClient : autoindex_option;
34extern val nameWidth : autoindex_width -> autoindex_option;
35extern val scanHtmlTitles : autoindex_option;
36extern val suppressColumnSorting : autoindex_option;
37extern val suppressDescription : autoindex_option;
38extern val suppressHtmlPreamble : autoindex_option;
39extern val suppressIcon : autoindex_option;
40extern val suppressLastModified : autoindex_option;
41extern val suppressRules : autoindex_option;
42extern val suppressSize : autoindex_option;
43extern val trackModified : autoindex_option;
44extern val versionSort : autoindex_option;
45extern val xhtml : autoindex_option;
46
47extern val indexOptions : [autoindex_option] -> [^Vhost];
48{{Declare exactly the set of options in effect for the current scope.}}
49
50extern val set_indexOptions : [autoindex_option] -> [^Vhost];
51extern val unset_indexOptions : [autoindex_option] -> [^Vhost];
52{{Specify some options to be set or unset, leaving the rest as they are.}}
53
54extern val headerName : no_spaces -> [^Vhost];
55{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#headername">the
56 Apache documentation</a>.}}
57
58extern val readmeName : no_spaces -> [^Vhost];
59{{See <a href="http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#readmename">the
60 Apache documentation</a>.}}