Mercurial > hg > fapweb
changeset 760:be0f465de86c
Add 'extra' argument to stGetFormStart().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 20 Nov 2014 11:41:36 +0200 |
parents | 3069a13e78dd |
children | 1be30385e9d4 |
files | msitegen.inc.php |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/msitegen.inc.php Thu Nov 20 09:27:33 2014 +0200 +++ b/msitegen.inc.php Thu Nov 20 11:41:36 2014 +0200 @@ -264,12 +264,12 @@ } -function stGetFormStart($name, $action = "", $method = "post") +function stGetFormStart($name, $action = "", $method = "post", $extra = "") { $str = "<form name=\"".$name."\" action=\"". ($action != "" ? $action : $name). - "\" method=\"".$method."\">\n"; + "\" method=\"".$method."\"".$extra.">\n"; if (($csrfID = stGetSessionItem("csrfID", FALSE)) !== FALSE) $str .= stGetFormHiddenInput("csrfID", $csrfID)."\n";