diff options
| author | 2013-11-24 20:42:55 +0100 | |
|---|---|---|
| committer | 2013-11-24 20:42:55 +0100 | |
| commit | d85e6c5b83a45ac2084ac5bca75e6b8a069e07a0 (patch) | |
| tree | b4ce91263d8529abf1973c829fa814e6d3587783 /app/layout/aside_flux.phtml | |
| parent | 20acba36a20a61619978f8f75d236eee2676fd30 (diff) | |
Refactorise icon() dans RSSThemes::icon
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/284
Diffstat (limited to 'app/layout/aside_flux.phtml')
| -rw-r--r-- | app/layout/aside_flux.phtml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/layout/aside_flux.phtml b/app/layout/aside_flux.phtml index 42dc896aa..918a44e01 100644 --- a/app/layout/aside_flux.phtml +++ b/app/layout/aside_flux.phtml @@ -1,12 +1,12 @@ <div class="aside aside_flux" id="aside_flux"> - <a class="toggle_aside" href="#close"><?php echo icon('close'); ?></a> + <a class="toggle_aside" href="#close"><?php echo RSSThemes::icon('close'); ?></a> <ul class="categories"> <?php if (!login_is_conf ($this->conf) || is_logged ()) { ?> <li> <div class="stick"> <a class="btn btn-important" href="<?php echo _url ('configure', 'feed'); ?>"><?php echo Translate::t ('subscription_management'); ?></a> - <a class="btn btn-important" href="<?php echo _url ('configure', 'categorize'); ?>" title="<?php echo Translate::t ('categories_management'); ?>"><?php echo icon('category-white'); ?></a> + <a class="btn btn-important" href="<?php echo _url ('configure', 'categorize'); ?>" title="<?php echo Translate::t ('categories_management'); ?>"><?php echo RSSThemes::icon('category-white'); ?></a> </div> </li> <?php } elseif (login_is_conf ($this->conf)) { ?> @@ -16,7 +16,7 @@ <li> <div class="category all"> <a data-unread="<?php echo $this->nb_not_read; ?>" class="btn<?php echo $this->get_c == 'all' ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index'); ?>"> - <?php echo icon('all'); ?> + <?php echo RSSThemes::icon('all'); ?> <?php echo Translate::t ('all_feeds'); ?> </a> </div> @@ -25,7 +25,7 @@ <li> <div class="category favorites"> <a data-unread="<?php echo $this->nb_favorites['unread']; ?>" class="btn<?php echo $this->get_c == 'favoris' ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index', 'get', 'favoris'); ?>"> - <?php echo icon('bookmark'); ?> + <?php echo RSSThemes::icon('bookmark'); ?> <?php echo Translate::t ('favorite_feeds', $this->nb_favorites['all']); ?> </a> </div> @@ -38,7 +38,7 @@ <?php $c_active = false; if ($this->get_c == $cat->id ()) { $c_active = true; } ?> <div class="category stick<?php echo $c_active ? ' active' : ''; ?>"> <a data-unread="<?php echo $cat->nbNotRead (); ?>" class="btn<?php echo $c_active ? ' active' : ''; ?>" href="<?php echo _url ('index', 'index', 'get', 'c_' . $cat->id ()); ?>"><?php echo $cat->name (); ?></a> - <a class="btn dropdown-toggle" href="#"><?php echo icon($c_active ? 'up' : 'down'); ?></a> + <a class="btn dropdown-toggle" href="#"><?php echo RSSThemes::icon($c_active ? 'up' : 'down'); ?></a> </div> <ul class="feeds<?php echo $c_active ? ' active' : ''; ?>"> @@ -49,7 +49,7 @@ <li id="f_<?php echo $feed_id; ?>" class="item<?php echo $f_active ? ' active' : ''; ?><?php echo $feed->inError () ? ' error' : ''; ?><?php echo $nbEntries == 0 ? ' empty' : ''; ?>"> <div class="dropdown"> <div class="dropdown-target"></div> - <a class="dropdown-toggle" data-fweb="<?php echo $feed->website (); ?>"><?php echo icon('configure'); ?></a> + <a class="dropdown-toggle" data-fweb="<?php echo $feed->website (); ?>"><?php echo RSSThemes::icon('configure'); ?></a> <?php /* feed_config_template */ ?> </div> <img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="✇" /> |
