-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added ajax validation reload if wrong
- Loading branch information
Showing
11 changed files
with
73 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: 1.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"PO-Revision-Date: 2024-03-22 14:20+0100\n" | ||
"Last-Translator: Simon Karlen <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: widgets/VisualCaptcha.php | ||
msgctxt "simialbi/visualcaptcha/input-widget" | ||
msgid "Sound icon" | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: 1.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"PO-Revision-Date: 2024-03-22 14:20+0100\n" | ||
"Last-Translator: Simon Karlen <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: widgets/VisualCaptcha.php | ||
msgctxt "simialbi/visualcaptcha/input-widget" | ||
msgid "Sound icon" | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: 1.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"PO-Revision-Date: 2024-03-22 14:20+0100\n" | ||
"Last-Translator: Simon Karlen <[email protected]>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: widgets/VisualCaptcha.php | ||
msgctxt "simialbi/visualcaptcha/input-widget" | ||
msgid "Sound icon" | ||
|
@@ -29,7 +39,7 @@ msgid "Refresh/reload: get new images and accessibility option!" | |
msgstr "Mettre à jour" | ||
|
||
#: widgets/VisualCaptcha.php | ||
msgctxt "simialbi/visualcaptcha/input-widget" | ||
msgctxt "simialbi/visualcaptcha/names" | ||
msgid "Airplane" | ||
msgstr "Avion" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,12 @@ class VisualCaptcha extends InputWidget | |
* @var string module ID (case-sensitive). To retrieve grand child modules, | ||
* use ID path relative to this module (e.g. `admin/content`). | ||
*/ | ||
public $moduleId = 'visualcaptcha'; | ||
public string $moduleId = 'visualcaptcha'; | ||
|
||
/** | ||
* @var integer number of generated image options for visualCaptcha | ||
*/ | ||
public $numberOfImages = 6; | ||
public int $numberOfImages = 6; | ||
|
||
/** | ||
* @var string path to the following interface icons: | ||
|
@@ -33,13 +33,13 @@ class VisualCaptcha extends InputWidget | |
* * refresh.png | ||
* * [email protected] | ||
*/ | ||
public $imgPath = '@web/img/'; | ||
public string $imgPath = '@web/img/'; | ||
|
||
/** | ||
* @var string the value of the parameter sent to the server for the namespace, if it's not set up, | ||
* it will be auto generated | ||
*/ | ||
public $namespace; | ||
public string $namespace; | ||
|
||
/** | ||
* {@inheritdoc} | ||
|
@@ -104,8 +104,6 @@ public function init(): void | |
*/ | ||
public function run(): string | ||
{ | ||
parent::run(); | ||
|
||
$options = $this->options; | ||
Html::removeCssClass($options, 'form-control'); | ||
|
||
|