diff options
| author | 2017-06-10 17:14:46 +0200 | |
|---|---|---|
| committer | 2017-06-10 17:14:46 +0200 | |
| commit | 09bcd8d73fa5613d0325e9f54156fc8f50011a12 (patch) | |
| tree | fe4d5c1c8e97f045051808caaeb3c36ba61d88c2 /app/layout | |
| parent | cd0d5ce32ede7311da6f4aead7bc2fe2a983bf4b (diff) | |
| parent | 1eaea0e8c7d34271207dc0de74defdc5534b02b5 (diff) | |
Merge pull request #1568 from aledeg/bookmarklet-page
Add a subscription tools page
Diffstat (limited to 'app/layout')
| -rw-r--r-- | app/layout/aside_subscription.phtml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/layout/aside_subscription.phtml b/app/layout/aside_subscription.phtml index e14afe2a7..6d2a5ac8f 100644 --- a/app/layout/aside_subscription.phtml +++ b/app/layout/aside_subscription.phtml @@ -9,9 +9,7 @@ <a href="<?php echo _url('importExport', 'index'); ?>"><?php echo _t('sub.menu.import_export'); ?></a> </li> - <li class="item"> - <a class="bookmarkClick" href="javascript:(function(){var%20url%20=%20location.href;var%20otherWindow=window.open('about:blank','_blank');otherWindow.opener=null;otherWindow.location='<?php echo Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true); ?>&url_rss='+encodeURIComponent(url);})();"> - <?php echo _t('sub.menu.bookmark'); ?> - </a> + <li class="item<?php echo Minz_Request::controllerName() == 'bookmarklet' ? ' active' : ''; ?>"> + <a href="<?php echo _url('subscription', 'bookmarklet'); ?>"><?php echo _t('sub.menu.subscription_tools'); ?></a> </li> </ul> |
