allow hidden fields in login form

This commit is contained in:
Fabio Comuni 2011-11-07 17:34:29 +01:00
parent 69e41f7703
commit 9b1a498061
1 changed files with 2 additions and 1 deletions

View File

@ -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,