aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/skin/classic/module-session
diff options
context:
space:
mode:
authorM.Gergo2019-01-20 11:48:48 +0100
committerM.Gergo2019-01-20 11:48:48 +0100
commitf70027ffbedce10f412868a7bf9b0b67b113f1b1 (patch)
treefbcc48049f1e66fe3ec66a0f3d8eee47bb400cdb /mayor-orig/www/skin/classic/module-session
parente6988247360fa98b85915a38803d018dd353df00 (diff)
downloadmayor-f70027ffbedce10f412868a7bf9b0b67b113f1b1.tar.gz
mayor-f70027ffbedce10f412868a7bf9b0b67b113f1b1.zip
Rev: 4423
Diffstat (limited to 'mayor-orig/www/skin/classic/module-session')
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml31
1 files changed, 29 insertions, 2 deletions
diff --git a/mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml b/mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml
index cd1cafa9..b38ffa8f 100644
--- a/mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml
+++ b/mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml
@@ -26,7 +26,7 @@
}
function putEduroamForm($ADAT) {
-return false;
+// return false;
global $eduroamDOMAINS;
if (__TANAR===true) {
$eduroamAFFILIATION = 'faculty';
@@ -43,7 +43,7 @@ return false;
} else {
echo '<input type="hidden" name="action" value="generateEduroamId" />';
$ADAT['eduroamAdat']['eduroamUID'] = _USERACCOUNT;
- $ADAT['eduroamAdat']['eduroamPASSWORD'] = @exec('pwgen'); // --TODO
+ $ADAT['eduroamAdat']['eduroamPASSWORD'] = "********";
}
echo '<table align="center" class="personalSettings">';
echo '<thead>';
@@ -309,4 +309,31 @@ return false;
}
+ function putAccountActivityForm($ADAT) {
+ formBegin();
+ echo '<input type="hidden" name="action" value="tokenLogout" />';
+ echo '<table class="personalSettings" align="center" cellspacing="1">';
+ echo '<thead>';
+ echo '<tr><th colspan="3">Hosszú lejáratú munkamenetek</th></tr>';
+ echo '</thead>';
+ echo '<tfoot>';
+ echo '<tr><th colspan="3"><input type="submit" value="Kijelentkezés mindenhonnan" /></th></tr>';
+ echo '</tfoot>';
+ echo '<tr><th></th><th>Ip</th><th>Aktivitás</th></tr>';
+ for ($i=0; $i<count($ADAT['activity']); $i++) {
+ echo '<tr>';
+ echo '<th>'.($i+1);
+ echo '</th>';
+ echo '<td>';
+ echo ($ADAT['activity'][$i]['ipAddress']);
+ echo '</td>';
+ echo '<td>';
+ echo ($ADAT['activity'][$i]['activity']);
+ echo '</td>';
+ echo '</tr>';
+ }
+ echo '</table>';
+ formEnd();
+ }
+
?>