aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-11-07 17:34:29 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-11-07 17:34:29 +0100
commit9b1a49806150f028ad2b33e96dd60ea33f7a86f3 (patch)
treebfe0c2d396e417944a6e8c181e5af32751fd76f8
parent69e41f7703bff03dc88e7181961a717ae41330c4 (diff)
downloadvolse-hubzilla-9b1a49806150f028ad2b33e96dd60ea33f7a86f3.tar.gz
volse-hubzilla-9b1a49806150f028ad2b33e96dd60ea33f7a86f3.tar.bz2
volse-hubzilla-9b1a49806150f028ad2b33e96dd60ea33f7a86f3.zip
allow hidden fields in login form
-rw-r--r--boot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index b846bcd08..476f71a48 100644
--- a/boot.php
+++ b/boot.php
@@ -651,7 +651,7 @@ function get_guid($size=16) {
// returns the complete html for inserting into the page
if(! function_exists('login')) {
-function login($register = false) {
+function login($register = false, $hiddens=false) {
$o = "";
$reg = false;
if ($register) {
@@ -682,6 +682,7 @@ function login($register = false) {
'$openid' => !$noid,
'$lopenid' => array('openid_url', t('OpenID: '),'',''),
+ '$hiddens' => $hiddens,
'$register' => $reg,