Skip to content

Commit

Permalink
Merge pull request #3469 from Jimmi08/patch-6
Browse files Browse the repository at this point in the history
{LOGIN_TABLE_FPW_LINK} - added class #3466
  • Loading branch information
CaMer0n authored Sep 27, 2018
2 parents abcc3d5 + e1a9355 commit b757b09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions e107_core/shortcodes/batch/login_shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,16 @@ 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>";
}


Expand Down

0 comments on commit b757b09

Please sign in to comment.