diff --git a/CHANGELOG b/CHANGELOG index 15f7c9be6..e83810882 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -152,6 +152,7 @@ - SetReviewersApprovers checks for mandatory reviewers/approvers - reviewers/approvers can only be modified by users with unrestricted access and as long as no reviewer/approver has reviewed/approved the document +- use only svg icons for mimetypes -------------------------------------------------------------------------------- Changes in version 4.3.35 diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 237d67401..d04f1ee07 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -818,6 +818,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $icons = array(); $icons["txt"] = "text-x-preview.svg"; $icons["text"] = "text-x-preview.svg"; + $icons["tex"] = "text-x-preview.svg"; $icons["doc"] = "office-document.svg"; $icons["dot"] = "office-document.svg"; $icons["docx"] = "office-document.svg"; @@ -841,27 +842,26 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $icons["png"] = "image.svg"; $icons["tif"] = "image.svg"; $icons["tiff"] = "image.svg"; - $icons["log"] = "log.png"; + $icons["log"] = "text-x-preview.svg"; $icons["midi"] = "audio.svg"; - $icons["pdf"] = "pdf.png"; + $icons["pdf"] = "gnome-mime-application-pdf.svg"; $icons["wav"] = "audio.svg"; $icons["mp3"] = "audio.svg"; - $icons["c"] = "source_c.png"; - $icons["cpp"] = "source_cpp.png"; - $icons["h"] = "source_h.png"; - $icons["java"] = "source_java.png"; - $icons["py"] = "source_py.png"; + $icons["c"] = "text-x-preview.svg"; + $icons["cpp"] = "text-x-preview.svg"; + $icons["h"] = "text-x-preview.svg"; + $icons["java"] = "text-x-preview.svg"; + $icons["py"] = "text-x-preview.svg"; $icons["tar"] = "package.svg"; - $icons["gz"] = "gz.png"; - $icons["7z"] = "gz.png"; - $icons["bz"] = "gz.png"; - $icons["bz2"] = "gz.png"; - $icons["tgz"] = "gz.png"; + $icons["gz"] = "package.svg"; + $icons["7z"] = "package.svg"; + $icons["bz"] = "package.svg"; + $icons["bz2"] = "package.svg"; + $icons["tgz"] = "package.svg"; $icons["zip"] = "package.svg"; - $icons["rar"] = "gz.png"; + $icons["rar"] = "package.svg"; $icons["mpg"] = "video.svg"; $icons["avi"] = "video.svg"; - $icons["tex"] = "tex.png"; $icons["ods"] = "office-spreadsheet.svg"; $icons["ots"] = "office-spreadsheet.svg"; $icons["sxc"] = "office-spreadsheet.svg"; @@ -874,10 +874,10 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $icons["otp"] = "office-presentation.svg"; $icons["sxi"] = "office-presentation.svg"; $icons["sti"] = "office-presentation.svg"; - $icons["odg"] = "office-drawing.png"; - $icons["otg"] = "office-drawing.png"; - $icons["sxd"] = "office-drawing.png"; - $icons["std"] = "office-drawing.png"; + $icons["odg"] = "office-drawing.svg"; + $icons["otg"] = "office-drawing.svg"; + $icons["sxd"] = "office-drawing.svg"; + $icons["std"] = "office-drawing.svg"; $icons["odf"] = "ooo_formula.png"; $icons["sxm"] = "ooo_formula.png"; $icons["smf"] = "ooo_formula.png"; diff --git a/views/bootstrap/images/gnome-mime-application-pdf.svg b/views/bootstrap/images/gnome-mime-application-pdf.svg new file mode 100644 index 000000000..60990a4a5 --- /dev/null +++ b/views/bootstrap/images/gnome-mime-application-pdf.svg @@ -0,0 +1,633 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + rich + text + document + office + word + write + + + + + + Lapo Calamandrei + + + + + + + + + + + + + + + + + + + + + + Jakub Steiner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +