freshrss-kagi-summarizer/configure.phtml

19 lines
775 B
PHTML
Raw Normal View History

2023-09-25 11:49:34 -05:00
<?php
2023-09-25 12:00:39 -05:00
$kagi_api_key = FreshRSS_Context::$user_conf->kagi_api_key;
2023-09-25 11:49:34 -05:00
?>
<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">
2023-09-25 12:00:39 -05:00
<label class="group-name" for="kagi_api_key"><?php echo _t('ext.kagiSummarizer.configure.kagi_api_key'); ?></label>
2023-09-25 11:49:34 -05:00
<div class="group-controls">
2023-09-25 12:00:39 -05:00
<input type="text" name="kagi_api_key" id="kagi_api_key" value="<?php echo $kagi_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>