summaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-24 20:42:55 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-24 20:42:55 +0100
commitd85e6c5b83a45ac2084ac5bca75e6b8a069e07a0 (patch)
treeb4ce91263d8529abf1973c829fa814e6d3587783 /lib/lib_rss.php
parent20acba36a20a61619978f8f75d236eee2676fd30 (diff)
Refactorise icon() dans RSSThemes::icon
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/284
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php30
1 files changed, 0 insertions, 30 deletions
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 '<i class="icon i_' . $name . '">' . $alts[$name] . '</i>';
-}