$changeSkinTo)); } elseif ($action=='generateEduroamId') { $eduroamDOMAIN = readVariable($_POST['eduroamDOMAIN'],'enum',null,$eduroamDOMAINS); $eduroamPASSWORD = @exec('pwgen'); if (__TANAR===true) { $eduroamAFFILIATION = 'faculty'; } elseif (__DIAK===true) { $eduroamAFFILIATION = 'student'; } else { $eduroamAFFILIATION = 'staff'; } createEduroamSettings(array('userAccount'=>$userAccount,'policy'=> $toPolicy, 'eduroamUID' => $userAccount, 'eduroamDOMAIN'=>$eduroamDOMAIN, 'eduroamAFFILIATION'=>$eduroamAFFILIATION, 'eduroamPASSWORD'=>$eduroamPASSWORD)); } elseif ($action=='modoifyEduroamId') { } $userInfo = getUserInfo($userAccount, $toPolicy); // keretrendszer attribútumai $accountInfo = getAccountInfo($userAccount, $toPolicy); // backend attribútumai $ADAT = getUserSettings($userAccount, $toPolicy); $ADAT['activity'] = getMyActivity(); if ($toPolicy=='private' && _POLICY ==='private') { //DISABLED $ADAT['eduroamAdat'] = getEduroamSettings($userAccount, $toPolicy, array()); } ?>