Location: PHPKode > projects > @1 File Store > libs/forms_define.php
<?
$LOGIN_FORM=array(
"login"=>array("type"=>"text",
	       "description"=>$lang['login'],
	       "error"=>$lang['enter_your_login']
	      ),
"password"=>array("type"=>"password",
		  "description"=>$lang['password'],
		  "error"=>$lang['enter']." ".$lang['password']
		 )
);
$SIGNUP_FORM=array(
"real_name"=>array("type"=>"text",
	       "description"=>$lang['real_name'],
	       "error"=>$lang['enter_your_realname']
	      ),
"company"=>array("type"=>"text",
	       "description"=>$lang['company_name'],
	       "empty"=>"Yes"
	      ),
"address1"=>array("type"=>"text",
	       "description"=>$lang['address_1'],
	       "empty"=>"Yes"
	      ),
"address2"=>array("type"=>"text",
	       "description"=>$lang['address_2'],
	       "empty"=>"Yes"
	      ),
"city"=>array("type"=>"text",
	       "description"=>$lang['city'],
	       "empty"=>"Yes"
	      ),
"state"=>array("type"=>"text",
	       "description"=>$lang['state'],
	       "empty"=>"Yes"
	      ),
"postcode"=>array("type"=>"text",
	       "description"=>$lang['postcode'],
	       "empty"=>"Yes"
	      ),
"country"=>array("type"=>"text",
	       "description"=>$lang['country'],
	       "empty"=>"Yes"
	      ),
"telephone"=>array("type"=>"text",
	       "description"=>$lang['phone_number'],
	       "empty"=>"Yes"
	      ),
"email"=>array("type"=>"text",
	       "description"=>$lang['email'],
	       "error"=>$lang['email_format']
	      ),
"login"=>array("type"=>"text",
	       "description"=>$lang['login'],
	       "error"=>$lang['enter_your_login']
	      ),
"password"=>array("type"=>"password",
		  "description"=>$lang['password'],
		  "error"=>$lang['enter']." ".$lang['password']
		 ),
"password2"=>array("type"=>"password",
		  "description"=>$lang['retype_password'],
		  "error"=>$lang['enter']." ".$lang['password'],
		  "sql"=>"ignore"
		 )

);
$UPLOAD_FORM=array(
"filename"=>array("type"=>"file",
	       "description"=>$lang['file'],
	       "error"=>$lang['file_select']
	      ),
"descript"=>array("type"=>"textarea",
	       "description"=>$lang['description'],
	       "error"=>$lang['file_description']
	      )
);

$PROFILE_FORM=array(
"real_name"=>array("type"=>"text",
	       "description"=>$lang['real_name'],
	       "error"=>$lang['enter_your_realname']
	      ),
"company"=>array("type"=>"text",
	       "description"=>$lang['company_name'],
	       "empty"=>"Yes"
	      ),
"address1"=>array("type"=>"text",
       "description"=>$lang['address_1'],
       "empty"=>"Yes"
	      ),
"address2"=>array("type"=>"text",
	       "description"=>$lang['address_2'],
	       "empty"=>"Yes"
	      ),
"city"=>array("type"=>"text",
	       "description"=>$lang['city'],
	       "empty"=>"Yes"
	      ),
"state"=>array("type"=>"text",
	       "description"=>$lang['state'],
	       "empty"=>"Yes"
	      ),
"postcode"=>array("type"=>"text",
	       "description"=>$lang['postcode'],
	       "empty"=>"Yes"
	      ),
"country"=>array("type"=>"text",
	       "description"=>$lang['country'],
	       "empty"=>"Yes"
	      ),
"telephone"=>array("type"=>"text",
    	   "description"=>$lang['phone_number'],
	       "empty"=>"Yes"
	      ),
"email"=>array("type"=>"text",
	       "description"=>$lang['email'],
	       "error"=>$lang['email_format']
	      ),
"password"=>array("type"=>"text",
		    "description"=>$lang['password'],
		    "error"=>$lang['enter']." ".$lang['password']
	      ), // niotech-sub start
"subscription"=>array("type"=>"select",
			"description"=>$lang['subscription'],
	       	"error"=>$lang['enter_subscription'],
			"extra"=>array("Y"=>"Yes", "N"=>"No") //niotech-sub end
	      )
    );
$PASSWORD_FORM=array(
		"email"=>array("type"=>"text",
		       "description"=>$lang['email'],
		       "error"=>$lang['email_format']
		      )
	      );
?>
Return current item: @1 File Store