diff --git a/index.php b/index.php index 8ec5f9e..0502400 100644 --- a/index.php +++ b/index.php @@ -192,44 +192,6 @@ if (isset($_GET['rss'])) { /** * SVG **/ -if (isset($_GET['icon'])) -{ -header('Content-type: image/svg+xml'); -function svg_base($color) - { - $svg = ''; - return $svg; - } - - $svg_twitter=svg_base('#3aaae1'); - $svg_youtube=svg_base('#a00000'); - $svg_statusnet=svg_base('#ff6a00'); - $svg_shaarli=svg_base('#008000'); - $svg_generic=svg_base('#000000'); - -$svg_type = ''; - - switch ($_GET['icon']) { - case "twitter": - $svg_type = $svg_twitter; - break; - case "microblog": - $svg_type = $svg_statusnet; - break; - case "youtube": - $svg_type = $svg_youtube; - break; - case "shaarli": - $svg_type = $svg_shaarli; - break; - case "generic": - $svg_type = $svg_generic; - break; - } - -die($svg_type); -} - if (isset($_GET['check'])) { header('Content-type: image/svg+xml'); @@ -980,7 +942,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY $autoblogs_display .= '
  • - +

    '.escape($autoblog->site_title).'