allow hidden fields in login form
This commit is contained in:
parent
69e41f7703
commit
9b1a498061
3
boot.php
3
boot.php
|
@ -651,7 +651,7 @@ function get_guid($size=16) {
|
||||||
// returns the complete html for inserting into the page
|
// returns the complete html for inserting into the page
|
||||||
|
|
||||||
if(! function_exists('login')) {
|
if(! function_exists('login')) {
|
||||||
function login($register = false) {
|
function login($register = false, $hiddens=false) {
|
||||||
$o = "";
|
$o = "";
|
||||||
$reg = false;
|
$reg = false;
|
||||||
if ($register) {
|
if ($register) {
|
||||||
|
@ -682,6 +682,7 @@ function login($register = false) {
|
||||||
'$openid' => !$noid,
|
'$openid' => !$noid,
|
||||||
'$lopenid' => array('openid_url', t('OpenID: '),'',''),
|
'$lopenid' => array('openid_url', t('OpenID: '),'',''),
|
||||||
|
|
||||||
|
'$hiddens' => $hiddens,
|
||||||
|
|
||||||
'$register' => $reg,
|
'$register' => $reg,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue