From d85e6c5b83a45ac2084ac5bca75e6b8a069e07a0 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 24 Nov 2013 20:42:55 +0100 Subject: Refactorise icon() dans RSSThemes::icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contribue à https://github.com/marienfressinaud/FreshRSS/issues/284 --- lib/lib_rss.php | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'lib/lib_rss.php') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 8e58e4048..3c03f4281 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -230,33 +230,3 @@ function lazyimg($content) { $content ); } - -function icon($name) { - static $alts = array( - 'add' => '✚', - 'all' => '☰', - 'bookmark' => '★', - 'category' => '☷', - 'category-white' => '☷', - 'close' => '❌', - 'configure' => '⚙', - 'down' => '▽', - 'favorite' => '★', - 'help' => 'ⓘ', - 'link' => '↗', - 'login' => '🔒', - 'logout' => '🔓', - 'next' => '⏩', - 'non-starred' => '☆', - 'prev' => '⏪', - 'read' => '☑', - 'unread' => '☐', - 'refresh' => '🔃', //↻ - 'search' => '🔍', - 'share' => '♺', - 'starred' => '★', - 'tag' => '⚐', - 'up' => '△', - ); - return '' . $alts[$name] . ''; -} -- cgit v1.2.3