webformConfig(); authentication_require_role($formconf['required_role']); $handler->getList(''); $items = $handler->result(); $smarty->assign('admin_list', $list_admins); $smarty->assign('admin_selected', $username); #if ($is_superadmin) { $smarty->assign('smarty_template', 'list'); $smarty->assign('struct', $handler->getStruct()); $smarty->assign('msg', $handler->getMsg()); $smarty->assign('table', $table); $smarty->assign('items', $items); $smarty->assign('id_field', $handler->getId_field()); $smarty->assign('formconf', $formconf); #} else { # $smarty->assign ('smarty_template', 'overview-get'); #} $smarty->display ('index.tpl'); /* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */ ?>