summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/img/actions/add.pngbin0 -> 132 bytes
-rw-r--r--core/img/actions/caret-dark.pngbin0 -> 128 bytes
-rw-r--r--core/img/actions/caret.pngbin0 -> 127 bytes
-rw-r--r--core/img/actions/checkbox-checked-disabled.pngbin0 -> 233 bytes
-rw-r--r--core/img/actions/checkbox-checked-white.pngbin0 -> 267 bytes
-rw-r--r--core/img/actions/checkbox-checked.pngbin0 -> 254 bytes
-rw-r--r--core/img/actions/checkbox-disabled-white.pngbin0 -> 134 bytes
-rw-r--r--core/img/actions/checkbox-disabled.pngbin0 -> 134 bytes
-rw-r--r--core/img/actions/checkbox-mixed-white.pngbin0 -> 135 bytes
-rw-r--r--core/img/actions/checkbox-mixed.pngbin0 -> 138 bytes
-rw-r--r--core/img/actions/checkbox-white.pngbin0 -> 130 bytes
-rw-r--r--core/img/actions/checkbox.pngbin0 -> 134 bytes
-rw-r--r--core/img/actions/checkmark-color.pngbin0 -> 279 bytes
-rw-r--r--core/img/actions/checkmark-white.pngbin0 -> 212 bytes
-rw-r--r--core/img/actions/checkmark.pngbin0 -> 266 bytes
-rw-r--r--core/img/actions/close.pngbin0 -> 493 bytes
-rw-r--r--core/img/actions/comment.pngbin0 -> 323 bytes
-rw-r--r--core/img/actions/confirm.pngbin0 -> 132 bytes
-rw-r--r--core/img/actions/delete-hover.pngbin0 -> 208 bytes
-rw-r--r--core/img/actions/delete-white.pngbin0 -> 236 bytes
-rw-r--r--core/img/actions/delete.pngbin0 -> 208 bytes
-rw-r--r--core/img/actions/details.pngbin0 -> 295 bytes
-rw-r--r--core/img/actions/download-white.pngbin0 -> 192 bytes
-rw-r--r--core/img/actions/download.pngbin0 -> 134 bytes
-rw-r--r--core/img/actions/edit.pngbin0 -> 169 bytes
-rw-r--r--core/img/actions/error-color.pngbin0 -> 228 bytes
-rw-r--r--core/img/actions/error-white.pngbin0 -> 228 bytes
-rw-r--r--core/img/actions/error.pngbin0 -> 160 bytes
-rw-r--r--core/img/actions/external.pngbin0 -> 392 bytes
-rw-r--r--core/img/actions/history.pngbin0 -> 249 bytes
-rw-r--r--core/img/actions/info-white.pngbin0 -> 324 bytes
-rw-r--r--core/img/actions/info.pngbin0 -> 315 bytes
-rw-r--r--core/img/actions/logout.pngbin0 -> 2993 bytes
-rw-r--r--core/img/actions/mail.pngbin0 -> 229 bytes
-rw-r--r--core/img/actions/menu.pngbin0 -> 106 bytes
-rw-r--r--core/img/actions/more.pngbin0 -> 122 bytes
-rw-r--r--core/img/actions/password.pngbin0 -> 159 bytes
-rw-r--r--core/img/actions/pause-big.pngbin0 -> 92 bytes
-rw-r--r--core/img/actions/pause.pngbin0 -> 96 bytes
-rw-r--r--core/img/actions/play-add.pngbin0 -> 163 bytes
-rw-r--r--core/img/actions/play-big.pngbin0 -> 136 bytes
-rw-r--r--core/img/actions/play-next.pngbin0 -> 150 bytes
-rw-r--r--core/img/actions/play-previous.pngbin0 -> 163 bytes
-rw-r--r--core/img/actions/play.pngbin0 -> 127 bytes
-rw-r--r--core/img/actions/public.pngbin0 -> 307 bytes
-rw-r--r--core/img/actions/radio-checked-disabled.pngbin0 -> 378 bytes
-rw-r--r--core/img/actions/radio-checked.pngbin0 -> 425 bytes
-rw-r--r--core/img/actions/radio-disabled.pngbin0 -> 317 bytes
-rw-r--r--core/img/actions/radio-white.pngbin0 -> 336 bytes
-rw-r--r--core/img/actions/radio.pngbin0 -> 321 bytes
-rw-r--r--core/img/actions/rename.pngbin0 -> 193 bytes
-rw-r--r--core/img/actions/search-white.pngbin0 -> 309 bytes
-rw-r--r--core/img/actions/search.pngbin0 -> 293 bytes
-rw-r--r--core/img/actions/settings.pngbin0 -> 256 bytes
-rw-r--r--core/img/actions/share.pngbin0 -> 264 bytes
-rw-r--r--core/img/actions/shared.pngbin0 -> 264 bytes
-rw-r--r--core/img/actions/sound-off.pngbin0 -> 118 bytes
-rw-r--r--core/img/actions/sound.pngbin0 -> 180 bytes
-rw-r--r--core/img/actions/star.pngbin0 -> 496 bytes
-rw-r--r--core/img/actions/starred.pngbin0 -> 492 bytes
-rw-r--r--core/img/actions/toggle-filelist.pngbin0 -> 122 bytes
-rw-r--r--core/img/actions/toggle-pictures.pngbin0 -> 120 bytes
-rw-r--r--core/img/actions/toggle.pngbin0 -> 238 bytes
-rw-r--r--core/img/actions/triangle-e.pngbin0 -> 149 bytes
-rw-r--r--core/img/actions/triangle-n.pngbin0 -> 128 bytes
-rw-r--r--core/img/actions/triangle-s.pngbin0 -> 128 bytes
-rw-r--r--core/img/actions/upload-white.pngbin0 -> 142 bytes
-rw-r--r--core/img/actions/upload.pngbin0 -> 142 bytes
-rw-r--r--core/img/actions/user.pngbin0 -> 300 bytes
-rw-r--r--core/img/actions/view-close.pngbin0 -> 1126 bytes
-rw-r--r--core/img/actions/view-download.pngbin0 -> 1103 bytes
-rw-r--r--core/img/actions/view-next.pngbin0 -> 959 bytes
-rw-r--r--core/img/actions/view-pause.pngbin0 -> 648 bytes
-rw-r--r--core/img/actions/view-play.pngbin0 -> 804 bytes
-rw-r--r--core/img/actions/view-previous.pngbin0 -> 984 bytes
-rw-r--r--core/img/breadcrumb.pngbin0 -> 376 bytes
-rw-r--r--core/img/desktopapp.pngbin0 -> 2364 bytes
-rw-r--r--core/img/filetypes/application-pdf.pngbin0 -> 892 bytes
-rw-r--r--core/img/filetypes/application.pngbin0 -> 805 bytes
-rw-r--r--core/img/filetypes/audio.pngbin0 -> 640 bytes
-rw-r--r--core/img/filetypes/file.pngbin0 -> 306 bytes
-rw-r--r--core/img/filetypes/folder-drag-accept.pngbin0 -> 283 bytes
-rw-r--r--core/img/filetypes/folder-external.pngbin0 -> 595 bytes
-rw-r--r--core/img/filetypes/folder-public.pngbin0 -> 693 bytes
-rw-r--r--core/img/filetypes/folder-shared.pngbin0 -> 655 bytes
-rw-r--r--core/img/filetypes/folder-starred.pngbin0 -> 655 bytes
-rw-r--r--core/img/filetypes/folder.pngbin0 -> 276 bytes
-rw-r--r--core/img/filetypes/image.pngbin0 -> 486 bytes
-rw-r--r--core/img/filetypes/package-x-generic.pngbin0 -> 302 bytes
-rw-r--r--core/img/filetypes/text-calendar.pngbin0 -> 570 bytes
-rw-r--r--core/img/filetypes/text-code.pngbin0 -> 591 bytes
-rw-r--r--core/img/filetypes/text-vcard.pngbin0 -> 889 bytes
-rw-r--r--core/img/filetypes/text.pngbin0 -> 382 bytes
-rw-r--r--core/img/filetypes/video.pngbin0 -> 318 bytes
-rw-r--r--core/img/filetypes/x-office-document.pngbin0 -> 380 bytes
-rw-r--r--core/img/filetypes/x-office-presentation.pngbin0 -> 259 bytes
-rw-r--r--core/img/filetypes/x-office-spreadsheet.pngbin0 -> 362 bytes
-rw-r--r--core/img/logo-icon.pngbin0 -> 1197 bytes
-rw-r--r--core/img/places/calendar-dark.pngbin0 -> 280 bytes
-rw-r--r--core/img/places/contacts-dark.pngbin0 -> 640 bytes
-rw-r--r--core/img/places/files.pngbin0 -> 155 bytes
-rw-r--r--core/img/places/home.pngbin0 -> 191 bytes
-rw-r--r--core/img/places/link.pngbin0 -> 845 bytes
-rw-r--r--core/img/places/music.pngbin0 -> 527 bytes
-rw-r--r--core/img/places/picture.pngbin0 -> 295 bytes
-rw-r--r--core/js/jquery.ocdialog.js2
-rw-r--r--core/js/js.js105
-rw-r--r--core/js/mimetype.js15
-rw-r--r--core/js/sharedialogshareelistview.js2
-rw-r--r--core/js/sharedialogview.js2
-rw-r--r--core/js/shareitemmodel.js2
-rw-r--r--core/js/tests/specs/coreSpec.js39
-rw-r--r--core/templates/installation.php6
-rw-r--r--core/templates/layout.guest.php2
-rw-r--r--core/templates/layout.user.php20
-rw-r--r--core/templates/login.php2
-rw-r--r--core/templates/update.admin.php2
117 files changed, 164 insertions, 35 deletions
diff --git a/core/img/actions/add.png b/core/img/actions/add.png
new file mode 100644
index 00000000000..8ae17cfe11b
--- /dev/null
+++ b/core/img/actions/add.png
Binary files differ
diff --git a/core/img/actions/caret-dark.png b/core/img/actions/caret-dark.png
new file mode 100644
index 00000000000..97c64c6a720
--- /dev/null
+++ b/core/img/actions/caret-dark.png
Binary files differ
diff --git a/core/img/actions/caret.png b/core/img/actions/caret.png
new file mode 100644
index 00000000000..3a8dd99176d
--- /dev/null
+++ b/core/img/actions/caret.png
Binary files differ
diff --git a/core/img/actions/checkbox-checked-disabled.png b/core/img/actions/checkbox-checked-disabled.png
new file mode 100644
index 00000000000..55980ba730d
--- /dev/null
+++ b/core/img/actions/checkbox-checked-disabled.png
Binary files differ
diff --git a/core/img/actions/checkbox-checked-white.png b/core/img/actions/checkbox-checked-white.png
new file mode 100644
index 00000000000..ed8e3d3d557
--- /dev/null
+++ b/core/img/actions/checkbox-checked-white.png
Binary files differ
diff --git a/core/img/actions/checkbox-checked.png b/core/img/actions/checkbox-checked.png
new file mode 100644
index 00000000000..a8a07193ab7
--- /dev/null
+++ b/core/img/actions/checkbox-checked.png
Binary files differ
diff --git a/core/img/actions/checkbox-disabled-white.png b/core/img/actions/checkbox-disabled-white.png
new file mode 100644
index 00000000000..e1f48439d27
--- /dev/null
+++ b/core/img/actions/checkbox-disabled-white.png
Binary files differ
diff --git a/core/img/actions/checkbox-disabled.png b/core/img/actions/checkbox-disabled.png
new file mode 100644
index 00000000000..a2ead209965
--- /dev/null
+++ b/core/img/actions/checkbox-disabled.png
Binary files differ
diff --git a/core/img/actions/checkbox-mixed-white.png b/core/img/actions/checkbox-mixed-white.png
new file mode 100644
index 00000000000..0b81f998fc5
--- /dev/null
+++ b/core/img/actions/checkbox-mixed-white.png
Binary files differ
diff --git a/core/img/actions/checkbox-mixed.png b/core/img/actions/checkbox-mixed.png
new file mode 100644
index 00000000000..cc27ec651ea
--- /dev/null
+++ b/core/img/actions/checkbox-mixed.png
Binary files differ
diff --git a/core/img/actions/checkbox-white.png b/core/img/actions/checkbox-white.png
new file mode 100644
index 00000000000..f0f903c77c6
--- /dev/null
+++ b/core/img/actions/checkbox-white.png
Binary files differ
diff --git a/core/img/actions/checkbox.png b/core/img/actions/checkbox.png
new file mode 100644
index 00000000000..770b7ef8203
--- /dev/null
+++ b/core/img/actions/checkbox.png
Binary files differ
diff --git a/core/img/actions/checkmark-color.png b/core/img/actions/checkmark-color.png
new file mode 100644
index 00000000000..a8ab849cad7
--- /dev/null
+++ b/core/img/actions/checkmark-color.png
Binary files differ
diff --git a/core/img/actions/checkmark-white.png b/core/img/actions/checkmark-white.png
new file mode 100644
index 00000000000..27f17204b1d
--- /dev/null
+++ b/core/img/actions/checkmark-white.png
Binary files differ
diff --git a/core/img/actions/checkmark.png b/core/img/actions/checkmark.png
new file mode 100644
index 00000000000..c1a8be786cd
--- /dev/null
+++ b/core/img/actions/checkmark.png
Binary files differ
diff --git a/core/img/actions/close.png b/core/img/actions/close.png
new file mode 100644
index 00000000000..66e3c26cc65
--- /dev/null
+++ b/core/img/actions/close.png
Binary files differ
diff --git a/core/img/actions/comment.png b/core/img/actions/comment.png
new file mode 100644
index 00000000000..08867cf6361
--- /dev/null
+++ b/core/img/actions/comment.png
Binary files differ
diff --git a/core/img/actions/confirm.png b/core/img/actions/confirm.png
new file mode 100644
index 00000000000..3021d4c27d6
--- /dev/null
+++ b/core/img/actions/confirm.png
Binary files differ
diff --git a/core/img/actions/delete-hover.png b/core/img/actions/delete-hover.png
new file mode 100644
index 00000000000..ed12640df71
--- /dev/null
+++ b/core/img/actions/delete-hover.png
Binary files differ
diff --git a/core/img/actions/delete-white.png b/core/img/actions/delete-white.png
new file mode 100644
index 00000000000..07a5de34252
--- /dev/null
+++ b/core/img/actions/delete-white.png
Binary files differ
diff --git a/core/img/actions/delete.png b/core/img/actions/delete.png
new file mode 100644
index 00000000000..20e894c7f74
--- /dev/null
+++ b/core/img/actions/delete.png
Binary files differ
diff --git a/core/img/actions/details.png b/core/img/actions/details.png
new file mode 100644
index 00000000000..9145025be26
--- /dev/null
+++ b/core/img/actions/details.png
Binary files differ
diff --git a/core/img/actions/download-white.png b/core/img/actions/download-white.png
new file mode 100644
index 00000000000..815b551354f
--- /dev/null
+++ b/core/img/actions/download-white.png
Binary files differ
diff --git a/core/img/actions/download.png b/core/img/actions/download.png
new file mode 100644
index 00000000000..1f8e1a4f7e1
--- /dev/null
+++ b/core/img/actions/download.png
Binary files differ
diff --git a/core/img/actions/edit.png b/core/img/actions/edit.png
new file mode 100644
index 00000000000..7ca20eba363
--- /dev/null
+++ b/core/img/actions/edit.png
Binary files differ
diff --git a/core/img/actions/error-color.png b/core/img/actions/error-color.png
new file mode 100644
index 00000000000..7d00282312a
--- /dev/null
+++ b/core/img/actions/error-color.png
Binary files differ
diff --git a/core/img/actions/error-white.png b/core/img/actions/error-white.png
new file mode 100644
index 00000000000..6e15865401d
--- /dev/null
+++ b/core/img/actions/error-white.png
Binary files differ
diff --git a/core/img/actions/error.png b/core/img/actions/error.png
new file mode 100644
index 00000000000..61df76b53ea
--- /dev/null
+++ b/core/img/actions/error.png
Binary files differ
diff --git a/core/img/actions/external.png b/core/img/actions/external.png
new file mode 100644
index 00000000000..af03dbf3e05
--- /dev/null
+++ b/core/img/actions/external.png
Binary files differ
diff --git a/core/img/actions/history.png b/core/img/actions/history.png
new file mode 100644
index 00000000000..ec2bbd0587f
--- /dev/null
+++ b/core/img/actions/history.png
Binary files differ
diff --git a/core/img/actions/info-white.png b/core/img/actions/info-white.png
new file mode 100644
index 00000000000..670d7309c4e
--- /dev/null
+++ b/core/img/actions/info-white.png
Binary files differ
diff --git a/core/img/actions/info.png b/core/img/actions/info.png
new file mode 100644
index 00000000000..b280a019ab4
--- /dev/null
+++ b/core/img/actions/info.png
Binary files differ
diff --git a/core/img/actions/logout.png b/core/img/actions/logout.png
new file mode 100644
index 00000000000..ad230de98f4
--- /dev/null
+++ b/core/img/actions/logout.png
Binary files differ
diff --git a/core/img/actions/mail.png b/core/img/actions/mail.png
new file mode 100644
index 00000000000..6d06259cd08
--- /dev/null
+++ b/core/img/actions/mail.png
Binary files differ
diff --git a/core/img/actions/menu.png b/core/img/actions/menu.png
new file mode 100644
index 00000000000..583ce319175
--- /dev/null
+++ b/core/img/actions/menu.png
Binary files differ
diff --git a/core/img/actions/more.png b/core/img/actions/more.png
new file mode 100644
index 00000000000..880d5dccce3
--- /dev/null
+++ b/core/img/actions/more.png
Binary files differ
diff --git a/core/img/actions/password.png b/core/img/actions/password.png
new file mode 100644
index 00000000000..3619fabab9a
--- /dev/null
+++ b/core/img/actions/password.png
Binary files differ
diff --git a/core/img/actions/pause-big.png b/core/img/actions/pause-big.png
new file mode 100644
index 00000000000..054281c6314
--- /dev/null
+++ b/core/img/actions/pause-big.png
Binary files differ
diff --git a/core/img/actions/pause.png b/core/img/actions/pause.png
new file mode 100644
index 00000000000..d4b865e3401
--- /dev/null
+++ b/core/img/actions/pause.png
Binary files differ
diff --git a/core/img/actions/play-add.png b/core/img/actions/play-add.png
new file mode 100644
index 00000000000..ccf77d2a062
--- /dev/null
+++ b/core/img/actions/play-add.png
Binary files differ
diff --git a/core/img/actions/play-big.png b/core/img/actions/play-big.png
new file mode 100644
index 00000000000..7d4916cb204
--- /dev/null
+++ b/core/img/actions/play-big.png
Binary files differ
diff --git a/core/img/actions/play-next.png b/core/img/actions/play-next.png
new file mode 100644
index 00000000000..50cd91d240e
--- /dev/null
+++ b/core/img/actions/play-next.png
Binary files differ
diff --git a/core/img/actions/play-previous.png b/core/img/actions/play-previous.png
new file mode 100644
index 00000000000..c380e96bb58
--- /dev/null
+++ b/core/img/actions/play-previous.png
Binary files differ
diff --git a/core/img/actions/play.png b/core/img/actions/play.png
new file mode 100644
index 00000000000..7994424c65c
--- /dev/null
+++ b/core/img/actions/play.png
Binary files differ
diff --git a/core/img/actions/public.png b/core/img/actions/public.png
new file mode 100644
index 00000000000..772838ad205
--- /dev/null
+++ b/core/img/actions/public.png
Binary files differ
diff --git a/core/img/actions/radio-checked-disabled.png b/core/img/actions/radio-checked-disabled.png
new file mode 100644
index 00000000000..09abc410f61
--- /dev/null
+++ b/core/img/actions/radio-checked-disabled.png
Binary files differ
diff --git a/core/img/actions/radio-checked.png b/core/img/actions/radio-checked.png
new file mode 100644
index 00000000000..94933b7b69c
--- /dev/null
+++ b/core/img/actions/radio-checked.png
Binary files differ
diff --git a/core/img/actions/radio-disabled.png b/core/img/actions/radio-disabled.png
new file mode 100644
index 00000000000..ac7f49ed533
--- /dev/null
+++ b/core/img/actions/radio-disabled.png
Binary files differ
diff --git a/core/img/actions/radio-white.png b/core/img/actions/radio-white.png
new file mode 100644
index 00000000000..04beefdff01
--- /dev/null
+++ b/core/img/actions/radio-white.png
Binary files differ
diff --git a/core/img/actions/radio.png b/core/img/actions/radio.png
new file mode 100644
index 00000000000..70ac4741b97
--- /dev/null
+++ b/core/img/actions/radio.png
Binary files differ
diff --git a/core/img/actions/rename.png b/core/img/actions/rename.png
new file mode 100644
index 00000000000..975bd2d7031
--- /dev/null
+++ b/core/img/actions/rename.png
Binary files differ
diff --git a/core/img/actions/search-white.png b/core/img/actions/search-white.png
new file mode 100644
index 00000000000..9812c44a3d6
--- /dev/null
+++ b/core/img/actions/search-white.png
Binary files differ
diff --git a/core/img/actions/search.png b/core/img/actions/search.png
new file mode 100644
index 00000000000..5f4767a6f46
--- /dev/null
+++ b/core/img/actions/search.png
Binary files differ
diff --git a/core/img/actions/settings.png b/core/img/actions/settings.png
new file mode 100644
index 00000000000..3ab939ca37a
--- /dev/null
+++ b/core/img/actions/settings.png
Binary files differ
diff --git a/core/img/actions/share.png b/core/img/actions/share.png
new file mode 100644
index 00000000000..fdacbbabebc
--- /dev/null
+++ b/core/img/actions/share.png
Binary files differ
diff --git a/core/img/actions/shared.png b/core/img/actions/shared.png
new file mode 100644
index 00000000000..fdacbbabebc
--- /dev/null
+++ b/core/img/actions/shared.png
Binary files differ
diff --git a/core/img/actions/sound-off.png b/core/img/actions/sound-off.png
new file mode 100644
index 00000000000..0457de8e4d1
--- /dev/null
+++ b/core/img/actions/sound-off.png
Binary files differ
diff --git a/core/img/actions/sound.png b/core/img/actions/sound.png
new file mode 100644
index 00000000000..e849b4d248b
--- /dev/null
+++ b/core/img/actions/sound.png
Binary files differ
diff --git a/core/img/actions/star.png b/core/img/actions/star.png
new file mode 100644
index 00000000000..88e4ad54584
--- /dev/null
+++ b/core/img/actions/star.png
Binary files differ
diff --git a/core/img/actions/starred.png b/core/img/actions/starred.png
new file mode 100644
index 00000000000..22e68c757e7
--- /dev/null
+++ b/core/img/actions/starred.png
Binary files differ
diff --git a/core/img/actions/toggle-filelist.png b/core/img/actions/toggle-filelist.png
new file mode 100644
index 00000000000..0926a726d53
--- /dev/null
+++ b/core/img/actions/toggle-filelist.png
Binary files differ
diff --git a/core/img/actions/toggle-pictures.png b/core/img/actions/toggle-pictures.png
new file mode 100644
index 00000000000..7499d5b7809
--- /dev/null
+++ b/core/img/actions/toggle-pictures.png
Binary files differ
diff --git a/core/img/actions/toggle.png b/core/img/actions/toggle.png
new file mode 100644
index 00000000000..24a6a4d47de
--- /dev/null
+++ b/core/img/actions/toggle.png
Binary files differ
diff --git a/core/img/actions/triangle-e.png b/core/img/actions/triangle-e.png
new file mode 100644
index 00000000000..4ce1086f61d
--- /dev/null
+++ b/core/img/actions/triangle-e.png
Binary files differ
diff --git a/core/img/actions/triangle-n.png b/core/img/actions/triangle-n.png
new file mode 100644
index 00000000000..2042d66532c
--- /dev/null
+++ b/core/img/actions/triangle-n.png
Binary files differ
diff --git a/core/img/actions/triangle-s.png b/core/img/actions/triangle-s.png
new file mode 100644
index 00000000000..97c64c6a720
--- /dev/null
+++ b/core/img/actions/triangle-s.png
Binary files differ
diff --git a/core/img/actions/upload-white.png b/core/img/actions/upload-white.png
new file mode 100644
index 00000000000..28693f855d3
--- /dev/null
+++ b/core/img/actions/upload-white.png
Binary files differ
diff --git a/core/img/actions/upload.png b/core/img/actions/upload.png
new file mode 100644
index 00000000000..8955ed96412
--- /dev/null
+++ b/core/img/actions/upload.png
Binary files differ
diff --git a/core/img/actions/user.png b/core/img/actions/user.png
new file mode 100644
index 00000000000..5f2fddc0ea3
--- /dev/null
+++ b/core/img/actions/user.png
Binary files differ
diff --git a/core/img/actions/view-close.png b/core/img/actions/view-close.png
new file mode 100644
index 00000000000..eae9acc7a43
--- /dev/null
+++ b/core/img/actions/view-close.png
Binary files differ
diff --git a/core/img/actions/view-download.png b/core/img/actions/view-download.png
new file mode 100644
index 00000000000..29e1b6fec70
--- /dev/null
+++ b/core/img/actions/view-download.png
Binary files differ
diff --git a/core/img/actions/view-next.png b/core/img/actions/view-next.png
new file mode 100644
index 00000000000..be8cc15cecd
--- /dev/null
+++ b/core/img/actions/view-next.png
Binary files differ
diff --git a/core/img/actions/view-pause.png b/core/img/actions/view-pause.png
new file mode 100644
index 00000000000..94cd1a5dc6c
--- /dev/null
+++ b/core/img/actions/view-pause.png
Binary files differ
diff --git a/core/img/actions/view-play.png b/core/img/actions/view-play.png
new file mode 100644
index 00000000000..a8398d5758f
--- /dev/null
+++ b/core/img/actions/view-play.png
Binary files differ
diff --git a/core/img/actions/view-previous.png b/core/img/actions/view-previous.png
new file mode 100644
index 00000000000..86e2a809626
--- /dev/null
+++ b/core/img/actions/view-previous.png
Binary files differ
diff --git a/core/img/breadcrumb.png b/core/img/breadcrumb.png
new file mode 100644
index 00000000000..5556920aa73
--- /dev/null
+++ b/core/img/breadcrumb.png
Binary files differ
diff --git a/core/img/desktopapp.png b/core/img/desktopapp.png
new file mode 100644
index 00000000000..272397c949e
--- /dev/null
+++ b/core/img/desktopapp.png
Binary files differ
diff --git a/core/img/filetypes/application-pdf.png b/core/img/filetypes/application-pdf.png
new file mode 100644
index 00000000000..c215094eaa7
--- /dev/null
+++ b/core/img/filetypes/application-pdf.png
Binary files differ
diff --git a/core/img/filetypes/application.png b/core/img/filetypes/application.png
new file mode 100644
index 00000000000..d9db3b9114c
--- /dev/null
+++ b/core/img/filetypes/application.png
Binary files differ
diff --git a/core/img/filetypes/audio.png b/core/img/filetypes/audio.png
new file mode 100644
index 00000000000..3d52756341a
--- /dev/null
+++ b/core/img/filetypes/audio.png
Binary files differ
diff --git a/core/img/filetypes/file.png b/core/img/filetypes/file.png
new file mode 100644
index 00000000000..74add13f276
--- /dev/null
+++ b/core/img/filetypes/file.png
Binary files differ
diff --git a/core/img/filetypes/folder-drag-accept.png b/core/img/filetypes/folder-drag-accept.png
new file mode 100644
index 00000000000..1124a02982f
--- /dev/null
+++ b/core/img/filetypes/folder-drag-accept.png
Binary files differ
diff --git a/core/img/filetypes/folder-external.png b/core/img/filetypes/folder-external.png
new file mode 100644
index 00000000000..dd8343d245a
--- /dev/null
+++ b/core/img/filetypes/folder-external.png
Binary files differ
diff --git a/core/img/filetypes/folder-public.png b/core/img/filetypes/folder-public.png
new file mode 100644
index 00000000000..3da67f85f79
--- /dev/null
+++ b/core/img/filetypes/folder-public.png
Binary files differ
diff --git a/core/img/filetypes/folder-shared.png b/core/img/filetypes/folder-shared.png
new file mode 100644
index 00000000000..d24e1d7af4e
--- /dev/null
+++ b/core/img/filetypes/folder-shared.png
Binary files differ
diff --git a/core/img/filetypes/folder-starred.png b/core/img/filetypes/folder-starred.png
new file mode 100644
index 00000000000..4b847bf69ea
--- /dev/null
+++ b/core/img/filetypes/folder-starred.png
Binary files differ
diff --git a/core/img/filetypes/folder.png b/core/img/filetypes/folder.png
new file mode 100644
index 00000000000..e811e9cdfdc
--- /dev/null
+++ b/core/img/filetypes/folder.png
Binary files differ
diff --git a/core/img/filetypes/image.png b/core/img/filetypes/image.png
new file mode 100644
index 00000000000..8ff5e6c119f
--- /dev/null
+++ b/core/img/filetypes/image.png
Binary files differ
diff --git a/core/img/filetypes/package-x-generic.png b/core/img/filetypes/package-x-generic.png
new file mode 100644
index 00000000000..68117e0d070
--- /dev/null
+++ b/core/img/filetypes/package-x-generic.png
Binary files differ
diff --git a/core/img/filetypes/text-calendar.png b/core/img/filetypes/text-calendar.png
new file mode 100644
index 00000000000..f21c3a9951d
--- /dev/null
+++ b/core/img/filetypes/text-calendar.png
Binary files differ
diff --git a/core/img/filetypes/text-code.png b/core/img/filetypes/text-code.png
new file mode 100644
index 00000000000..69744e499e6
--- /dev/null
+++ b/core/img/filetypes/text-code.png
Binary files differ
diff --git a/core/img/filetypes/text-vcard.png b/core/img/filetypes/text-vcard.png
new file mode 100644
index 00000000000..087eadaabd1
--- /dev/null
+++ b/core/img/filetypes/text-vcard.png
Binary files differ
diff --git a/core/img/filetypes/text.png b/core/img/filetypes/text.png
new file mode 100644
index 00000000000..d6bec70cf43
--- /dev/null
+++ b/core/img/filetypes/text.png
Binary files differ
diff --git a/core/img/filetypes/video.png b/core/img/filetypes/video.png
new file mode 100644
index 00000000000..7cc1ecdc46a
--- /dev/null
+++ b/core/img/filetypes/video.png
Binary files differ
diff --git a/core/img/filetypes/x-office-document.png b/core/img/filetypes/x-office-document.png
new file mode 100644
index 00000000000..3bc2f08d1f9
--- /dev/null
+++ b/core/img/filetypes/x-office-document.png
Binary files differ
diff --git a/core/img/filetypes/x-office-presentation.png b/core/img/filetypes/x-office-presentation.png
new file mode 100644
index 00000000000..644fb852009
--- /dev/null
+++ b/core/img/filetypes/x-office-presentation.png
Binary files differ
diff --git a/core/img/filetypes/x-office-spreadsheet.png b/core/img/filetypes/x-office-spreadsheet.png
new file mode 100644
index 00000000000..8f79c32fe01
--- /dev/null
+++ b/core/img/filetypes/x-office-spreadsheet.png
Binary files differ
diff --git a/core/img/logo-icon.png b/core/img/logo-icon.png
new file mode 100644
index 00000000000..6874c83673f
--- /dev/null
+++ b/core/img/logo-icon.png
Binary files differ
diff --git a/core/img/places/calendar-dark.png b/core/img/places/calendar-dark.png
new file mode 100644
index 00000000000..9dc21d8a7b8
--- /dev/null
+++ b/core/img/places/calendar-dark.png
Binary files differ
diff --git a/core/img/places/contacts-dark.png b/core/img/places/contacts-dark.png
new file mode 100644
index 00000000000..fe03bbfe1a4
--- /dev/null
+++ b/core/img/places/contacts-dark.png
Binary files differ
diff --git a/core/img/places/files.png b/core/img/places/files.png
new file mode 100644
index 00000000000..e317fc3c722
--- /dev/null
+++ b/core/img/places/files.png
Binary files differ
diff --git a/core/img/places/home.png b/core/img/places/home.png
new file mode 100644
index 00000000000..2e0313d59a7
--- /dev/null
+++ b/core/img/places/home.png
Binary files differ
diff --git a/core/img/places/link.png b/core/img/places/link.png
new file mode 100644
index 00000000000..8ba9f6530fb
--- /dev/null
+++ b/core/img/places/link.png
Binary files differ
diff --git a/core/img/places/music.png b/core/img/places/music.png
new file mode 100644
index 00000000000..0670544fedc
--- /dev/null
+++ b/core/img/places/music.png
Binary files differ
diff --git a/core/img/places/picture.png b/core/img/places/picture.png
new file mode 100644
index 00000000000..171af526e9d
--- /dev/null
+++ b/core/img/places/picture.png
Binary files differ
diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js
index 15b58f9e086..ea034f0aff7 100644
--- a/core/js/jquery.ocdialog.js
+++ b/core/js/jquery.ocdialog.js
@@ -145,7 +145,7 @@
break;
case 'closeButton':
if(value) {
- var $closeButton = $('<a class="oc-dialog-close"></a>');
+ var $closeButton = $('<a class="oc-dialog-close svg"></a>');
this.$dialog.prepend($closeButton);
$closeButton.on('click', function() {
self.close();
diff --git a/core/js/js.js b/core/js/js.js
index 07ed396bec9..7f98668dcb2 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -327,8 +327,8 @@ var OC={
* @return {string}
*/
imagePath:function(app,file){
- if(file.indexOf('.')==-1){//if no extension is given, use svg
- file+='.svg';
+ if(file.indexOf('.')==-1){//if no extension is given, use png or svg depending on browser support
+ file+=(OC.Util.hasSVGSupport())?'.svg':'.png';
}
return OC.filePath(app,'img',file);
},
@@ -592,7 +592,7 @@ var OC={
var arrowclass = settings.hasClass('topright') ? 'up' : 'left';
var jqxhr = $.get(OC.filePath(props.appid, '', props.scriptName), function(data) {
popup.html(data).ready(function() {
- popup.prepend('<span class="arrow '+arrowclass+'"></span><h2>'+t('core', 'Settings')+'</h2><a class="close"></a>').show();
+ popup.prepend('<span class="arrow '+arrowclass+'"></span><h2>'+t('core', 'Settings')+'</h2><a class="close svg"></a>').show();
popup.find('.close').bind('click', function() {
popup.remove();
});
@@ -613,6 +613,9 @@ var OC={
throw e;
});
}
+ if(!OC.Util.hasSVGSupport()) {
+ OC.Util.replaceSVG();
+ }
}).show();
}, 'html');
}
@@ -1355,6 +1358,49 @@ if(typeof localStorage !=='undefined' && localStorage !== null){
}
/**
+ * check if the browser support svg images
+ * @return {boolean}
+ */
+function SVGSupport() {
+ return SVGSupport.checkMimeType.correct && !!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGRect;
+}
+SVGSupport.checkMimeType=function(){
+ $.ajax({
+ url: OC.imagePath('core','breadcrumb.svg'),
+ success:function(data,text,xhr){
+ var headerParts=xhr.getAllResponseHeaders().split("\n");
+ var headers={};
+ $.each(headerParts,function(i,text){
+ if(text){
+ var parts=text.split(':',2);
+ if(parts.length===2){
+ var value=parts[1].trim();
+ if(value[0]==='"'){
+ value=value.substr(1,value.length-2);
+ }
+ headers[parts[0].toLowerCase()]=value;
+ }
+ }
+ });
+ if(headers["content-type"]!=='image/svg+xml'){
+ OC.Util.replaceSVG();
+ SVGSupport.checkMimeType.correct=false;
+ }
+ }
+ });
+};
+SVGSupport.checkMimeType.correct=true;
+
+/**
+ * Replace all svg images with png for browser compatibility
+ * @param $el
+ * @deprecated use OC.Util.replaceSVG instead
+ */
+function replaceSVG($el){
+ return OC.Util.replaceSVG($el);
+}
+
+/**
* prototypical inheritance functions
* @todo Write documentation
* usage:
@@ -1471,6 +1517,12 @@ function initCore() {
initSessionHeartBeat();
}
+ if(!OC.Util.hasSVGSupport()){ //replace all svg images with png images for browser that don't support svg
+ OC.Util.replaceSVG();
+ }else{
+ SVGSupport.checkMimeType();
+ }
+
OC.registerMenu($('#expand'), $('#expanddiv'));
// toggle for menus
@@ -1739,21 +1791,24 @@ OC.Util = {
},
/**
* Returns whether the browser supports SVG
- * @deprecated SVG is always supported (since 9.0)
* @return {boolean} true if the browser supports SVG, false otherwise
*/
- hasSVGSupport: function(){
- return true
- },
+ // TODO: replace with original function
+ hasSVGSupport: SVGSupport,
/**
* If SVG is not supported, replaces the given icon's extension
* from ".svg" to ".png".
* If SVG is supported, return the image path as is.
* @param {string} file image path with svg extension
- * @deprecated SVG is always supported (since 9.0)
* @return {string} fixed image path with png extension if SVG is not supported
*/
replaceSVGIcon: function(file) {
+ if (file && !OC.Util.hasSVGSupport()) {
+ var i = file.lastIndexOf('.svg');
+ if (i >= 0) {
+ file = file.substr(0, i) + '.png' + file.substr(i+4);
+ }
+ }
return file;
},
/**
@@ -1761,9 +1816,39 @@ OC.Util = {
* with PNG images.
*
* @param $el root element from which to search, defaults to $('body')
- * @deprecated SVG is always supported (since 9.0)
*/
- replaceSVG: function($el) {},
+ replaceSVG: function($el) {
+ if (!$el) {
+ $el = $('body');
+ }
+ $el.find('img.svg').each(function(index,element){
+ element=$(element);
+ var src=element.attr('src');
+ element.attr('src',src.substr(0, src.length-3) + 'png');
+ });
+ $el.find('.svg').each(function(index,element){
+ element = $(element);
+ var background = element.css('background-image');
+ if (background){
+ var i = background.lastIndexOf('.svg');
+ if (i >= 0){
+ background = background.substr(0,i) + '.png' + background.substr(i + 4);
+ element.css('background-image', background);
+ }
+ }
+ element.find('*').each(function(index, element) {
+ element = $(element);
+ var background = element.css('background-image');
+ if (background) {
+ var i = background.lastIndexOf('.svg');
+ if(i >= 0){
+ background = background.substr(0,i) + '.png' + background.substr(i + 4);
+ element.css('background-image', background);
+ }
+ }
+ });
+ });
+ },
/**
* Fix image scaling for IE8, since background-size is not supported.
diff --git a/core/js/mimetype.js b/core/js/mimetype.js
index 0d30da26c26..3cc33ce2830 100644
--- a/core/js/mimetype.js
+++ b/core/js/mimetype.js
@@ -29,7 +29,7 @@ OC.MimeType = {
* Cache that maps mimeTypes to icon urls
*/
_mimeTypeIcons: {},
-
+
/**
* Return the file icon we want to use for the given mimeType.
* The file needs to be present in the supplied file list
@@ -60,7 +60,7 @@ OC.MimeType = {
return null;
},
-
+
/**
* Return the url to icon of the given mimeType
*
@@ -91,14 +91,19 @@ OC.MimeType = {
path += icon;
}
}
-
+
// If we do not yet have an icon fall back to the default
if (gotIcon === null) {
path = OC.webroot + '/core/img/filetypes/';
path += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);
}
- path += '.svg';
+ // Use svg if we can
+ if(OC.Util.hasSVGSupport()){
+ path += '.svg';
+ } else {
+ path += '.png';
+ }
// Cache the result
OC.MimeType._mimeTypeIcons[mimeType] = path;
@@ -106,3 +111,5 @@ OC.MimeType = {
}
};
+
+
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 85dee978987..83fde154615 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -38,7 +38,7 @@
'<span class="shareOption">' +
'<input id="canEdit-{{cid}}-{{shareWith}}" type="checkbox" name="edit" class="permissions checkbox" {{#if hasEditPermission}}checked="checked"{{/if}} />' +
'<label for="canEdit-{{cid}}-{{shareWith}}">{{canEditLabel}}</label>' +
- '<a href="#" class="showCruds"><img alt="{{crudsLabel}}" src="{{triangleSImage}}"/></a>' +
+ '<a href="#" class="showCruds"><img class="svg" alt="{{crudsLabel}}" src="{{triangleSImage}}"/></a>' +
'</span>' +
'{{/if}}' +
'<div class="cruds hidden">' +
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index c17da94bab3..a4bfde1777b 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -30,7 +30,7 @@
'<div class="loading hidden" style="height: 50px"></div>';
var TEMPLATE_REMOTE_SHARE_INFO =
- '<a target="_blank" class="icon-info shareWithRemoteInfo hasTooltip" href="{{docLink}}" ' +
+ '<a target="_blank" class="icon-info svg shareWithRemoteInfo hasTooltip" href="{{docLink}}" ' +
'title="{{tooltip}}"></a>';
/**
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js
index 9f75ac42f21..3ced66a1a78 100644
--- a/core/js/shareitemmodel.js
+++ b/core/js/shareitemmodel.js
@@ -187,7 +187,7 @@
}).fail(function(xhr) {
var msg = t('core', 'Error');
var result = xhr.responseJSON;
- if (result && result.ocs && result.ocs.meta) {
+ if (result.ocs && result.ocs.meta) {
msg = result.ocs.meta.message;
}
diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js
index 1ffe7b38a40..3d19a38c416 100644
--- a/core/js/tests/specs/coreSpec.js
+++ b/core/js/tests/specs/coreSpec.js
@@ -231,12 +231,22 @@ describe('Core base tests', function() {
});
describe('Images', function() {
it('Generates image path with given extension', function() {
+ var svgSupportStub = sinon.stub(OC.Util, 'hasSVGSupport', function() { return true; });
expect(OC.imagePath('core', 'somefile.jpg')).toEqual(OC.webroot + '/core/img/somefile.jpg');
expect(OC.imagePath(TESTAPP, 'somefile.jpg')).toEqual(TESTAPP_ROOT + '/img/somefile.jpg');
+ svgSupportStub.restore();
});
- it('Generates image path with svg extension', function() {
+ it('Generates image path with svg extension when svg support exists', function() {
+ var svgSupportStub = sinon.stub(OC.Util, 'hasSVGSupport', function() { return true; });
expect(OC.imagePath('core', 'somefile')).toEqual(OC.webroot + '/core/img/somefile.svg');
expect(OC.imagePath(TESTAPP, 'somefile')).toEqual(TESTAPP_ROOT + '/img/somefile.svg');
+ svgSupportStub.restore();
+ });
+ it('Generates image path with png ext when svg support is not available', function() {
+ var svgSupportStub = sinon.stub(OC.Util, 'hasSVGSupport', function() { return false; });
+ expect(OC.imagePath('core', 'somefile')).toEqual(OC.webroot + '/core/img/somefile.png');
+ expect(OC.imagePath(TESTAPP, 'somefile')).toEqual(TESTAPP_ROOT + '/img/somefile.png');
+ svgSupportStub.restore();
});
});
});
@@ -494,6 +504,32 @@ describe('Core base tests', function() {
expect($navigation.is(':visible')).toEqual(false);
});
});
+ describe('SVG extension replacement', function() {
+ var svgSupportStub;
+
+ beforeEach(function() {
+ svgSupportStub = sinon.stub(OC.Util, 'hasSVGSupport');
+ });
+ afterEach(function() {
+ svgSupportStub.restore();
+ });
+ it('does not replace svg extension with png when SVG is supported', function() {
+ svgSupportStub.returns(true);
+ expect(
+ OC.Util.replaceSVGIcon('/path/to/myicon.svg?someargs=1')
+ ).toEqual(
+ '/path/to/myicon.svg?someargs=1'
+ );
+ });
+ it('replaces svg extension with png when SVG not supported', function() {
+ svgSupportStub.returns(false);
+ expect(
+ OC.Util.replaceSVGIcon('/path/to/myicon.svg?someargs=1')
+ ).toEqual(
+ '/path/to/myicon.png?someargs=1'
+ );
+ });
+ });
describe('Util', function() {
describe('humanFileSize', function() {
it('renders file sizes with the correct unit', function() {
@@ -981,3 +1017,4 @@ describe('Core base tests', function() {
});
});
});
+
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 98d95541827..7f179bfa5d6 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -51,14 +51,14 @@ script('core', [
autocomplete="off" autocapitalize="off" autocorrect="off" required>
<label for="adminpass" class="infield"><?php p($l->t( 'Password' )); ?></label>
<input type="checkbox" id="show" name="show">
- <label for="show"></label>
+ <label for="show" class="svg"></label>
<div class="strengthify-wrapper"></div>
</p>
</fieldset>
<?php if(!$_['directoryIsSet'] OR !$_['dbIsSet'] OR count($_['errors']) > 0): ?>
<fieldset id="advancedHeader">
- <legend><a id="showAdvanced"><?php p($l->t( 'Storage & database' )); ?> <img src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a></legend>
+ <legend><a id="showAdvanced"><?php p($l->t( 'Storage & database' )); ?> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a></legend>
</fieldset>
<?php endif; ?>
@@ -162,7 +162,7 @@ script('core', [
<div class="buttons"><input type="submit" class="primary" value="<?php p($l->t( 'Finish setup' )); ?>" data-finishing="<?php p($l->t( 'Finishing …' )); ?>"></div>
<p class="info">
- <span class="icon-info-white"></span>
+ <span class="icon-info-white svg"></span>
<?php p($l->t('Need help?'));?>
<a target="_blank" rel="noreferrer" href="<?php p(link_to_docs('admin-install')); ?>"><?php p($l->t('See the documentation'));?> ↗</a>
</p>
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 58506353158..985e95294ad 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -31,7 +31,7 @@
<?php if ($_['bodyid'] === 'body-login' ): ?>
<header role="banner">
<div id="header">
- <div class="logo">
+ <div class="logo svg">
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 370a6e2bd60..b19095dee8e 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -39,7 +39,7 @@
<header role="banner"><div id="header">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
id="owncloud" tabindex="1">
- <div class="logo-icon">
+ <div class="logo-icon svg">
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
@@ -56,11 +56,11 @@
}
?>
</h1>
- <div class="icon-caret"></div>
+ <div class="icon-caret svg"></div>
</a>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
- <div id="settings">
+ <div id="settings" class="svg">
<div id="expand" tabindex="6" role="link" class="menutoggle">
<?php if ($_['enableAvatars']): ?>
<div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown'); } else { print_unescaped('" style="display: none'); } ?>">
@@ -73,7 +73,7 @@
</div>
<?php endif; ?>
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
- <img alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>">
+ <img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>">
</div>
<div id="expanddiv">
<ul>
@@ -81,14 +81,14 @@
<li>
<a href="<?php print_unescaped($entry['href']); ?>"
<?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
- <img alt="" src="<?php print_unescaped($entry['icon']); ?>">
+ <img class="svg" alt="" src="<?php print_unescaped($entry['icon']); ?>">
<?php p($entry['name']) ?>
</a>
</li>
<?php endforeach; ?>
<li>
<a id="logout" <?php print_unescaped(OC_User::getLogoutAttribute()); ?>>
- <img alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>">
+ <img class="svg" alt="" src="<?php print_unescaped(image_path('', 'actions/logout.svg')); ?>">
<?php p($l->t('Log out'));?>
</a>
</li>
@@ -100,20 +100,20 @@
<label for="searchbox" class="hidden-visually">
<?php p($l->t('Search'));?>
</label>
- <input id="searchbox" type="search" name="query"
+ <input id="searchbox" class="svg" type="search" name="query"
value="" required
autocomplete="off" tabindex="5">
</form>
</div></header>
<nav role="navigation"><div id="navigation">
- <div id="apps">
+ <div id="apps" class="svg">
<ul>
<?php foreach($_['navigation'] as $entry): ?>
<li data-id="<?php p($entry['id']); ?>">
<a href="<?php print_unescaped($entry['href']); ?>" tabindex="3"
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
- <img class="app-icon" alt="" src="<?php print_unescaped($entry['icon']); ?>">
+ <img class="app-icon svg" alt="" src="<?php print_unescaped($entry['icon']); ?>">
<div class="icon-loading-dark" style="display:none;"></div>
<span>
<?php p($entry['name']); ?>
@@ -128,7 +128,7 @@
<li id="apps-management">
<a href="<?php print_unescaped(\OC::$server->getURLGenerator()->linkToRoute('settings.AppSettings.viewApps')); ?>" tabindex="4"
<?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>>
- <img class="app-icon" alt="" src="<?php print_unescaped(image_path('settings', 'apps.svg')); ?>">
+ <img class="app-icon svg" alt="" src="<?php print_unescaped(image_path('settings', 'apps.svg')); ?>">
<div class="icon-loading-dark" style="display:none;"></div>
<span>
<?php p($l->t('Apps')); ?>
diff --git a/core/templates/login.php b/core/templates/login.php
index 95c5a423c3d..5b0fd97cfd8 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -53,7 +53,7 @@ script('core', [
<?php p($_['user_autofocus'] ? '' : 'autofocus'); ?>
autocomplete="on" autocapitalize="off" autocorrect="off" required>
<label for="password" class="infield"><?php p($l->t('Password')); ?></label>
- <input type="submit" id="submit" class="login primary icon-confirm" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled"/>
+ <input type="submit" id="submit" class="login primary icon-confirm svg" title="<?php p($l->t('Log in')); ?>" value="" disabled="disabled"/>
</p>
<?php if (!empty($_['invalidpassword']) && !empty($_['canResetPassword'])) { ?>
diff --git a/core/templates/update.admin.php b/core/templates/update.admin.php
index 87f93967d91..24b2beec6da 100644
--- a/core/templates/update.admin.php
+++ b/core/templates/update.admin.php
@@ -47,7 +47,7 @@
<p id="update-progress-message-error" class="warning hidden"></p>
<ul id="update-progress-message-warnings" class="warning hidden"></ul>
<p id="update-progress-message"></p>
- <a class="update-show-detailed"><?php p($l->t( 'Detailed logs' )); ?> <img src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a>
+ <a class="update-show-detailed"><?php p($l->t( 'Detailed logs' )); ?> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a>
<div id="update-progress-detailed" class="hidden warning"></div>
</div>
</div>