Loading riddler.module +3 −4 Original line number Diff line number Diff line Loading @@ -46,14 +46,13 @@ function riddler_captcha($op, $captcha_type = '', $captcha_sid = NULL) { $result = []; $result['solution'] = $riddleEntity->getSolution(); $result['form']['captcha_riddle'] = [ '#markup' => '<p><strong>' . $riddleEntity->getQuestion() . '</strong></p>', ]; $result['form']['captcha_response'] = [ '#type' => 'textfield', '#title' => t('Answer the question here:'), '#title' => t('What\'s the correct answer?'), '#description' => t('Answer this question to verify that you are not a spam robot.'), '#weight' => 0, '#field_prefix' => $riddle['question'], '#required' => TRUE, '#size' => 15, '#attributes' => ['autocomplete' => 'off'], Loading Loading
riddler.module +3 −4 Original line number Diff line number Diff line Loading @@ -46,14 +46,13 @@ function riddler_captcha($op, $captcha_type = '', $captcha_sid = NULL) { $result = []; $result['solution'] = $riddleEntity->getSolution(); $result['form']['captcha_riddle'] = [ '#markup' => '<p><strong>' . $riddleEntity->getQuestion() . '</strong></p>', ]; $result['form']['captcha_response'] = [ '#type' => 'textfield', '#title' => t('Answer the question here:'), '#title' => t('What\'s the correct answer?'), '#description' => t('Answer this question to verify that you are not a spam robot.'), '#weight' => 0, '#field_prefix' => $riddle['question'], '#required' => TRUE, '#size' => 15, '#attributes' => ['autocomplete' => 'off'], Loading