diff --git a/list.php b/list.php index 74c21cc6..f64907ad 100644 --- a/list.php +++ b/list.php @@ -48,7 +48,8 @@ authentication_require_role($formconf['required_role']); $handler->getList(''); $items = $handler->result(); -$smarty->assign ('select_options', select_options($list_admins, array ($fUsername)), false); +$smarty->assign('admin_list', $list_admins); +$smarty->assign('admin_selected', $username); #if ($is_superadmin) { $smarty->assign('smarty_template', 'list'); $smarty->assign('struct', $handler->getStruct()); diff --git a/templates/list.tpl b/templates/list.tpl index 31176f46..2c4f3529 100644 --- a/templates/list.tpl +++ b/templates/list.tpl @@ -1,9 +1,9 @@