diff --git a/apps/comments/img/comments.svg b/apps/comments/img/comments.svg index 5cdc84a25d..1eabeec334 100644 --- a/apps/comments/img/comments.svg +++ b/apps/comments/img/comments.svg @@ -1,4 +1,4 @@ - + diff --git a/apps/files_external/img/app.svg b/apps/files_external/img/app.svg index 6cafe174f6..f1fd591ca7 100644 --- a/apps/files_external/img/app.svg +++ b/apps/files_external/img/app.svg @@ -1,4 +1,4 @@ - + diff --git a/apps/files_sharing/img/app.svg b/apps/files_sharing/img/app.svg index d64e44b70b..11a1a37a29 100644 --- a/apps/files_sharing/img/app.svg +++ b/apps/files_sharing/img/app.svg @@ -9,6 +9,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" height="16" width="16" + viewBox="0 0 16 16" version="1.1" id="svg2" inkscape:version="0.48.5 r10040" diff --git a/apps/files_trashbin/img/app.svg b/apps/files_trashbin/img/app.svg index b749f9879e..cd169009e7 100644 --- a/apps/files_trashbin/img/app.svg +++ b/apps/files_trashbin/img/app.svg @@ -9,6 +9,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" height="16" width="16" + viewBox="0 0 16 16" version="1.1" id="svg2" inkscape:version="0.48.5 r10040" diff --git a/apps/files_versions/img/app.svg b/apps/files_versions/img/app.svg index 862b0a6885..831ef7fedd 100644 --- a/apps/files_versions/img/app.svg +++ b/apps/files_versions/img/app.svg @@ -9,6 +9,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" height="16" width="16" + viewBox="0 0 16 16" version="1.0" id="svg2" inkscape:version="0.48.5 r10040" diff --git a/apps/systemtags/img/app.svg b/apps/systemtags/img/app.svg index 8bfd246078..4f201c6c76 100644 --- a/apps/systemtags/img/app.svg +++ b/apps/systemtags/img/app.svg @@ -1,4 +1,4 @@ - + diff --git a/apps/testing/img/app.svg b/apps/testing/img/app.svg index b6ae35211a..ad789050c9 100644 --- a/apps/testing/img/app.svg +++ b/apps/testing/img/app.svg @@ -1,4 +1,4 @@ - + diff --git a/apps/user_ldap/img/app.svg b/apps/user_ldap/img/app.svg index 0ce7ed867b..5642ad9c9e 100644 --- a/apps/user_ldap/img/app.svg +++ b/apps/user_ldap/img/app.svg @@ -1,5 +1,5 @@ - + diff --git a/core/img/default-app-icon.svg b/core/img/default-app-icon.svg index b6ae35211a..ad789050c9 100644 --- a/core/img/default-app-icon.svg +++ b/core/img/default-app-icon.svg @@ -1,4 +1,4 @@ - + diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index be5c769ab7..2c0d3f0529 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -114,8 +114,8 @@ class="active"> - - + + @@ -132,8 +132,8 @@ class="active"> - - + + diff --git a/settings/js/apps.js b/settings/js/apps.js index f8ad9c7918..ac259dd798 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -196,13 +196,13 @@ OC.Settings.Apps = OC.Settings.Apps || { if (app.preview && !OC.Util.isIE()) { var currentImage = new Image(); currentImage.src = app.preview; - } - currentImage.onload = function() { - page.find('.app-image') - .append(OC.Settings.Apps.imageUrl(app.preview, app.detailpage)) - .fadeIn(); - }; + currentImage.onload = function() { + page.find('.app-image') + .append(OC.Settings.Apps.imageUrl(app.preview, app.detailpage)) + .fadeIn(); + }; + } // set group select properly if(OC.Settings.Apps.isType(app, 'filesystem') || OC.Settings.Apps.isType(app, 'prelogin') || @@ -234,11 +234,12 @@ OC.Settings.Apps = OC.Settings.Apps || { imageUrl : function (url, appfromstore) { var img = ''; + if (appfromstore) { img += ''; } else { - img += ''; - img += ''; + img += ''; + img += ''; } return img; },