2014-12-24 16:47:24 +01:00
< div class = " page-header " >
2015-01-13 22:03:24 +01:00
< h2 >< ? = $title ?> </h2>
< nav >
< ul >
< li >< a href = " ?action=config " >< ? = t ( 'general' ) ?> </a></li>
< li class = " active " >< a href = " ?action=services " >< ? = t ( 'external services' ) ?> </a></li>
< li >< a href = " ?action=api " >< ? = t ( 'api' ) ?> </a></li>
< li >< a href = " ?action=database " >< ? = t ( 'database' ) ?> </a></li>
< li >< a href = " ?action=help " >< ? = t ( 'help' ) ?> </a></li>
< li >< a href = " ?action=about " >< ? = t ( 'about' ) ?> </a></li>
</ ul >
</ nav >
2014-12-24 16:47:24 +01:00
</ div >
< section >
2014-12-24 19:50:20 +01:00
2015-01-29 03:57:34 +01:00
< form method = " post " action = " ?action=services " autocomplete = " off " id = " config-form " >
2014-12-24 16:47:24 +01:00
2016-08-25 03:17:58 +02:00
< ? = Miniflux\Helper\form_hidden ( 'csrf' , $values ) ?>
2015-01-29 03:57:34 +01:00
< h3 >< ? = t ( 'Pinboard' ) ?> </h3>
< div class = " options " >
2016-08-25 03:17:58 +02:00
< ? = Miniflux\Helper\form_checkbox ( 'pinboard_enabled' , t ( 'Send bookmarks to Pinboard' ), 1 , isset ( $values [ 'pinboard_enabled' ]) && $values [ 'pinboard_enabled' ] == 1 ) ?> <br />
2014-12-24 16:47:24 +01:00
2016-08-25 03:17:58 +02:00
< ? = Miniflux\Helper\form_label ( t ( 'Pinboard API token' ), 'pinboard_token' ) ?>
< ? = Miniflux\Helper\form_text ( 'pinboard_token' , $values , $errors ) ?> <br/>
2014-12-24 16:47:24 +01:00
2016-08-25 03:17:58 +02:00
< ? = Miniflux\Helper\form_label ( t ( 'Pinboard tags' ), 'pinboard_tags' ) ?>
< ? = Miniflux\Helper\form_text ( 'pinboard_tags' , $values , $errors ) ?>
2015-01-29 03:57:34 +01:00
</ div >
2014-12-24 19:50:20 +01:00
< h3 >< ? = t ( 'Instapaper' ) ?> </h3>
2015-01-29 03:57:34 +01:00
< div class = " options " >
2016-08-25 03:17:58 +02:00
< ? = Miniflux\Helper\form_checkbox ( 'instapaper_enabled' , t ( 'Send bookmarks to Instapaper' ), 1 , isset ( $values [ 'instapaper_enabled' ]) && $values [ 'instapaper_enabled' ] == 1 ) ?> <br />
2014-12-24 19:50:20 +01:00
2016-08-25 03:17:58 +02:00
< ? = Miniflux\Helper\form_label ( t ( 'Instapaper username' ), 'instapaper_username' ) ?>
< ? = Miniflux\Helper\form_text ( 'instapaper_username' , $values , $errors ) ?> <br/>
2014-12-24 16:47:24 +01:00
2016-08-25 03:17:58 +02:00
< ? = Miniflux\Helper\form_label ( t ( 'Instapaper password' ), 'instapaper_password' ) ?>
< ? = Miniflux\Helper\form_password ( 'instapaper_password' , $values , $errors ) ?> <br/>
2015-01-29 03:57:34 +01:00
</ div >
2014-12-24 16:47:24 +01:00
< div class = " form-actions " >
< input type = " submit " value = " <?= t('Save') ?> " class = " btn btn-blue " />
</ div >
</ form >
2016-08-25 03:17:58 +02:00
</ section >