forked from ZwiiCMS-Team/ZwiiCMS
Merge branch '10302' into blog_v3
This commit is contained in:
commit
25f22f4ff2
@ -61,10 +61,10 @@ class template {
|
|||||||
copy ('core/vendor/zwiico/png/'.$letters[$firstNumber] . '.png', 'site/tmp/' . $firstLetter . '.png');
|
copy ('core/vendor/zwiico/png/'.$letters[$firstNumber] . '.png', 'site/tmp/' . $firstLetter . '.png');
|
||||||
copy ('core/vendor/zwiico/png/'.$letters[$secondNumber] . '.png', 'site/tmp/' . $secondLetter . '.png');
|
copy ('core/vendor/zwiico/png/'.$letters[$secondNumber] . '.png', 'site/tmp/' . $secondLetter . '.png');
|
||||||
// Début du wrapper
|
// Début du wrapper
|
||||||
$html = '<div id="' . $attributes['id'] . 'Wrapper" class="inputWrapper ' . $attributes['classWrapper'] . '">';
|
$html = '<div class="captcha" id="' . $attributes['id'] . 'Wrapper" class="inputWrapper ' . $attributes['classWrapper'] . '">';
|
||||||
// Label
|
// Label
|
||||||
$html .= self::label($attributes['id'],
|
$html .= self::label($attributes['id'],
|
||||||
'<img class="captchaNumber" src="' . helper::baseUrl(false) . 'site/tmp/' . $firstLetter . '.png" /> + <img class="captchaNumber" src="' . helper::baseUrl(false) . 'site/tmp/' . $secondLetter . '.png" /> = en chiffres ?', [
|
'<img src="' . helper::baseUrl(false) . 'site/tmp/' . $firstLetter . '.png" />' . template::ico('plus') . '<img class="captchaNumber" src="' . helper::baseUrl(false) . 'site/tmp/' . $secondLetter . '.png" /> = en chiffres ?', [
|
||||||
'help' => $attributes['help']
|
'help' => $attributes['help']
|
||||||
]);
|
]);
|
||||||
// Notice
|
// Notice
|
||||||
|
@ -1360,14 +1360,18 @@ th.col12 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Captcha
|
/* Captcha
|
||||||
* Taille des images
|
|
||||||
*/
|
*/
|
||||||
.captchaNumber {
|
.captcha img{
|
||||||
height: 30px;
|
height: 30px;
|
||||||
vertical-align: bottom;
|
vertical-align: middle;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
|
.captcha input[type='text'] {
|
||||||
|
width: 4em;
|
||||||
|
text-align: center;
|
||||||
|
margin: auto auto auto 2em;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Couleur des icônes + et -
|
* Couleur des icônes + et -
|
||||||
|
Loading…
Reference in New Issue
Block a user