mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Closes #1801 Code cleanup. Deprecated method errors added.
This commit is contained in:
@@ -771,7 +771,7 @@ class banlist_form_ui extends e_admin_form_ui
|
||||
|
||||
|
||||
|
||||
return $this->selectbox('banlist_bantype',$ipAdministrator->banTypes, $curVal);
|
||||
return $this->select('banlist_bantype',$ipAdministrator->banTypes, $curVal);
|
||||
break;
|
||||
|
||||
case 'filter':
|
||||
@@ -817,7 +817,7 @@ class banlist_form_ui extends e_admin_form_ui
|
||||
$opts[$curVal] = e107::getParser()->toDate($curVal, 'short');
|
||||
}
|
||||
|
||||
return $this->selectbox('banlist_banexpires',$opts, $curVal);
|
||||
return $this->select('banlist_banexpires',$opts, $curVal);
|
||||
// return $frm->text('banlist_banexpires',$curVal);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user