function onBeforeDisplayRegisterView(&$view)
 {
     $plugin = JComponentHelper::getParams('com_users')->get('captcha', JFactory::getConfig()->get('captcha'));
     if ($plugin === 0 || $plugin === '0' || $plugin === '' || $plugin === null) {
         return;
     }
     $language = JFactory::getLanguage();
     $language->load('com_users');
     $captcha = new JCaptcha($plugin, array());
     $view->_tmpl_register_html_5 = '<div class = "jshop_register"><table><tr><td class="name">' . JText::_('COM_USERS_CAPTCHA_LABEL') . ' <span>*</span></td><td>' . $captcha->display('jshopping_captcha', 'jshopping_captcha', 'jshopping_captcha') . '</td></tr></table></div>';
 }