/** * Return the HTML file name for the form template for this form. * @param string $type * @return string */ public function getHTMLTemplate($type = 'default') { if (!$type || $type == 'default') { if ($template_file = I2CE::getFileSearch()->search('TEMPLATES', "lists_form_" . $this->getName() . ".html")) { return $template_file; } else { return "lists_form_simple.html"; } } else { return parent::getHTMLTemplate($type); } }