diff --git a/extension.php b/extension.php
index 3179e24..485df57 100644
--- a/extension.php
+++ b/extension.php
@@ -20,12 +20,14 @@ class KagiSummarizerExtension extends Minz_Extension {
}
FreshRSS_Context::$user_conf->kagi_token = $kagi_token;
FreshRSS_Context::$user_conf->kagi_language = Minz_Request::param('kagi_language', '');
+ FreshRSS_Context::$user_conf->kagi_custom_css = Minz_Request::param('kagi_custom_css', '');
FreshRSS_Context::$user_conf->save();
}
}
public function addSummarizeButton(FreshRSS_Entry $entry): FreshRSS_Entry {
$this->registerTranslates();
+ $custom_css = FreshRSS_Context::$user_conf->kagi_custom_css;
$url_summary = Minz_Url::display(array(
'c' => 'kagiSummarizer',
'a' => 'summarize',
@@ -46,7 +48,7 @@ class KagiSummarizerExtension extends Minz_Extension {
. '
'
. _t('ext.kagiSummarizer.ui.key_moments_button') . ''
. '
'
- . '
'
+ . '