freshrss-kagi-summarizer/configure.phtml

20 lines
836 B
PHTML
Raw Normal View History

2023-09-25 11:49:34 -05:00
<?php
$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(); ?>" />
<p><?php echo _t('ext.kagiSummarizer.configure.kagi_token_help'); ?></p>
2023-09-25 11:49:34 -05:00
<div class="form-group">
<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">
<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>