- Posts: 1
- Thank you received: 0
Please Log in to join the conversation.
Please Log in to join the conversation.
</table>
<?php
if (!($this->K2Params->get('recaptchaOnRegistration') && $this->K2Params->get('recaptcha_public_key'))) {
$configured_captcha = JFactory::getApplication()->getParams()->get('captcha', JFactory::getConfig()->get('captcha'));
if (!empty($configured_captcha)) {
$jcaptcha = JCaptcha::getInstance($configured_captcha, array('namespace' => 'com_users.registration'));
if (!is_null($jcaptcha)) {
JRequest::setVar('session_secret', uniqid()); // Required by playthru captcha plugin
$ccode = $jcaptcha->display("jcaptcha", "jcaptcha", "required");
echo '<tr>' . "\n";
echo '<td class="key">' . JText::_('TPL_BOS_PLAYTHRU_CAPTCHA_LABEL') . "</td>\n";
echo "<td>" . $ccode . "</td>\n";
echo "<td> * </td>\n";
echo '</tr>' . "\n";
}
}
}
?>
TPL_BOS_PLAYTHRU_CAPTCHA_LABEL="Whatever text you like"
Please Log in to join the conversation.