mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
{LOGIN_TABLE_FPW_LINK} - added class #3466
This commit is contained in:
@@ -189,14 +189,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='')
|
function sc_login_table_fpw_link($parm='')
|
||||||
{
|
{
|
||||||
if(empty($this->userReg))
|
if(empty($this->userReg))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
$class = (!empty($parm['class'])) ? "class='".$parm['class']."'" : "";
|
||||||
return "<a href='".e_BASE."fpw.php'>".LAN_LOGIN_12."</a>";
|
return "<a href='".e_HTTP."fpw.php' ".$class.">".LAN_LOGIN_12."</a>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user