File manager - Edit - /home/verseaumee/ptitsanes/components/com_solidres/layouts/asset/captcha.php
Back
<?php /** ------------------------------------------------------------------------ SOLIDRES - Accommodation booking extension for Joomla ------------------------------------------------------------------------ * @author Solidres Team <contact@solidres.com> * @website https://www.solidres.com * @copyright Copyright (C) 2013 - 2019 Solidres. All Rights Reserved. * @license GNU General Public License version 3, or later ------------------------------------------------------------------------ */ /* * This layout file can be overridden by copying to: * * /templates/TEMPLATENAME/html/layouts/com_solidres/asset/captcha.php * * However, occasionally we will need to update template/layout related files and it is the template developers' * responsibility to update the overridden files (if any) to maintain full compatibility with Solidres. * * We do not provide support if any of the overridden files are out of date and are not compatible with Solidres. * * @version 2.8.0 */ defined('_JEXEC') or die; $publicKey = $displayData['params']->get('public_key'); $theme = $displayData['params']->get('theme'); ?> <div id="sr_reservation_recaptcha" class="g-recaptcha"></div> <script> var $j = Solidres.jQuery; <?php if($displayData['params']->get('version', '2.0') === '2.0'): ?> $j('#termsandconditions').prop('disabled', true); grecaptcha.render('sr_reservation_recaptcha', { sitekey: '<?php echo $publicKey; ?>', theme: '<?php echo $theme; ?>', callback: function (res) { $j('#termsandconditions').prop('disabled', false); } }); <?php else: ?> Recaptcha.create('<?php echo $publicKey; ?>', 'sr_reservation_recaptcha', { theme: '<?php echo $theme; ?>' }); <?php endif; ?> </script>
| ver. 1.4 |
Github
|
.
| PHP 8.5.7 | Generation time: 0 |
proxy
|
phpinfo
|
Settings