From e1a9355eaf1abd5f97e184ce44c2b474bde43913 Mon Sep 17 00:00:00 2001 From: Jimako Date: Thu, 27 Sep 2018 14:42:14 +0200 Subject: [PATCH] {LOGIN_TABLE_FPW_LINK} - added class #3466 --- e107_core/shortcodes/batch/login_shortcodes.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 +?>