diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 11:40:21 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 11:40:21 +0100 |
commit | e5875fda385140698a76bddbad33b0a50350448c (patch) | |
tree | d58e5daee01d45bb0b9e90f5030f8c9cd3e82fb3 | |
parent | bac2683c55a87f174bc5001630ac6913e659d1f4 (diff) | |
download | nextcloud-server-e5875fda385140698a76bddbad33b0a50350448c.tar.gz nextcloud-server-e5875fda385140698a76bddbad33b0a50350448c.zip |
properly name form labels for the file selection
-rw-r--r-- | apps/files/js/filelist.js | 1 | ||||
-rw-r--r-- | apps/files/templates/list.php | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index b4702ce4f2b..90d30507f48 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -710,6 +710,7 @@ '<input id="select-' + this.id + '-' + fileData.id + '" type="checkbox" class="selectCheckBox"/><label for="select-' + this.id + '-' + fileData.id + '">' + '<div class="thumbnail" style="background-image:url(' + icon + '); background-size: 32px;"></div>' + + '<span class="hidden">' + t('files', 'Select') + '</span>' + '</label>' ); } else { diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index a0138967cd2..81e9c3fc180 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -57,7 +57,9 @@ <th id='headerName' class="hidden column-name"> <div id="headerName-container"> <input type="checkbox" id="select_all_files" class="select-all"/> - <label for="select_all_files"></label> + <label for="select_all_files"> + <span class="hidden"><?php p($l->t('Select all'))?></span> + </label> <a class="name sort columntitle" data-sort="name"><span><?php p($l->t( 'Name' )); ?></span><span class="sort-indicator"></span></a> <span id="selectedActionsList" class="selectedActions"> <a href="" class="download"> |