mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 20:21:51 +02:00
Merge pull request #3469 from Jimmi08/patch-6
{LOGIN_TABLE_FPW_LINK} - added class #3466
This commit is contained in:
commit
b757b0988c
@ -201,14 +201,16 @@ class login_shortcodes extends e_shortcode
|
||||
}
|
||||
|
||||
|
||||
/* example {LOGIN_TABLE_FPW_LINK} */
|
||||
/* example {LOGIN_TABLE_FPW_LINK: class=dg-btn-2 btn-white radius-3px hover-white size-xl} */
|
||||
function sc_login_table_fpw_link($parm='')
|
||||
{
|
||||
if(empty($this->userReg))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
return "<a href='".e_BASE."fpw.php'>".LAN_LOGIN_12."</a>";
|
||||
$class = (!empty($parm['class'])) ? "class='".$parm['class']."'" : "";
|
||||
return "<a href='".e_HTTP."fpw.php' ".$class.">".LAN_LOGIN_12."</a>";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user