diff --git a/README.md b/README.md
index eca5869a..941922d7 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,14 @@ It uses the [Faenza icon set](http://tiheum.deviantart.com/art/Faenza-Icons-1733
## Changelog
+### v0.14.1 · *2011-09-01*
+
+* display meta information in bottom bar (icon view)
+* added zh-cn translation by [Dongsheng Cai](http://github.com/dongsheng)
+* added pl translation by Radosław Zając
+* added ru translation by Богдан Илюхин
+
+
### v0.14 · *2011-08-16*
* added image thumbnails for PHP version
diff --git a/build.properties b/build.properties
index 9f569962..7489a847 100644
--- a/build.properties
+++ b/build.properties
@@ -3,7 +3,7 @@ custom = true
# project
project.name = h5ai
-project.version = 0.14
+project.version = 0.14.1
# src
diff --git a/release/h5ai-0.14.1.tar.gz b/release/h5ai-0.14.1.tar.gz
new file mode 100644
index 00000000..455922d0
Binary files /dev/null and b/release/h5ai-0.14.1.tar.gz differ
diff --git a/release/h5ai-0.14.zip b/release/h5ai-0.14.1.zip
similarity index 83%
rename from release/h5ai-0.14.zip
rename to release/h5ai-0.14.1.zip
index bc24e33a..52502cb5 100644
Binary files a/release/h5ai-0.14.zip and b/release/h5ai-0.14.1.zip differ
diff --git a/release/h5ai-0.14.tar.gz b/release/h5ai-0.14.tar.gz
deleted file mode 100644
index 6fda4074..00000000
Binary files a/release/h5ai-0.14.tar.gz and /dev/null differ
diff --git a/src/h5ai/css/inc/main.less b/src/h5ai/css/inc/main.less
index 632df25c..aacc07e3 100644
--- a/src/h5ai/css/inc/main.less
+++ b/src/h5ai/css/inc/main.less
@@ -153,6 +153,17 @@ body > footer {
padding: 0 8px;
float: right
}
+ .status {
+ &.default {
+ }
+ &.dynamic {
+ display: none;
+ span {
+ display: inline-block;
+ padding: 0 6px;
+ }
+ }
+ }
#langSelector {
position: relative;
cursor: pointer;
diff --git a/src/h5ai/footer.html b/src/h5ai/footer.html
index 38363c8f..8a8d95f0 100644
--- a/src/h5ai/footer.html
+++ b/src/h5ai/footer.html
@@ -17,9 +17,13 @@
- folders
- ·
- files
+
+ folders
+ ·
+ files
+
+
+
diff --git a/src/h5ai/header.php b/src/h5ai/header.php
index d0d976e8..2a92485c 100644
--- a/src/h5ai/header.php
+++ b/src/h5ai/header.php
@@ -43,9 +43,13 @@
- getFolderCount(); ?> folders
- ·
- getFileCount(); ?> files
+
+ getFolderCount(); ?> folders
+ ·
+ getFileCount(); ?> files
+
+
+
diff --git a/src/h5ai/js/inc/h5ai.js b/src/h5ai/js/inc/h5ai.js
index 297efcc1..f12129e2 100644
--- a/src/h5ai/js/inc/h5ai.js
+++ b/src/h5ai/js/inc/h5ai.js
@@ -170,6 +170,33 @@ var H5ai = function ( options, langs ) {
.click( $.proxy( function () {
this.applyViewmode( "icons" );
}, this ) );
+
+ $( "#extended .entry" ).hover(
+ function () {
+ if ( $( "#extended" ).hasClass( "icons-view" ) ) {
+ $this = $( this );
+ $( ".status.default" ).hide();
+ $( ".status.dynamic" )
+ .empty()
+ .append( $this.find( ".label" ).clone() )
+ .append( " · " )
+ .append( $this.find( ".date" ).clone() )
+ .show();
+
+ if ( ! $this.hasClass( "folder" ) ) {
+ $( ".status.dynamic" )
+ .append( " · " )
+ .append( $this.find( ".size" ).clone() );
+ }
+ };
+ },
+ function () {
+ $( ".status.default" ).show();
+ $( ".status.dynamic" )
+ .empty()
+ .hide();
+ }
+ );
};
diff --git a/src/h5ai/options.js b/src/h5ai/options.js
index 46e70582..241456e5 100644
--- a/src/h5ai/options.js
+++ b/src/h5ai/options.js
@@ -1,108 +1,108 @@
/*
* h5ai %BUILD_VERSION%
- * Options and localization
+ * Options and localization
*/
h5aiOptions = {
- /*
- * An array of view modes the user may choose 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" ],
+ /*
+ * An array of view modes the user may choose 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" ],
- /*
- * Default sort order. Valid values for column are "name", "date" and
- * "size".
- * If you are using the JavaScript version please make sure to change
- * IndexOrderDefault in js.htaccess as well.
- */
- "sortorder": {
- "column": "name",
- "ascending": true
- },
+ /*
+ * Default sort order. Valid values for column are "name", "date" and
+ * "size".
+ * If you are using the JavaScript version please make sure to change
+ * IndexOrderDefault in js.htaccess as well.
+ */
+ "sortorder": {
+ "column": "name",
+ "ascending": true
+ },
- /*
- * 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.
- * It might also affect performance significantly.
- */
- "showTree": true,
+ /*
+ * 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.
+ * It might also affect performance significantly.
+ */
+ "showTree": true,
- /*
- * Slide tree bar into viewport if there is enough space, boolean.
- */
- "slideTree": true,
+ /*
+ * Slide tree bar into viewport if there is enough space, boolean.
+ */
+ "slideTree": true,
- /*
- * Associative array of folders and their HTTP status codes to
- * avoid HEAD requests to that folders. The key (folder) must start
- * and end with a slash (/).
- * For example:
- * "/some/folder/": 200
- * will always return HTTP status 200 (OK), which will be interpreted
- * as a non auto indexed folder, that means a folder containing an
- * appropriate default index file.
- */
- "folderStatus": {
- /*
- * for example:
- * "/some/folder/": 200
- */
- },
+ /*
+ * Associative array of folders and their HTTP status codes to
+ * avoid HEAD requests to that folders. The key (folder) must start
+ * and end with a slash (/).
+ * For example:
+ * "/some/folder/": 200
+ * will always return HTTP status 200 (OK), which will be interpreted
+ * as a non auto indexed folder, that means a folder containing an
+ * appropriate default index file.
+ */
+ "folderStatus": {
+ /*
+ * for example:
+ * "/some/folder/": 200
+ */
+ },
- /*
- * Localization, for example "en", "de" etc. - see h5aiLangs below for
- * possible values. Adjust it to your needs. If lang is not found in
- * h5aiLangs it defaults to "en".
- */
- "lang": null,
+ /*
+ * Localization, for example "en", "de" etc. - see h5aiLangs below for
+ * possible values. Adjust it to your needs. If lang is not found in
+ * h5aiLangs it defaults to "en".
+ */
+ "lang": null,
- /*
- * Try to use browser language, falls back to previous specified lang.
- */
- "useBrowserLang": true,
-
- /*
- * Set parent folder labels to real folder names.
- */
- "setParentFolderLabels": true,
-
- /*
- * Link the hover effects between crumb, extended view and tree.
- */
- "linkHoverStates": true,
+ /*
+ * Try to use browser language, falls back to previous specified lang.
+ */
+ "useBrowserLang": true,
- /*
- * Only used in PHP implementation.
- * Date format in PHP syntax, for example: "Y-m-d H:i:s"
- * http://www.php.net/manual/en/function.date.php
- */
- "dateFormat": "Y-m-d H:i",
+ /*
+ * Set parent folder labels to real folder names.
+ */
+ "setParentFolderLabels": true,
- /*
- * IMPORTANT: PHP implementation doesn't care about Apache's
- * ignores, so you have to specify this here.
- *
- * Only used in PHP implementation.
- * Files/folders that should never be listed. Specified
- * by the complete filename or by a regular expression.
- * http://www.php.net/manual/en/function.preg-match.php
- */
- "ignore": [ "h5ai", "h5ai.header.html", "h5ai.footer.html" ],
- "ignoreRE": [ "/^\\./" ],
+ /*
+ * Link the hover effects between crumb, extended view and tree.
+ */
+ "linkHoverStates": true,
- /*
- * Only used in PHP implementation.
- * Show thumbnails in Icons view.
- */
- "showThumbs": true
+ /*
+ * Only used in PHP implementation.
+ * Date format in PHP syntax, for example: "Y-m-d H:i:s"
+ * http://www.php.net/manual/en/function.date.php
+ */
+ "dateFormat": "Y-m-d H:i",
+
+ /*
+ * IMPORTANT: PHP implementation doesn't care about Apache's
+ * ignores, so you have to specify this here.
+ *
+ * Only used in PHP implementation.
+ * Files/folders that should never be listed. Specified
+ * by the complete filename or by a regular expression.
+ * http://www.php.net/manual/en/function.preg-match.php
+ */
+ "ignore": [ "h5ai", "h5ai.header.html", "h5ai.footer.html" ],
+ "ignoreRE": [ "/^\\./" ],
+
+ /*
+ * Only used in PHP implementation.
+ * Show thumbnails in Icons view.
+ */
+ "showThumbs": true
};
@@ -112,159 +112,198 @@ h5aiOptions = {
*/
h5aiLangs = {
- "en": {
- "lang": "english",
- "details": "details",
- "icons": "icons",
- "name": "Name",
- "lastModified": "Last modified",
- "size": "Size",
- "parentDirectory": "Parent Directory",
- "empty": "empty",
- "folders": "folders",
- "files": "files"
- },
+ "en": {
+ "lang": "english",
+ "details": "details",
+ "icons": "icons",
+ "name": "Name",
+ "lastModified": "Last modified",
+ "size": "Size",
+ "parentDirectory": "Parent Directory",
+ "empty": "empty",
+ "folders": "folders",
+ "files": "files"
+ },
- "de": {
- "lang": "deutsch",
- "details": "Details",
- "icons": "Icons",
- "name": "Name",
- "lastModified": "Geändert",
- "size": "Größe",
- "parentDirectory": "Übergeordnetes Verzeichnis",
- "empty": "leer",
- "folders": "Ordner",
- "files": "Dateien"
- },
-
- "fr": {
- "lang": "français",
- "details": "détails",
- "icons": "icônes",
- "name": "Nom",
- "lastModified": "Dernière modification",
- "size": "Taille",
- "parentDirectory": "Dossier parent",
- "empty": "vide",
- "folders": "Répertoires",
- "files": "Fichiers"
- },
+ "de": {
+ "lang": "deutsch",
+ "details": "Details",
+ "icons": "Icons",
+ "name": "Name",
+ "lastModified": "Geändert",
+ "size": "Größe",
+ "parentDirectory": "Übergeordnetes Verzeichnis",
+ "empty": "leer",
+ "folders": "Ordner",
+ "files": "Dateien"
+ },
- "nl": {
- "lang": "nederlands",
- "details": "details",
- "icons": "iconen",
- "name": "Naam",
- "lastModified": "Laatste wijziging",
- "size": "Grootte",
- "parentDirectory": "Bovenliggende map",
- "empty": "lege",
- "folders": "[?folders?]",
- "files": "[?files?]"
- },
+ "fr": {
+ "lang": "français",
+ "details": "détails",
+ "icons": "icônes",
+ "name": "Nom",
+ "lastModified": "Dernière modification",
+ "size": "Taille",
+ "parentDirectory": "Dossier parent",
+ "empty": "vide",
+ "folders": "Répertoires",
+ "files": "Fichiers"
+ },
- "sv": {
- "lang": "svenska",
- "details": "detaljerad",
- "icons": "ikoner",
- "name": "Filnamn",
- "lastModified": "Senast ändrad",
- "size": "Filstorlek",
- "parentDirectory": "Till överordnad mapp",
- "empty": "tom",
- "folders": "[?folders?]",
- "files": "[?files?]"
- },
+ "nl": {
+ "lang": "nederlands",
+ "details": "details",
+ "icons": "iconen",
+ "name": "Naam",
+ "lastModified": "Laatste wijziging",
+ "size": "Grootte",
+ "parentDirectory": "Bovenliggende map",
+ "empty": "lege",
+ "folders": "[?folders?]",
+ "files": "[?files?]"
+ },
- "cs": {
- "lang": "čeština",
- "details": "podrobnosti",
- "icons": "ikony",
- "name": "Název",
- "lastModified": "Upraveno",
- "size": "Velikost",
- "parentDirectory": "Nadřazený adresář",
- "empty": "prázdný",
- "folders": "složek",
- "files": "souborů"
- },
+ "sv": {
+ "lang": "svenska",
+ "details": "detaljerad",
+ "icons": "ikoner",
+ "name": "Filnamn",
+ "lastModified": "Senast ändrad",
+ "size": "Filstorlek",
+ "parentDirectory": "Till överordnad mapp",
+ "empty": "tom",
+ "folders": "[?folders?]",
+ "files": "[?files?]"
+ },
- "sk": {
- "lang": "slovenčina",
- "details": "podrobnosti",
- "icons": "ikony",
- "name": "Názov",
- "lastModified": "Upravené",
- "size": "Velkosť",
- "parentDirectory": "Nadriadený priečinok",
- "empty": "prázdny",
- "folders": "priečinkov",
- "files": "súborov"
- },
+ "cs": {
+ "lang": "čeština",
+ "details": "podrobnosti",
+ "icons": "ikony",
+ "name": "Název",
+ "lastModified": "Upraveno",
+ "size": "Velikost",
+ "parentDirectory": "Nadřazený adresář",
+ "empty": "prázdný",
+ "folders": "složek",
+ "files": "souborů"
+ },
- "es": {
- "lang": "español",
- "details": "Detalles",
- "icons": "Íconos",
- "name": "Nombre",
- "lastModified": "Última modificación",
- "size": "Tamaño",
- "parentDirectory": "Directorio superior",
- "empty": "vacío",
- "folders": "[?folders?]",
- "files": "[?files?]"
- },
+ "sk": {
+ "lang": "slovenčina",
+ "details": "podrobnosti",
+ "icons": "ikony",
+ "name": "Názov",
+ "lastModified": "Upravené",
+ "size": "Velkosť",
+ "parentDirectory": "Nadriadený priečinok",
+ "empty": "prázdny",
+ "folders": "priečinkov",
+ "files": "súborov"
+ },
- "tr": {
- "lang": "türkçe",
- "details": "detaylar",
- "icons": "ikonlar",
- "name": "İsim",
- "lastModified": "Son Düzenleme",
- "size": "Boyut",
- "parentDirectory": "Üst Dizin",
- "empty": "boş",
- "folders": "[?folders?]",
- "files": "[?files?]"
- },
+ "es": {
+ "lang": "español",
+ "details": "Detalles",
+ "icons": "Íconos",
+ "name": "Nombre",
+ "lastModified": "Última modificación",
+ "size": "Tamaño",
+ "parentDirectory": "Directorio superior",
+ "empty": "vacío",
+ "folders": "[?folders?]",
+ "files": "[?files?]"
+ },
- "pt": {
- "lang": "português",
- "details": "detalhes",
- "icons": "ícones",
- "name": "Nome",
- "lastModified": "Última modificação",
- "size": "Tamanho",
- "parentDirectory": "Diretório superior",
- "empty": "vazio",
- "folders": "pastas",
- "files": "arquivos"
- },
+ "tr": {
+ "lang": "türkçe",
+ "details": "detaylar",
+ "icons": "ikonlar",
+ "name": "İsim",
+ "lastModified": "Son Düzenleme",
+ "size": "Boyut",
+ "parentDirectory": "Üst Dizin",
+ "empty": "boş",
+ "folders": "[?folders?]",
+ "files": "[?files?]"
+ },
- "bg": {
- "lang": "български",
- "details": "детайли",
- "icons": "икони",
- "name": "Име",
- "lastModified": "Последна промяна",
- "size": "Размер",
- "parentDirectory": "Предходна директория",
- "empty": "празно",
- "folders": "папки",
- "files": "файлове"
- },
+ "pt": {
+ "lang": "português",
+ "details": "detalhes",
+ "icons": "ícones",
+ "name": "Nome",
+ "lastModified": "Última modificação",
+ "size": "Tamanho",
+ "parentDirectory": "Diretório superior",
+ "empty": "vazio",
+ "folders": "pastas",
+ "files": "arquivos"
+ },
- "lv": {
- "lang": "latviešu",
- "details": "detaļas",
- "icons": "ikonas",
- "name": "Nosaukums",
- "lastModified": "Pēdējoreiz modificēts",
- "size": "Izmērs",
- "parentDirectory": "Vecākdirektorijs",
- "empty": "tukšs",
- "folders": "mapes",
- "files": "faili"
- }
+ "bg": {
+ "lang": "български",
+ "details": "детайли",
+ "icons": "икони",
+ "name": "Име",
+ "lastModified": "Последна промяна",
+ "size": "Размер",
+ "parentDirectory": "Предходна директория",
+ "empty": "празно",
+ "folders": "папки",
+ "files": "файлове"
+ },
+
+ "lv": {
+ "lang": "latviešu",
+ "details": "detaļas",
+ "icons": "ikonas",
+ "name": "Nosaukums",
+ "lastModified": "Pēdējoreiz modificēts",
+ "size": "Izmērs",
+ "parentDirectory": "Vecākdirektorijs",
+ "empty": "tukšs",
+ "folders": "mapes",
+ "files": "faili"
+ },
+
+ "zh-cn": {
+ "lang": "简体中文",
+ "details": "详情",
+ "icons": "图标",
+ "name": "文件名",
+ "lastModified": "上次修改",
+ "size": "大小",
+ "parentDirectory": "上层文件夹",
+ "empty": "空文件夹",
+ "folders": "文件夹",
+ "files": "文件"
+ },
+
+ "pl": {
+ "lang": "polski",
+ "details": "szczegóły",
+ "icons": "ikony",
+ "name": "Nazwa",
+ "lastModified": "Ostatnia modyfikacja",
+ "size": "Rozmiar",
+ "parentDirectory": "Katalog nadrzędny",
+ "empty": "pusty",
+ "folders": "foldery",
+ "files": "pliki"
+ },
+
+ "ru": {
+ "lang": "русский",
+ "details": "детали",
+ "icons": "иконки",
+ "name": "Имя",
+ "lastModified": "Последние изменения",
+ "size": "Размер",
+ "parentDirectory": "Главная директория",
+ "empty": "пусто",
+ "folders": "папки",
+ "files": "файлы"
+ }
};