Mercurial > hg > fapweb
comparison pages/register.inc.php @ 734:26a168d3390f
Move functions into a more appropriate file.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 19 Nov 2014 02:08:40 +0200 |
parents | e7fbcf4190e6 |
children | cd8a29647c09 |
comparison
equal
deleted
inserted
replaced
733:a088d62531dc | 734:26a168d3390f |
---|---|
17 "email" => "E-mail", | 17 "email" => "E-mail", |
18 "oneliner" => "Oneliner", | 18 "oneliner" => "Oneliner", |
19 "hash" => FALSE, | 19 "hash" => FALSE, |
20 "botcheck" => FALSE, | 20 "botcheck" => FALSE, |
21 ); | 21 ); |
22 | |
23 | |
24 function stPrintFormTextInput($text1, $text2, $size, $len, $name, $extra="") | |
25 { | |
26 echo " <tr><th>".chentities($text1)."</th><td>". | |
27 stGetFormTextInput($size, $len, $name, "", "", stGetRequestItem($name), $extra). | |
28 "</td><td>".chentities($text2)."</td></tr>\n"; | |
29 } | |
30 | |
31 | |
32 function stPrintFormHiddenInput($name, $value) | |
33 { | |
34 echo " ".stGetFormHiddenInput($name, $value)."\n"; | |
35 } | |
22 | 36 |
23 | 37 |
24 function stPrintFormData($button, $mode = "start", $exclude = array()) | 38 function stPrintFormData($button, $mode = "start", $exclude = array()) |
25 { | 39 { |
26 global $formFields; | 40 global $formFields; |