diff --git a/e107_core/shortcodes/batch/login_shortcodes.php b/e107_core/shortcodes/batch/login_shortcodes.php index e207959e87..3a7471b966 100644 --- a/e107_core/shortcodes/batch/login_shortcodes.php +++ b/e107_core/shortcodes/batch/login_shortcodes.php @@ -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 "".LAN_LOGIN_12.""; + $class = (!empty($parm['class'])) ? "class='".$parm['class']."'" : ""; + return "".LAN_LOGIN_12.""; } } -?> \ No newline at end of file +?>