Merge branch 'oauthapi'
This commit is contained in:
commit
00c342e13d
26 changed files with 3183 additions and 8 deletions
3
boot.php
3
boot.php
|
@ -654,7 +654,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) {
|
||||
|
@ -685,6 +685,7 @@ function login($register = false) {
|
|||
'$openid' => !$noid,
|
||||
'$lopenid' => array('openid_url', t('OpenID: '),'',''),
|
||||
|
||||
'$hiddens' => $hiddens,
|
||||
|
||||
'$register' => $reg,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue