:</td>
	<td class="value_input">
		<input type="text" name="email" maxlength="255" style="width:300px;"/>
	</td>
</tr>
<?php 
// Captcha
if (ENABLED_CAPTCHA) {
    ?>
<tr>
		<td class="field_title"><?php 
    echo $TEXT['VERIFICATION'];
    ?>
:</td>
		<td><?php 
    call_captcha();
    ?>
</td>
		</tr>
	<?php 
}
?>
<tr>
	<td>&nbsp;</td>
	<td>
		<input type="submit" name="submit" value="<?php 
echo $TEXT['SIGNUP'];
?>
" />
		<input type="reset" name="reset" value="<?php 
echo $TEXT['RESET'];
Beispiel #2
0
 function captcha($section_id = 0)
 {
     require_once LEPTON_PATH . '/modules/captcha_control/captcha/captcha.php';
     ob_start();
     call_captcha("all", "", $section_id);
     $captcha = ob_get_contents();
     ob_end_clean();
     return $captcha;
 }
 function captcha($section_id = 0)
 {
     require_once WB_PATH . '/include/captcha/captcha.php';
     ob_start();
     call_captcha("all", "", $section_id);
     $captcha = ob_get_contents();
     ob_end_clean();
     return $captcha;
 }
 /**
  * Show dialog to unsubscribe from feedback messages for a page
  *
  * @return string dialog
  */
 protected function showFeedbackUnsubscribe()
 {
     global $kitContactInterface;
     $form_id = isset($_REQUEST[self::request_form_id]) ? $_REQUEST[self::request_form_id] : -1;
     if ($form_id < 1) {
         $this->setError(sprintf('[%s - %s] %s', __METHOD__, __LINE__, $this->lang->translate('Invalid function call')));
         return false;
     }
     // CAPTCHA
     ob_start();
     call_captcha();
     $call_captcha = ob_get_contents();
     ob_end_clean();
     $data = array('form' => array('title' => $this->lang->translate('Unsubscribe Feedback'), 'response' => $this->isMessage() ? $this->getMessage() : $this->lang->translate('Please enter your email address to unsubscribe from automatical reports at new feedbacks of this site.'), 'name' => 'feedback_unsubscribe', 'action' => array('link' => $this->page_link, 'name' => self::request_action, 'value' => self::action_feedback_unsubscribe_check), 'anchor' => self::FORM_ANCHOR, 'id' => array('name' => self::request_form_id, 'value' => $form_id), kitContactInterface::kit_email => array('label' => $kitContactInterface->field_array[kitContactInterface::kit_email], 'name' => kitContactInterface::kit_email, 'value' => '', 'hint' => ''), 'btn' => array('ok' => $this->lang->translate('OK'), 'abort' => $this->lang->translate('Abort')), 'captcha' => array('code' => $call_captcha)));
     return $this->getTemplate('feedback.unsubscribe.htt', $data);
 }