-
-
- = _t('conf.display.theme.deprecated') ?>:
-
- = sprintf('%s — %s %s', $theme['name'], _t('gen.short.by_author'), $theme['author']) ?>
-
-
-
- = _t('conf.display.theme.deprecated.description') ?>
-
- = $theme['description'] ?>
-
-
-
✔ = _t('conf.display.darkMode') ?>
+ $isCurrent = FreshRSS_Context::userConf()->theme === $theme['id'];
+ if ($isCurrent) {
+ $themeAvailable = true;
+ }
+ ?>
+
+
+
 ?>)
+
+
+
+
+ = _t('conf.display.theme.deprecated') ?>:
+ = sprintf('%s — %s %s', $theme['name'], _t('gen.short.by_author'), $theme['author']) ?>
-
-
-
-
-
-
+
+
+ = _t('conf.display.theme.deprecated.description') ?>
+
+ = $theme['description'] ?>
-
-
= _t('conf.display.theme_not_available', FreshRSS_Context::userConf()->theme)?>
-
-
-
-
-
+
+ ✔ = _t('conf.display.darkMode') ?>
+
+
+
+
+
+
+
+
+
+
+
= _t('conf.display.theme_not_available', FreshRSS_Context::userConf()->theme)?>
+
+
+
+