<?php
/**
 * Handles all functions for the invitation form within ImpressCMS
 *
 * @copyright	http://www.impresscms.org/ The TacmicCMS Project
 * @license	LICENSE.txt
 * @package	core
 * @since	1.1
 * @author	modified by UnderDog <underdog@impresscms.org>
 * @version	$Id: inviteform.php 11079 2011-03-17 12:43:06Z m0nty_ $
 */

if (!defined("ICMS_ROOT_PATH")) {
	die("TacCMS root path not defined");
}

$invite_form = new icms_form_Theme(_US_USERINVITE, "userinvite", "invite.php", "post", true);
$invite_form->addElement(new icms_form_elements_Text(_US_EMAIL, "email", 25, 60, icms_core_DataFilter::htmlSpecialChars($email)), true);
$invite_form->addElement(new icms_form_elements_Captcha(_SECURITYIMAGE_GETCODE, "scode"), true);
$invite_form->addElement(new icms_form_elements_Hidden("op", "finish"));
$invite_form->addElement(new icms_form_elements_Button("", "submit", _US_SUBMIT, "submit"));