aboutsummaryrefslogtreecommitdiff
path: root/app/views/entry/bookmark.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-31 14:45:37 +0100
commita97bbd9bd54c5fa56d54b3c214cf4e8af96af8b2 (patch)
tree6e83890bc1b3814a12c3b7bedc0d5944f30f507b /app/views/entry/bookmark.phtml
parent42fd539a1b14f883077048a35864b4294b6efe94 (diff)
parente91b72b63cd11ae3c4f59e48439e93955242c673 (diff)
Merge branch 'dev'
Conflicts: CHANGELOG README.fr.md README.md app/Controllers/feedController.php app/Controllers/indexController.php app/i18n/en.php app/i18n/fr.php app/views/helpers/view/normal_view.phtml app/views/stats/index.phtml app/views/stats/repartition.phtml constants.php p/scripts/main.js
Diffstat (limited to 'app/views/entry/bookmark.phtml')
-rwxr-xr-xapp/views/entry/bookmark.phtml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/entry/bookmark.phtml b/app/views/entry/bookmark.phtml
index c1fc32b7f..c346d2c4c 100755
--- a/app/views/entry/bookmark.phtml
+++ b/app/views/entry/bookmark.phtml
@@ -1,16 +1,16 @@
<?php
header('Content-Type: application/json; charset=UTF-8');
-if (Minz_Request::param ('is_favorite', true)) {
- Minz_Request::_param ('is_favorite', 0);
+if (Minz_Request::param('is_favorite', true)) {
+ Minz_Request::_param('is_favorite', 0);
} else {
- Minz_Request::_param ('is_favorite', 1);
+ Minz_Request::_param('is_favorite', 1);
}
-$url = Minz_Url::display (array (
- 'c' => Minz_Request::controllerName (),
- 'a' => Minz_Request::actionName (),
- 'params' => Minz_Request::params (),
+$url = Minz_Url::display(array(
+ 'c' => Minz_Request::controllerName(),
+ 'a' => Minz_Request::actionName(),
+ 'params' => Minz_Request::params(),
));
-echo json_encode (array ('url' => str_ireplace ('&amp;', '&', $url), 'icon' => FreshRSS_Themes::icon(Minz_Request::param ('is_favorite') ? 'non-starred' : 'starred')));
+echo json_encode(array('url' => str_ireplace('&amp;', '&', $url), 'icon' => _i(Minz_Request::param('is_favorite') ? 'non-starred' : 'starred')));