示例#1
0
	public function SetCustomVars ()
	{
		parent::SetCustomVars();

		// for saving purposes only; the html form is a manual template
		$this->_variables['apikey'] = array(
			"name" => GetLang("MailChimpApiKey"),
			"type" => "textbox",
			"help" => GetLang('MailChimpApiKeyHelp'),
			"default" => "",
			"required" => true,
		);
	}
示例#2
0
	public function SetCustomVars ()
	{
		parent::SetCustomVars();

		// for saving purposes only; the html form is a manual template
		$this->_variables['url'] = array(
			"name" => '',
			"type" => "textbox",
			"help" => '',
			"default" => "",
			"required" => true,
		);

		$this->_variables['username'] = $this->_variables['url'];
		$this->_variables['usertoken'] = $this->_variables['url'];
	}