diff --git a/e107_core/shortcodes/batch/fpw_shortcodes.php b/e107_core/shortcodes/batch/fpw_shortcodes.php index 17b644551b..40795cfc8e 100644 --- a/e107_core/shortcodes/batch/fpw_shortcodes.php +++ b/e107_core/shortcodes/batch/fpw_shortcodes.php @@ -43,12 +43,15 @@ function sc_fpw_useremail($parm = null) function sc_fpw_submit($parm = null) { - + $options = array(); + $options['class'] = (!empty($parm['class'])) ? $parm['class'] : "btn submit btn-success"; + // return ''; // return ""; $label = deftrue('LAN_FPW_102', LAN_SUBMIT); - return e107::getForm()->button('pwsubmit', $label); + //return e107::getForm()->button('pwsubmit', $label); + return e107::getForm()->button('pwsubmit', $label, 'submit', $label, $options); } function sc_fpw_captcha_lan($parm = null) @@ -102,4 +105,4 @@ function sc_fpw_text($parm = null) { return deftrue('LAN_FPW_101', "Not to worry. Just enter your email address below and we'll send you an instruction email for recovery."); } -} \ No newline at end of file +}