From bb4baed98865726dd150d45f65fa5a1d2b0d8847 Mon Sep 17 00:00:00 2001 From: Jan <96944229+modelrailroader@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:00:22 +0200 Subject: [PATCH] fix: remove inline css --- phpmyfaq/add.php | 3 --- .../admin/configuration/forms.translations.twig | 13 ++++++------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/phpmyfaq/add.php b/phpmyfaq/add.php index 1cd0df89da..8257aaade8 100644 --- a/phpmyfaq/add.php +++ b/phpmyfaq/add.php @@ -129,9 +129,6 @@ $category = new Category($faqConfig); $categories = $category->getAllCategoryIds(); -$twig = new TwigWrapper(PMF_ROOT_DIR . '/assets/templates'); -$template1 = $twig->loadTemplate('./add.twig'); - // Twig template variables $templateVars = [ 'baseHref' => $faqSystem->getSystemUri($faqConfig), diff --git a/phpmyfaq/assets/templates/admin/configuration/forms.translations.twig b/phpmyfaq/assets/templates/admin/configuration/forms.translations.twig index 13da4f3194..285fc020d9 100644 --- a/phpmyfaq/assets/templates/admin/configuration/forms.translations.twig +++ b/phpmyfaq/assets/templates/admin/configuration/forms.translations.twig @@ -29,15 +29,14 @@ value="{{ translation.input_label }}" disabled /> {% if translation.input_lang != 'default' %} - - - + + {% endif %}