mirror of
https://github.com/e107inc/e107.git
synced 2025-07-27 18:00:30 +02:00
Merge pull request #4340 from Jimmi08/patch-12
Signin: Added shortcode for displaying link to login page
This commit is contained in:
@@ -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')
|
||||
|
Reference in New Issue
Block a user