A free, self-hostable news aggregator…
Fix ensure maximum number of feeds also with Dynamic OPML (#8832)
Alexandre Alapetite146d5f0d60d8
diff --git a/app/Models/Category.php b/app/Models/Category.phpindex 297dfe53f..8faec89d4 100644--- a/app/Models/Category.php+++ b/app/Models/Category.php@@ -222,6 +222,9 @@ class FreshRSS_Category extends Minz_Model {$importService->importOpml($opml, $dryRunCategory, true);if ($importService->lastStatus()) {$feedDAO = FreshRSS_Factory::createFeedDao();+ $limits = FreshRSS_Context::systemConf()->limits;+ $maxFeeds = (int)($limits['max_feeds'] ?? 0);+ $nbFeeds = $maxFeeds > 0 ? $feedDAO->count() : 0;/** @var array<string,FreshRSS_Feed> */$dryRunFeeds = [];@@ -245,8 +248,19 @@ class FreshRSS_Category extends Minz_Model {foreach ($dryRunCategory->feeds() as $dryRunFeed) {if (empty($existingFeeds[$dryRunFeed->url()])) {// The feed does not exist in the current category, so add that feed+ if ($maxFeeds > 0 && $nbFeeds >= $maxFeeds) {+ // Respect the per-user maximum number of feeds+ Minz_Log::warning(_t('feedback.sub.feed.over_max', $maxFeeds) .+ ' (dynamic OPML category ' . $this->id() . ')');+ $ok = false;+ break;+ }$dryRunFeed->_category($this);- $ok &= ($feedDAO->addFeedObject($dryRunFeed) !== false);+ if ($feedDAO->addFeedObject($dryRunFeed) === false) {+ $ok = false;+ } else {+ $nbFeeds++;+ }$existingFeeds[$dryRunFeed->url()] = $dryRunFeed;} else {$existingFeed = $existingFeeds[$dryRunFeed->url()];diff --git a/app/Models/CategoryDAO.php b/app/Models/CategoryDAO.phpindex 84a5b48fe..d9b5e6efb 100644--- a/app/Models/CategoryDAO.php+++ b/app/Models/CategoryDAO.php@@ -499,6 +499,8 @@ class FreshRSS_CategoryDAO extends Minz_ModelPdo {$feedDao::daoToFeeds($feedsDao, $previousLine['c_id']));$cat->_kind($previousLine['c_kind']);+ $cat->_lastUpdate($previousLine['c_last_update'] ?? 0);+ $cat->_error($previousLine['c_error'] ?? 0);$cat->_attributes($previousLine['c_attributes'] ?? '[]');$list[$cat->id()] = $cat;diff --git a/app/i18n/cs/sub.php b/app/i18n/cs/sub.phpindex dd9742551..654070c34 100644--- a/app/i18n/cs/sub.php+++ b/app/i18n/cs/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Zadejte adresu URL na <a href="http://opml.org/" target="_blank">OPML soubor</a> k dynamickému naplnění této kategorie RSS kanály',),'empty' => 'Vyprázdit kategorii',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => 'Informace','open' => 'Open category', // TODOdiff --git a/app/i18n/de/sub.php b/app/i18n/de/sub.phpindex d3f14897e..67130bce9 100644--- a/app/i18n/de/sub.php+++ b/app/i18n/de/sub.php@@ -29,6 +29,7 @@ return array('help' => 'URL zu einer <a href="http://opml.org/" target="_blank">OPML Datei</a>, um die Kategorie dynamisch mit Feeds zu befüllen',),'empty' => 'Leere Kategorie',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Kategorie aufklappen','information' => 'Information', // IGNORE'open' => 'Kategorie öffnen',diff --git a/app/i18n/el/sub.php b/app/i18n/el/sub.phpindex 35b6ddd44..ab8dd0c77 100644--- a/app/i18n/el/sub.php+++ b/app/i18n/el/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Provide the URL to an <a href="http://opml.org/" target="_blank">OPML file</a> to dynamically populate this category with feeds', // TODO),'empty' => 'Empty category', // TODO+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => 'Information', // TODO'open' => 'Open category', // TODOdiff --git a/app/i18n/en-US/sub.php b/app/i18n/en-US/sub.phpindex 36e0c07a0..2d2df3f28 100644--- a/app/i18n/en-US/sub.php+++ b/app/i18n/en-US/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Provide the URL to an <a href="http://opml.org/" target="_blank">OPML file</a> to dynamically populate this category with feeds', // IGNORE),'empty' => 'Empty category', // IGNORE+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // IGNORE'expand' => 'Expand category', // IGNORE'information' => 'Information', // IGNORE'open' => 'Open category', // IGNOREdiff --git a/app/i18n/en/sub.php b/app/i18n/en/sub.phpindex 6ea746205..992a01cde 100644--- a/app/i18n/en/sub.php+++ b/app/i18n/en/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Provide the URL to an <a href="http://opml.org/" target="_blank">OPML file</a> to dynamically populate this category with feeds',),'empty' => 'Empty category',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.','expand' => 'Expand category','information' => 'Information','open' => 'Open category',diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.phpindex 1bf4a5552..b37f26386 100644--- a/app/i18n/es/sub.php+++ b/app/i18n/es/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Provee la URL a un <a href=http://opml.org/ target="_blank">archivo OPML</a> para llenar dinámicamente esta categoría con fuentes',),'empty' => 'Vaciar categoría',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expandir categoría','information' => 'Información','open' => 'Abrir categoría',diff --git a/app/i18n/fa/sub.php b/app/i18n/fa/sub.phpindex 2646c5d62..32291d3da 100644--- a/app/i18n/fa/sub.php+++ b/app/i18n/fa/sub.php@@ -29,6 +29,7 @@ return array('help' => ' URL را به <a href="http://opml.org/" target="_blank">فایل OPML</a> ارائه دهید تا به صورت پویا این دسته با فیدها پر شود.',),'empty' => ' دسته خالی',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'دستهبندی را گسترش دهید','information' => ' اطلاعات','open' => 'دستهبندی باز',diff --git a/app/i18n/fi/sub.php b/app/i18n/fi/sub.phpindex 6507273f8..67d6c16d7 100644--- a/app/i18n/fi/sub.php+++ b/app/i18n/fi/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Voit tuoda syötteet tähän luokkaan automaattisesti antamalla <a href="http://opml.org/" target="_blank">OPML-tiedoston</a> URL-osoitteen',),'empty' => 'Tyhjä luokka',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Laajenna luokka','information' => 'Tiedot','open' => 'Avaa luokka',diff --git a/app/i18n/fr/sub.php b/app/i18n/fr/sub.phpindex 5c2d76791..9cd4cca4a 100644--- a/app/i18n/fr/sub.php+++ b/app/i18n/fr/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Fournir l’URL d’un <a href="http://opml.org/" target="_blank">fichier OPML</a> qui donnera dynamiquement la liste des flux de cette catégorie',),'empty' => 'Catégorie vide',+ 'error' => 'Cette catégorie OPML dynamique a rencontré un problème. Vérifiez que l’URL de l’OPML est toujours accessible et que le nombre maximum de flux par utilisateur n’a pas été dépassé.','expand' => 'Développer la catégorie','information' => 'Informations','open' => 'Ouvrir la catégorie',diff --git a/app/i18n/he/sub.php b/app/i18n/he/sub.phpindex 5f02b7d7c..499fcef6c 100644--- a/app/i18n/he/sub.php+++ b/app/i18n/he/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Provide the URL to an <a href="http://opml.org/" target="_blank">OPML file</a> to dynamically populate this category with feeds', // TODO),'empty' => 'Empty category', // TODO+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => 'מידע','open' => 'Open category', // TODOdiff --git a/app/i18n/hu/sub.php b/app/i18n/hu/sub.phpindex e3c504e13..c4966df84 100644--- a/app/i18n/hu/sub.php+++ b/app/i18n/hu/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Adj meg egy URL-t az <a href="http://opml.org/" target="_blank">OPML fájlhoz</a> hogy automatikusan kitöltődjön ez a kategória hírforrásokkal',),'empty' => 'Üres kategória',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Kategória kinyitása','information' => 'Információ','open' => 'Kategória megnyitása',diff --git a/app/i18n/id/sub.php b/app/i18n/id/sub.phpindex db0be4f4f..9760c96b2 100644--- a/app/i18n/id/sub.php+++ b/app/i18n/id/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Sediakan URL ke <a href="http://opml.org/" target="_blank">berkas OPML</a> untuk memasukkan umpan ke kategori ini secara dinamis',),'empty' => 'Kategori kosong',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Kembangkan kategori','information' => 'Informasi','open' => 'Buka kategori',diff --git a/app/i18n/it/sub.php b/app/i18n/it/sub.phpindex 2566b6f98..e85adcc08 100644--- a/app/i18n/it/sub.php+++ b/app/i18n/it/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Fornisci l’URL ad un <a href="http://opml.org/" target="_blank">file OPML</a> per popolare dinamicamente questa categoria con i feed',),'empty' => 'Categoria vuota',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Espandi categoria','information' => 'Informazioni','open' => 'Aprire la categoria!',diff --git a/app/i18n/ja/sub.php b/app/i18n/ja/sub.phpindex c6bbd3a80..2c8a8b4ee 100644--- a/app/i18n/ja/sub.php+++ b/app/i18n/ja/sub.php@@ -29,6 +29,7 @@ return array('help' => 'このカテゴリに動的フィードを追加するための<a href="http://opml.org/" target="_blank">OPMLファイル</a>のURLを指定します。',),'empty' => '空のカテゴリ',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'カテゴリを展開する','information' => 'インフォメーション','open' => 'カテゴリを開く',diff --git a/app/i18n/ko/sub.php b/app/i18n/ko/sub.phpindex 17618f499..8e5045a58 100644--- a/app/i18n/ko/sub.php+++ b/app/i18n/ko/sub.php@@ -29,6 +29,7 @@ return array('help' => '이 카테코리에 피드를 동적으로 채우려면 <a href="http://opml.org/" target="_blank">OPML 파일</a> 의 URL을 제공해주세요',),'empty' => '빈 카테고리',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => '정보','open' => 'Open category', // TODOdiff --git a/app/i18n/lv/sub.php b/app/i18n/lv/sub.phpindex 0677b2c49..38fef963c 100644--- a/app/i18n/lv/sub.php+++ b/app/i18n/lv/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Norādiet URL uz <a href="http://opml.org/" target="_blank">OPML failu</a>, lai dinamiski papildinātu šo kategoriju ar barotnēm.',),'empty' => 'Tukša kategorija',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => 'Informācija','open' => 'Open category', // TODOdiff --git a/app/i18n/nl/sub.php b/app/i18n/nl/sub.phpindex f45c54765..e68d5df96 100644--- a/app/i18n/nl/sub.php+++ b/app/i18n/nl/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Geef de URL naar een <a href="http://opml.org/" target="_blank">OPML-bestand</a> om deze categorie dynamisch met feeds te vullen',),'empty' => 'Lege categorie',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Categorie uitklappen','information' => 'Informatie','open' => 'Categorie openen',diff --git a/app/i18n/oc/sub.php b/app/i18n/oc/sub.phpindex ee6b95179..787e5751c 100644--- a/app/i18n/oc/sub.php+++ b/app/i18n/oc/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Fornís l’URL per un <a href="http://opml.org/" target="_blank">fichièr OPML</a> per garnir automaticament aquesta categoria amb de flux',),'empty' => 'Categoria voida',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => 'Informacions','open' => 'Open category', // TODOdiff --git a/app/i18n/pl/sub.php b/app/i18n/pl/sub.phpindex cdf797786..fddf8f1fa 100644--- a/app/i18n/pl/sub.php+++ b/app/i18n/pl/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Podaj adres <a href="http://opml.org/" target="_blank">pliku OPML</a>, aby dynamicznie zapełnić tę kategorię kanałami',),'empty' => 'Pusta kategoria',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Rozszerz kategorię','information' => 'Informacje','open' => 'Otwórz kategorię',diff --git a/app/i18n/pt-BR/sub.php b/app/i18n/pt-BR/sub.phpindex 05f33e060..df0be4bfe 100644--- a/app/i18n/pt-BR/sub.php+++ b/app/i18n/pt-BR/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Forneça uma URL para <a href="http://opml.org/" target="_blank">o arquivo OPML </a> para preencher dinamicamente esta categoria com feeds',),'empty' => 'Categoria vazia',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expandir categoria','information' => 'Informações','open' => 'Abrir categoria',diff --git a/app/i18n/pt-PT/sub.php b/app/i18n/pt-PT/sub.phpindex bf1239047..78f7aefec 100644--- a/app/i18n/pt-PT/sub.php+++ b/app/i18n/pt-PT/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Forneça uma URL para <a href="http://opml.org/" target="_blank">o arquivo OPML </a> para preencher dinamicamente esta categoria com feeds',),'empty' => 'Categoria vazia',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => 'Informações','open' => 'Open category', // TODOdiff --git a/app/i18n/ru/sub.php b/app/i18n/ru/sub.phpindex 95f11ba25..e0d0054e7 100644--- a/app/i18n/ru/sub.php+++ b/app/i18n/ru/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Предоставьте ссылку на <a href="http://opml.org/" target="_blank">OPML файл</a> чтобы динамично заполнять эту категорию лентами',),'empty' => 'Пустая категория',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Развернуть категорию','information' => 'Информация','open' => 'Открыть категорию',diff --git a/app/i18n/sk/sub.php b/app/i18n/sk/sub.phpindex f8583baa3..c0b20efa8 100644--- a/app/i18n/sk/sub.php+++ b/app/i18n/sk/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Zadajte URL adresu k <a href="http://opml.org/" target="_blank">OPML súboru</a>, z ktorého sa táto kategória automaticky naplní kanálmi.',),'empty' => 'Prázdna kategória',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Expand category', // TODO'information' => 'Informácia','open' => 'Open category', // TODOdiff --git a/app/i18n/tr/sub.php b/app/i18n/tr/sub.phpindex 2ff3f860a..c60886888 100644--- a/app/i18n/tr/sub.php+++ b/app/i18n/tr/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Bu kategoriyi beslemelerle dinamik olarak doldurmak için bir <a href="http://opml.org/" target="_blank">OPML dosyası</a> URL’si sağlayın.',),'empty' => 'Boş kategori',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Kategoriyi genişlet','information' => 'Bilgi','open' => 'Kategoriyi aç',diff --git a/app/i18n/uk/sub.php b/app/i18n/uk/sub.phpindex b04bae416..e0bb2ec80 100644--- a/app/i18n/uk/sub.php+++ b/app/i18n/uk/sub.php@@ -29,6 +29,7 @@ return array('help' => 'Щоб динамічно заповнювати цю категорію стрічками, вкажіть URL-адресу <a href="http://opml.org/" target="_blank">OPML-файлу</a>',),'empty' => 'Порожня категорія',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => 'Розгорнути категорію','information' => 'Інформація','open' => 'Відкрити категорію',diff --git a/app/i18n/zh-CN/sub.php b/app/i18n/zh-CN/sub.phpindex f028700d5..bce3a7cda 100644--- a/app/i18n/zh-CN/sub.php+++ b/app/i18n/zh-CN/sub.php@@ -29,6 +29,7 @@ return array('help' => '使用 URL 上的 <a href="http://opml.org/" target="_blank">OPML 文件</a> 中的订阅源填充这一分类',),'empty' => '空分类',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => '展开分类','information' => '信息','open' => '打开分类',diff --git a/app/i18n/zh-TW/sub.php b/app/i18n/zh-TW/sub.phpindex 446018dce..ee0001418 100644--- a/app/i18n/zh-TW/sub.php+++ b/app/i18n/zh-TW/sub.php@@ -29,6 +29,7 @@ return array('help' => '提供指向 <a href="http://opml.org/" target="_blank">OPML 檔案</a> 的 URL 以便動態地為此類別填充訂閱',),'empty' => '空類別',+ 'error' => 'This dynamic OPML category has encountered a problem. Check that the OPML URL is still reachable and that the maximum number of feeds per user has not been exceeded.', // TODO'expand' => '展開類別','information' => '資訊','open' => '開啟類別',diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtmlindex 90d8692d9..0fec8468d 100644--- a/app/layout/aside_feed.phtml+++ b/app/layout/aside_feed.phtml@@ -99,8 +99,9 @@<li id="c_<?= $cat->id() ?>" class="tree-folder category<?= $c_active ? ' active' : '' ?>"<?= null === $position ? '' : " data-position='$position'" ?> data-unread="<?= $cat->nbNotRead() ?>"><a href="<?= _url('index', $actual_view, 'get', 'c_' . $cat->id()) . $state_filter_manual ?>" class="tree-folder-title"><button class="dropdown-toggle" title="<?= _t('sub.category.expand') ?>"><?= _i($c_show ? 'up' : 'down') ?></button><?php- ?><span title="<?= _t('sub.category.open') ?>" class="title<?= $cat->hasFeedsWithError() ? ' error' : '' ?>" data-unread="<?= format_number($cat->nbNotRead()) ?>" ><?=- $cat->name() ?><?= $cat->kind() === FreshRSS_Category::KIND_DYNAMIC_OPML ? _i('opml-dyn') : ''+ ?><span title="<?= $cat->inError() ? _t('sub.category.error') : _t('sub.category.open') ?>" class="title<?=+ $cat->hasFeedsWithError() || $cat->inError() ? ' error' : '' ?>" data-unread="<?= format_number($cat->nbNotRead()) ?>"><?=+ $cat->name() ?><?= $cat->kind() === FreshRSS_Category::KIND_DYNAMIC_OPML ? ' ' . _i('opml-dyn') : ''?></span></a>diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtmlindex bbb520d45..cfe730371 100644--- a/app/views/subscription/index.phtml+++ b/app/views/subscription/index.phtml@@ -31,7 +31,9 @@<div class="box"><div class="box-title"><a class="configure open-slider" href="<?= _url('category', 'update', 'id', $cat->id()) ?>" title="<?= _t('gen.action.manage') ?>" data-cat-position="<?= $cat->attributeString('position') ?>"><?= _i('configure') ?></a>- <h2><?= $cat->name() ?><?= $cat->kind() === FreshRSS_Category::KIND_DYNAMIC_OPML ? ' ' . _i('opml-dyn') : '' ?></h2>+ <h2><span class="title<?= $cat->inError() ? ' error' : '' ?>"<?=+ $cat->inError() ? ' title="' . _t('sub.category.error') . '"' : '' ?>><?=$cat->name() ?><?=+ $cat->kind() === FreshRSS_Category::KIND_DYNAMIC_OPML ? ' ' . _i('opml-dyn') : '' ?></span></h2></div><ul class="box-content drop-zone scrollbar-thin" dropzone="move" data-cat-id="<?= $cat->id() ?>"><?phpdiff --git a/p/themes/Nord/nord.css b/p/themes/Nord/nord.cssindex 95906318d..aaf1386d7 100644--- a/p/themes/Nord/nord.css+++ b/p/themes/Nord/nord.css@@ -965,7 +965,7 @@ li.item.active {/*=== DIVERS *//*===========*/-.category .title.error::before {+.title.error::before {color: var(--red);}diff --git a/p/themes/Nord/nord.rtl.css b/p/themes/Nord/nord.rtl.cssindex 26330093e..d60e6297a 100644--- a/p/themes/Nord/nord.rtl.css+++ b/p/themes/Nord/nord.rtl.css@@ -965,7 +965,7 @@ li.item.active {/*=== DIVERS *//*===========*/-.category .title.error::before {+.title.error::before {color: var(--red);}diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.cssindex e560a8282..bb71c3500 100644--- a/p/themes/Swage/swage.css+++ b/p/themes/Swage/swage.css@@ -210,13 +210,11 @@ form {}}-.category {- .title.error::before {- display: inline-block;- padding-right: 7px;- width: 16px;- content: url(../Swage/icons/error.svg);- }+.title.error::before {+ display: inline-block;+ padding-right: 7px;+ width: 16px;+ content: url(../Swage/icons/error.svg);}.form-group {diff --git a/p/themes/Swage/swage.rtl.css b/p/themes/Swage/swage.rtl.cssindex d6a5cd9a8..7def5bee3 100644--- a/p/themes/Swage/swage.rtl.css+++ b/p/themes/Swage/swage.rtl.css@@ -210,13 +210,11 @@ form {}}-.category {- .title.error::before {- display: inline-block;- padding-left: 7px;- width: 16px;- content: url(../Swage/icons/error.svg);- }+.title.error::before {+ display: inline-block;+ padding-left: 7px;+ width: 16px;+ content: url(../Swage/icons/error.svg);}.form-group {diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.cssindex 4e7b81005..6d7e7bf94 100644--- a/p/themes/base-theme/frss.css+++ b/p/themes/base-theme/frss.css@@ -150,7 +150,7 @@ h2 {h2 .icon,legend .icon {height: 0.8em;- vertical-align: baseline;+ vertical-align: middle;}h3 {@@ -242,7 +242,7 @@ img.favicon.upload {font-style: italic;}-.category .title.error::before,+.title.error::before,.item.feed.error .item-title .title::before,.box-content .item.feed.error .item-title::before {content: " ⚠ ";diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.cssindex 2807d4edd..9c9e86943 100644--- a/p/themes/base-theme/frss.rtl.css+++ b/p/themes/base-theme/frss.rtl.css@@ -150,7 +150,7 @@ h2 {h2 .icon,legend .icon {height: 0.8em;- vertical-align: baseline;+ vertical-align: middle;}h3 {@@ -242,7 +242,7 @@ img.favicon.upload {font-style: italic;}-.category .title.error::before,+.title.error::before,.item.feed.error .item-title .title::before,.box-content .item.feed.error .item-title::before {content: " ⚠ ";