diff options
| author | 2014-03-30 17:49:39 +0200 | |
|---|---|---|
| committer | 2014-03-30 17:52:42 +0200 | |
| commit | 19517baf13dba7ebd7d41dbbacceaea3ed75af8e (patch) | |
| tree | 3d4e9cdba2d04e125a59cee51fcb8987d0e3171e /app/layout/aside_feed.phtml | |
| parent | 27b678203b2a9034312fcb5a0c3f923caa26901f (diff) | |
Add a bookmark to easily subscribe to websites
- FeedController->addAction (GET) shows a confirmation page
- If already subscribe, redirect to Configure->feedAction
- Add a bookmark in aside_feed
See #425 #426 and #464
Diffstat (limited to 'app/layout/aside_feed.phtml')
| -rw-r--r-- | app/layout/aside_feed.phtml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index 899cafe02..7a5b2ce5e 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -43,6 +43,12 @@ </div> </form></li> + <li class="item"> + <a href="javascript:(function(){var%20url%20=%20location.href;window.open('<?php echo Minz_Url::display(array('c' => 'feed', 'a' => 'add'), 'html', true); ?>&url_rss='+encodeURIComponent(url), '_blank');})();"> + <?php echo Minz_Translate::t('bookmark'); ?> + </a> + </li> + <li class="item<?php echo Minz_Request::actionName () == 'importExport' ? ' active' : ''; ?>"> <a href="<?php echo _url ('importExport', 'index'); ?>"><?php echo Minz_Translate::t ('import_export'); ?></a> </li> |
