aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/policy/private/session
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/policy/private/session')
-rw-r--r--mayor-orig/www/policy/private/session/accountInfo-pre.php9
-rw-r--r--mayor-orig/www/policy/private/session/accountInfo.php2
2 files changed, 9 insertions, 2 deletions
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);
?>