summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 17:05:27 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 17:05:27 +0100
commit96ae18db59084d0494d13ab63f7bc5e02080e8e3 (patch)
tree4ea817f608bd7f0b3e5e5afa7292db862b11c7b9
parent7faf3d17e58ff86c092cd33073975871c58767f6 (diff)
downloadnextcloud-server-96ae18db59084d0494d13ab63f7bc5e02080e8e3.tar.gz
nextcloud-server-96ae18db59084d0494d13ab63f7bc5e02080e8e3.zip
get rid of unnecessary alt and title attributes
-rw-r--r--apps/files/templates/list.php4
-rw-r--r--core/js/share.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index 7d28016bd76..4224d9bc100 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -72,7 +72,7 @@
<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">
- <img class="svg" alt="Download"
+ <img class="svg" alt=""
src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>" />
<?php p($l->t('Download'))?>
</a>
@@ -86,7 +86,7 @@
<a id="modified" class="columntitle" data-sort="mtime"><span><?php p($l->t( 'Modified' )); ?></span><span class="sort-indicator"></span></a>
<span class="selectedActions"><a href="" class="delete-selected">
<?php p($l->t('Delete'))?>
- <img class="svg" alt="<?php p($l->t('Delete'))?>"
+ <img class="svg" alt=""
src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
</a></span>
</th>
diff --git a/core/js/share.js b/core/js/share.js
index f47c9fbb452..5e5b85fb5a7 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -640,7 +640,7 @@ OC.Share={
if (possiblePermissions & OC.PERMISSION_CREATE || possiblePermissions & OC.PERMISSION_UPDATE || possiblePermissions & OC.PERMISSION_DELETE) {
html += '<input id="canEdit-'+escapeHTML(shareWith)+'" type="checkbox" name="edit" class="permissions" '+editChecked+' /><label for="canEdit-'+escapeHTML(shareWith)+'">'+t('core', 'can edit')+'</label>';
}
- showCrudsButton = '<a href="#" class="showCruds"><img class="svg" alt="'+t('core', 'access control')+'" title="'+t('core', 'access control')+'" src="'+OC.imagePath('core', 'actions/triangle-s')+'"/></a>';
+ showCrudsButton = '<a href="#" class="showCruds"><img class="svg" alt="'+t('core', 'access control')+'" src="'+OC.imagePath('core', 'actions/triangle-s')+'"/></a>';
html += '<div class="cruds" style="display:none;">';
if (possiblePermissions & OC.PERMISSION_CREATE) {
html += '<input id="canCreate-'+escapeHTML(shareWith)+'" type="checkbox" name="create" class="permissions" '+createChecked+' data-permissions="'+OC.PERMISSION_CREATE+'"/><label for="canCreate-'+escapeHTML(shareWith)+'">'+t('core', 'create')+'</label>';