diff --git a/e107_core/shortcodes/batch/login_shortcodes.php b/e107_core/shortcodes/batch/login_shortcodes.php
index e207959e8..abc1db8f5 100644
--- a/e107_core/shortcodes/batch/login_shortcodes.php
+++ b/e107_core/shortcodes/batch/login_shortcodes.php
@@ -178,11 +178,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;
@@ -202,4 +207,4 @@ class login_shortcodes extends e_shortcode
}
-?>
\ No newline at end of file
+?>