2014-11-08 02:37:12 +01:00
< div class = " page-header " >
2016-10-02 04:24:33 +02:00
< h2 >< ? php echo $title ?> </h2>
2015-01-13 22:03:24 +01:00
< nav >
< ul >
2016-10-02 04:24:33 +02:00
< li >< a href = " ?action=config " >< ? php echo t ( 'general' ) ?> </a></li>
2016-12-26 15:44:53 +01:00
< li >< a href = " ?action=profile " >< ? php echo t ( 'profile' ) ?> </a></li>
< ? php if ( Miniflux\Helper\is_admin ()) : ?>
< li >< a href = " ?action=users " >< ? php echo t ( 'users' ) ?> </a></li>
< ? php endif ?>
2016-10-02 04:24:33 +02:00
< li >< a href = " ?action=services " >< ? php echo t ( 'external services' ) ?> </a></li>
< li >< a href = " ?action=api " >< ? php echo t ( 'api' ) ?> </a></li>
< li >< a href = " ?action=help " >< ? php echo t ( 'help' ) ?> </a></li>
< li class = " active " >< a href = " ?action=about " >< ? php echo t ( 'about' ) ?> </a></li>
2015-01-13 22:03:24 +01:00
</ ul >
</ nav >
2014-11-08 02:37:12 +01:00
</ div >
< section >
2015-01-17 23:15:47 +01:00
< div class = " panel panel-default " >
2016-10-02 04:24:33 +02:00
< h3 >< ? php echo t ( 'Bookmarks' ) ?> </h3>
2014-11-08 02:37:12 +01:00
< ul >
< li >
2016-12-26 15:44:53 +01:00
< a href = " <?php echo Miniflux \ Helper \ get_current_base_url(), '?action=bookmark-feed&token=', urlencode( $user['feed_token'] ) ?> " target = " _blank " >< ? php echo t ( 'Bookmark RSS Feed' ) ?> </a>
2014-11-08 02:37:12 +01:00
</ li >
</ ul >
</ div >
2015-01-17 23:15:47 +01:00
< div class = " panel panel-default " >
2016-10-02 04:24:33 +02:00
< h3 >< ? php echo t ( 'Bookmarklet' ) ?> </h3>
2016-12-26 15:44:53 +01:00
< a class = " bookmarklet " href = " javascript:location.href='<?php echo Miniflux \ Helper \ get_current_base_url() ?>?action=subscribe&token=<?php echo urlencode( $user['bookmarklet_token'] ) ?>&url='+encodeURIComponent(location.href) " >< ? php echo t ( 'Subscribe with Miniflux' ) ?> </a> (<?php echo t('Drag and drop this link to your bookmarks') ?>)
< input type = " text " class = " auto-select " readonly = " readonly " value = " javascript:location.href='<?php echo Miniflux \ Helper \ get_current_base_url() ?>?action=subscribe&token=<?php echo urlencode( $user['bookmarklet_token'] ) ?>&url='+encodeURIComponent(location.href) " />
</ div >
< ? php if ( ENABLE_CRONJOB_HTTP_ACCESS ) : ?>
< div class = " panel panel-default " >
< h3 >< ? php echo t ( 'Cronjob URL' ) ?> </h3>
< input type = " text " class = " auto-select " readonly = " readonly " value = " <?php echo Miniflux \ Helper \ get_current_base_url(), 'cronjob.php?token=', urlencode( $user['cronjob_token'] ) ?> " >
2015-01-02 18:43:17 +01:00
</ div >
2016-12-26 15:44:53 +01:00
< ? php endif ?>
2015-01-17 23:15:47 +01:00
< div class = " panel panel-default " >
2016-10-02 04:24:33 +02:00
< h3 >< ? php echo t ( 'About' ) ?> </h3>
2014-11-08 02:37:12 +01:00
< ul >
2016-10-02 04:24:33 +02:00
< li >< ? php echo t ( 'Miniflux version:' ) ?> <strong><?php echo APP_VERSION ?></strong></li>
< li >< ? php echo t ( 'Official website:' ) ?> <a href="https://miniflux.net" rel="noreferrer" target="_blank">https://miniflux.net</a></li>
2014-11-08 02:37:12 +01:00
</ ul >
</ div >
2015-12-07 23:57:57 +01:00
</ section >