mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-11 15:54:10 +02:00
Added comments in options.js.
This commit is contained in:
@@ -1,7 +1,33 @@
|
|||||||
|
|
||||||
h5aiOptions = {
|
h5aiOptions = {
|
||||||
viewmodes: [ "icons", "details" ],
|
|
||||||
|
/*
|
||||||
|
* An array of view modes the user may chose from. Currently there
|
||||||
|
* are two possible values: "details" and "icons". The first value
|
||||||
|
* indicates the default view mode. If only one value is given the
|
||||||
|
* view mode is fixed and the selector buttons are hidden.
|
||||||
|
* The user selected view mode is also stored local in modern browsers
|
||||||
|
* so that it will be persistent.
|
||||||
|
*/
|
||||||
|
viewmodes: [ "details", "icons" ],
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Show a folder tree, boolean.
|
||||||
|
* Note that this tree might have side effects as it sends HEAD requests
|
||||||
|
* to the folders, and therefore will invoke index.php scripts. Use
|
||||||
|
* folderStatus below to avoid such requests.
|
||||||
|
*/
|
||||||
showTree: false,
|
showTree: false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Associative array of folders and their HTTP status codes to
|
||||||
|
* avoid HEAD requests to that folders.
|
||||||
|
*/
|
||||||
folderStatus: {
|
folderStatus: {
|
||||||
|
/*
|
||||||
|
* for example:
|
||||||
|
* "/some/folder/": 200
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@@ -1,7 +1,33 @@
|
|||||||
|
|
||||||
h5aiOptions = {
|
h5aiOptions = {
|
||||||
viewmodes: [ "icons", "details" ],
|
|
||||||
|
/*
|
||||||
|
* An array of view modes the user may chose from. Currently there
|
||||||
|
* are two possible values: "details" and "icons". The first value
|
||||||
|
* indicates the default view mode. If only one value is given the
|
||||||
|
* view mode is fixed and the selector buttons are hidden.
|
||||||
|
* The user selected view mode is also stored local in modern browsers
|
||||||
|
* so that it will be persistent.
|
||||||
|
*/
|
||||||
|
viewmodes: [ "details", "icons" ],
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Show a folder tree, boolean.
|
||||||
|
* Note that this tree might have side effects as it sends HEAD requests
|
||||||
|
* to the folders, and therefore will invoke index.php scripts. Use
|
||||||
|
* folderStatus below to avoid such requests.
|
||||||
|
*/
|
||||||
showTree: false,
|
showTree: false,
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Associative array of folders and their HTTP status codes to
|
||||||
|
* avoid HEAD requests to that folders.
|
||||||
|
*/
|
||||||
folderStatus: {
|
folderStatus: {
|
||||||
|
/*
|
||||||
|
* for example:
|
||||||
|
* "/some/folder/": 200
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user