diff options
| author | 2013-11-23 23:47:20 +0100 | |
|---|---|---|
| committer | 2013-11-23 23:47:20 +0100 | |
| commit | 632423d97ca2ebd30b1214e03592035809217197 (patch) | |
| tree | 31ef0d123e199741bc5b3b08301e50134ec59671 /app | |
| parent | 29137c0b046bfcc610e6c8a152e558fa9c718da4 (diff) | |
Améliorations suite à icon()
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/284
Diffstat (limited to 'app')
| -rwxr-xr-x | app/views/entry/bookmark.phtml | 2 | ||||
| -rwxr-xr-x | app/views/entry/read.phtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/entry/bookmark.phtml b/app/views/entry/bookmark.phtml index 1ff1c220c..8ce39629b 100755 --- a/app/views/entry/bookmark.phtml +++ b/app/views/entry/bookmark.phtml @@ -12,4 +12,4 @@ $url = Url::display (array ( 'params' => Request::params (), )); -echo json_encode (array ('url' => str_ireplace ('&', '&', $url))); +echo json_encode (array ('url' => str_ireplace ('&', '&', $url), 'icon' => icon(Request::param ('is_favorite') ? 'non-starred' : 'starred'))); diff --git a/app/views/entry/read.phtml b/app/views/entry/read.phtml index 6d3313a89..224651e58 100755 --- a/app/views/entry/read.phtml +++ b/app/views/entry/read.phtml @@ -12,4 +12,4 @@ $url = Url::display (array ( 'params' => Request::params (), )); -echo json_encode (array ('url' => str_ireplace ('&', '&', $url))); +echo json_encode (array ('url' => str_ireplace ('&', '&', $url), 'icon' => icon(Request::param ('is_read') ? 'unread' : 'read'))); |
