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