Skip to content
Snippets Groups Projects
Commit 57fbee35 authored by Elmar Ludwig's avatar Elmar Ludwig
Browse files

update icons for Stud.IP 5.0, re #55

parent b35b9220
No related branches found
No related tags found
No related merge requests found
......@@ -227,18 +227,18 @@ class VipsPlugin extends StudIPPlugin implements StandardPlugin, SystemPlugin, P
$overview_message = $this->getPluginName();
if (version_compare($GLOBALS['SOFTWARE_VERSION'], '5.0', '<')) {
$icon = Icon::create(vips_image_url('vips_grey.svg'), 'clickable');
$icon = Icon::create(vips_image_url('vips_grey.svg'));
} else {
$icon = Icon::create(vips_image_url('vips_blue.svg'), 'clickable');
$icon = Icon::create(vips_image_url('vips_blue.svg'));
}
if ($new_items > 0) {
$overview_message = sprintf($message, $new_items);
if (version_compare($GLOBALS['SOFTWARE_VERSION'], '5.0', '<')) {
$icon = Icon::create(vips_image_url('vips_red.svg'), 'new');
$icon = Icon::create(vips_image_url('vips_red+new.svg'), 'new');
} else {
$icon = Icon::create(vips_image_url('vips_white.svg'), 'new');
$icon = Icon::create(vips_image_url('vips_red.svg'), 'new');
}
}
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="12px" height="12px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="12px" height="12px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="12px" height="12px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="12px" height="12px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
<g>
<path fill="#24437C" d="M13.67,7.312v6.781c0,1.053-0.862,1.907-1.921,1.907H1.917c-1.058,0-1.921-0.854-1.921-1.907V4.329
c0-1.053,0.863-1.908,1.921-1.908h9.832c0.475,0,0.911,0.171,1.244,0.458l-0.982,0.983c-0.076-0.043-0.167-0.067-0.262-0.067H1.917
c-0.297,0-0.538,0.24-0.538,0.535v9.764c0,0.296,0.241,0.534,0.538,0.534h9.832c0.297,0,0.54-0.238,0.54-0.534V8.69L13.67,7.312z"
/>
c-0.297,0-0.538,0.24-0.538,0.535v9.764c0,0.296,0.241,0.534,0.538,0.534h9.832c0.297,0,0.54-0.238,0.54-0.534V8.69L13.67,7.312z"/>
</g>
<polygon fill="#24437C" points="8.341,11.406 16.005,3.742 14.684,2.422 7.02,10.087 3.902,6.97 2.582,8.29 7.018,12.728
7.02,12.728 7.02,12.728 8.086,11.662 8.341,11.406 "/>
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
<g>
<path fill="#6C737B" d="M13.668,7.312v6.781c0,1.053-0.861,1.907-1.919,1.907H1.918c-1.061,0-1.922-0.854-1.922-1.907V4.329
c0-1.053,0.861-1.908,1.922-1.908h9.831c0.474,0,0.908,0.171,1.244,0.458l-0.982,0.983c-0.079-0.043-0.168-0.067-0.262-0.067H1.918
c-0.299,0-0.539,0.24-0.539,0.535v9.764c0,0.296,0.24,0.534,0.539,0.534h9.831c0.296,0,0.538-0.238,0.538-0.534V8.69L13.668,7.312z
"/>
c-0.299,0-0.539,0.24-0.539,0.535v9.764c0,0.296,0.24,0.534,0.539,0.534h9.831c0.296,0,0.538-0.238,0.538-0.534V8.69L13.668,7.312z"/>
</g>
<polygon fill="#6C737B" points="8.339,11.406 16.004,3.742 14.684,2.422 7.02,10.087 3.901,6.97 2.58,8.29 7.018,12.728
7.018,12.728 7.018,12.728 8.084,11.662 8.339,11.406 "/>
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
......
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
<g>
<path fill="#FFFFFF" d="M13.67,7.312v6.781c0,1.053-0.862,1.907-1.921,1.907H1.917c-1.058,0-1.921-0.854-1.921-1.907V4.329
c0-1.053,0.863-1.908,1.921-1.908h9.832c0.475,0,0.911,0.171,1.244,0.458l-0.982,0.983c-0.076-0.043-0.167-0.067-0.262-0.067H1.917
c-0.297,0-0.538,0.24-0.538,0.535v9.764c0,0.296,0.241,0.534,0.538,0.534h9.832c0.297,0,0.54-0.238,0.54-0.534V8.69L13.67,7.312z"
/>
c-0.297,0-0.538,0.24-0.538,0.535v9.764c0,0.296,0.241,0.534,0.538,0.534h9.832c0.297,0,0.54-0.238,0.54-0.534V8.69L13.67,7.312z"/>
</g>
<polygon fill="#FFFFFF" points="8.341,11.406 16.005,3.742 14.684,2.422 7.02,10.087 3.902,6.97 2.582,8.29 7.018,12.728
7.02,12.728 7.02,12.728 8.086,11.662 8.341,11.406 "/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment