Skip to content

Commit

Permalink
{LOGIN_TABLE_FPW_LINK} - added class #3466
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmi08 authored Sep 27, 2018
1 parent c691848 commit e1a9355
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions e107_core/shortcodes/batch/login_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,19 @@ function sc_login_table_signup_link($parm='')
}


/* 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>";
}


}

?>
?>

0 comments on commit e1a9355

Please sign in to comment.