Skip to content

Instantly share code, notes, and snippets.

@krowe
Last active November 26, 2018 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krowe/646c6426219e3a78673c to your computer and use it in GitHub Desktop.
Save krowe/646c6426219e3a78673c to your computer and use it in GitHub Desktop.
This is a handy PHP file for development machines which includes phpinfo information and a directory listing.
<?php
// BEGIN CONFIGURATION
$server_name = gethostname().' - Development Machine';
$search = dirname(__FILE__); // The directory you want to search.
// This uses a filesystem style pattern and ignores case (even on linux systems).
$ignore = array('.*','index.*','*.bak','aspnet_client'); // Files with these names are always ignored.
$usr = array( // These describe the user whom can log in and what group they are in
'USER'=>array('pw'=>'PASSWORD', 'group'=>'admin'), // group can be admin or man; anything else and it'll be set to auth
);
// The following options are used to create the menu bar
$options = array('projects'); // These are the public options
$auth_options = array(); // Add these for those in the auth group
$man_options = array('general', 'configuration', 'environment', 'modules', 'credits', 'all'); // Add these for those in the man group
$admin_options = array(); // Add these for those in the admin group
## Uncomment this to always display all options (useful for debugging session problems)
# $options = array('projects', 'general', 'configuration', 'environment', 'modules', 'credits', 'all');
// END CONFIGURATION
define('ERR_NONE', 0);
define('ERR_UNKNOWN', 1);
define('ERR_NO_DIR', 2);
define('ERR_NO_CRITERIA', 3);
// The rest of this shouldn't need modified unless you are altering the microsite.
if(!function_exists('mime_content_type')) {
function mime_content_type($filename) {
$mime_types=[
'txt' => 'text/plain',
'htm' => 'text/html',
'html' => 'text/html',
'php' => 'text/html',
'css' => 'text/css',
'js' => 'application/javascript',
'json' => 'application/json',
'xml' => 'application/xml',
'swf' => 'application/x-shockwave-flash',
'flv' => 'video/x-flv',
// images
'png' => 'image/png',
'jpe' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpg' => 'image/jpeg',
'gif' => 'image/gif',
'bmp' => 'image/bmp',
'ico' => 'image/vnd.microsoft.icon',
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
// archives
'zip' => 'application/zip',
'rar' => 'application/x-rar-compressed',
'exe' => 'application/x-msdownload',
'msi' => 'application/x-msdownload',
'cab' => 'application/vnd.ms-cab-compressed',
// audio/video
'mp3' => 'audio/mpeg',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
// adobe
'pdf' => 'application/pdf',
'psd' => 'image/vnd.adobe.photoshop',
'ai' => 'application/postscript',
'eps' => 'application/postscript',
'ps' => 'application/postscript',
// ms office
'doc' => 'application/msword',
'rtf' => 'application/rtf',
'xls' => 'application/vnd.ms-excel',
'ppt' => 'application/vnd.ms-powerpoint',
// open office
'odt' => 'application/vnd.oasis.opendocument.text',
'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
];
$ext=explode('.',$filename);
$ext=strtolower(array_pop($ext));
if(array_key_exists($ext, $mime_types)) return $mime_types[$ext];
elseif(function_exists('finfo_open')) {
$finfo=finfo_open(FILEINFO_MIME);
$mimetype=finfo_file($finfo, $filename);
finfo_close($finfo);
return $mimetype;
} else return 'application/octet-stream';
}
}
// BEGIN INIT
session_start();
if(isset($_POST['logout'])) {
if(isset($_SESSION['user'])) unset($_SESSION['user']);
header("Location: ".current_page_url());
}
if(isset($_POST['user'])&&$_POST['user']&&isset($_POST['pass'])&&$_POST['pass']) {
$pst_user=$_POST['user'];
$pst_pass=$_POST['pass'];
$valid=false;
foreach($usr as $key=>$val) {
if($key==$pst_user && isset($val['pw']) && $val['pw']==$pst_pass) {
$valid=true;
break;
}
}
if(!$valid) { die("Invalid login."); }
$_SESSION['user']=$pst_user;
header("Location: ".current_page_url());
}
if(isset($_SESSION['user'])&&isset($usr[$_SESSION['user']])) {
$user=isset($usr[$_SESSION['user']])?$usr[$_SESSION['user']]:null;
if(!$user) { die("Invalid User Session."); }
$group = isset($user['group'])&&($user['group']=='man'||$user['group']=='admin')?$user['group']:'auth';
$options = array_merge($options, $auth_options);
if($group=='man') {
$options = array_merge($options, $man_options);
} elseif($group=='admin') {
$options = array_merge($options, $man_options);
$options = array_merge($options, $admin_options);
}
}
$display_param='s';
$display = isset($_GET[$display_param])&&$_GET[$display_param]? strtolower($_GET[$display_param]): $options[0];
$display = in_array($display, $options)? $display: $options[0];
$style=$more_style=$subnav=$content='';
$title = ucfirst($display).' - '.$server_name;
$navigation = array();
foreach($options as $value) { $navigation[] = makeMenuLink($value); }
$navigation = implode(' | ', $navigation);
if(isset($_SESSION['user'])&&isset($usr[$_SESSION['user']]))
$navigation .= '<form class=auth method=post><button name=logout>Logout</button></form>';
else $navigation .= '<form class=auth method=post><input type=text name=user /><input type=password name=pass /><button name=ok>OK</button></form>';
// END INIT
// BEGIN CONTENT GENERATION
ob_start();
switch($display) { // Output page specific content
case 'projects': displayProjects($search, $ignore); break;
case 'general': phpinfo(INFO_GENERAL); break;
case 'configuration': phpinfo(INFO_CONFIGURATION); break;
case 'environment': phpinfo(INFO_ENVIRONMENT); phpinfo(INFO_VARIABLES); break;
case 'modules': phpinfo(INFO_MODULES); break;
case 'credits': phpcredits(); phpinfo(INFO_LICENSE); break;
case 'all': default: phpinfo(); break;
//default: err("The display url paramer you've used no longer exist. It does have an entry though so it likely once did. Check to see if it's been renamed.");
}
$content = ob_get_clean();
if($display!='projects') { // Special cleanup for phpinfo() calls
$DOM = new DOMDocument;
$DOM->loadHTML($content);
switch($display) {
case 'general': delNode('table'); delNode('br'); break;
case 'configuration': delNode('h1'); delNode('h2'); break;
case 'environment': delNode('h2'); break;
case 'credits': delNode('h1'); break;
}
$items = $DOM->getElementsByTagName('style');
for($i=0; $i<$items->length; $i++)
$style .= $items->item($i)->nodeValue . "\n";
$more_style = '';
$sub_nav=array();
$items = $DOM->getElementsByTagName('hr');
for($i=0; $i<$items->length; $i++)
deleteNode($items->item($i));
$items = $DOM->getElementsByTagName('body');
$content='';
for($i=0; $i<$items->length; $i++)
$content .= $items->item($i)->C14N() . "\n";
switch($display) {
case 'modules':
$items = $DOM->getElementsByTagName('a');
for($i=0; $i<$items->length; $i++) {
$node = $items->item($i);
if($node->hasAttributes() && $node->attributes->getNamedItem("name")->nodeValue) {
$sub_nav[$node->attributes->getNamedItem("name")->nodeValue] = get_inner_html($node);
}
}
makeModulesScript();
break;
}
}
// END CONTENT GENERATION
// BEGIN PAGE DISPLAY
?>
<html>
<head>
<title><?=$title?></title>
<meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" />
<style>
<?=$style?>
<?=makeStandardStyle()?>
<?=$more_style?>
</style>
<?=makeScriptBlock()?>
</head>
<body>
<header>
<div id=head>
<a href="http://www.php.net/" target="_blank" style='float:right; background:none; margin:1px 5px 0px 0px;'><?=svgCode('php_logo')?></a>
<p><?=$server_name?> [ <span title="Server Name"><?=$_SERVER['SERVER_NAME']?></span>:<span title="Server Port"><?=$_SERVER['SERVER_PORT']?></span> ]</p>
<p id=subhead>OS: <span title="Operating System"><?=php_uname('s')?> <?=php_uname('r')?></span> Web: <span title="Web Server"><?=$_SERVER["SERVER_SOFTWARE"]?></span> MySQL: <span title="MySQL Version"><?=find_SQL_Version()?></span> PHP: <span title="PHP Version"><?=phpversion()?></span></p>
</div>
</header>
<div id=nav><?=$navigation?></div>
<?=makeSubNav()?>
<div id=cont><?=$content?></div>
</body>
</html><?php
// END PAGE DISPLAY
// BEGIN CODE
// ------------------------ CODE ------------------------
function find_SQL_Version() {
$output = shell_exec('mysql -V');
preg_match('@[0-9]+\.[0-9]+\.[0-9]+@', $output, $version);
return $version[0];
}
function say($msg, $title='Info') { echo "<div class=err><h3>$title</h3>$msg</div>\n"; }
function err($msg) { say($msg, 'Error'); }
function getErrorText($code=ERR_UNKNOWN) {
switch($code) {
case ERR_NONE: return 'No Error';
case ERR_NO_DIR: return 'Search directory not set.';
case ERR_NO_CRITERIA: return 'Search directory criteria not set.';
default: return 'Unknown Error';
}
}
function makeError($code=ERR_UNKNOWN, $msg=null) {
if(!isset($msg)||!$msg) $msg=getErrorText($code);
$ret = makeDirSearchCriteriaArray();
$ret['stats']['error'] = $code;
$ret['stats']['info'] = $msg;
$ret['stats']['refreshed'] = time();
return $ret;
}
function makeMenuLink($displayKey) {
global $display_param, $display;
return ($displayKey!=$display) ?
("<a href=?$display_param=$displayKey>".strtoupper($displayKey)."</a>"):
('<span>'.strtoupper($displayKey).'</span>');
}
function makeScriptBlock() {
global $script;
return (isset($script) && $script)?"<script type='text/javascript'>\n$script\n</script>\n":null;
}
function makeSubNav() {
global $sub_nav;
if(isset($sub_nav) && is_array($sub_nav) && count($sub_nav)) {
$ret = '';
foreach($sub_nav as $name=>$text)
$ret .= " <li><a href='#$name' onclick=javascript:scroll()>$text</a>\n";
return "<div id=snav>\n <ul>\n$ret </ul>\n</div>\n<style>\n #cont {margin-left:170px;}\n</style>\n";
}
return null;
}
function makeDirSearchCriteriaArray($for_dir='/', $ignore=null, $stats=null) {
if(!isset($stats)||!is_array($stats))
$stats=array('error'=>0, 'refreshed'=>0, 'dirs'=>0, 'files'=>0, 'all'=>0, 'file_size'=>0, 'info'=>'Not Refreshed');
if(!isset($ignore)||!is_array($ignore)) $ignore=array();
$ret = array(
'path'=>$for_dir,
'stats'=>$stats,
'dirs'=>array(),
'files'=>array(),
'ignored'=>$ignore,
);
return $ret;
}
function getDirInfo($search) {
if(!isset($search) || !is_array($search)) return makeError(ERR_NO_CRITERIA);
if($search['stats']['error']!=0) return $search; // If we've already errored then just pop the stack.
$search['stats']['error']=ERR_NONE;
$search['stats']['info']='OK';
$search['dirs']=array();
$search['files']=array();
$search['stats']['file_size']=0;
$search['stats']['refreshed']=time();
$dir = scandir($search['path']);
foreach($dir as $file) {
//if(in_array($file, $search['ignored'])) continue;
if(count($search['ignored'])) {
$do_continue=false;
foreach($search['ignored'] as $pattern) {
if(fnmatch($pattern, $file, FNM_CASEFOLD)) {$do_continue=true; break;}
}
if($do_continue) continue;
}
if(substr($file, strlen($file)-1)=='~') continue;
$isDir=is_dir($file);
$usrID=fileowner($file);
if(function_exists('posix_getpwuid')) {
$usrInfo=posix_getpwuid($usrID);
if(isset($usrInfo['name'])) $usrID=$usrInfo['name'];
}
$grpID=filegroup($file);
if(function_exists('posix_getgrgid')) {
$grpInfo=posix_getgrgid($grpID);
if(isset($grpInfo['name'])) $grpID=$usrInfo['name'];
}
$file_data = array(
'name'=>$file,
'owner'=>$usrID,
'group'=>$grpID,
'perms'=>makeFilePermsString($file),
);
$fileSz = filesize($file);
if($isDir) $search['dirs'][]=$file_data; else {
$file_data['size']=size_readable($fileSz);
$file_data['type']=mime_content_type($file);
$search['files'][]=$file_data;
$search['stats']['file_size']+=$fileSz;
}
}
$search['stats']['dirs']=count($search['dirs']);
$search['stats']['files']=count($search['files']);
$search['stats']['all']=$search['stats']['dirs']+$search['stats']['files'];
$search['stats']['file_size']=size_readable($search['stats']['file_size']);
return $search;
}
function displayProjects($search, $ignore) {
$dir_info = getDirInfo(makeDirSearchCriteriaArray($search, $ignore));
if(!isset($dir_info)) {
err("Couldn't search project folder.");
} elseif($dir_info['stats']['error']!=ERR_NONE) {
err($ret['stats']['info']);
} elseif(!$dir_info['stats']['all']) {
err("No projects found");
} else {
echo '<div style="position:absolute;top:-100px;right:0px">';
echo svgCode('folder').' '.svgCode('file').' '.svgCode('archive').' '.svgCode('webpage').'</div>';
echo "<div class=center><table id=filelist>\n<tr><th width=200>Name<th>Owner<th>Group<th>Perms<th>Type<th>Size</tr>\n";
$icon=svg_ref('svg_folder', 38, 38);
foreach($dir_info['dirs'] as $dir) {
echo "<tr><td><a href={$dir['name']}>$icon {$dir['name']}</a><td>{$dir['owner']}<td>{$dir['group']}<td>{$dir['perms']}<td>&nbsp;<td>&nbsp;</tr>\n";
}
foreach($dir_info['files'] as $dir) {
if($dir['type']=='text/html') $icon=svg_ref('svg_webpage');
elseif($dir['type']=='application/x-gzip') $icon=svg_ref('svg_archive');
else $icon=svg_ref('svg_file');
echo "<tr><td><a href={$dir['name']}>$icon {$dir['name']}</a><td>{$dir['owner']}<td>{$dir['group']}<td>{$dir['perms']}<td>{$dir['type']}<td>{$dir['size']}</tr>\n";
}
echo "</table>\n<p class=summary>All: <span>{$dir_info['stats']['all']}</span> Dirs: <span>{$dir_info['stats']['dirs']}</span> Files: <span>{$dir_info['stats']['files']}</span> Size: <span>{$dir_info['stats']['file_size']}</span></p></div>\n";
}
}
function svg_ref($id, $width=32, $height=32) {
return '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '.$width.' '.$height.'" width="'.$width.'" height="'.$height.'" style="vertical-align:middle"><use xlink:href="#'.$id.'" width="'.$width.'" height="'.$height.'" /></svg>';
}
function pr($arr, $var_name='var') {
echo "<pre>\n$var_name = ";
if(isset($arr)) print_r($arr); else echo 'NULL';
echo "</pre>\n";
}
function delNode($tag, $dx=0) {
global $DOM;
$node_list = $DOM->getElementsByTagName($tag);
if(!$node_list || !($node=$node_list->item($dx))) return;
deleteChildren($node);
$parent = $node->parentNode;
$oldnode = $parent->removeChild($node);
}
function deleteNode($node) {
deleteChildren($node);
$parent = $node->parentNode;
$oldnode = $parent->removeChild($node);
}
function deleteChildren($node) {
while (isset($node->firstChild)) {
deleteChildren($node->firstChild);
$node->removeChild($node->firstChild);
}
}
function get_inner_html($node) {
$innerHTML='';
$children=$node->childNodes;
foreach($children as $child)
$innerHTML.=$child->ownerDocument->saveXML($child);
return $innerHTML;
}
function current_page_url() {
$pageURL='http';
if($_SERVER['HTTPS']=='on') $pageURL.='s';
$pageURL.='://';
if($_SERVER['SERVER_PORT']!='80') $pageURL.=$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT'].$_SERVER['REQUEST_URI'];
else $pageURL.=$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
return $pageURL;
}
function makeFilePermsString($file) {
$perms=fileperms($file);
if(($perms&0xC000)==0xC000) $info='s'; // Socket
elseif(($perms&0xA000)==0xA000) $info='l'; // Symbolic Link
elseif(($perms&0x8000)==0x8000) $info='-'; // Regular
elseif(($perms&0x6000)==0x6000) $info='b'; // Block special
elseif(($perms&0x4000)==0x4000) $info='d'; // Directory
elseif(($perms&0x2000)==0x2000) $info='c'; // Character special
elseif(($perms&0x1000)==0x1000) $info='p'; // FIFO pipe
else $info='u'; // Unknown
// Owner
$info.=(($perms&0x0100)? 'r': '-');
$info.=(($perms&0x0080)? 'w': '-');
$info.=(($perms&0x0040)? (($perms&0x0800)? 's': 'x'): (($perms&0x0800)? 'S': '-'));
// Group
$info.=(($perms&0x0020)? 'r': '-'); $info.=(($perms&0x0010)? 'w': '-');
$info.=(($perms&0x0008)? (($perms&0x0400)? 's': 'x'): (($perms&0x0400)? 'S': '-'));
// World
$info.=(($perms&0x0004)? 'r' : '-'); $info.=(($perms&0x0002)? 'w' : '-');
$info.=(($perms&0x0001)? (($perms&0x0200)? 't': 'x'): (($perms&0x0200)? 'T': '-'));
return $info;
}
function size_readable($size, $max = null, $system = 'si', $retstring = '%01.2f %s') {
// Pick units
$systems['si']['prefix']=array('B','K','MB','GB','TB','PB');
$systems['si']['size']=1000;
$systems['bi']['prefix']=array('B','KiB','MiB','GiB','TiB','PiB');
$systems['bi']['size']=1024;
$sys = isset($systems[$system])? $systems[$system]: $systems['si'];
$depth = count($sys['prefix'])-1;
if($max && false!==$d=array_search($max, $sys['prefix'])) $depth=$d;
$i=0;
while($size>=$sys['size'] && $i<$depth) {
$size/=$sys['size'];
$i++;
}
return sprintf($retstring, $size, $sys['prefix'][$i]);
}
// END CODE
// BEGIN UGLY CODE
function makeStandardStyle() {
?>
body {background-color:#fff; color:#000; min-width:850px; overflow-y:scroll;}
body, td, th, h1, h2 {font-family:sans-serif;}
pre {margin:0px; font-family:monospace;}
a:link {color:#009; text-decoration:none; background-color:#fff;}
a:hover {text-decoration:underline;}
table {border-collapse:collapse;max-width:660px;width:720px;}
.center {text-align:center;}
.center table {margin-left:auto; margin-right:auto; text-align:left;}
.center th {text-align:center !important;}
td, th {border:1px solid #000000; font-size:75%; vertical-align:top; min-width:240px;}
td {word-break:break-all;}
th {background-color:#ccf;}
h1 {font-size:150%;}
h2 {font-size:125%;}
.p {text-align:left;}
.e {background-color:#ccf; font-weight:bold; color:#000;}
.h {background-color:#99c; font-weight:bold; color:#000;}
.v {background-color:#ccc; color:#000000;}
.vr {background-color:#ccc; text-align:right; color:#000;}
img {float:right; border:0px; margin-right:10px;}
hr {width:600px; background-color:#ccc; border:0px; height:1px; color:#000;}
p.total {font-size:small; color:gray; margin:0px 0px 0px 0px; padding:0px 0px 0px 0px;}
div.err {width:60%; border:1px solid black; background-color:white; margin:20px auto 20px auto; padding:0px 10px 5px 10px; }
div.err h3 {font-weight:bold; margin:0px -10px 5px -10px; padding:3px 10px 3px 10px; background-color:red; color:white;}
#head {display:block; position:fixed; top:0px; left:0px; width:100%; height:67px;
margin:0px auto 0px auto; padding:0px 20px 0px 0px; font-weight:bold;
color:white; background:#99c; border:1px solid black; min-width:850px;}
#head p {margin:20px 0px 0px 10px; font-size:x-small; color:#eee;}
#head p:first-of-type {font-size:x-large; color:white;}
#head span {color:yellow;}
#subhead span {color:#cc0;}
#subhead {display:block; position:fixed; top:30px; left:40px; }
#nav {text-align:center; display:block; position:fixed; top:67px; left:0px; width:100%; color:#ccc; background:#336;
margin:0px auto 0px auto; padding:5px 0px 1px 0px; border:1px solid black; min-width:850px;}
#nav span, #nav a, #nav a:visited, #nav a:hover, #nav a:active {color:white; background:#336; padding:5px 5px 2px 5px;}
#nav span {color:red;}
#snav {background-color:#99c; display:block; position:fixed; top:110px; left:8px; width:150px; height:50px; max-height:1500px;
margin:0px 0px 0px 0px; padding:0px 0px 0px 0px; border:1px solid black; color:white; overflow-y:auto; overflow-x:hidden;}
#snav ul {font-size:normal; list-style:none; margin:0px 0px 0px 0px; padding:5px 0px 5px 10px; min-width:150px;}
#snav a {background-color:transparent; min-width:150px;}
#cont {margin:110px 20px 20px 20px;}
table#filelist {min-width:700px; width:700px;}
table#filelist td {vertical-align:middle; min-width:20px;}
table#filelist th, table.filelist td {font-size:large; padding:5px 5px 5px 5px; vertical-align:middle; min-width:20px;}
table#filelist td {color:#444; background-color:#ccc; font-size:small; word-break:break-all;}
table#filelist a {padding:5px 5px 5px 5px; width:90%; display:inline-block; background:none;}
table#filelist td:first-of-type {word-break:normal; font-size:large;}
form.auth {display:inline; float:right; margin:3px 20px 0px 0px; padding:0px 0px 0px 0px;}
form.auth input, form.auth button {display:inline; margin:-5px 0px 0px 0px; padding:0px 0px 0px 0px;}
form.auth input {width:75px;}
p.summary {font-size:small; color:gray;}
p.summary span {font-weight:bold;}
<?php
}
function makeModulesScript() {
global $script;
$script="
var stimer=0;
function scroll() { stimer=setInterval(function(){_scroll()}, 1); }
function _scroll() { scrollBy(0,-110); clearInterval(stimer); stimer=0; }
function sizeSubNav() {
var div = document.getElementById(\"snav\");
if(div) {
div.style.height = (window.innerHeight-div.style.top-125) + 'px';
var szSnav = document.getElementById(\"szSnav\");
szSnav.innerHTML = div.style.height;
}
}
sizeSubNav();
window.onload=sizeSubNav;
window.onresize=sizeSubNav;";
}
function svgCode($key) {
switch($key) {
case 'php_logo': return <<<SVG
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
width="120"
height="64"
viewBox="0 0 300 160"
id="svg_php_logo">
<defs
id="defs2945">
<linearGradient
x1="150"
y1="84"
x2="299"
y2="84"
id="linearGradient3798"
gradientUnits="userSpaceOnUse">
<stop
id="stop3800"
style="stop-color:#dddce9;stop-opacity:1"
offset="0" />
<stop
id="stop3802"
style="stop-color:#5664a3;stop-opacity:1"
offset="0.37" />
<stop
id="stop3804"
style="stop-color:#000000;stop-opacity:1"
offset="1" />
</linearGradient>
<radialGradient
cx="77.914261"
cy="-48.544521"
r="146"
fx="77.914261"
fy="-48.544521"
id="radialGradient3870"
xlink:href="#linearGradient3798"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.5089497,0,0,1.3582164,-39.028917,76.957747)" />
</defs>
<ellipse
cx="150"
cy="80"
rx="146"
ry="76"
id="ellipse3860"
style="fill:#6c7eb7;stroke:url(#radialGradient3870);stroke-width:5.5" />
<path
d="m 45,125 16,-81 37,0 c 16,1 24,9 24,23 0,24 -19,38 -36,37 l -18,0 -4,21 -19,0 z m 27,-36 5,-30 13,0 c 7,0 12,3 12,9 -1,17 -9,20 -18,21 l -12,0 z"
id="p"
style="fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linejoin:round" />
<path
d="m 116,104 16,-81 19,0 -4,21 18,0 c 16,1 22,9 20,19 l -7,41 -20,0 7,-37 c 1,-5 1,-8 -6,-8 l -15,0 -9,45 -19,0 z"
id="h"
style="stroke:#ffffff;stroke-width:2;stroke-linejoin:round" />
<use
transform="translate(134,0)"
id="p2"
xlink:href="#p" />
</svg>
SVG;
case 'folder': return <<<SVG
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
contentScriptType="text/ecmascript"
id="svg_folder"
zoomAndPan="magnify"
baseProfile="tiny"
contentStyleType="text/css"
version="1.1"
preserveAspectRatio="xMidYMid meet"
width="32px"
height="32px"
viewBox="0 0 44 44"
x="0px"
y="0px">
<g>
<g>
<g>
<rect width="44" fill="none" height="44"/>
<path d="M 35.898 14.374 L 35.898 14.374 C 31.522999 14.375 27.149998 14.375 22.776999 14.375 L 20.246998 11.458 C 17.749998 11.458 15.251998 11.458 12.754997 11.458 C 11.369997 11.458 9.984997 11.458 8.599997 11.458 C 6.7919965 11.458 5.5529966 12.589001 5.116997 14.375 L 4.999 14.375 C 4.999 22.234001 4.999 30.093 4.999 37.951 C 13.558001 37.951 22.118 37.956 30.677 37.952 C 33.397 37.951 36.115 37.95 38.835 37.95 C 38.835 30.092001 38.835 22.233002 38.835 14.374001 L 35.898 14.374001 " fill-opacity="0.2"/>
<path d="M 35.898 15.375 C 31.373999 15.375 26.847 15.375 22.323997 15.375 L 19.791998 12.458 L 8.031 12.458 C 6.738 12.458 5.976 14.3 6.009 15.375 L 6.0 15.375 C 6.0 22.568 6.0 29.761 6.0 36.954002 C 14.738 36.954002 23.477 36.954002 32.212997 36.954002 C 34.086998 36.954002 35.961998 36.954002 37.836 36.954002 C 37.836 29.761002 37.836 22.568003 37.836 15.375002 L 35.898 15.375002 " fill-opacity="0.4"/>
<g>
<path d="M 41.202 12.483 L 41.329998 12.04 L 16.316 4.817 L 16.188 5.26 L 15.974 5.1980004 L 15.758 5.9450006 L 15.316 5.817001 L 9.767 25.025 L 10.207 25.152 L 10.146 25.363 L 10.628 25.504002 L 36.120003 32.873 L 36.469 31.670002 L 41.948 12.698002 L 41.202 12.483 z M 35.438 31.633 L 35.0 31.505 L 35.066 31.265999 L 35.506 31.393 L 35.438 31.633 z " fill-opacity="0.2"/>
<polygon fill="#d6c1aa" points="16.316,4.817 10.767,24.025 35.781,31.254 35.988,30.532 41.33,12.04 "/>
<linearGradient x1="291.6953" gradientTransform="matrix(1 0 0 -1 -280 -1598)" y1="-1616.0361" x2="320.4023" gradientUnits="userSpaceOnUse" y2="-1616.0361" xlink:type="simple" xlink:actuate="onLoad" id="SVGID_1_" xlink:show="other">
<stop stop-color="#e8e0b5" offset="0"/>
<stop stop-color="#ede7cc" offset="1"/>
</linearGradient>
<polygon fill="url(#SVGID_1_)" points="35.271,30.325 11.696,23.516 16.828,5.747 40.402,12.555 "/>
<g>
<path d="M 38.836 13.375 L 36.898 13.375 L 29.526999 13.375 L 29.524998 13.375 L 23.323997 13.375 L 20.791998 10.458 L 15.466998 10.458 L 11.695998 23.515999 L 35.272 30.328999 L 38.836 17.982998 C 38.836 16.979998 38.836 16.079998 38.836 15.347998 C 38.836 14.134 38.836 13.375 38.836 13.375 z " fill-opacity="0.2"/>
</g>
<rect x="15.064" y="8.97" fill-opacity="0.4" transform="matrix(-0.9607 -0.2775 0.2775 -0.9607 49.8178 34.2379)" fill="#ffffff" width="24.536" height="9.248"/>
</g>
<linearGradient x1="301.918" gradientTransform="matrix(1 0 0 -1 -280 -1598)" y1="-1609.458" x2="301.918" gradientUnits="userSpaceOnUse" y2="-1633.9541" xlink:type="simple" xlink:actuate="onLoad" id="SVGID_2_" xlink:show="other">
<stop stop-color="#ffe23d" offset="0"/>
<stop stop-color="#fad337" offset="0.2239"/>
<stop stop-color="#efab26" offset="0.6537"/>
<stop stop-color="#e48717" offset="1"/>
</linearGradient>
<path fill="url(#SVGID_2_)" d="M 35.898 14.375 C 31.373999 14.375 26.847 14.375 22.323997 14.375 L 19.791998 11.458 L 8.031 11.458 C 6.738 11.458 5.976 13.3 6.009 14.375 L 6.0 14.375 C 6.0 21.568 6.0 28.761 6.0 35.954002 C 14.738 35.954002 23.477 35.954002 32.212997 35.954002 C 34.086998 35.954002 35.961998 35.954002 37.836 35.954002 C 37.836 28.761002 37.836 21.568003 37.836 14.375002 L 35.898 14.375002 "/>
<path fill="#ffffff" d="M 34.457 15.137 C 30.302 15.137 26.146 15.137 21.991001 15.137 L 19.437 12.25 L 8.637 12.25 C 7.427 12.25 6.82 14.182 6.852 15.137 L 6.844 15.137 C 6.844 18.536 6.844 21.935 6.844 25.334 C 13.792 25.334 20.74 25.334 27.687 25.334 C 30.791 25.334 33.894 25.334 37.0 25.334 C 37.0 21.935 37.0 18.536 37.0 15.137 L 34.457 15.137 " fill-opacity="0.3"/>
</g>
</g>
<g>
<path d="M 21.353 30.672 C 21.353 25.598001 25.419 21.136002 30.475 20.687 C 35.595 20.232 40.458 23.961 41.278 29.048 C 42.097 34.125 38.728 39.249 33.71 40.43 C 28.557999 41.642002 23.123999 38.457 21.717 33.345 C 21.475 32.475 21.353 31.573 21.353 30.672 " fill-opacity="0.2"/>
<path d="M 40.637 30.675 C 40.637 35.73 36.282 40.017 31.227001 39.932 C 28.768002 39.892 26.401001 38.815998 24.708 37.042 C 23.106 35.366 21.906 32.817 22.133 30.448 C 22.272 28.98 23.762 28.193 25.004 27.761 C 26.51 27.235 28.140999 27.008999 29.723999 26.883 C 32.077 26.698 34.495 26.821 36.767998 27.477999 C 38.272 27.913 40.637 28.765 40.637 30.675 " fill-opacity="0.5"/>
<linearGradient x1="1081.3936" gradientTransform="matrix(1 0 0 1 -1050.0107 -3832.0244)" y1="3871.1807" x2="1081.3936" gradientUnits="userSpaceOnUse" y2="3852.6719" xlink:type="simple" xlink:actuate="onLoad" id="SVGID_3_" xlink:show="other">
<stop stop-color="#84d8fd" offset="0"/>
<stop stop-color="#7dd1fb" offset="0.1127"/>
<stop stop-color="#6bbef7" offset="0.2752"/>
<stop stop-color="#4d9ff0" offset="0.4679"/>
<stop stop-color="#2676e7" offset="0.6703"/>
<stop stop-color="#2676e7" offset="1"/>
</linearGradient>
<path fill="url(#SVGID_3_)" d="M 31.38 20.647 C 36.433 20.647 40.721 25.0 40.635 30.055 C 40.55 35.107002 36.127 39.322998 31.075998 39.152 C 26.144999 38.986 22.045998 34.688 22.128998 29.75 C 22.21 24.813 26.444 20.647 31.38 20.647 "/>
<linearGradient x1="254.96" gradientTransform="matrix(1 0 0 1 -224 -1496)" y1="1534.0137" x2="254.96" gradientUnits="userSpaceOnUse" y2="1517.5881" xlink:type="simple" xlink:actuate="onLoad" id="SVGID_4_" xlink:show="other">
<stop stop-color="#c5eaff" offset="0"/>
<stop stop-color="#7ac6f7" offset="1"/>
</linearGradient>
<path fill="url(#SVGID_4_)" d="M 38.533 30.51 C 38.512 30.345 38.292 30.345 38.168 30.348 C 37.924 30.352 37.853 30.327 37.687 30.149 C 37.44 29.880001 36.769 30.082 36.441 30.064001 C 36.174004 30.047 36.225002 29.963001 36.068 29.804 C 35.868 29.605001 35.868 29.705 35.674 29.783 C 35.334 29.922 34.753 29.740002 34.383 29.722 C 33.941998 29.704 34.078 29.962 33.76 30.164 C 33.628 30.251999 33.396 30.786999 33.209 30.685 C 32.843998 30.482 32.427 30.845999 32.072 30.536 C 31.807 30.307 31.498 29.884998 31.107998 29.994999 C 30.727999 30.098999 30.736998 29.438 30.312998 29.661999 C 30.198997 29.721998 30.267998 29.857998 30.209997 29.946999 C 30.112997 30.093998 29.906998 30.192 29.749998 30.253998 C 29.403997 30.391998 29.058998 30.029997 28.903997 29.752998 C 28.712997 29.407999 29.139997 29.585999 28.933998 29.300999 C 28.896997 29.248999 28.751999 29.130999 28.839998 29.069998 C 29.032999 28.937998 28.910997 28.837997 29.012 28.655998 C 28.994999 28.679998 29.456999 28.665998 29.501999 28.665998 C 29.581999 28.665998 29.825998 28.727999 29.807 28.568998 C 29.803999 28.541998 29.741 28.286 29.785 28.286 C 29.86 28.286 30.44 28.234 30.427 28.22 C 30.488 28.296 30.608 28.288 30.69 28.271 C 30.800001 28.25 31.045 28.58 31.11 28.645 C 31.367 28.407 30.915 28.125 30.831001 27.921001 C 30.750002 27.728 30.972002 27.560001 30.888 27.368002 C 30.797 27.154001 31.008001 27.044003 31.166 26.947002 C 31.442 26.779003 31.568 26.462002 31.646 26.160002 C 31.683 25.997002 31.713 25.826002 31.704 25.660002 C 31.687 25.354002 31.359001 25.473001 31.118 25.473001 C 31.119 25.285002 31.295 25.211002 31.46 25.218002 C 31.73 25.232002 31.848 25.015003 32.017 24.849003 C 32.227997 25.272003 32.587997 24.722002 32.648 24.533003 C 32.711 24.341003 32.850998 24.147003 33.032997 24.048002 C 33.236996 23.937002 33.275997 23.699001 33.429996 23.542002 C 33.187996 23.437002 32.917995 23.420002 32.675995 23.318 C 32.392994 23.198 32.203995 22.884 32.056995 22.625 C 31.933996 22.399 31.930996 22.105 31.747995 21.908 C 31.597996 21.746 31.311995 21.665 31.107996 21.613 C 30.792995 21.532001 30.093996 21.806002 30.224997 22.231 C 30.302996 22.491001 30.733997 23.363 30.323997 23.588001 C 30.198997 23.658 29.909998 23.653002 29.846998 23.807001 C 29.783998 23.958 30.087997 24.143002 29.936998 24.335001 C 29.616 24.750002 29.539999 23.982 29.375998 23.955002 C 29.154997 23.914001 29.035997 24.073002 28.795998 23.895002 C 28.645998 23.787003 28.795998 23.616003 28.495998 23.659002 C 28.256998 23.694002 28.127998 23.700003 27.937998 23.529003 C 27.805998 23.411003 27.586998 23.120003 27.847998 23.006002 C 28.119997 22.888002 28.851997 22.002003 28.269999 21.882002 C 28.200998 21.868002 28.130999 21.869001 28.06 21.879002 C 25.987 22.770002 24.289 24.456001 23.38 26.527 C 23.456999 26.59 23.529999 26.662 23.595999 26.776001 C 23.752998 27.046001 23.890999 27.047 24.154999 27.166 C 24.461998 27.301 24.532 27.196001 24.532 27.56 C 24.532 27.991 24.757 28.907999 25.279999 28.907999 C 25.578999 28.907999 25.72 29.109999 25.914 29.303999 C 26.14 29.532 26.372 29.696999 26.675 29.807 C 26.574999 29.764 26.487 29.703 26.407999 29.625 C 26.790998 29.244 27.365 30.065 27.627998 30.35 C 28.036 30.788 28.795998 30.834 29.371998 30.765001 C 29.530998 30.744001 29.661999 30.634 29.767998 30.52 C 29.930998 30.353 29.939999 30.354 30.106998 30.357 C 30.282999 30.361 30.412998 30.066 30.670998 30.105 C 30.768997 30.119 31.474998 30.284 31.480997 30.338999 C 31.516996 30.64 32.834995 30.898998 32.695995 31.207998 C 32.595997 31.428999 32.352997 31.520998 32.354996 31.792997 C 32.358997 31.933998 32.323997 32.329 32.443996 32.429996 C 32.592995 32.552998 32.758995 32.659996 32.944996 32.700996 C 33.160995 32.747997 33.227997 33.144997 33.361996 33.300995 C 33.520996 33.488995 33.675995 33.575996 33.912994 33.576996 C 33.948994 33.578995 34.389996 33.598995 34.389996 33.598995 C 34.295994 33.708996 34.522995 33.829994 34.613995 33.919994 C 34.700996 34.005993 34.651993 34.232994 34.638996 34.340996 C 34.608997 34.668995 34.607998 35.075996 34.795998 35.361996 C 35.045998 35.737995 35.023 35.940994 34.996998 36.379997 C 34.990997 36.469997 34.921997 37.039997 35.03 37.063995 C 35.083 37.075996 35.218 36.872993 35.254997 36.835995 C 35.297997 37.074993 35.599 37.147995 35.415997 37.414993 C 35.382996 37.463993 35.378 37.52199 35.390995 37.580994 C 35.691994 37.418995 35.979996 37.23699 36.261993 37.039993 C 36.209995 36.977993 36.126995 36.86899 36.13299 36.830994 C 36.13299 36.784992 36.53199 36.817993 36.450993 36.643993 C 36.406994 36.555992 36.087994 36.38299 36.346992 36.289993 C 36.41099 36.267994 36.59299 36.253994 36.575993 36.138992 C 36.55099 35.951992 36.721992 35.941994 36.850994 35.830994 C 37.161995 35.561993 37.112995 35.464993 36.827995 35.206993 C 36.620995 35.020992 36.949997 35.064995 37.063995 35.061993 C 37.395996 35.054993 37.187996 34.719994 37.332996 34.525993 C 37.488995 34.312992 37.939995 33.98699 37.686996 33.683994 C 37.515995 33.482994 37.789997 33.112995 37.623997 32.944996 C 37.881996 33.203995 38.180996 32.711994 38.313995 32.545998 C 38.607994 32.172997 38.450996 31.899998 38.332996 31.496998 C 38.232 31.144 38.581 30.861 38.533 30.51 z "/>
<linearGradient x1="1081.3496" gradientTransform="matrix(1 0 0 1 -1050.0107 -3832.0244)" y1="3861.9141" x2="1081.3496" gradientUnits="userSpaceOnUse" y2="3853.0459" xlink:type="simple" xlink:actuate="onLoad" id="SVGID_5_" xlink:show="other">
<stop stop-color="#26bfff" offset="0"/>
<stop stop-color="#43c8ff" offset="0.0464"/>
<stop stop-color="#6fd5ff" offset="0.1258"/>
<stop stop-color="#96e0ff" offset="0.2112"/>
<stop stop-color="#b6eaff" offset="0.3018"/>
<stop stop-color="#d1f1ff" offset="0.3987"/>
<stop stop-color="#e5f7ff" offset="0.5044"/>
<stop stop-color="#f4fcff" offset="0.6233"/>
<stop stop-color="#fcfeff" offset="0.7666"/>
<stop stop-color="#ffffff" offset="1"/>
</linearGradient>
<path fill="url(#SVGID_5_)" d="M 22.469 29.902 C 22.469 25.115 26.550999 21.033 31.337 21.033 C 36.125 21.033 40.207 25.116001 40.207 29.902 C 34.295 29.902 28.383 29.902 22.469 29.902 " fill-opacity="0.7"/>
</g>
</g>
</svg>
SVG;
case 'archive': return <<<SVG
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg_archive"
version="1.0"
width="32"
height="32"
viewBox="0 0 160 141"
x="0.00000000"
y="0.00000000"
sodipodi:version="0.32"
inkscape:version="0.46+devel"
sodipodi:docname="Cardboard_box_remix.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
inkscape:export-filename="/home/boobaloo/Cardboard_box_remix.png"
inkscape:export-xdpi="53.759998"
inkscape:export-ydpi="53.759998">
<sodipodi:namedview
inkscape:window-height="700"
inkscape:window-width="1024"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
guidetolerance="10.0"
gridtolerance="10.0"
objecttolerance="10.0"
borderopacity="1.0"
bordercolor="#666666"
pagecolor="#ffffff"
id="base"
showgrid="false"
inkscape:zoom="0.66386033"
inkscape:cx="199.31981"
inkscape:cy="2.5807409"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:current-layer="svg2" />
<metadata
id="metadata3">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title />
<dc:description>cardboard box</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>container</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:publisher>
<cc:Agent
rdf:about="http://www.openclipart.org/">
<dc:title>Open Clip Art Library</dc:title>
</cc:Agent>
</dc:publisher>
<dc:creator>
<cc:Agent>
<dc:title>Jarno Vasamaa</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>Jarno Vasamaa</dc:title>
</cc:Agent>
</dc:rights>
<dc:date />
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<cc:license
rdf:resource="http://web.resource.org/cc/PublicDomain" />
<dc:language>en</dc:language>
</cc:Work>
<cc:License
rdf:about="http://web.resource.org/cc/PublicDomain">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<defs
id="defs3">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective22" />
<linearGradient
y2="329.21875"
x2="595.51044"
y1="509.84375"
x1="595.51044"
gradientUnits="userSpaceOnUse"
id="linearGradient3441"
xlink:href="#linearGradient3378"
inkscape:collect="always" />
<linearGradient
y2="329.21875"
x2="595.51044"
y1="509.84375"
x1="595.51044"
gradientUnits="userSpaceOnUse"
id="linearGradient3411"
xlink:href="#linearGradient3378"
inkscape:collect="always" />
<filter
id="filter3398"
inkscape:collect="always">
<feGaussianBlur
id="feGaussianBlur3400"
stdDeviation="1.6711459"
inkscape:collect="always" />
</filter>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective2562" />
<inkscape:perspective
id="perspective10"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 526.18109 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
id="linearGradient3378">
<stop
id="stop3380"
offset="0"
style="stop-color: rgb(136, 255, 0); stop-opacity: 1;" />
<stop
id="stop3382"
offset="1"
style="stop-color: rgb(37, 116, 0); stop-opacity: 1;" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3378"
id="linearGradient2888"
gradientUnits="userSpaceOnUse"
x1="595.51044"
y1="509.84375"
x2="595.51044"
y2="329.21875" />
</defs>
<g
id="g2866"
transform="scale(0.22374243,0.22374243)">
<g
transform="translate(-16.070648,-137.29088)"
id="layer1">
<g
transform="matrix(1.43449,0,0,1.43449,-116.433,-160.388)"
id="g2964">
<path
style="fill:#00002f;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2939"
d="m 359.92918,276.03996 -35.90802,76.34652 0.15916,0.063 -1.146,0.56716 -61.88403,-54.35318 -135.29174,57.91371 64.58987,66.35814 0.25467,-0.12603 0.41383,1.70149 -6.62134,-3.05638 -92.125715,8.63349 98.651555,45.08951 7.38534,78.99329 178.58509,90.17901 0.0637,2.01658 1.146,-0.78772 0.0318,0.6932 0,-0.6932 139.52558,-95.03142 0,-99.50571 73.1212,-46.47591 -72.10253,13.80099 54.46686,-75.96842 -213.31528,-66.35814 z m 156.93841,142.98825 0.12734,0.063 -0.15917,0.063 0.0318,-0.12603 z" />
<path
style="fill:#8d622f;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2933"
d="M 193.03694,421.27987 328.1628,352.97449 513.77525,418.31007 498.92625,535.61714 356.37589,592.04332 216.79533,522.25304 193.03694,421.27987 z" />
<path
style="fill:#9d6e2d;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path1358"
d="m 193.22443,423.25468 132.81928,-67.00792 -63.41821,-56.23879 -132.81928,57.43536 63.41821,65.81135 z" />
<path
style="fill:#9d6e2d;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path1360"
d="m 324.34577,353.27135 35.24515,-75.70988 209.39975,65.81135 -54.22056,76.39303 -190.42434,-66.4945 z" />
<path
style="fill:#000000;fill-opacity:0.578378;fill-rule:evenodd;stroke:none"
id="path2935"
d="M 203.43124,547.49634 330.49735,465.1122 326.6779,352.97449 335.34114,464.69929 507.83565,546.01143 332.67308,470.1029 203.43124,547.49634 z" />
<path
style="fill:#9d6e2d;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2126"
d="m 376.41043,644.84093 -4.11454,-134.11845 142.22922,-80.57671 0,119.657 -138.11468,95.03816 z" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2888"
d="M 514.69059,418.86901 366.555,509.11939 446.2377,494.98214 586.32503,405.0178 514.69059,418.86901 z" />
<path
style="fill:#9d6e2d;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path1362"
d="m 513.95165,419.40752 -141.81837,86.12216 74.18734,-13.16227 130.42613,-83.7599 -62.7951,10.80001 z" />
<path
style="fill:#9d6e2d;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path1366"
d="m 189.05806,424.16292 11.9657,129.22956 175.8958,89.74275 -5.98285,-134.01584 -181.87865,-84.95647 z" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2886"
d="M 187.3638,421.76978 376.91956,509.94995 303.8229,525.87137 96.92217,430.34285 187.3638,421.76978 z" />
<path
style="fill:#9d6e2d;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path1364"
d="m 189.05806,422.96635 183.07522,85.13947 -70.59763,15.37241 -199.8272,-92.23443 87.34961,-8.27745 z" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2890"
d="m 377.5505,644.76508 -8.3973,-136.65294 5.59821,0 2.79909,136.65294 z" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2937"
d="M 193.03694,421.27987 325.193,352.97449 515.26015,419.79497 323.7081,357.42919 193.03694,421.27987 z" />
</g>
</g>
<g
inkscape:label="Ebene 1"
id="layer1-7"
transform="matrix(0.65366012,0,0,0.65366012,137.67223,-2.2907249)">
<g
id="g3446">
<path
id="rect2568"
d="m 119.51221,12.551409 0,176.698341 -97.608163,-0.42408 113.369653,152.17261 113.36965,152.17261 115.70207,-151.11242 115.77275,-151.1831 -102.13164,-0.49475 0,-177.829211 -258.47432,0 z"
style="fill:#88f288;fill-opacity:1;fill-rule:evenodd;stroke:#008b00;stroke-width:18.09390068;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
transform="matrix(2.26174,0,0,2.26174,-1095.39,-704.914)"
id="path3364"
d="m 549.15625,395.34375 c -0.82074,10.76592 -13.8696,14.20707 -22.8125,11.9375 -5.16273,-0.43111 -11.30291,-0.70165 -4.88091,4.8091 24.3046,32.55302 48.54199,65.15611 72.78716,97.7534 26.02083,-33.95833 52.04167,-67.91667 78.0625,-101.875 -10.95829,-0.0515 -21.91662,-0.10334 -32.875,-0.125 0,-26.20833 0,-52.41667 0,-78.625 -30.09375,0 -60.1875,0 -90.28125,0 0,22.04167 0,44.08333 0,66.125 z"
style="fill:url(#linearGradient2888);fill-opacity:1;fill-rule:evenodd;stroke:none;filter:url(#filter3398)" />
<path
sodipodi:nodetypes="ccccccc"
id="path3402"
d="m 124.03569,189.24975 c -4.28326,10.05286 -26.766552,1.79041 -38.449292,4.3882 -18.235358,-0.0727 -36.470717,-0.14541 -54.706076,-0.21812 76.185068,96.68606 86.879218,113.20375 131.509488,168.8184 28.28853,-138.26124 180.43947,-63.30207 211.07325,-345.163343 -83.14247,0 -166.28491,0 -249.42737,0 0,57.391619 0,114.783243 0,172.174863 z"
style="opacity:0.55914001;fill:#fff5ee;fill-opacity:1;fill-rule:evenodd;stroke:none" />
</g>
</g>
</g>
</svg>
SVG;
case 'webpage': return <<<SVG
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="32"
height="32"
viewBox="0 0 256 256"
overflow="visible"
enable-background="new 0 0 256 256"
xml:space="preserve"
id="svg_webpage"
sodipodi:version="0.34"
sodipodi:docname="/home/cschalle/Themes/gnome-themes-extras/Nuvola/icons/scalable/emblems/emblem-web.svg"
sodipodi:docbase="/home/cschalle/Themes/gnome-themes-extras/Nuvola/icons/scalable/emblems/"><defs
id="defs177"><linearGradient
id="linearGradient860"><stop
offset="0.000000"
style="stop-color:#0066cc;stop-opacity:1;"
id="stop862" /><stop
offset="0.994400"
style="stop-color:#003366;stop-opacity:1;"
id="stop861" /></linearGradient><linearGradient
id="linearGradient711"
gradientUnits="userSpaceOnUse"
x1="0.4077"
y1="323.9736"
x2="0.4077"
y2="622.1706"
gradientTransform="matrix(1 0 0 -1 123.1533 547.5)"><stop
offset="0"
style="stop-color:#F7F7F7"
id="stop161" /><stop
offset="1"
style="stop-color:#BFBFBF"
id="stop162" /><a:midPointStop
offset="0"
style="stop-color:#F7F7F7"
id="midPointStop714" /><a:midPointStop
offset="0.5"
style="stop-color:#F7F7F7"
id="midPointStop715" /><a:midPointStop
offset="1"
style="stop-color:#BFBFBF"
id="midPointStop165" /></linearGradient><linearGradient
id="linearGradient718"
gradientUnits="userSpaceOnUse"
x1="0.4077"
y1="353.2363"
x2="0.4077"
y2="427.3735"
gradientTransform="matrix(1 0 0 -1 123.1533 547.5)"><stop
offset="0"
style="stop-color:#F7F7F7"
id="stop168" /><stop
offset="1"
style="stop-color:#D9D9D9"
id="stop720" /><a:midPointStop
offset="0"
style="stop-color:#F7F7F7"
id="midPointStop170" /><a:midPointStop
offset="0.5"
style="stop-color:#F7F7F7"
id="midPointStop722" /><a:midPointStop
offset="1"
style="stop-color:#D9D9D9"
id="midPointStop723" /></linearGradient><linearGradient
id="XMLID_3_"
gradientUnits="userSpaceOnUse"
x1="0.4077"
y1="357.5371"
x2="0.4077"
y2="422.6014"
gradientTransform="matrix(1 0 0 -1 123.1533 547.5)"><stop
offset="0"
style="stop-color:#F7F7F7"
id="stop175" /><stop
offset="1"
style="stop-color:#BFBFBF"
id="stop176" /><a:midPointStop
offset="0"
style="stop-color:#F7F7F7"
id="midPointStop177" /><a:midPointStop
offset="0.5"
style="stop-color:#F7F7F7"
id="midPointStop178" /><a:midPointStop
offset="1"
style="stop-color:#BFBFBF"
id="midPointStop179" /></linearGradient><linearGradient
id="XMLID_4_"
gradientUnits="userSpaceOnUse"
x1="0.4087"
y1="358.7002"
x2="0.4087"
y2="350.5048"
gradientTransform="matrix(1 0 0 -1 123.1533 547.5)"><stop
offset="0"
style="stop-color:#FFFFFF"
id="stop182" /><stop
offset="1"
style="stop-color:#D9D9D9"
id="stop183" /><a:midPointStop
offset="0"
style="stop-color:#FFFFFF"
id="midPointStop184" /><a:midPointStop
offset="0.5"
style="stop-color:#FFFFFF"
id="midPointStop185" /><a:midPointStop
offset="1"
style="stop-color:#D9D9D9"
id="midPointStop186" /></linearGradient><linearGradient
id="XMLID_5_"
gradientUnits="userSpaceOnUse"
x1="0.4077"
y1="517.1152"
x2="0.4077"
y2="424.2538"
gradientTransform="matrix(1 0 0 -1 123.1533 547.5)"><stop
offset="0"
style="stop-color:#D9D9D9"
id="stop189" /><stop
offset="1"
style="stop-color:#BFBFBF"
id="stop190" /><a:midPointStop
offset="0"
style="stop-color:#D9D9D9"
id="midPointStop191" /><a:midPointStop
offset="0.5"
style="stop-color:#D9D9D9"
id="midPointStop192" /><a:midPointStop
offset="1"
style="stop-color:#BFBFBF"
id="midPointStop193" /></linearGradient><linearGradient
id="XMLID_6_"
gradientUnits="userSpaceOnUse"
x1="0.4077"
y1="439.8604"
x2="0.4077"
y2="403.9619"
gradientTransform="matrix(1 0 0 -1 123.1533 547.5)"><stop
offset="0"
style="stop-color:#D9D9D9"
id="stop196" /><stop
offset="1"
style="stop-color:#F7F7F7"
id="stop197" /><a:midPointStop
offset="0"
style="stop-color:#D9D9D9"
id="midPointStop198" /><a:midPointStop
offset="0.5"
style="stop-color:#D9D9D9"
id="midPointStop199" /><a:midPointStop
offset="1"
style="stop-color:#F7F7F7"
id="midPointStop200" /></linearGradient><linearGradient
id="XMLID_9_"
gradientUnits="userSpaceOnUse"
x1="68.9434"
y1="503.6328"
x2="68.9434"
y2="490.7197"
gradientTransform="matrix(1 0 0 -1 123.1533 547.5)"><stop
offset="0"
style="stop-color:#FFFFFF"
id="stop225" /><stop
offset="1"
style="stop-color:#999999"
id="stop226" /><a:midPointStop
offset="0"
style="stop-color:#FFFFFF"
id="midPointStop227" /><a:midPointStop
offset="0.5"
style="stop-color:#FFFFFF"
id="midPointStop228" /><a:midPointStop
offset="1"
style="stop-color:#999999"
id="midPointStop229" /></linearGradient><linearGradient
xlink:href="#XMLID_6_"
id="linearGradient863"
x1="125.856400"
y1="56.8018074"
x2="125.856400"
y2="245.862793"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-2.687254e-7,1.941693e-6)"
spreadMethod="pad" /></defs><sodipodi:namedview
id="base" /><g
id="Layer_2"
transform="translate(-5.762054,51.85851)"
style="font-size:12;stroke:#000000;"><path
opacity="0.2"
fill="none"
stroke="none"
d="M256,256H0V0h256V256z"
id="path156" /></g><path
fill="#FFFFFF"
stroke="none"
d="M218.866,138.077H28.255c-1.847,0-3.471-0.368-4.499-0.933l-1.134,2.851 c0,1.524,2.522,2.764,5.633,2.764h190.611c3.111,0,5.634-1.237,5.634-2.764l-1.089-2.871 C222.388,137.699,220.739,138.077,218.866,138.077z"
id="path202"
transform="translate(-5.762054,51.85851)"
style="font-size:12;fill:#ffffff;" /><path
opacity="0.3"
fill="#FFFFFF"
stroke="none"
d="M224.5,139.995L186.942,40.95c0-1.527-2.522-2.765-5.635-2.765 c3.111,0,5.635,1.894,5.635,4.23l24.871,100.343h7.053C221.979,142.759,224.5,141.521,224.5,139.995z"
id="path220"
transform="translate(-5.762054,51.85851)"
style="font-size:12;opacity:0.3;fill:#ffffff;" /><path
opacity="0.3"
fill="#FFFFFF"
stroke="none"
d="M67.693,38.186c-3.112,0-5.635,1.238-5.635,2.765l-39.436,99.045 c0,1.525,2.522,2.764,5.633,2.764h7.687L62.058,42.416C62.058,40.079,64.581,38.186,67.693,38.186z"
id="path221"
transform="translate(-5.762054,51.85851)"
style="font-size:12;opacity:0.3;fill:#ffffff;" /><path
opacity="0.3"
fill="#FFFFFF"
stroke="none"
d="M67.693,38.186c-3.112,0-5.635,1.238-5.635,2.765l-39.436,99.045 c0,1.525,2.522,2.764,5.633,2.764h2.083l31.72-101.065C62.058,39.756,64.581,38.186,67.693,38.186z"
id="path222"
transform="translate(-5.762054,51.85851)"
style="font-size:12;opacity:0.3;fill:#ffffff;" /><path
opacity="0.3"
fill="#FFFFFF"
stroke="none"
d="M224.5,139.995L186.942,40.95c0-1.527-2.522-2.765-5.635-2.765 c3.111,0,5.635,1.571,5.635,3.508l30.209,101.065h1.715C221.979,142.759,224.5,141.521,224.5,139.995z"
id="path223"
transform="translate(-5.762054,51.85851)"
style="font-size:12;opacity:0.3;fill:#ffffff;" /><path
opacity="0.4"
fill="url(#XMLID_9_)"
stroke="none"
d="M186.942,40.95l10.308,27.186c0.001,0,0.001,0,0.001,0L186.942,40.95z "
id="path230"
transform="translate(-5.762054,51.85851)"
style="font-size:12;opacity:0.4;fill:url(#XMLID_9_);" /><path
opacity="0.5"
fill="#FFFFFF"
stroke="none"
d="M115.857,82.485h86.835l-15.75-41.535c0-1.527-2.522-2.765-5.635-2.765 H67.693c-3.112,0-5.635,1.238-5.635,2.765l-28.62,71.879L115.857,82.485z"
id="path231"
transform="translate(-5.762054,51.85851)"
style="font-size:12;opacity:0.5;fill:#ffffff;" /><g
id="Layer_1"
stroke="#000000"
transform="matrix(1.003216,0.000000,0.000000,0.958200,-2.469463,5.762037)"><path
opacity="0.2"
fill="none"
stroke="none"
d="M256,256H0V0h256V256z"
id="path155" /><radialGradient
id="XMLID_1_"
cx="116.8169"
cy="47.0796"
r="182.3371"
fx="116.8169"
fy="47.0796"
gradientUnits="userSpaceOnUse"><stop
offset="0"
style="stop-color:#FFFFFF"
id="stop157" /><stop
offset="0.5955"
style="stop-color:#99CCFF"
id="stop158" /><stop
offset="0.9944"
style="stop-color:#3399FF"
id="stop159" /><a:midPointStop
offset="0"
style="stop-color:#FFFFFF"
id="midPointStop160" /><a:midPointStop
offset="0.5"
style="stop-color:#FFFFFF"
id="midPointStop161" /><a:midPointStop
offset="0.5955"
style="stop-color:#99CCFF"
id="midPointStop162" /><a:midPointStop
offset="0.5"
style="stop-color:#99CCFF"
id="midPointStop163" /><a:midPointStop
offset="0.9944"
style="stop-color:#3399FF"
id="midPointStop164" /></radialGradient><path
fill="url(#XMLID_1_)"
stroke="none"
d="M126.148,237.98c61.959,0,112.223-50.473,112.223-112.395 c0-61.528-50.262-112.01-112.223-112.01c-61.52,0.003-112.213,50.482-112.213,112.01C13.936,187.508,64.629,237.98,126.148,237.98 z"
id="path165" /><path
opacity="0.2"
stroke="none"
d="M212.02,53.625c16.439,19.511,26.352,44.645,26.352,71.961 c0,61.922-50.264,112.395-112.223,112.395c-27.129,0-52.15-9.819-71.649-26.104c20.659,24.496,51.51,40.104,85.714,40.104 c61.959,0,112.223-50.473,112.223-112.395C252.436,105.177,236.713,74.227,212.02,53.625z"
id="path166" /><path
fill="#003366"
stroke="none"
d="M126.148,7C60.647,7.003,7.359,60.201,7.359,125.586c0,65.6,53.288,118.971,118.789,118.971 c65.506,0,118.799-53.371,118.799-118.971C244.947,60.197,191.654,7,126.148,7z M126.148,237.98 c-61.52,0-112.213-50.473-112.213-112.395c0-61.528,50.693-112.007,112.213-112.01c61.961,0,112.223,50.482,112.223,112.01 C238.371,187.508,188.107,237.98,126.148,237.98z"
id="path167" /><linearGradient
id="XMLID_2_"
gradientUnits="userSpaceOnUse"
x1="125.856400"
y1="56.801800"
x2="125.856400"
y2="245.862793"
xlink:href="#linearGradient860"><a:midPointStop
offset="0"
style="stop-color:#0066CC"
id="midPointStop171" /><a:midPointStop
offset="0.5"
style="stop-color:#0066CC"
id="midPointStop172" /><a:midPointStop
offset="0.9944"
style="stop-color:#003366"
id="midPointStop173" /></linearGradient><path
fill="url(#XMLID_2_)"
stroke="none"
d="M88.875,25.919c-0.555,0-1.162,0.229-1.785,0.581 C88.55,26.071,89.237,25.919,88.875,25.919z M125.005,32.969l0.364-5.285l-5.579,0.351l0.738,4.935H125.005z M62.056,124.314 c-1.121-1.06-0.371-5.646-0.371-5.646s-16.764-8.811-35.015-14.105c-2.251-0.653-1.114-5.287,1.112-7.045l-0.743-4.953 c-0.369-2.459,3.728-14.449,7.825-15.502c4.099-1.064-0.372,7.048-0.372,7.048l-4.097,2.469c0,0,4.839,5.638,5.962,5.638 c1.114,0,2.977-2.822,2.977-2.822l-5.213-3.516l4.844-2.123l0.303-1.859l0.813-0.257l8.016-12.143 c5.541-2.267,12.349-5.076,13.216-5.491c1.49-0.701,11.919-6.69,13.781-8.104c1.867-1.416,5.957-1.057,7.443-1.057 c1.497,0,3.731-0.708,4.101-4.593c0.372-3.878,1.865-4.584,2.984-3.523c1.116,1.053-1.122,2.818,1.488,3.523 c2.607,0.709,4.837,2.472,6.704,0.709c1.362-1.293-0.46-2.763-1.688-3.874h20.681l2.24-6.358l-4.842-0.704l-17.886-1.762v-2.117 l-1.426,0.241c1.937-10.639,13.438-8.886,4.781-15.045c-0.526-0.378-8.101,11.936-10.028,11.696 c-3.492-0.46-8.004-0.496-8.968,0.638c-1.269,1.499,2.857-5.158,6.412-7.177c-5.672,1.672-23.594,7.803-42.542,27.986 c-18.112,19.294-25.334,45.287-25.334,46.197c0,1.761,3.728,2.469,4.101,4.587c0.373,2.106-7.074,9.167-7.074,12.693 c0,1.625-1.758,23.361,4.463,41.267c7.269,20.896,22.783,38.348,24.587,39.496l3.721-1.77c0,0-8.566-15.16-8.938-16.576 c-0.369-1.404,9.684-21.861,14.529-21.15c4.839,0.693,3.725,2.115,6.705,0.35c2.978-1.76,4.84-16.229,8.192-17.629 c3.355-1.418,7.077-3.178,6.711-6.703c-0.379-3.535-13.041-9.877-14.159-10.934H62.056z M142.884,20.629l-10.056-3.53l1.863,5.648 L142.884,20.629z M105.261,33.678c1.121,0,23.469-14.806,21.232-15.164c-2.23-0.35-2.606,0-8.573-0.705 c-5.955-0.707-12.294,8.465-13.778,9.877C102.656,29.101,103.157,33.678,105.261,33.678z M207.816,140.012l2.885-3.742 l-2.885-1.016l-2.163,2.721l-2.521,3.73l2.162,1.023L207.816,140.012z M220.43,152.256l-0.722-5.441h-4.677l-0.363,4.074 l-4.333-0.672l-1.075-4.424l-2.161-1.357l-2.53,3.055l-2.516-0.676l-0.726,2.371l2.887,0.691v22.088l10.202,2.455 c-0.234,0.408-0.411,0.752-0.471,0.938c-0.727,2.383,2.881,3.41,5.399,2.383c0.942-0.375,3.908-3.375,5.771-7.809 c2.598-6.178,4.866-14.334,5.322-17.217l1.169-2.496l-7.212,2.715l-3.967-0.674L220.43,152.256z M235.574,111.124l-1.882-3.645 c-2.229-12.572-7.343-28.67-18.3-45.3c-16.493-25.001-62.38-39.422-62.38-39.422l-2.518,3.052l-1.445-2.372l-3.607-1.365v3.059 l3.25,2.725l-2.164,1.018l-8.294,0.676l-18.746,10.201l1.797,8.155l-2.166,0.686l-1.072,1.695l6.126,9.172l0.361,3.065 l-5.046,1.018v6.114l-2.882,0.679l0.363,4.761L92.448,92.096l0.723,9.507c1.798,2.383,15.865,16.662,15.865,16.662 s16.218,0.671,19.826-1.361c3.605-2.039,1.08,2.036,2.164,3.057c1.08,1.027,1.441,8.156,2.52,8.839c1.08,0.678,0,4.753,1.443,6.12 c1.441,1.35,1.441,17.676,1.441,17.676s8.653,14.607,8.653,18.352c0,3.736-0.361,3.396,6.492,3.059 c6.85-0.34,8.289-3.059,9.728-4.074c1.448-1.023,1.448-3.404,2.892-5.445c1.445-2.043,3.959-9.855,7.21-12.57 c3.241-2.727,11.895-4.768,12.612-9.52c0.721-4.76,3.966-8.502,3.966-8.502l15.587-16.487l-0.438,2.217l-0.363,8.488l4.688-1.695 l-0.357-9.183l-1.686-1.779l0.24-0.259c0,0-1.085-2.036-2.521-2.036c-1.442,0-10.101,2.036-11.537,1.699 c-1.445-0.342-7.578-16.658-8.658-17.331c-1.082-0.681-7.928-11.899-7.928-11.899s15.86,19.036,18.384,26.509 c1.464,4.354,6.966,0.302,11.443-4.243l1.184,2.888l2.88-0.687l-0.361-3.397h3.243v5.099l-1.08,2.72l-0.371,4.415l2.889,2.726 l1.446-2.376l4.677-4.423l5.413-2.721l1.443,2.721l0.723,3.741l-1.448,4.076l-2.88,2.379l-1.443,6.12v3.051l-3.24-2.035 l-0.361-6.455l-4.686,0.344l-2.161,5.77l3.244,4.769l7.568,1.018l6.133-5.786l0.718-11.206l2.726-3.601 c1.777,4.566,3.046,9.345,3.046,13.795c0,4.88,2.23-3.381,0.332-18.264l1.106-1.453V111.124z M144.722,76.456l-19.466-0.69 l8.285-6.793h4.33l6.85,4.754v2.728L144.722,76.456z M168.521,74.078v3.059h-8.291l0.72,2.042l-5.051,0.684l-0.358,1.693 l-3.604-0.674l-6.492-1.368l1.084-1.694l1.083-2.048l3.603-3.734l1.445,2.721l5.41-0.342l2.881-3.061l11.172,2.04l-3.601,0.686 V74.078z M169.235,69.654l-4.321,0.679l-0.72-3.063l5.4-0.677l0.726-3.057l3.973,4.084l-5.058,2.029V69.654z M190.149,175.355 l-2.526,2.039l0.359,5.105h3.246v-4.412l2.889-3.748v-7.814l-1.805-0.35l-2.159,9.18H190.149z M166,165.17 c0,0-2.525,0.664,0.355,1.691c2.88,1.025,14.42-16.645,14.42-16.645l-9.735,6.109l-5.044,8.844H166z M146.374,230.313 l-2.156-2.055l-4.328-0.689l-0.718,2.057l-5.766-0.678l-0.362-2.738h-4.324l-4.685,2.738h-8.286l-0.719-2.057l-13.33-1.375 l-2.166,2.053l-5.401-1.359l-0.721-4.801l-2.522-0.35l-2.883,5.15l-9.726-0.346c1.737,0.824,16.267,9.488,38.545,11.301 c29.547,2.389,43.601-4.793,43.601-4.793l-1.082-1.031l-12.972-1.023V230.313z"
id="path174" /><path
opacity="0.5"
fill="#FFFFFF"
stroke="none"
d="M125.77,103.102c38.438,0,71.876-13.245,89.079-32.765 c-17.323-33.064-50.796-55.63-89.243-55.63c-38.111,0.002-71.629,22.492-89.064,55.463 C53.701,89.782,87.222,103.102,125.77,103.102z"
id="path175" /></g></svg>
SVG;
default: return <<<SVG
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="32"
height="32"
viewBox="0 0 128 128"
id="svg_file"
version="1.1"
inkscape:version="0.47 r22583"
sodipodi:docname="New document 1">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient3608">
<stop
style="stop-color:#cccccc;stop-opacity:1"
offset="0"
id="stop3610" />
<stop
id="stop3616"
offset="0.22007781"
style="stop-color:#e6e6e6;stop-opacity:1" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0.46932641"
id="stop3618" />
<stop
style="stop-color:#e6e6e6;stop-opacity:1"
offset="1"
id="stop3612" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient3600">
<stop
style="stop-color:#e6e6e6;stop-opacity:1;"
offset="0"
id="stop3602" />
<stop
style="stop-color:#f9f9f9;stop-opacity:1"
offset="1"
id="stop3604" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3600"
id="linearGradient3606"
x1="105"
y1="123"
x2="-80"
y2="-112"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2,922.36218)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3608"
id="linearGradient3614"
x1="93"
y1="944.36218"
x2="80"
y2="957.36218"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(2,-2)" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6568542"
inkscape:cx="72.982017"
inkscape:cy="67.342847"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:window-width="1280"
inkscape:window-height="968"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2816"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-924.36218)">
<path
style="fill:url(#linearGradient3606);fill-opacity:1;fill-rule:evenodd;stroke:#808080;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 82,930.36218 -60,0 0,115.00002 85,0 0,-90.00002 -25,-25 z"
id="path2826"
sodipodi:nodetypes="cccccc" />
<path
style="fill:url(#linearGradient3614);fill-opacity:1;fill-rule:evenodd;stroke:#808080;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 107,955.36218 -25,-25 c 1.863343,8.33333 2.132867,16.66667 0,25 9.905529,-1.93501 17.12777,-0.56751 25,0 z"
id="rect2822"
sodipodi:nodetypes="cccc" />
</g>
</svg>
SVG;
}
}// END svgCode()
// END UGLY CODE
@krowe
Copy link
Author

krowe commented Nov 26, 2018

Updated to add Windows support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment