freshrss-kagi-summarizer/configure.phtml

19 lines
745 B
PHTML
Raw Normal View History

2023-09-25 11:49:34 -05:00
<?php
$api_key = FreshRSS_Context::$user_conf->kagi_api_key;
?>
<form action="<?php echo _url('extension', 'configure', 'e', urlencode($this->getName())); ?>" method="post">
<input type="hidden" name="_csrf" value="<?php echo FreshRSS_Auth::csrfToken(); ?>" />
<div class="form-group">
<label class="group-name" for="api_key"><?php echo _t('ext.kagiSummarizer.configure.api_key'); ?></label>
<div class="group-controls">
2023-09-25 11:58:35 -05:00
<input type="text" name="api_key" id="api_key" value="<?php echo $api_key; ?>">
2023-09-25 11:49:34 -05:00
</div>
</div>
<div class="form-group form-actions">
<div class="group-controls">
<button type="submit" class="btn btn-important"><?php echo _t('gen.action.submit'); ?></button>
</div>
</div>
</form>