1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 01:25:01 +02:00

More login page changes

This commit is contained in:
Cameron
2012-11-26 21:53:56 -08:00
parent 12dc8327be
commit 667b8fd46f
2 changed files with 2 additions and 1 deletions

View File

@@ -262,7 +262,7 @@ class auth
} }
$text .= "<div class='admin-submit'>" $text .= "<div class='admin-submit'>"
.$frm->admin_button('authsubmit',ADLAN_91); .$frm->admin_button('authsubmit',ADLAN_91,'login');
if (e107::getSession()->is('challenge') && varset($pref['password_CHAP'], 0)) if (e107::getSession()->is('challenge') && varset($pref['password_CHAP'], 0))
{ {

View File

@@ -1120,6 +1120,7 @@ class e_form
$options['class'] .= 'btn-success'; $options['class'] .= 'btn-success';
break; break;
case 'login':
case 'batch': case 'batch':
case 'batch e-hide-if-js': // FIXME hide-js shouldn't be here. case 'batch e-hide-if-js': // FIXME hide-js shouldn't be here.
$options['class'] .= 'btn-primary'; $options['class'] .= 'btn-primary';