- 'admins_selection' => ADD_OPTION_LINES("admins", "id", "login", $aid, "default_acl"),
- 'action_selection' => ADMIN_MENU_SELECTION("action", $act, $id),
- 'what_selection' => ADMIN_MENU_SELECTION("what", $wht, $id),
- 'mode_options' => ADD_OPTION_LINES(
- "/ARRAY/",
- array("allow", "deny"),
- array(constant('ADMINS_ALLOW_MODE'), constant('ADMINS_DENY_MODE')),
+ 'admins_selection' => generateOptionList('admins', 'id', 'login', $adminId, 'default_acl'),
+ 'action_selection' => adminMenuSelectionBox_DEPRECATED('action', $action, $id),
+ 'what_selection' => adminMenuSelectionBox_DEPRECATED('what', $what, $id),
+ 'mode_options' => generateOptionList(
+ '/ARRAY/',
+ array('allow', 'deny'),
+ array(
+ getMessage('ADMINS_ALLOW_MODE'),
+ getMessage('ADMINS_DENY_MODE')
+ ),