diff --git a/images/icons/10/audio.png b/images/icons/10/audio.png new file mode 100644 index 0000000000..cfc2fdcbdd Binary files /dev/null and b/images/icons/10/audio.png differ diff --git a/images/icons/10/image.png b/images/icons/10/image.png new file mode 100644 index 0000000000..dce827bbe7 Binary files /dev/null and b/images/icons/10/image.png differ diff --git a/images/icons/10/text.png b/images/icons/10/text.png new file mode 100644 index 0000000000..a9995ea4df Binary files /dev/null and b/images/icons/10/text.png differ diff --git a/images/icons/10/video.png b/images/icons/10/video.png new file mode 100644 index 0000000000..4a3dacf968 Binary files /dev/null and b/images/icons/10/video.png differ diff --git a/images/icons/10/zip.png b/images/icons/10/zip.png new file mode 100644 index 0000000000..b90ab104a5 Binary files /dev/null and b/images/icons/10/zip.png differ diff --git a/images/icons/16/audio.png b/images/icons/16/audio.png new file mode 100644 index 0000000000..f2b99981f3 Binary files /dev/null and b/images/icons/16/audio.png differ diff --git a/images/icons/16/image.png b/images/icons/16/image.png new file mode 100644 index 0000000000..c52b9730d7 Binary files /dev/null and b/images/icons/16/image.png differ diff --git a/images/icons/16/text.png b/images/icons/16/text.png new file mode 100644 index 0000000000..1f3433a562 Binary files /dev/null and b/images/icons/16/text.png differ diff --git a/images/icons/16/video.png b/images/icons/16/video.png new file mode 100644 index 0000000000..bd1a7bb57c Binary files /dev/null and b/images/icons/16/video.png differ diff --git a/images/icons/16/zip.png b/images/icons/16/zip.png new file mode 100644 index 0000000000..f0fbc0dbfd Binary files /dev/null and b/images/icons/16/zip.png differ diff --git a/images/icons/22/audio.png b/images/icons/22/audio.png new file mode 100644 index 0000000000..dbf4675cf4 Binary files /dev/null and b/images/icons/22/audio.png differ diff --git a/images/icons/22/image.png b/images/icons/22/image.png new file mode 100644 index 0000000000..f00e3a290f Binary files /dev/null and b/images/icons/22/image.png differ diff --git a/images/icons/22/text.png b/images/icons/22/text.png new file mode 100644 index 0000000000..d35e45ff8c Binary files /dev/null and b/images/icons/22/text.png differ diff --git a/images/icons/22/video.png b/images/icons/22/video.png new file mode 100644 index 0000000000..eca481ff19 Binary files /dev/null and b/images/icons/22/video.png differ diff --git a/images/icons/22/zip.png b/images/icons/22/zip.png new file mode 100644 index 0000000000..4d4ecbe9aa Binary files /dev/null and b/images/icons/22/zip.png differ diff --git a/images/icons/48/audio.png b/images/icons/48/audio.png new file mode 100644 index 0000000000..23f49b54d4 Binary files /dev/null and b/images/icons/48/audio.png differ diff --git a/images/icons/48/image.png b/images/icons/48/image.png new file mode 100644 index 0000000000..cc0c868721 Binary files /dev/null and b/images/icons/48/image.png differ diff --git a/images/icons/48/text.png b/images/icons/48/text.png new file mode 100644 index 0000000000..502394547e Binary files /dev/null and b/images/icons/48/text.png differ diff --git a/images/icons/48/video.png b/images/icons/48/video.png new file mode 100644 index 0000000000..dde02f6003 Binary files /dev/null and b/images/icons/48/video.png differ diff --git a/images/icons/48/zip.png b/images/icons/48/zip.png new file mode 100644 index 0000000000..08a9330c48 Binary files /dev/null and b/images/icons/48/zip.png differ diff --git a/images/icons/Makefile b/images/icons/Makefile index 00c4fa4c20..bfb5927df1 100755 --- a/images/icons/Makefile +++ b/images/icons/Makefile @@ -2,7 +2,8 @@ IMAGES=add.png edit.png gear.png info.png menu.png \ notify_off.png star.png delete.png feed.png group.png \ lock.png notice.png notify_on.png user.png link.png \ - play.png plugin.png unlock.png + play.png plugin.png unlock.png zip.png audio.png video.png \ + image.png text.png DESTS=10/ 16/ 22/ 48/ \ $(addprefix 10/, $(IMAGES)) \ diff --git a/images/icons/audio.png b/images/icons/audio.png new file mode 100644 index 0000000000..1e1561266f Binary files /dev/null and b/images/icons/audio.png differ diff --git a/images/icons/image.png b/images/icons/image.png new file mode 100644 index 0000000000..cec105bfda Binary files /dev/null and b/images/icons/image.png differ diff --git a/images/icons/text.png b/images/icons/text.png new file mode 100644 index 0000000000..c20190ce22 Binary files /dev/null and b/images/icons/text.png differ diff --git a/images/icons/video.png b/images/icons/video.png new file mode 100644 index 0000000000..467a2123e2 Binary files /dev/null and b/images/icons/video.png differ diff --git a/images/icons/zip.png b/images/icons/zip.png new file mode 100644 index 0000000000..df961dd49e Binary files /dev/null and b/images/icons/zip.png differ diff --git a/include/text.php b/include/text.php index 798e809d10..6beb5c9b22 100755 --- a/include/text.php +++ b/include/text.php @@ -799,10 +799,10 @@ function prepare_body($item,$attach = false) { case 'audio': case 'image': case 'text': - $icon = '
'; + $icon = ''; break; default: - $icon = ''; + $icon = ''; break; } $title = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1])); diff --git a/view/theme/quattro/icons.less b/view/theme/quattro/icons.less index f87327703f..e314fba1fd 100755 --- a/view/theme/quattro/icons.less +++ b/view/theme/quattro/icons.less @@ -13,6 +13,11 @@ &.link { background-image: url("../../../images/icons/@{size}/link.png"); } &.lock { background-image: url("../../../images/icons/@{size}/lock.png"); } &.unlock { background-image: url("../../../images/icons/@{size}/unlock.png"); } + &.type-unkn { background-image: url("../../../images/icons/@{size}/zip.png"); } + &.type-audio{ background-image: url("../../../images/icons/@{size}/audio.png"); } + &.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); } + &.type-image{ background-image: url("../../../images/icons/@{size}/image.png"); } + &.type-text { background-image: url("../../../images/icons/@{size}/text.png"); } } diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css index 0f5db6fe12..4c24ade8ea 100755 --- a/view/theme/quattro/style.css +++ b/view/theme/quattro/style.css @@ -48,6 +48,21 @@ .icon.s10.unlock { background-image: url("../../../images/icons/10/unlock.png"); } +.icon.s10.type-unkn { + background-image: url("../../../images/icons/10/zip.png"); +} +.icon.s10.type-audio { + background-image: url("../../../images/icons/10/audio.png"); +} +.icon.s10.type-video { + background-image: url("../../../images/icons/10/video.png"); +} +.icon.s10.type-image { + background-image: url("../../../images/icons/10/image.png"); +} +.icon.s10.type-text { + background-image: url("../../../images/icons/10/text.png"); +} .icon.s10.text { padding: 2px 0px 0px 15px; } @@ -85,6 +100,21 @@ .icon.s16.unlock { background-image: url("../../../images/icons/16/unlock.png"); } +.icon.s16.type-unkn { + background-image: url("../../../images/icons/16/zip.png"); +} +.icon.s16.type-audio { + background-image: url("../../../images/icons/16/audio.png"); +} +.icon.s16.type-video { + background-image: url("../../../images/icons/16/video.png"); +} +.icon.s16.type-image { + background-image: url("../../../images/icons/16/image.png"); +} +.icon.s16.type-text { + background-image: url("../../../images/icons/16/text.png"); +} .icon.s16.text { padding: 4px 0px 0px 20px; } @@ -122,6 +152,21 @@ .icon.s22.unlock { background-image: url("../../../images/icons/22/unlock.png"); } +.icon.s22.type-unkn { + background-image: url("../../../images/icons/22/zip.png"); +} +.icon.s22.type-audio { + background-image: url("../../../images/icons/22/audio.png"); +} +.icon.s22.type-video { + background-image: url("../../../images/icons/22/video.png"); +} +.icon.s22.type-image { + background-image: url("../../../images/icons/22/image.png"); +} +.icon.s22.type-text { + background-image: url("../../../images/icons/22/text.png"); +} .icon.s22.text { padding: 10px 0px 0px 25px; } @@ -159,6 +204,21 @@ .icon.s48.unlock { background-image: url("../../../images/icons/48/unlock.png"); } +.icon.s48.type-unkn { + background-image: url("../../../images/icons/48/zip.png"); +} +.icon.s48.type-audio { + background-image: url("../../../images/icons/48/audio.png"); +} +.icon.s48.type-video { + background-image: url("../../../images/icons/48/video.png"); +} +.icon.s48.type-image { + background-image: url("../../../images/icons/48/image.png"); +} +.icon.s48.type-text { + background-image: url("../../../images/icons/48/text.png"); +} /* global */ body { font-family: Liberation Sans, helvetica, arial, clean, sans-serif;