diff --git a/README.md b/README.md index f29cac09..cc9d9074 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,13 @@ h5ai is provided under the terms of the [MIT License](http://github.com/lrsjng/h * hides broken tree view in IE < 9, adds a message to the footer * removes hash changes since they break logical browser history * fixes thumbnail size for portrait images in icon view +* fixes problems with file type recognition * adds an info page at `/_h5ai` * sort order is preserved while browsing * removes PHP error messages on thumbnail generation * fixes PHP problems with zipped download * changes crumb image for folders with an index file +* adds support for tarred downloads * adds `index.php` to use h5ai in non-Apache environments * switches from [Datejs](http://www.datejs.com) to [Moment.js](http://momentjs.com) * adds [underscore.js](http://underscorejs.org) diff --git a/src/_h5ai/config.js b/src/_h5ai/config.js index fdb1f6af..54e2c479 100644 --- a/src/_h5ai/config.js +++ b/src/_h5ai/config.js @@ -68,6 +68,15 @@ var H5AI_CONFIG = { "footer": "_h5ai.footer.html" }, + /* + * Requires PHP on the server. + * Enable packaged download of selected entries. Supported formats: "tar", "zip". + */ + "download": { + "enabled": true, + "format": "zip" + }, + /* * Allow filtering the displayed files and folders. * Note: filters will be treated as JavaScript regular expressions @@ -181,14 +190,6 @@ var H5AI_CONFIG = { "tree": { "enabled": true, "slide": true - }, - - /* - * Requires PHP on the server. - * Enable zipped download of selected entries. - */ - "zipped-download": { - "enabled": true } }, @@ -355,7 +356,7 @@ var H5AI_CONFIG = { "folders": "Répertoires", "files": "Fichiers", "download": "télécharger", - "noMatch": "no match" + "noMatch": "rien trouvé" }, "gr": { diff --git a/src/_h5ai/header.html b/src/_h5ai/header.html index 674814af..47cccb92 100644 --- a/src/_h5ai/header.html +++ b/src/_h5ai/header.html @@ -13,7 +13,8 @@ - + +
@@ -31,8 +32,6 @@
- -