mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
Adding shortcode for displaying login page
This commit is contained in:
parent
e948c6fc11
commit
a345173c1f
@ -187,6 +187,18 @@ class plugin_signin_signin_shortcodes extends e_shortcode
|
||||
|
||||
}
|
||||
|
||||
function sc_signin_login_href($parm = '')
|
||||
{
|
||||
|
||||
if ($this->regMode == 0 )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return e_LOGIN;
|
||||
|
||||
}
|
||||
|
||||
function sc_signin_resend_href($parm=null)
|
||||
{
|
||||
if ($this->regMode !== 1 || $this->authMethod !== 'e107')
|
||||
|
Loading…
x
Reference in New Issue
Block a user