diff --git a/e107_core/shortcodes/batch/login_shortcodes.php b/e107_core/shortcodes/batch/login_shortcodes.php index 27b4f9037..8f087b483 100644 --- a/e107_core/shortcodes/batch/login_shortcodes.php +++ b/e107_core/shortcodes/batch/login_shortcodes.php @@ -185,11 +185,16 @@ class login_shortcodes extends e_shortcode } + /* example {LOGIN_TABLE_SIGNUP_LINK} */ + /* example {LOGIN_TABLE_SIGNUP_LINK: class=hover-black dg-btn-2 radius-3px btn-white hover-accent size-lg} */ function sc_login_table_signup_link($parm='') { + if($this->userReg === 1) { - return "".LAN_LOGIN_11.""; + $class = (!empty($parm['class'])) ? "class='".$parm['class']."'" : ""; + + return "".LAN_LOGIN_11.""; } return null;