Mercurial > hg > fapweb
diff 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 |
line wrap: on
line diff
--- a/pages/register.inc.php Wed Nov 19 00:06:44 2014 +0200 +++ b/pages/register.inc.php Wed Nov 19 02:08:40 2014 +0200 @@ -21,6 +21,20 @@ ); +function stPrintFormTextInput($text1, $text2, $size, $len, $name, $extra="") +{ + echo " <tr><th>".chentities($text1)."</th><td>". + stGetFormTextInput($size, $len, $name, "", "", stGetRequestItem($name), $extra). + "</td><td>".chentities($text2)."</td></tr>\n"; +} + + +function stPrintFormHiddenInput($name, $value) +{ + echo " ".stGetFormHiddenInput($name, $value)."\n"; +} + + function stPrintFormData($button, $mode = "start", $exclude = array()) { global $formFields;