diff --git a/extension.php b/extension.php
index 3179e24..f7f98af 100644
--- a/extension.php
+++ b/extension.php
@@ -20,11 +20,13 @@ 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 {
+ $custom_css = FreshRSS_Context::$user_conf->kagi_custom_css;
$this->registerTranslates();
$url_summary = Minz_Url::display(array(
'c' => 'kagiSummarizer',
@@ -46,7 +48,8 @@ class KagiSummarizerExtension extends Minz_Extension {
. '
'
. _t('ext.kagiSummarizer.ui.key_moments_button') . ''
. '
'
- . '
'
+ . '