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
|
||||
|
||||
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,
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user