diff --git a/e107_admin/admin_log.php b/e107_admin/admin_log.php
index 8c68adb02..fac4594ad 100644
--- a/e107_admin/admin_log.php
+++ b/e107_admin/admin_log.php
@@ -422,23 +422,23 @@ if($action == "config")
".RL_LAN_123." |
".RL_LAN_026."
|
- ".RL_LAN_124." |
- ".RL_LAN_031."
- ";
- foreach($audit_checkboxes as $k => $t)
- {
- $text .= "
-
- ";
- //$text .= $frm->checkbox('user_audit_opts[]', $k, $user_signup_opts[$k], array('label' => $t)); //FIXME buggy/non-functional
- }
- $text .= $frm->admin_button('check_all', 'jstarget:user_audit_opts', 'action', LAN_CHECKALL).$frm->admin_button('uncheck_all', 'jstarget:user_audit_opts', 'action', LAN_UNCHECKALL)."
+ | ".RL_LAN_031." |
+ ";
+
+ foreach($audit_checkboxes as $k => $t)
+ {
+ $checked = isset($user_signup_opts[$k]) ? true : false;
+ $text .= $frm->checkbox('user_audit_opts[]',$k, $checked, array('label'=>$t));
+ }
+
+
+ $text .= $frm->admin_button('check_all', 'jstarget:user_audit_opts', 'checkall', LAN_CHECKALL).$frm->admin_button('uncheck_all', 'jstarget:user_audit_opts', 'checkall', LAN_UNCHECKALL)."
|
";
diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index e37e51825..63f9ac1ac 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -1546,6 +1546,9 @@ class e_form
$options['class'] .= 'btn-success';
break;
+ case 'checkall':
+ $options['class'] .= 'btn-mini';
+ break;
case 'cancel':
// use this for neutral colors.