From f6a8981028ddee85b3c57fcba79426e4af06fdf2 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Wed, 14 Apr 2021 23:03:36 +0200 Subject: [PATCH 1/3] [ticket/16757] Properly handle RTL text in ACP QA Captcha HTML PHPBB3-16757 --- phpBB/adm/style/captcha_qa_acp.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpBB/adm/style/captcha_qa_acp.html b/phpBB/adm/style/captcha_qa_acp.html index 6235f9a104..82ef2c8768 100644 --- a/phpBB/adm/style/captcha_qa_acp.html +++ b/phpBB/adm/style/captcha_qa_acp.html @@ -28,7 +28,8 @@ - {questions.QUESTION_TEXT} + {# RTL is already managed by CSS #} + {{ questions.QUESTION_TEXT }} {questions.QUESTION_LANG} {ICON_EDIT} {ICON_DELETE} From 65a1ed0f825ee9d9cc4bd22f25217a42a31edaea Mon Sep 17 00:00:00 2001 From: 3D-I Date: Wed, 14 Apr 2021 23:11:21 +0200 Subject: [PATCH 2/3] [ticket/16757] Properly handle RTL text in ACP QA Captcha HTML Remove double newline PHPBB3-16757 --- phpBB/adm/style/captcha_qa_acp.html | 1 - 1 file changed, 1 deletion(-) diff --git a/phpBB/adm/style/captcha_qa_acp.html b/phpBB/adm/style/captcha_qa_acp.html index 82ef2c8768..b1cbb970e1 100644 --- a/phpBB/adm/style/captcha_qa_acp.html +++ b/phpBB/adm/style/captcha_qa_acp.html @@ -2,7 +2,6 @@ - « {L_BACK}

{L_QUESTIONS}

From ecd7b1417127c1f8b4c6d45a7e15cbf099ac5ecb Mon Sep 17 00:00:00 2001 From: 3D-I Date: Wed, 14 Apr 2021 23:22:47 +0200 Subject: [PATCH 3/3] [ticket/16757] Properly handle RTL text in ACP QA Captcha HTML Twig version PHPBB3-16757 --- phpBB/adm/style/captcha_qa_acp.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/phpBB/adm/style/captcha_qa_acp.html b/phpBB/adm/style/captcha_qa_acp.html index b1cbb970e1..26598c7c2b 100644 --- a/phpBB/adm/style/captcha_qa_acp.html +++ b/phpBB/adm/style/captcha_qa_acp.html @@ -24,16 +24,18 @@ {L_ACTION} + - - - {# RTL is already managed by CSS #} - {{ questions.QUESTION_TEXT }} - {questions.QUESTION_LANG} - {ICON_EDIT} {ICON_DELETE} - - + {% for question in questions %} + + {# RTL is already managed by CSS #} + {{ question.QUESTION_TEXT }} + {{ question.QUESTION_LANG }} + {{ ICON_EDIT }} {{ ICON_DELETE }} + + {% endfor %} +