From e6988247360fa98b85915a38803d018dd353df00 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Sun, 16 Dec 2018 16:35:17 +0100 Subject: Rev: 4412 --- mayor-orig/www/policy/private/session/accountInfo-pre.php | 9 +++++++-- mayor-orig/www/policy/private/session/accountInfo.php | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'mayor-orig/www/policy/private/session') diff --git a/mayor-orig/www/policy/private/session/accountInfo-pre.php b/mayor-orig/www/policy/private/session/accountInfo-pre.php index 7bf243cc..226ecd26 100644 --- a/mayor-orig/www/policy/private/session/accountInfo-pre.php +++ b/mayor-orig/www/policy/private/session/accountInfo-pre.php @@ -39,13 +39,18 @@ $changeSkinTo = readVariable($_POST['changeSkinTo'],'enum',null,$SKINSSHOW); setUserSettings($userAccount, $toPolicy, array('skin'=>$changeSkinTo)); - } + } elseif ($action=='generateEduroamId') { + } elseif ($action=='modoifyEduroamId') { + } $userInfo = getUserInfo($userAccount, $toPolicy); // keretrendszer attribĂștumai $accountInfo = getAccountInfo($userAccount, $toPolicy); // backend attribĂștumai $ADAT = getUserSettings($userAccount, $toPolicy); - + if ($toPolicy=='private' && _POLICY ==='private') { + $ADAT['eduroamAdat'] = getEduroamSettings($userAccount, $toPolicy); + // dump($ADAT); + } ?> diff --git a/mayor-orig/www/policy/private/session/accountInfo.php b/mayor-orig/www/policy/private/session/accountInfo.php index 7c4a3e0a..e072907b 100644 --- a/mayor-orig/www/policy/private/session/accountInfo.php +++ b/mayor-orig/www/policy/private/session/accountInfo.php @@ -10,6 +10,8 @@ putUserSettingsForm($ADAT); + putEduroamForm($ADAT); + putAccountInfoForm($userInfo, $accountInfo, $backendAttrDef, $toPolicy); ?> -- cgit v1.2.3