diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml
index 1cf1eec..7e66763 100644
--- a/.github/workflows/codestyle.yml
+++ b/.github/workflows/codestyle.yml
@@ -13,7 +13,7 @@ jobs:
- name: Setup PHP with tools
uses: shivammathur/setup-php@v2
with:
- php-version: '8.0'
+ php-version: '8.1'
extensions: ctype, dom, exif, gd, gmp, hash, intl, json, libxml, mbstring, opcache, pcre, pdo, pdo_mysql, zlib
tools: cs2pr, phpcs, php-cs-fixer
- name: phpcs
diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml
index cab57e2..dc44d63 100644
--- a/.github/workflows/php.yml
+++ b/.github/workflows/php.yml
@@ -14,6 +14,7 @@ jobs:
php:
- '8.1'
- '8.2'
+ - '8.3'
steps:
- name: Set up PHP
uses: shivammathur/setup-php@v2
diff --git a/acpMenu.xml b/acpMenu.xml
index 1e27a36..578daa8 100644
--- a/acpMenu.xml
+++ b/acpMenu.xml
@@ -1,32 +1,10 @@
-
-
- wcf.acp.menu.link.content
-
-
- wcf\acp\page\FaqCategoryListPage
- wcf.acp.menu.link.faq
- admin.faq.canViewCategory
- 1
-
-
- wcf\acp\form\FaqCategoryAddForm
- wcf.acp.menu.link.faq.categories.list
- admin.faq.canAddCategory
- plus
-
-
- wcf\acp\page\FaqQuestionListPage
- wcf.acp.menu.link.faq
- admin.faq.canViewQuestion
- 2
-
-
- wcf\acp\form\FaqQuestionAddForm
- wcf.acp.menu.link.faq.questions.list
- admin.faq.canAddQuestion
- plus
-
-
+
+
+
+
+
+
+
diff --git a/acptemplates/faqQuestionAdd.tpl b/acptemplates/faqQuestionAdd.tpl
index 7b589cb..bb32bcf 100644
--- a/acptemplates/faqQuestionAdd.tpl
+++ b/acptemplates/faqQuestionAdd.tpl
@@ -14,6 +14,6 @@
-{@$form->getHtml()}
+{unsafe:$form->getHtml()}
{include file='footer'}
\ No newline at end of file
diff --git a/acptemplates/faqQuestionList.tpl b/acptemplates/faqQuestionList.tpl
index 1fef3da..2bd3f2e 100644
--- a/acptemplates/faqQuestionList.tpl
+++ b/acptemplates/faqQuestionList.tpl
@@ -5,7 +5,7 @@
new UiSortableList({
containerId: 'questionList',
className: 'wcf\\data\\faq\\QuestionAction',
- offset: {@$startIndex}
+ offset: {$startIndex}
});
});
@@ -36,7 +36,7 @@
{foreach from=$categoryNodeList item=category}
-
+
{/foreach}
@@ -70,9 +70,9 @@