From 61133da0142f29a077b6de991ad142d779b9bc63 Mon Sep 17 00:00:00 2001 From: MarkusGaertner Date: Tue, 25 Jun 2024 10:04:06 +0200 Subject: [PATCH] add check for oCaptcha --- application/views/tpl/oecaptcha.tpl | 30 +++++++++++++----------- application/views/tpl/oecaptcha_wave.tpl | 30 +++++++++++++----------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/application/views/tpl/oecaptcha.tpl b/application/views/tpl/oecaptcha.tpl index be78fb2..93e2f84 100644 --- a/application/views/tpl/oecaptcha.tpl +++ b/application/views/tpl/oecaptcha.tpl @@ -1,19 +1,21 @@ [{assign var="oCaptcha" value=$oView->getCaptcha()}] - +[{if $oCaptcha}] + -
- +
+ -
-
- - [{if $oCaptcha->isImageVisible()}] - - [{else}] - [{$oCaptcha->getText()}] - [{/if}] - - +
+
+ + [{if $oCaptcha->isImageVisible()}] + + [{else}] + [{$oCaptcha->getText()}] + [{/if}] + + +
-
\ No newline at end of file +[{/if}] \ No newline at end of file diff --git a/application/views/tpl/oecaptcha_wave.tpl b/application/views/tpl/oecaptcha_wave.tpl index 123e276..f0ae2f6 100644 --- a/application/views/tpl/oecaptcha_wave.tpl +++ b/application/views/tpl/oecaptcha_wave.tpl @@ -1,19 +1,21 @@ [{assign var="oCaptcha" value=$oView->getCaptcha()}] - +[{if $oCaptcha}] + -
- +
+ -
-
- - [{if $oCaptcha->isImageVisible()}] - - [{else}] - [{$oCaptcha->getText()}] - [{/if}] - - +
+
+ + [{if $oCaptcha->isImageVisible()}] + + [{else}] + [{$oCaptcha->getText()}] + [{/if}] + + +
-
\ No newline at end of file +[{/if}] \ No newline at end of file