- 'title' => $title,
- 'locked' => ADD_SELECTION("yn", $locked, "locked", $id),
- 'hidden' => ADD_SELECTION("yn", $hidden, "hidden", $id),
- 'admin' => ADD_SELECTION("yn", $admin , "admin" , $id),
- 'mem' => ADD_SELECTION("yn", $mem , "member", $id),
+ 'title' => $data['title'],
+ 'locked' => addSelectionBox('yn', $data['locked'] , 'locked', $id),
+ 'hidden' => addSelectionBox('yn', $data['hidden'] , 'hidden', $id),
+ 'admin' => addSelectionBox('yn', $data['admin_only'], 'admin' , $id),
+ 'mem' => addSelectionBox('yn', $data['mem_only'] , 'member', $id),