* @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0 * @version $Id: FormDisplay.tpl.php 11874 2008-11-13 19:21:34Z crackpl $ */ /** * Displays top part of the form * * @param string $action default: $_SERVER['REQUEST_URI'] * @param string $method 'post' or 'get' * @param array $hidden_fields array of form hidden fields (key: field name) */ function display_form_top($action = null, $method = 'post', $hidden_fields = null) { static $has_check_page_refresh = false; if ($action === null) { $action = $_SERVER['REQUEST_URI']; } if ($method != 'post') { $method = 'get'; } ?>