aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/skin/classic/module-session
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/skin/classic/module-session')
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/accountInfo.css112
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/admin/knownNodes.css14
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/admin/registration.css54
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/createAccount.css24
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/createGroup.css13
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/download.css9
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/facebookConnect.css25
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/googleapi.css24
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/groupInfo.css96
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/search/searchAccount.css31
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/search/searchGroup.css44
-rw-r--r--mayor-orig/www/skin/classic/module-session/css/sessionAdmin.css12
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml339
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/admin/knownNodes.phtml70
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/admin/registration.phtml270
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/createAccount.phtml107
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/createGroup.phtml90
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/download.phtml32
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/facebookConnect.phtml53
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/googleapi.phtml45
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/groupInfo.phtml5
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/search/searchAccount.phtml126
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/search/searchGroup.phtml103
-rw-r--r--mayor-orig/www/skin/classic/module-session/html/sessionAdmin.phtml58
-rw-r--r--mayor-orig/www/skin/classic/module-session/img/download.gifbin1516 -> 0 bytes
-rw-r--r--mayor-orig/www/skin/classic/module-session/javascript/createAccount.jquery.min.js13
-rw-r--r--mayor-orig/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js31
-rw-r--r--mayor-orig/www/skin/classic/module-session/javascript/googleapi.jquery.min.js30
28 files changed, 0 insertions, 1830 deletions
diff --git a/mayor-orig/www/skin/classic/module-session/css/accountInfo.css b/mayor-orig/www/skin/classic/module-session/css/accountInfo.css
deleted file mode 100644
index 92b23fec..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/accountInfo.css
+++ /dev/null
@@ -1,112 +0,0 @@
-
- table.personalSettings {
- background-color: rgb(220,220,220);
- color: white;
- margin-top: 20px;
- }
-
- table.personalSettings thead th {
- background-color: cornflowerblue;
- padding: 5px 40px 5px 40px;
- }
- table.personalSettings.asAdamin thead th {
- background-color: cornflowerblue;
- }
- table.personalSettings thead th.policy {
- background-color: rgb(225,125,25);
- }
-
- table.personalSettings tfoot th {
- background-color: cornflowerblue;
- height:30px;
- }
- table.personalSettings.asAdmin tfoot th { background-color: #f60; }
-
- table.personalSettings tbody td {
- background-color: rgb(200,200,210);
- }
-
- table.personalSettings tbody th {
- width: 100px;
- background-color: rgb(120,120,140);
- }
-
-/* ------------------------- */
-
-
- table.changePassword {
- margin-top: 20px;
- background-color: rgb(220,220,220);
- color: white;
- }
-
- table.changePassword thead th {
- background-color: rgb(60,20,100);
- padding: 5px 40px 5px 40px;
- }
-
- table.changePassword tfoot th {
- background-color: rgb(60,20,100);
- }
-
- table.changePassword tbody td {
- background-color: rgb(200,200,210);
- }
-
- table.changePassword tbody th {
- width: 100px;
- background-color: rgb(120,120,140);
- }
-
-/* WALL */
-
- div#wall {
- text-align:center;
- }
-
- div#wall table {
- margin: 20px auto;
- background-color: rgb(220,220,220);
- color: white;
- }
-
- div#wall table thead th {
- background-color: rgb(60,20,100);
- padding: 5px 40px 5px 40px;
- }
-
- div#wall table tfoot th {
- background-color: rgb(60,20,100);
- }
-
- div#wall table tbody td {
- background-color: rgb(200,200,210);
- }
-
- div#wall table tbody th {
- width: 100px;
- background-color: rgb(120,120,140);
- }
-
- div.wall {
- margin:20px auto;
- border: solid 2px #887780;
- background-color: #eedde0;
- color: black;
- width:400px;
- padding:5px;
- }
- div.centro { text-align: center; }
- div.wall { text-align: left; }
- div.wall h1 { font-size:larger; margin:0px; padding-bottom: 5px;}
- div.wall h2 { font-size:smaller; margin:0px; padding:0px; text-align: right;}
- div.wall img { border: none; top:5px; right:5px; float:right; }
-
-
- table.attr { min-width: 320px; width: 100%; }
- table.attr tr th { min-width: 100px; text-align:left; font-weight:normal; height:2em; padding:4px 8px; }
- table.attr tr td { background-color: white; color: black; text-align: left; min-width: 150px; }
-
-
- div.unknownAttr { background-color: orange; text-align: center; }
-
diff --git a/mayor-orig/www/skin/classic/module-session/css/admin/knownNodes.css b/mayor-orig/www/skin/classic/module-session/css/admin/knownNodes.css
deleted file mode 100644
index f61a0b60..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/admin/knownNodes.css
+++ /dev/null
@@ -1,14 +0,0 @@
-
-form#search { background-color: #eee; padding: 5px; text-align: center; margin: 10px auto; width: 400px; }
-form#search h3 { border-bottom: 1px solid #600; padding: 2px 10px; margin: 10px 40px; }
-form#search label { margin-right: 5px; }
-form#search input { margin-left: 10px; }
-
-table#nodes { background-color: white; border: solid 1px #ddd; border-spacing: 0px; margin: auto; }
-table#nodes td, table#nodes th { border: solid 1px #ddd; padding: 2px 5px; }
-table#nodes tr.fejlesztoi td { background-color: #060; color: white; }
-table#nodes tr.fenntarto td { background-color: #006; color: white; }
-table#nodes tr.controller td { background-color: #600; color: white; }
-table#nodes tr.backup td { background-color: #630; color: white; }
-table#nodes td input.pong { background-color: #282; color: white; }
-table#nodes td input.delete { background-color: #d00; color: white; }
diff --git a/mayor-orig/www/skin/classic/module-session/css/admin/registration.css b/mayor-orig/www/skin/classic/module-session/css/admin/registration.css
deleted file mode 100644
index d951061d..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/admin/registration.css
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
- form.reg { background-color: #d2dfe9; margin:40px; text-align: center; border: 5px solid #c2cfd9; background-color: #68a; border-color: #79b; }
- form#modForm.reg { background-color: #8b9; border-color: #6a8; }
-
- form.reg > div.adatok, div#bal > div { border: solid 1px white; background-color: #428fa9; color: white; background-color: #246;}
- form#modForm.reg > div.adatok, form#modForm.reg div#bal > div { background-color: #4a6; color: #600; }
-
- form.reg div#bal { float: left; }
- form.reg div.leiras { background-color: #ddd; color: #246; text-align: left; width: 600px; padding: 5px 20px; margin: 0px auto 15px auto; }
- form.reg div#bal div.leiras { width: 400px; height: 400px; overflow: auto; background-color: #ddd; color: #246; padding: 10px; margin: 0px 20px 10px 0px; text-align: justify; }
- form#modForm.reg div#bal div.leiras { background-color: #ddd; color: #264; }
- form.reg div.leiras.offline { font-size: 14px; text-align: left; height:410px;}
- form.reg div.leiras.offline ol li { padding: 0.3em; }
-
- form.reg div.tamogatas { background-color: #446; width: 380px; padding: 20px; text-align: center; color: white; }
- form.reg div.tamogatas input[type=submit] { width: 60%; margin:1em;}
- form.reg div.tamogatas input[type=text] { width: 60%;}
- form.reg div.tamogatas select { text-align: right; }
- form.reg div.tamogatas p.hibaeseten { background-color: white; color: black; padding: 5px; }
-
- form.reg div.adatok { height: 600px; text-align: left; padding: 10px; margin-bottom: 10px; overflow-y: scroll; }
- form.reg h3 { text-align: center;background-color: #eee; border-bottom: solid 1px #ff0066; padding: 5px; margin: 0px 0px 2em 0px; color: #246; }
- form.reg div.adatok label { display: inline-block; text-align: right; padding-right: 5px; width: 250px; }
-
- form.reg div.adatok input[type=text] { width: 400px; margin-top: 10px; background-color: #ccc; border: solid 1px white;}
- form.reg div.adatok input[type=text].kotelezo { background-color: white; }
-
-
- div.validRegisztracio {
- text-align:center;
- background-color: lightgreen;
- margin:40px;
- height:5em;
- font-size:large;
- line-height:5em;
- vertical-align:middle;
- color:white;
- }
- div.validRegisztracio span { padding-right:10px; }
-
- div.notValidRegisztracio {
- text-align:center;
- background-color: #EE9090;
- margin:40px;
- height:5em;
- font-size:large;
- line-height:5em;
- vertical-align:middle;
- color:white;
- }
- div.notValidRegisztracio span { padding-right:10px; }
-
- h2 { margin-left:40px; } \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/css/createAccount.css b/mayor-orig/www/skin/classic/module-session/css/createAccount.css
deleted file mode 100644
index 6c1e19ca..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/createAccount.css
+++ /dev/null
@@ -1,24 +0,0 @@
-@media screen,print {
-
- table.new input { border: solid 1px black; }
-
- table.searchresult { background-color: #aaaaaa; margin-bottom:20px; }
- table.searchresult thead th { background-color: #d6bddb; height:2em; border-bottom: solid 2px purple; }
- table.searchresult tfoot th { background-color: purple; }
- table.searchresult th { background-color: #ffffff; }
- table.searchresult a { color: black; text-decoration: none; }
- table.searchresult a:hover { text-decoration: underline; }
-
- table.new { background-color: #aaaaaa; margin-bottom:20px; margin-top:30px;}
- table.new thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
- table.new thead td { text-align: center; background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
- table.new th { background-color: #ffffff; }
- table.new td { background-color: #ffffff; }
- table.new td input { }
-
- .paros { background-color: #eeeeee; }
- .paratlan { background-color: #dddddd; }
-
- table.new input.hiba { outline: solid 1px red; }
-
-} \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/css/createGroup.css b/mayor-orig/www/skin/classic/module-session/css/createGroup.css
deleted file mode 100644
index 78e0b4fc..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/createGroup.css
+++ /dev/null
@@ -1,13 +0,0 @@
-@media screen,print {
-
- table.new { background-color: #aaaaaa; margin-bottom:20px;}
- table.new thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
- table.new thead td { text-align: center; background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
- table.new th { background-color: #ffffff; }
- table.new td { background-color: #ffffff; }
- table.new td input { width:95%; }
-
- .paros { background-color: #eeeeee; }
- .paratlan { background-color: #dddddd; }
-
-} \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/css/download.css b/mayor-orig/www/skin/classic/module-session/css/download.css
deleted file mode 100644
index fddc58c3..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/download.css
+++ /dev/null
@@ -1,9 +0,0 @@
-
- div.download { text-align: center; }
- div.download h1 { border: black dotted; border-width: 1px 0px; font-size: 14px; width: 60%; margin: 0px auto; }
- div.download table { margin: 10px auto; background-color: rgb(80,40,40); text-align: left; }
- div.download table th { padding: 10px; background-color: rgb(200,100,10); color: white; text-align: right; }
- div.download table td { background-color: rgb(220,220,200); padding: 10px 40px; }
- div.download table td a { text-decoration: none; color: red; }
- div.download table td a:hover { text-decoration: underline; }
- div.download p { background-color: rgb(200,200,160); padding: 20px; width: 60%; margin: 0px auto; }
diff --git a/mayor-orig/www/skin/classic/module-session/css/facebookConnect.css b/mayor-orig/www/skin/classic/module-session/css/facebookConnect.css
deleted file mode 100644
index c8abdba2..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/facebookConnect.css
+++ /dev/null
@@ -1,25 +0,0 @@
-div#fbConnect {
- max-width: 500px;
- text-align: center;
- margin: 40px auto;
- height: 5em;
- font-size: large;
- line-height: 5em;
- vertical-align: middle;
- color: #FFF;
-}
-div#fbConnect.valid {
- background-color: #90EE90;
-}
-div#fbConnect.notvalid {
- background-color: orange;
-}
-div#fbConnect.notActive {
- background-color: red;
-}
-div#fbConnect.grant {
- background-color: #3b5998;
-}
-div#fbConnect span {
- padding-right:4px;
-} \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/css/googleapi.css b/mayor-orig/www/skin/classic/module-session/css/googleapi.css
deleted file mode 100644
index c5cae8c8..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/googleapi.css
+++ /dev/null
@@ -1,24 +0,0 @@
-div#googleapi {
- max-width: 500px;
- text-align: center;
- margin: 40px auto;
- height: 5em;
- font-size: large;
- line-height: 5em;
- vertical-align: middle;
- color: #FFF;
-}
-div#googleapi.valid {
- background-color: #90EE90;}
-div#googleapi.notvalid {
- background-color: orange;
-}
-div#googleapi.notActive {
- background-color: red;
-}
-div#googleapi.grant {
- background-color: cornflowerblue;
-}
-div#googleapi span {
- padding-right:4px;
-} \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/css/groupInfo.css b/mayor-orig/www/skin/classic/module-session/css/groupInfo.css
deleted file mode 100644
index c8f16d61..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/groupInfo.css
+++ /dev/null
@@ -1,96 +0,0 @@
-
- table.personalSettings {
- background-color: rgb(220,220,220);
- color: white;
- margin-top: 20px;
- }
-
- table.personalSettings thead th {
- background-color: rgb(60,20,100);
- padding: 5px 40px 5px 40px;
- }
-
- table.personalSettings tfoot th {
- background-color: rgb(60,20,100);
- }
-
- table.personalSettings tbody td {
- background-color: rgb(200,200,210);
- }
-
- table.personalSettings tbody th {
- width: 100px;
- background-color: rgb(120,120,140);
- }
-
-/* ------------------------- */
-
-
- table.changePassword {
- margin-top: 20px;
- background-color: rgb(220,220,220);
- color: white;
- }
-
- table.changePassword thead th {
- background-color: rgb(60,20,100);
- padding: 5px 40px 5px 40px;
- }
-
- table.changePassword tfoot th {
- background-color: rgb(60,20,100);
- }
-
- table.changePassword tbody td {
- background-color: rgb(200,200,210);
- }
-
- table.changePassword tbody th {
- width: 100px;
- background-color: rgb(120,120,140);
- }
-
-/* WALL */
-
- div#wall {
- text-align:center;
- }
-
- div#wall table {
- margin: 20px auto;
- background-color: rgb(220,220,220);
- color: white;
- }
-
- div#wall table thead th {
- background-color: rgb(60,20,100);
- padding: 5px 40px 5px 40px;
- }
-
- div#wall table tfoot th {
- background-color: rgb(60,20,100);
- }
-
- div#wall table tbody td {
- background-color: rgb(200,200,210);
- }
-
- div#wall table tbody th {
- width: 100px;
- background-color: rgb(120,120,140);
- }
-
- div.wall {
- margin:20px auto;
- border: solid 2px #887780;
- background-color: #eedde0;
- color: black;
- width:400px;
- padding:5px;
- }
- div.centro { text-align: center; }
- div.wall { text-align: left; }
- div.wall h1 { font-size:larger; margin:0px; padding-bottom: 5px;}
- div.wall h2 { font-size:smaller; margin:0px; padding:0px; text-align: right;}
- div.wall img { border: none; top:5px; right:5px; float:right; }
-
diff --git a/mayor-orig/www/skin/classic/module-session/css/search/searchAccount.css b/mayor-orig/www/skin/classic/module-session/css/search/searchAccount.css
deleted file mode 100644
index 5a41b2e9..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/search/searchAccount.css
+++ /dev/null
@@ -1,31 +0,0 @@
-@media screen,print {
-
- input { border: solid 1px black; }
-
- table.searchresult { background-color: #aaaaaa; margin-bottom:20px; }
- table.searchresult thead th { background-color: #d6bddb; height:2em; border-bottom: solid 2px purple; }
- table.searchresult thead th.policy { background-color: rgb(225,125,25); color: white; }
- table.searchresult tfoot th { background-color: purple; }
- table.searchresult th { background-color: #ffffff; }
- table.searchresult a { color: black; text-decoration: none; }
- table.searchresult a:hover { text-decoration: underline; }
- table.searchresult td form { display: inline; }
- table.searchresult td form input { margin: 0px 2px; }
- table.searchresult td form input:hover { background-color: red; }
-
- table.newgroup, table.newuser { background-color: #aaaaaa; margin-bottom:20px;}
- table.newgroup thead th, table.newuser thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
- table.newgroup th, table.newuser th { background-color: #ffffff; }
- table.newgroup td, table.newuser td { background-color: #ffffff; }
- table.newgroup td input, table.newuser td input { width:95%; }
-
- .paros { background-color: #eeeeee; }
- .paratlan { background-color: #dddddd; }
-
- table.search { background-color: #aaaaaa; margin-bottom:20px;}
- table.search thead th { background-color: #ccccee; height:2em; border-bottom: solid 2px purple; }
- table.search th { background-color: white; }
- table.search td { background-color: white; }
- table.search tfoot td { background-color: purple; }
-
-} \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/css/search/searchGroup.css b/mayor-orig/www/skin/classic/module-session/css/search/searchGroup.css
deleted file mode 100644
index 4a912bb1..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/search/searchGroup.css
+++ /dev/null
@@ -1,44 +0,0 @@
-@media screen,print {
- /*
- Module: useradmin
- */
-
- table.search { background-color: #aaaaaa; margin-bottom:20px; }
- table.search thead th {
- background-color: #ccccee; height:2em;
- border-bottom: solid 2px purple;
- }
- table.search th { background-color: white; }
- table.search td { background-color: white; }
- table.search tfoot td { background-color: purple; }
-
- input { border: solid 1px black; }
-
- table.searchresult { background-color: #aaaaaa;
- margin-bottom:20px;
- }
- table.searchresult thead th { background-color: #d6bddb; height:2em;
- border-bottom: solid 2px purple;
- }
- table.searchresult tfoot th { background-color: purple; }
- table.searchresult th { background-color: #ffffff; }
- table.searchresult a { color: black; text-decoration: none; }
- table.searchresult a:hover { text-decoration: underline; }
-
- table.newgroup, table.newuser { background-color: #aaaaaa; margin-bottom:20px;}
- table.newgroup thead th, table.newuser thead th {
- background-color: #ccccee; height:2em;
- border-bottom: solid 2px purple;
- }
- table.newgroup th, table.newuser th { background-color: #ffffff; }
- table.newgroup td, table.newuser td { background-color: #ffffff; }
- table.newgroup td input, table.newuser td input { width:95%; }
-
- .paros {
- background-color: #eeeeee;
- }
- .paratlan {
- background-color: #dddddd;
- }
-
-} \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/css/sessionAdmin.css b/mayor-orig/www/skin/classic/module-session/css/sessionAdmin.css
deleted file mode 100644
index a64c2a48..00000000
--- a/mayor-orig/www/skin/classic/module-session/css/sessionAdmin.css
+++ /dev/null
@@ -1,12 +0,0 @@
-
- table.lista { width:95%; background-color: #aaa; margin: auto; margin-top:10px;
- border-spacing: 1px;
- /*border-collapse: separate;*/
- font-size:smaller;
- }
- table.lista thead th, table.lista tfoot th { background-color: orange; color: white; padding: 2px 5px; }
- table.lista tbody th, table.lista tbody td { background-color: white; padding: 2px 5px; }
- table.lista tbody tr:nth-child(even) th, table.lista tbody tr:nth-child(even) td { background-color: #eee; }
- table.lista tbody tr:hover th, table.lista tbody tr:hover td { background-color: #999; color:white; }
-
- \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml b/mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml
deleted file mode 100644
index b38ffa8f..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml
+++ /dev/null
@@ -1,339 +0,0 @@
-<?php
-/*
- Module: base/session
-*/
-
- function putUserSettingsForm($ADAT) {
- global $SKINSSHOW;
- formBegin();
- echo '<input type="hidden" name="action" value="userSettingsModify" />';
- echo '<table align="center">';
- echo '<tr>';
- echo '<th>'._USERDEFAULTSKIN.'</th>';
- echo '<td>';
- echo '<select name="changeSkinTo">';
- echo '<option value=""></option>';
- foreach($SKINSSHOW as $_skin) {
- $_SEL = ($_skin == $ADAT['skin']) ? ' selected="selected" ' : '';
- echo '<option value="'.$_skin.'" '.$_SEL.'>'.$_skin.'</option>';
- }
- echo '</select>';
- echo '</td>';
- echo '</tr>';
- echo '<tr><th colspan="2"><input type="submit" value="'._OK.'" /></th></tr>';
- echo '</table>';
- formEnd();
- }
-
- function putEduroamForm($ADAT) {
-// return false;
- global $eduroamDOMAINS;
- if (__TANAR===true) {
- $eduroamAFFILIATION = 'faculty';
- } elseif (__DIAK===true) {
- $eduroamAFFILIATION = 'student';
- } else {
- $eduroamAFFILIATION = 'staff';
- }
- // info https://wiki.niif.hu/SulinetMassImport
-
- formBegin();
- if ($ADAT['eduroamAdat']['userAccount']!='') {
- echo '<input type="hidden" name="action" value="modifyEduroamId" />';
- } else {
- echo '<input type="hidden" name="action" value="generateEduroamId" />';
- $ADAT['eduroamAdat']['eduroamUID'] = _USERACCOUNT;
- $ADAT['eduroamAdat']['eduroamPASSWORD'] = "********";
- }
- echo '<table align="center" class="personalSettings">';
- echo '<thead>';
- echo '<tr><th colspan="2">Eduroam</th></tr>';
- echo '</thead>';
-
- echo '<tr>';
- echo '<th>Eduroam felhasználói név:</th>';
- echo '<td>'.($ADAT['eduroamAdat']['eduroamUID']).'@';
- if ($ADAT['eduroamDOMAIN']!='') {
- echo $ADAT['eduroamDOMAIN'];
- } else {
- echo '<select name="eduroamDOMAIN">';
- for ($i=0; $i<count($eduroamDOMAINS); $i++) {
- $_domain = $eduroamDOMAINS[$i];
- echo '<option value="'.$_domain.'">'.$_domain.'</option>';
- }
- echo '</select>';
- }
- echo '</td>';
- echo '</tr>';
-
- echo '<tr>';
- echo '<th>Eduroam jelszó:</th>';
- echo '<td>'.($ADAT['eduroamAdat']['eduroamPASSWORD']).'</td>';
- echo '</tr>';
-
- echo '<tr>';
- echo '<th>Eduroam viszony:</th>';
- echo '<td>'.($eduroamAFFILIATION).'</td>';
- echo '</tr>';
-
- echo '<tr><th colspan="2"><input type="submit" value="'._OK.'" /></th></tr>';
- echo '</table>';
- formEnd();
-
- }
-
- function putAttr($name, $values, $anAttrDef, $toPolicy = _POLICY) {
-
- global $AUTH;
-
- if ($anAttrDef['type'] == 'text') putTextAttr($name, $values, $anAttrDef);
- elseif ($anAttrDef['type'] == 'int') putTextAttr($name, $values, $anAttrDef);
- elseif ($anAttrDef['type'] == 'select') putSelectAttr($name, $values, $anAttrDef);
- elseif ($anAttrDef['type'] == 'radio') putRadioAttr($name, $values, $anAttrDef);
- elseif ($anAttrDef['type'] == 'timestamp') putTimestampAttr($name, $values, $anAttrDef);
- elseif ($anAttrDef['type'] == 'image') putImageAttr($name, $userAccount, $anAttrDef);
- elseif ($anAttrDef['type'] != '') echo '<div class="unknownAttr">ismeretlen attribútum típus: '.$name.' ('.($anAttrDef[$name]['type']).')</div>';
- else echo '<div class="unknownAttr">'.$name.': nem elérhető</div>';
-
- }
-
- function putTextAttr($name, $values, $anAttrDef) {
- echo '<table class="attr">';
- echo '<tr>';
- echo '<th rowspan="'.$values['count'].'">'.$anAttrDef['desc'].'</th>';
- echo '<td>';
- for ($i=0;$i<max($values['count'],1);$i++) {
- if (!isset($values[$i])) $values[$i] = '';
- if ($anAttrDef['rights'][_ACCESS_AS]=='r')
- echo $values[$i];
- elseif ($anAttrDef['rights'][_ACCESS_AS]=='w')
- echo '<input type="text" name="'.$name.'" value="'.$values[$i].'" />'."<br/>\n";
- }
- echo '</td>';
- echo '</tr>';
-
- echo '</table>'."\n";
- }
-
- function putIntAttr($name, $values, $anAttrDef) {
- putTextAttr($name, $values, $anAttrDef);
- }
-
- function putSelectAttr($name, $values, $anAttrDef) {
-
- echo '<table class="attr">';
- echo '<tr>';
- echo '<th>'.$anAttrDef['desc'].' ('.intval($values['count']).'):</th>';
- echo '<td>';
- if ($values['count'] > 0) {
- echo '<select name="del-'.$name.'[]" multiple="multiple">';
- for ($i=0; $i<$values['count']; $i++) {
- if (is_array($values[$i]))
- echo '<option value="'.$values[$i]['value'].'">'.(($values[$i]['txt']!='')?$values[$i]['txt']:$values[$i]['value']).'</option>';
- else
- echo '<option value="'.$values[$i].'">'.$values[$i].'</option>';
- }
- echo '</select>';
- } elseif (!isset($values['count']) && count($values) > 0) {
- echo '<select name="del-'.$name.'[]" multiple="multiple">';
- for ($i=0; $i < count($values); $i++) {
- echo '<option value="'.$values[$i]['value'].'">'.(($values[$i]['txt']!='')?$values[$i]['txt']:$values[$i]['value']).'</option>';
- }
- echo '</select>';
- }
- echo '</td>';
- echo '</tr>';
- if ($anAttrDef['rights'][_ACCESS_AS]=='w') {
- echo '<tr>';
- echo '<th>'._NEW.':</th>';
- echo '<td>';
- if (is_array($values['new'])) {
- echo '<select name="new-'.$name.'[]">'."\n";
- echo '<option value=""> - </option>'."\n";
- for ($i = 0; $i < count($values['new']); $i++) {
- $_txt = (($values['new'][$i]['txt']!='')?$values['new'][$i]['txt']:$values['new'][$i]['value']);
- echo '<option value="'.$values['new'][$i]['value'].'">'.$_txt.'</option>'."\n";
- }
- echo '</select>'."\n";
- } else {
- echo '<input type="text" name="new-'.$name.'[]" value="" />';
- }
- echo '</td>';
- echo '</tr>';
- }
- echo '</table>'."\n";
- }
-
- function putRadioAttr($name, $values, $anAttrDef) {
-
- if (!isset($values[0])) $values[0] = '';
-
- echo '<table class="attr">';
- echo '<tr>';
- echo '<th>'.$anAttrDef['desc'].':</th>'."\n";
- echo '<td>'."\n";
-
- for ($i=0;$i<count($anAttrDef['options']);$i++) {
- if ($values[0] == $anAttrDef['options'][$i]) {
- echo '<input type="radio" name="'.$name.'" value="'.$anAttrDef['options'][$i].'" checked="checked" />';
- } else {
- echo '<input type="radio" name="'.$name.'" value="'.$anAttrDef['options'][$i].'" />';
- }
- echo $anAttrDef['options'][$i];
- }
- echo '</td>';
-
- echo '</tr>';
- echo '</table>';
- }
-
- function putTimestampAttr($name, $values, $anAttrDef) {
-
- if (!isset($values[0])) $values[0] = '';
- $Y = substr($values[0],0,4);
- $m = substr($values[0],4,2);
- $d = substr($values[0],6,2);
-
- echo '<table class="attr">';
- echo '<tr>';
- echo '<th>'.$anAttrDef['desc'].':</th>';
- echo '<td>';
-
- if ($anAttrDef['rights'][_ACCESS_AS]=='r') { echo "$Y-$m-$d"; } else {
-
- echo '<select name="'.$name.'[]">';
- echo '<option value="">'._YEAR.'</option>';
- for($i=1950; $i<2050; $i++) {
- if ($i==$Y) {$_SEL = 'selected="selected"';} else {$_SEL = '';}
- echo '<option value="'.$i.'" '.$_SEL.'>' .$i. '</option>'."\n";
- }
- echo '</select>'."\n";
- echo '<select name="'.$name.'[]">';
- echo '<option value="">'._MONTH.'</option>';
- for($i=1; $i<=12; $i++) {
- if ($i<10) $i='0'.$i;
- if ($i==$m) $_SEL = 'selected="selected"'; else $_SEL = '';
- echo '<option value="'.$i.'" '.$_SEL.'>'.$i.'</option>';
- }
- echo '</select>'."\n";
- echo '<select name="'.$name.'[]">';
- echo '<option value="">'._DAY.'</option>';
- for($i=1; $i<=31; $i++) {
- if ($i<10) $i='0'.$i;
- if ($i==$d) $_SEL = 'selected="selected"'; else $_SEL = '';
- echo '<option value="'.$i.'" '.$_SEL.'>'.$i.'</option>';
- }
- echo '</select>'."\n";
- }
-
- echo '</td>';
- echo '</tr>';
- echo '</table>';
- }
-
- function putImageAttr($name, $dn, $anAttrDef) {
-
- echo '<table class="attr"><tr>';
- echo '<th><img src="img/'.$name.'.php?dn='.$dn.'" alt="kép" /></th>';
- echo '<td>'._NEWPHOTO.':<br />';
- echo '<input type="file" name="'.$name.'" />';
- echo '</td>';
- echo '</tr></table>';
-
- }
-
- function putAccountInfoForm($userInfo, $accountInfo, $attrDef, $toPolicy = _POLICY) {
-
- formBegin(array('enctype'=>'multipart/form-data'));
- echo '<input type="hidden" name="action" value="changeSettings" />';
- echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
- echo '<input type="hidden" name="userAccount" value="'.$userInfo['userAccount'][0].'" />';
-
- if (_ACCESS_AS === _ADMIN_ACCESS) $_class = "asAdmin";
- echo '<table class="personalSettings '.$_class.'" align="center" cellspacing="1">';
- echo '<thead>';
- if ($toPolicy != _POLICY) echo '<tr><th class="policy">'.$toPolicy.'</th></tr>'."\n";
- echo '<tr><th>'.$userInfo['userCn'][0].'</th></tr>';
- echo '<tr><th>'.$userInfo['userAccount'][0].'</th></tr>';
- echo '</thead>';
- echo '<tfoot>';
- echo '<tr><th><input type="submit" name="change" value="'._OK.'" /></th></tr>';
- echo '</tfoot>';
- echo '<tbody>'."\n";
- $emptyAttrs = '';
- if (is_array($accountInfo)) {
- reset($accountInfo);
- foreach ($accountInfo as $name => $value) {
- if (!isset($value[0]) || $value['count'] == 0) $emptyAttrs .= "$name:";
- if ($name != 'userAccount') {
- echo '<tr><td>'; putAttr($name, $value, $attrDef[$name], $toPolicy); echo '</td></tr>'."\n";
- }
- }
- }
- echo '</tbody>';
- echo '</table>';
- if ($emptyAttrs != '') $emptyAttrs = substr($emptyAttrs,0,-1);
- echo '<input type="hidden" name="emptyAttrs" value="'.$emptyAttrs.'" />';
- formEnd();
-
- }
-
- function putGroupInfoForm($groupCn, $groupInfo, $attrDef, $toPolicy = _POLICY) {
- formBegin(array('enctype'=>'multipart/form-data'));
-
- echo '<input type="hidden" name="action" value="changeSettings" />';
- echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
- echo '<input type="hidden" name="groupCn" value="'.$groupCn.'" />';
- echo '<table class="personalSettings" align="center" cellspacing="1">';
- echo '<thead>';
- echo '<tr><th>'.$groupCn.'</th></tr>';
-// echo '<tr><th>'.$userInfo['userAccount'][0].'</th></tr>';
- echo '</thead>';
- echo '<tfoot>';
- echo '<tr><th><input type="submit" name="change" value="'._OK.'" /></th></tr>';
- echo '</tfoot>';
- echo '<tbody>'."\n";
- $emptyAttrs = '';
- if (is_array($groupInfo))
- foreach ($groupInfo as $name => $value) {
- if (!isset($value[0]) || $value['count'] == 0) $emptyAttrs .= "$name:";
- if ($name != 'groupCn') {
- echo '<tr><td>'; putAttr($name, $value, $attrDef[$name], $toPolicy); echo '</td></tr>'."\n";
- }
- }
- echo '</tbody>';
- echo '</table>';
- if ($emptyAttrs != '') $emptyAttrs = substr($emptyAttrs,0,-1);
- echo '<input type="hidden" name="emptyAttrs" value="'.$emptyAttrs.'" />';
- formEnd();
-
- }
-
- 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();
- }
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/admin/knownNodes.phtml b/mayor-orig/www/skin/classic/module-session/html/admin/knownNodes.phtml
deleted file mode 100644
index 5a759aba..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/admin/knownNodes.phtml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-
- function putGetNodeData() {
- formBegin(array('id'=>'search'));
-
- echo '<h3>'._UJ_VEGPONT.'</h3>';
- echo '<input type="hidden" name="action" value="getPublicDataByNodeId" />';
- echo '<label for="nodeId">'._NODEID.'</label>';
- _inlineHelp(_SUGO_NODEID);
- echo '<input id="nodeId" type="text" name="nodeId" value="" />';
- echo '<input type="submit" value="'._LEKERDEZES.'" />';
-
- formEnd();
- }
-
- function putKnownNodes($ADAT) {
-
- echo '<table id="nodes">';
- echo '<thead>';
- echo '<tr>';
- echo '<th>'._NODEID.'</th>';
- echo '<th>'._NEV.'</th>';
- echo '<th>'._HELYSEG.'</th>';
- echo '<th>'._NODETIPUS.'</th>';
- echo '<th>'.'Ping/Rev.'.'</th>';
- echo '</tr>';
- echo '</thead>';
- echo '<tfoot>';
- echo '<tr>';
- echo '<th>'._NODEID.'</th>';
- echo '<th>'._NEV.'</th>';
- echo '<th>'._HELYSEG.'</th>';
- echo '<th>'._NODETIPUS.'</th>';
- echo '<th>'.'Ping/Rev.'.'</th>';
- echo '</tr>';
- echo '</tfoot>';
- echo '<tbody>';
- foreach ($ADAT['nodes'] as $index => $nAdat) {
- $class = ekezettelen($nAdat['nodeTipus']);
- echo '<tr class="'.$class.'">';
- echo '<td>'.$nAdat['nodeId'].'</td>';
- echo '<td>'.$nAdat['nev'].'</td>';
- echo '<td>'.$nAdat['cimHelyseg'].'</td>';
- echo '<td>'.$nAdat['nodeTipus'].'</td>';
- echo '<td>';
- formBegin();
- echo '<input type="hidden" name="action" value="rpcPing" />';
- echo '<input type="hidden" name="nodeId" value="'.$nAdat['nodeId'].'" />';
- if (isset($ADAT['nodeVersion']) && $nAdat['nodeId'] == $ADAT['nodeId']) {
- echo '<input class="pong" type="submit" value="'.$ADAT['nodeVersion'].'" />';
- } else {
- echo '<input type="submit" value="ping" />';
- }
- formEnd();
- echo '</td>';
- echo '<td>';
- formBegin();
- echo '<input type="hidden" name="action" value="removeNode" />';
- echo '<input type="hidden" name="nodeId" value="'.$nAdat['nodeId'].'" />';
- echo '<input class="delete confirm" title="'._BIZTOS_TOROL_E.'" type="submit" value="X" />';
- formEnd();
- echo '</td>';
- echo '</tr>';
- }
- echo '</tbody>';
- echo '</table>';
-
- }
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/admin/registration.phtml b/mayor-orig/www/skin/classic/module-session/html/admin/registration.phtml
deleted file mode 100644
index 094a77d9..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/admin/registration.phtml
+++ /dev/null
@@ -1,270 +0,0 @@
-<?php
-
- function validRegisztracio($valid, $nodeId) {
-
- if ($valid==1) {
- echo '<div class="validRegisztracio"><span class="icon-ok-circle"></span>A mayor.hu sikeresen validálta a szervert (nodeId: '.$nodeId.')!</div>';
- } else {
- echo '<div class="notValidRegisztracio"><span class="icon-remove-circle"></span>A mayor.hu nem ismeri ezt a szervert (nodeId: '.$nodeId.')!</div>';
- }
-
- }
-
- function putCheckOldReg($ADAT) {
-
- formBegin(array('method'=>'post','action'=>'','id'=>'regForm','class'=>'reg'));
- echo '<input type="hidden" name="action" value="checkOldRegByPublicKey" />';
- echo '<input type="hidden" name="publicKey" value="'.$ADAT['my']['publicKey'].'" />';
-
- echo '<h3>'._KORABBAN_REGISZTRALT.'</h3>';
- echo '<div class="leiras">';
- echo '<p>'.str_replace("\n\n",'</p><p>',_REG_HELYREALLITAS_LEIRAS).'</p>';
- echo '</div>';
- echo '<input type="submit" value="'._REGISZTRACIO_HELYREALLITAS.'" />';
-
- formEnd();
-
- }
-
- function putRegisztracio($ADAT) {
-
- formBegin(array('method'=>'post','action'=>'','id'=>'regForm','class'=>'reg'));
- echo '<input type="hidden" name="action" value="sendRegRequest" />';
-
- echo '<div id="bal">';
- echo '<div class="leiras">';
- include('static/hu_HU/session/admin/registration/readme.html');
- echo '</div>'; // leiras
-
- echo '<div class="tamogatas">'."\n";
- echo '<label for="dij">'.str_replace(' ','&nbsp;',_TAMOGATASI_OSSZEG).'</label>'."\n";
- echo '<select name="dij" id="dij">'."\n";
- foreach ($ADAT['OSSZEG'] as $dij) {
- echo '<option value="'.$dij.'">'.$dij.' Ft/hó</option>'."\n";
- }
- echo '</select> + ÁFA'."<br/>\n";
-
- echo '<label for="utemezes">'.str_replace(' ','&nbsp;',_UTEMEZES).'</label>';
- echo '<select name="utemezes" id="utemezes">'."<br/>\n";
- foreach (array('','féléves','éves') as $value) {
- echo '<option value="'.$value.'">'.$value.'</option>'."\n";
- }
- echo '</select>'."<br/>\n";
- echo '<label for="egyeb">'.str_replace(' ','&nbsp;',_EGYEB_TAMOGATAS).'</label>';
- echo '<input id="egyeb" type="text" name="egyebTamogatas" value="" />'."<br/>\n";
- if (_REGISZTRALT !== true) echo '<input type="submit" value="'._REGISZTRACIO.'" />'."\n";
- echo '<p class="hibaeseten">'._HIBA_ESETEN.'</p>'."\n";
- echo '</div>'."\n"; // tamogatar
- echo '</div>'; // #bal
-
- echo '<div class="adatok">';
-
- echo '<h3>'._INTEZMENY_ADATAI.'</h3>';
- foreach ($ADAT['MEZOK'] as $key => $mAdat) {
- $value = $ADAT['my'][$key];
- if (isset($mAdat) && $mAdat['display']!==false) {
-
- if ($mAdat['kotelezo']===true) $class = 'kotelezo'; else $class = '';
- if ($mAdat['readonly']===true) $_ro = ' readonly="readonly" '; else $_ro = '';
- if (defined('_'.nagybetus($key))) $str = constant('_'.nagybetus($key)); else $str = $key;
-
- echo '<div>';
- echo '<label for="'.$key.'">'.$str.'</label>';
- if (is_array($mAdat['options'])) {
- echo '<select name="'.$key.'" id="'.$key.'" class="'.$class.'">';
- for($i=0; $i<count($mAdat['options']); $i++) {
- $__jelleg = $mAdat['options'][$i];
- $_SEL = ($__jelleg==$value) ? ' selected="selected" ' : '';
- echo '<option value="'.$__jelleg.'"'.$_SEL.'>'.$__jelleg.'</option>';
- }
- echo '</select>';
- } elseif ($mAdat['type']=='textarea') {
- echo '<textarea style="width:100%;height:40px;" id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'>';
- echo $value;
- echo '</textarea>';
- } else {
- echo '<input id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'/>';
- }
- echo '</div>'."\n";
-
- } else {
- if ($mAdat['type']!='none') {
- echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />';
- }
- }
- }
- echo '</div>'."\n";
-
-
-
-
-
- echo '<input type="submit" value="'._REGISZTRACIO.'" />'."\n";
- echo '</div>';
-
- formEnd();
-
- }
-
-
-
-
-
-
- function putRegisztracioMod($ADAT) {
-
- if (defined('_DEVEL') && _DEVEL===true) {
- $host = 'https://localhost';
- } else {
- $host = 'http://www.mayor.hu';
- }
- $ADAT['intezmeny']['naploUrl'] = $naploUrl = substr($_SERVER["HTTP_REFERER"], 0, strpos($_SERVER["HTTP_REFERER"], 'index.php?'));
- formBegin(array('id'=>"modForm", 'class'=>"reg", 'action'=>"", 'method'=>"post"));
- echo '<input type="hidden" name="action" value="modRegAdat" />';
-
- echo '<div id="bal">';
- echo '<div class="leiras">';
- include('static/hu_HU/session/admin/registration/readme.html');
- echo '</div>'; //.leiras
-
- echo '<div class="tamogatas">'."\n";
- echo '<label for="dij">'.str_replace(' ','&nbsp;',_TAMOGATASI_OSSZEG).'</label>'."\n";
- echo '<select name="dij" id="dij">'."\n";
- if ($ADAT['regAdat']['nodeData']['dij'] != '') {
- $SEL = array($ADAT['regAdat']['nodeData']['dij'] => ' selected="selected" ');
- if (!in_array($ADAT['regAdat']['nodeData']['dij'], $ADAT['OSSZEG'])) $ADAT['OSSZEG'][] = $ADAT['regAdat']['nodeData']['dij'];
- } else {
- $SEL = array(5000 => ' selected="selected" '); // default
- }
- foreach ($ADAT['OSSZEG'] as $dij) {
- echo '<option value="'.$dij.'"'.$SEL[$dij].'>'.$dij.' Ft/hó</option>'."\n";
- }
- echo '</select> + ÁFA'."<br/>\n";
-
- echo '<label for="utemezes">'.str_replace(' ','&nbsp;',_UTEMEZES).'</label>';
- echo '<select name="utemezes" id="utemezes">'."<br/>\n";
- foreach (array('','féléves','éves') as $value) {
- $_SEL = ($value==$ADAT['regAdat']['nodeData']['utemezes'])? ' selected="selected" ':'';
- echo '<option value="'.$value.'"'.$_SEL.'>'.$value.'</option>'."\n";
- }
- echo '</select>'."<br/>\n";
- echo '<label for="egyeb">'.str_replace(' ','&nbsp;',_EGYEB_TAMOGATAS).'</label>';
- echo '<input id="egyeb" type="text" name="egyebTamogatas" value="'.$ADAT['regAdat']['nodeData']['egyebTamogatas'].'" />'."<br/>\n";
- if (_REGISZTRALT !== true) echo '<input type="submit" value="'._MODOSITAS.'" />'."\n";
- echo '<p class="hibaeseten">'._HIBA_ESETEN.'</p>'."\n";
- echo '</div>'."\n";
-
-
- echo '</div>'; // #bal
-
-
-
- echo '<div class="adatok">';
- foreach ($ADAT['intezmeny'] as $key => $value) {
- echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />'."\n";
- }
- echo '<input type="hidden" name="naploUrl" value="'.$naploUrl.'" />'."\n";
-
-
- echo '<h3>'._INTEZMENY_ADATAI.'</h3>';
- foreach ($ADAT['MEZOK'] as $key => $mAdat) {
- $value = $ADAT['regAdat']['nodeData'][$key];
- if (isset($mAdat)) {
- if ($mAdat['display']!==false) {
- if ($mAdat['kotelezo']===true) $class = 'kotelezo'; else $class = '';
- if ($mAdat['readonly']===true) $_ro = ' readonly="readonly" '; else $_ro = '';
- if (defined('_'.nagybetus($key))) $str = constant('_'.nagybetus($key)); else $str = $key;
- if ($key == 'publicKey') {
- echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />'."\n";
- } else {
- echo '<div>';
- echo '<label for="'.$key.'">'.$str.'</label>';
- if (is_array($mAdat['options'])) {
- echo '<select name="'.$key.'" id="'.$key.'" class="'.$class.'">';
- for($i=0; $i<count($mAdat['options']); $i++) {
- $__jelleg = $mAdat['options'][$i];
- $_SEL = ($__jelleg==$value) ? ' selected="selected" ' : '';
- echo '<option value="'.$__jelleg.'"'.$_SEL.'>'.$__jelleg.'</option>';
- }
- echo '</select>';
- } elseif ($mAdat['type']=='textarea') {
- echo '<textarea style="width:100%;height:40px;" id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'>';
- echo $value;
- echo '</textarea>';
- } else {
- echo '<input id="'.$key.'" type="text" name="'.$key.'" value="'.$value.'" class="'.$class.'" '.$_ro.'/>';
- }
- echo '</div>'."\n";
- }
- } else {
- if ($mAdat['type'] != 'none')
- echo '<input type="hidden" name="'.$key.'" value="'.$value.'" />'."\n";
- }
- }
- }
- echo '</div>'."\n";
-
-
-
-
-
- echo '<input type="submit" value="'._MODOSITAS.'" />'."\n";
- echo '</div>';
-
- formEnd();
- }
-
-
-
-
-
- function putPublicKey($publicKey) {
- echo '<h2 style="margin-left: 180px;">Saját publikus kulcs</h2>';
- echo '<div style="margin-left: 180px; text-align:center">';
- echo '<textarea style="width:60%; height:200px;">'.$publicKey.'</textarea>';
- echo '</div>';
-
- }
-
- function putSzomszedok($ADAT) {
-
- $attr = array('OMKod','nev','mayorTipus','naploUrl');
- $mayorTipus = array(
- 'fejlesztői' => '<span class="icon-wrench-alt" style="color:orange"></span>',
- 'fenntartó' => '<span class="icon-compass-alt" style="color:red"></span>',
- 'intézmény' => '<span class="icon-paper-clip-alt" style="color:cornflowerblue"></span>',
- 'backup' => '<span class="icon-cog-alt" style="color:#888"></span>',
- 'boss' => '<span class="icon-star-alt" style="color:lila"></span>'
- );
- echo '<h2>MaYoR-partnerek</h2>';
-
- echo '<table align="center">';
- echo '<thead>';
- echo '<tr>';
- foreach ($attr as $v) {
- echo '<th>'.$v.'</th>';
- }
- echo '</tr>';
- echo '</thead>';
- echo '<tbody>';
- for ($i=0;$i<count($ADAT);$i++) {
- $_D = $ADAT[$i];
- echo '<tr>';
- foreach ($_D as $k=>$v) {
- if ($k=='publicKey') continue;
- if ($k=='mayorTipus') echo '<th>'.$mayorTipus[$v].'</th>';
- if (in_array($k,$attr)) {
- //echo '<th>'.$k.'</th>';
- echo '<td>';
- echo $v;
- echo '</td>';
- }
- }
- echo '</tr>';
- }
- echo '</tbody>';
- echo '</table>';
-
- }
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/createAccount.phtml b/mayor-orig/www/skin/classic/module-session/html/createAccount.phtml
deleted file mode 100644
index a1255ca5..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/createAccount.phtml
+++ /dev/null
@@ -1,107 +0,0 @@
-<?php
-/*
- Module: base/session
-*/
-
- function putCreateAccountForm($toPolicy = _POLICY, $DEFAULTS = array()) {
-
- global $attrDef, $AUTH, $POLICIES;
-
- formBegin(array('enctype'=>'multipart/form-data','id'=>'createAccount'));
-
- echo '<input type="hidden" name="action" value="newUser" />';
-
- echo '<table class="new" align="center" cellspacing="1">'."\n";
- echo '<thead>'."\n";
- echo '<tr>';
- echo '<th colspan="2">'._CREATE_ACCOUNT.'</th>';
- echo '</tr>';
- if (_POLICY=='private') {
- echo '<tr>';
- echo '<td colspan="2">';
- $SEL = array($toPolicy => ' selected="selected" ');
- echo '<select name="toPolicy" class="onChangeSubmit">'."\n";
- for ($i = 0; $i < count($POLICIES); $i++) {
- echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
- }
- echo '</select>';
- echo '</td>'."\n";
- echo '</tr>';
- }
- echo '</thead>'."\n";
- echo '<tfoot>';
- echo '<tr>';
- echo '<th colspan="2">';
- echo '<input name="new" type="submit" value="'._OK.'" />';
- echo '<input name="action" type="hidden" value="createAccount" />';
- echo '</th>';
- echo '</tr>';
- echo '</tfoot>'."\n";
- echo '<tbody>'."\n";
- echo '<tr>';
- echo '<th>'.$attrDef['userCn']['desc'].':</th>';
- echo '<td><input type="text" name="userCn" id="focus" value="'.$DEFAULTS['userCn'].'" /></td>';
- echo '</tr><tr>';
- echo '<th>'.$attrDef['userAccount']['desc'].':</th>';
- echo '<td><input type="text" name="userAccount" value="'.$DEFAULTS['userAccount'].'" /></td>';
- echo '</tr>';
-
- $CONTAINERS = $AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers'];
- if (isset($CONTAINERS) and is_array($CONTAINERS) and count($CONTAINERS) > 0) {
- echo '<tr>';
- echo '<th>'._ACCOUNT_CONTAINER.'</th>';
- echo '<td>';
- echo '<select name="container">';
- echo '<option value=""> - </option>'."\n";
- for ($i=0;$i<count($CONTAINERS);$i++) {
- echo '<option value="'.$CONTAINERS[$i].'">'.$CONTAINERS[$i].'</option>';
- }
- echo '</select>';
- echo '</td>';
- echo '</tr>'."\n";
- }
-
- echo '<tr>'."\n";
- echo '<th>'.$attrDef['userPassword']['desc'].':</th>';
- echo '<td><input type="password" name="userPassword" value="'.$DEFAULTS['userPassword'].'" /></td>';
- echo '</tr><tr>'."\n";
- echo '<th>'._VERIFICATION.':</th>';
- echo '<td><input type="password" name="verification" value="'.$DEFAULTS['userPassword'].'" /></td>';
- echo '</tr>'."\n";
-
- if (isset($AUTH[$toPolicy]['categories']) and is_array($AUTH[$toPolicy]['categories']) and count($AUTH[$toPolicy]['categories']) > 0) {
- echo '<tr>';
- echo '<th style="width: 130px;">'._ACCOUNT_CATEGORY.'</th>';
- echo '<td style="width: 270px;">';
- echo '<select name="category">';
- echo '<option value=""> - </option>'."\n";
- for ($i=0;$i<count($AUTH[$toPolicy]['categories']);$i++) {
- echo '<option value="'.$AUTH[$toPolicy]['categories'][$i].'">'.$AUTH[$toPolicy]['categories'][$i].'</option>';
- }
- echo '</select>';
- echo '</td>';
- echo '</tr>'."\n";
- }
-
- if (is_array($AUTH[$toPolicy]['accountAttrs'])) foreach ($AUTH[$toPolicy]['accountAttrs'] as $key => $attr) {
- echo '<tr>';
- echo '<th>'.$attrDef[$attr]['desc'].':</th>';
- echo '<td><input type="text" name="'.$attr.'" value="'.$DEFAULTS[$attr].'" /></td>';
- echo '</tr>'."\n";
- }
-
- if (_POLICY=='private') {
- echo '<tr>';
- echo '<th>'._DATAFILE.':</th>';
- echo '<td><input type="file" name="file" /></td>';
- echo '</tr>';
- }
-
- echo '</tbody>';
- echo '</table>';
- formEnd();
-
- }
-
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/createGroup.phtml b/mayor-orig/www/skin/classic/module-session/html/createGroup.phtml
deleted file mode 100644
index b50c52f9..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/createGroup.phtml
+++ /dev/null
@@ -1,90 +0,0 @@
-<?php
-/*
- Module: base/session
-*/
-
- function putCreateGroupForm($toPolicy = _POLICY) {
-
- global $attrDef, $AUTH, $POLICIES;
-
- formBegin(array('enctype'=>'multipart/form-data'));
- echo '<input type="hidden" name="action" value="newUser" />';
-
- echo '<table class="new" align="center" cellspacing="1">';
- echo '<thead>';
- echo '<tr>';
- echo '<th colspan="2">'._CREATE_GROUP.'</th>';
- echo '</tr>';
- echo '<tr>';
- echo '<td colspan="2">';
- $SEL = array($toPolicy => ' selected="selected" ');
- echo '<select name="toPolicy" class="onChangeSubmit">'."\n";
- for ($i = 0; $i < count($POLICIES); $i++) {
- echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
- }
- echo '</select>';
- echo '</td>'."\n";
- echo '</tr>'."\n";
- echo '</thead>';
- echo '<tfoot>';
- echo '<tr>';
- echo '<th colspan="2">';
- echo '<input name="new" type="submit" value="'._OK.'" />';
- echo '<input name="action" type="hidden" value="createGroup" />';
- echo '</th>';
- echo '</tr>';
- echo '</tfoot>';
- echo '<tbody>';
- echo '<tr>';
- echo '<th>'.$attrDef['groupCn']['desc'].':</th>';
- echo '<td><input type="text" name="groupCn" value="" id="focus" /></td>';
- echo '</tr>';
- $CONTAINERS = $AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers'];
- if (isset($CONTAINERS) and is_array($CONTAINERS) and count($CONTAINERS) > 0) {
- echo '<tr>';
- echo '<th>'._GROUP_CONTAINER.':</th>';
- echo '<td>';
- echo '<select name="container">';
- echo '<option value=""> - </option>'."\n";
- for ($i=0;$i<count($CONTAINERS);$i++) {
- echo '<option value="'.$CONTAINERS[$i].'">'.$CONTAINERS[$i].'</option>'."\n";
- }
- echo '</select>';
- echo '</td>';
- echo '</tr>'."\n";
- }
-
- echo '<tr>';
- echo '<th>'.$attrDef['groupDesc']['desc'].':</th>';
- echo '<td><input type="text" name="groupDesc" value="" /></td>';
- echo '</tr><tr>';
- echo '<th style="width: 130px;">'._GROUP_CATEGORY.'</th>';
- echo '<td style="width: 270px;">';
- echo '<select name="category">';
- echo '<option value=""> - </option>'."\n";
- for ($i=0;$i<count($AUTH[_POLICY]['categories']);$i++) {
- echo '<option value="'.$AUTH[_POLICY]['categories'][$i].'">'.$AUTH[_POLICY]['categories'][$i].'</option>';
- }
- echo '</select>';
- echo '</td>';
- echo '</tr>';
-
- if (is_array($AUTH[$toPolicy]['groupAttrs'])) foreach ($AUTH[$toPolicy]['groupAttrs'] as $key => $attr) {
- echo '<tr>';
- echo '<th>'.$attrDef[$attr]['desc'].':</th>';
- echo '<td><input type="text" name="'.$attr.'" value="'.$DEFAULTS[$attr].'" /></td>';
- echo '</tr>'."\n";
- }
-
-/* echo '<tr>';
- echo '<th>'._DATAFILE.':</th>';
- echo '<td><input type="file" name="file" /></td>';
- echo '</tr>';
-*/ echo '</tbody>';
- echo '</table>';
- formEnd();
-
- }
-
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/download.phtml b/mayor-orig/www/skin/classic/module-session/html/download.phtml
deleted file mode 100644
index 79f74f8e..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/download.phtml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
- function putDownloadForm($ADAT) {
-
- echo '<div class="download">'."\n";
- echo '<h1>'._DOWNLOAD.'</h1>'."\n";
-
- $href = href('index.php?page=session&f=download&dir='.$ADAT['dir'].'&file='.$ADAT['file'].'&download=true');
- echo '<table>'."\n";
- echo '<tr>';
- echo '<th>'._FILE.'</th>'."\n";
- echo '<td>';
- echo '<a id="loadUrl" href="'.$href.'">';
- echo substr($ADAT['path'],strlen(_DOWNLOADDIR.'/'._POLICY.'/'));
- echo '</a>';
- echo '</td>'."\n";
- echo '</tr>';
- echo '<tr>';
- echo '<th>'._SIZE.'</th>'."\n";
- echo '<td>'.$ADAT['size'].' byte</td>'."\n";
- echo '</tr>';
- echo '<tr>';
- echo '<th>'._MIMETYPE.'</th>'."\n";
- echo '<td>'.$ADAT['mime'].'</td>'."\n";
- echo '</tr>';
- echo '</table>';
-
- echo '<p>'._DESCRIPTION.'</p>';
- echo '</div>'."\n";
- }
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/facebookConnect.phtml b/mayor-orig/www/skin/classic/module-session/html/facebookConnect.phtml
deleted file mode 100644
index 0e9f3aad..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/facebookConnect.phtml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-function putFacebookConnectStatusz($ADAT) {
-
- if (__FBCONNECT_ENABLED==false) {
- echo '<div id="fbConnect" class="notActive"><span class="icon-remove-circle"></span>';
- echo 'A Facebook azonosítás ki van kapcsolva. Kérj segítséget a rendszerüzemeltetőtől!';
- echo '</div>';
- return false;
- }
-
-// var_dump($ADAT);
-// var_dump(_USERACCOUNT);
-// var_dump(_POLICY);
-
- // fbUserIdStatusz = ready, associated, already_associated
- if ($ADAT['fbUserIdStatusz'] == 1) {
- echo '<div id="fbConnect" class="valid"><span class="icon-ok-circle"></span>';
- echo '<img src="//graph.facebook.com/'.$ADAT['fbUserId'].'/picture?type=large" style="float:left; height:100%">';
-
- echo 'Már kész, minden rendben!';
- formBegin();
- echo '<input type="hidden" name="action" value="revokeFbAuth" />';
- echo '<input type="submit" value="visszavonás" />';
- formEnd();
- echo '</div>';
- } elseif ($ADAT['fbUserIdStatusz'] == 2) {
- echo '<div id="fbConnect" class="notvalid"><span class="icon-iphone-home"></span>';
- echo 'Már más facebook userhez van hozzárendelve az azonosítód!';
- echo '<input type="hidden" name="action" value="" />';
- echo '</div>';
- } elseif ($ADAT['fbUserIdStatusz'] == 3) {
- echo '<div id="fbConnect" class="notvalid"><span class="icon-iphone-home"></span>';
- echo 'Ehhez a facebook azonosítóhoz már hozzá van rendelve egy másik MaYoR account!';
- echo '</div>';
- } else {
- echo '<div id="fbConnect" class="grant"><span class="icon-facebook"></span>';
- echo 'Engedélyezed?';
- echo '<span id="mglFBconnect"></span>';
- formBegin(array('id'=>'grantFbAuth'));
- echo '<input type="hidden" name="action" value="grantFbAuth" />';
- echo '<input type="submit" value="facebook connect engedélyezés" />';
- formEnd();
- echo '</div>';
- }
- formBegin(array('style'=>'text-align:center'));
- echo '<input type="hidden" name="action" value="refresh" />';
- echo '<input type="submit" value="frissítés" />';
- formEnd();
-
-}
-
-?> \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/html/googleapi.phtml b/mayor-orig/www/skin/classic/module-session/html/googleapi.phtml
deleted file mode 100644
index 4d1109bc..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/googleapi.phtml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-function putGoogleapiStatusz($ADAT) {
-
-// var_dump($ADAT);
-// var_dump(_USERACCOUNT);
-// var_dump(_POLICY);
-
- if (__GOOGLEAPI_ENABLED==false) {
- echo '<div id="googleapi" class="notActive"><span class="icon-remove-circle"></span>';
- echo 'A Google azonosítás ki van kapcsolva. Kérj segítséget a rendszerüzemeltetőtől!';
- echo '</div>';
- return false;
- }
-
-
- if ($ADAT['googleapiStatusz'] == 1) {
- echo '<div id="googleapi" class="valid"><span class="icon-ok-circle"></span>';
- echo '<img src="'.$ADAT['payload']['picture'].'" style = "float:left; height:100%;" />';
- echo 'Összekötve';
- formBegin();
- echo '<input type="hidden" name="action" value="googleapiRevoke" />';
- echo '<input type="submit" value="visszavonás" />';
- formEnd();
- echo '</div>';
- } else {
- echo '<div id="googleapi" class="grant"><span class="icon-googleplus"></span>';
- echo 'Engedélyezed?';
- formBegin();
- echo '<input type="hidden" name="action" value="googleGrant" >';
- echo '<button type="button" id="googleLoginBtn" class="api"><span class="icon-googleplus"></span> Összeköt</button>';
- formEnd();
- echo '</div>';
- }
-
-
-
- formBegin(array('style'=>'text-align:center'));
- echo '<input type="hidden" name="action" value="refresh" />';
- echo '<input type="submit" value="frissítés" />';
- formEnd();
-
-}
-
-?> \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/html/groupInfo.phtml b/mayor-orig/www/skin/classic/module-session/html/groupInfo.phtml
deleted file mode 100644
index 32a3c661..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/groupInfo.phtml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-
- require('skin/classic/module-session/html/accountInfo.phtml');
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/search/searchAccount.phtml b/mayor-orig/www/skin/classic/module-session/html/search/searchAccount.phtml
deleted file mode 100644
index 4cead225..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/search/searchAccount.phtml
+++ /dev/null
@@ -1,126 +0,0 @@
-<?php
-/*
- Module: base/session
-*/
-
- function putSearchAccountForm($attr, $pattern, $searchAttrList) {
-
- global $attrDef, $AUTH;
-
- formBegin(array('class'=>'usersearch'));
-
- echo '<input type="hidden" name="action" value="searchAccount" />';
- echo '<table class="search" align="center" cellspacing="1">';
- echo '<thead>';
- echo '<tr><th colspan="3">'._SEARCH.'</th></tr>';
- echo '</thead>';
- echo '<tfoot><tr><td colspan="3"></td></tr></tfoot>';
-
- echo '<tbody><tr>';
- echo '<th style="width: 150px;">';
- echo '<select name="attr">';
- for ($i=0;$i<count($searchAttrList);$i++) {
- if ($attr == $searchAttrList[$i]) {
- echo '<option value="'.$searchAttrList[$i].'" selected="true">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
- } else {
- echo '<option value="'.$searchAttrList[$i].'">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
- }
- }
- echo '</select>:</th>';
- echo '<td>';
- echo '<input type="text" name="pattern" value="'.$pattern.'" id="focus" />';
- if (_POLICY == 'private' && __ADMIN) {
- global $POLICIES;
- $SEL = array($toPolicy => ' selected="selected" ');
- echo '<select name="toPolicy">'."\n";
- echo '<option value=""> - </option>'."\n";
- for ($i = 0; $i < count($POLICIES); $i++) {
- echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
- }
- echo '</select>'."\n";
- }
- echo '</td>';
- echo '<td style="width: 50px;">';
- echo '<input type="submit" value="'._OK.'" />';
- echo '</td>';
- echo '</tr></tbody>';
- echo '</table>';
-
- formEnd();
-
- }
-
- function putSearchResultBox($searchResult, $toPolicy) {
-
- global $AUTH;
-
- $count = $searchResult['count'];
- echo '<table class="searchresult" align="center" cellspacing="1">';
- echo '<thead>';
- if ($toPolicy != _POLICY) echo '<tr><th colspan="4" class="policy">'.$toPolicy.'</th></tr>'."\n";
- echo '<tr>';
- echo '<th>'._ATTR_USERCN.'</th>';
- echo '<th>'._CATEGORY.'</th>';
- echo '<th>'._ATTR_MAIL.'</th>';
- echo '<th>'._ACTION.'</th>';
- echo '</tr>';
- echo '</thead><tfoot><tr><th colspan="4"></th></tr></tfoot>';
- echo '<tbody>';
- if ($count == 0) {
- echo '<tr><td colspan="5">'._NOTFOUND.'</td></tr>';
- } else {
- for ($i = 0; $i < $count; $i++) {
- if ($i % 2 ==1) {
- $class = 'paratlan';
- } else {
- $class = 'paros';
- }
- echo "\n".'<tr class="'.$class.'">';
- echo '<td>';
- if (__ADMIN)
- echo '<a href="'.href('index.php?page=session&f=accountInfo&userAccount='.$searchResult[$i]['userAccount'][0].'&toPolicy='.$toPolicy)
- . '" title="'.$searchResult[$i]['userAccount'][0].'">'.$searchResult[$i]['userCn'][0].'</a>';
- else
- echo $searchResult[$i]['userCn'][0];
- echo '</td>';
- echo '<td>';
- for ($j=0; $j < $searchResult[$i]['category']['count']; $j++) {
- echo $searchResult[$i]['category'][$j].' ';
- }
- echo '</td>';
- echo '<td>';
- for ($j = 0; $j < $searchResult[$i]['mail']['count']; $j++) {
- echo '<a href="mailto:'.$searchResult[$i]['mail'][$j].'">'.$searchResult[$i]['mail'][$j].'</a><br />';
- }
- echo '</td>';
- echo '<td>';
- if (__ADMIN) {
- formBegin(array('name'=>'f'.$i));
- echo '<input type="hidden" name="action" value="deleteAccount" />';
- echo '<input type="hidden" name="userAccount" value="'.$searchResult[$i]['userAccount'][0].'" />';
- echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
- echo '<input type="submit" value="'._DELETE.'" title="'._ARE_YOU_SURE.' ('.$searchResult[$i]['userAccount'][0].')'.'" class="confirm" />';
- formEnd();
- }
- if (
- __ADMIN or
- (in_array('diák',$searchResult[$i]['category']) and __DIAKADMIN)
- ) {
- formBegin(array('name'=>'f'.$i, 'action'=>href('index.php?page=password&f=changePassword')));
- echo '<input type="hidden" name="noModify" value="1" />';
- echo '<input type="hidden" name="userAccount" value="'.$searchResult[$i]['userAccount'][0].'" />';
- echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
- echo '<input type="submit" value="'._CHANGE_PASSWORD.'" title="'._CHANGE_PASSWORD.'" />';
- formEnd();
- }
-
- echo '</td>';
- echo '</tr>';
- }
- }
- echo '</tbody>';
- echo '</table>';
-
- }
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/search/searchGroup.phtml b/mayor-orig/www/skin/classic/module-session/html/search/searchGroup.phtml
deleted file mode 100644
index 824a6627..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/search/searchGroup.phtml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?php
-/*
- Module: base/session
-*/
-
- function putSearchGroupForm($attr, $pattern, $searchAttrList, $toPolicy) {
-
- global $attrDef;
-
- formBegin(array('class'=>'search'));
- echo '<input type="hidden" name="action" value="searchGroup" />';
- echo '<table class="search" align="center" cellspacing="1">';
- echo '<thead>';
- echo '<tr><th colspan="3">'._SEARCH.'</th></tr>';
- echo '</thead>';
- echo '<tfoot><tr><td colspan="3"></td></tr></tfoot>';
-
- echo '<tbody><tr>';
- echo '<th style="width: 180px;">';
- echo '<select name="attr">';
- for ($i=0;$i<count($searchAttrList);$i++) {
- if ($attr == $searchAttrList[$i]) {
- echo '<option value="'.$searchAttrList[$i].'" selected="true">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
- } else {
- echo '<option value="'.$searchAttrList[$i].'">'.$attrDef[$searchAttrList[$i]]['desc'].'</option>';
- }
- }
- echo '</select>:</th>';
- echo '<td>';
- echo '<input type="text" name="pattern" value="'.$pattern.'" id="focus" />';
- if (_POLICY == 'private' && __ADMIN) {
- global $POLICIES;
- $SEL = array($toPolicy => ' selected="selected" ');
- echo '<select name="toPolicy">'."\n";
- echo '<option value=""> - </option>'."\n";
- for ($i = 0; $i < count($POLICIES); $i++) {
- echo '<option value="'.$POLICIES[$i].'"'.$SEL[$POLICIES[$i]].'>'.$POLICIES[$i].'</option>'."\n";
- }
- echo '</select>'."\n";
- }
- echo '</td>';
- echo '<td style="width: 50px;">';
- echo '<input type="submit" value="'._OK.'" />';
- echo '</td>';
- echo '</tr></tbody>';
- echo '</table>';
- //echo '</form>';
- formEnd();
-
- }
-
- function putSearchResultBox($searchResult, $toPolicy) {
-
- global $AUTH;
-
- $count = $searchResult['count'];
- echo '<table class="searchresult" align="center" cellspacing="1">';
- echo '<thead>';
- echo '<tr>';
- echo '<th>'._ATTR_GROUPCN.'</th>';
- echo '<th>'._ATTR_GROUPDESC.'</th>';
- echo '<th>'._ACTION.'</th>';
- echo '</tr>';
- echo '</thead><tfoot><tr><th colspan="4"></th></tr></tfoot>';
- echo '<tbody>';
- if ($count == 0) {
- echo '<tr><td colspan="5">'._NOTFOUND.'</td></tr>';
- } else {
- for ($i=0;$i<$count;$i++) {
- if ($i % 2 ==1) {
- $class = 'paratlan';
- } else {
- $class = 'paros';
- }
- echo "\n".'<tr class="'.$class.'">';
- echo '<td>';
- if (__ADMIN)
- echo '<a href="'.href('index.php?page=session&f=groupInfo&groupCn='.$searchResult[$i]['groupCn'][0]).'&toPolicy='.$toPolicy.'">'.$searchResult[$i]['groupCn'][0].'</a>';
- else
- echo $searchResult[$i]['groupCn'][0];
- echo '</td>';
- echo '<td>';
- echo $searchResult[$i]['groupDesc'][0];
- echo '</td>';
- echo '<td>';
- if (__ADMIN) {
- formBegin(array('name'=>'f'.$i, action=>href('index.php?page=session&sub=search&f=searchGroup') ));
- echo '<input type="hidden" name="action" value="deleteGroup" />';
- echo '<input type="hidden" name="toPolicy" value="'.$toPolicy.'" />';
- echo '<input type="hidden" name="groupCn" value="'.$searchResult[$i]['groupCn'][0].'" />';
- echo '<input type="submit" value="'._DELETE.'" title="'._ARE_YOU_SURE.'" class="confirm" />';
- formEnd();
- }
- echo '</td>';
- echo '</tr>';
- }
- }
- echo '</tbody>';
- echo '</table>';
-
- }
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/html/sessionAdmin.phtml b/mayor-orig/www/skin/classic/module-session/html/sessionAdmin.phtml
deleted file mode 100644
index 67c2af13..00000000
--- a/mayor-orig/www/skin/classic/module-session/html/sessionAdmin.phtml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php
-
- function putSessionList($ADAT) {
-
- echo '<table class="lista" >'."\n";
-
- echo '<thead>'."\n";
- echo '<tr>';
- echo '<th colspan="2">'._ACCOUNT.'</th>';
- echo '<th>'._CN.'</th>';
- echo '<th>'._POLICI.'</th>';
- echo '<th>'._LOGINDT.'</th>';
- echo '<th>'._ACTIVITY.'</th>';
- echo '<th>'._IP.'</th>';
- echo '<th>'._SESSION.'</th>';
- echo '</tr>'."\n";
- echo '</thead>'."\n";
- echo '<tfoot>'."\n";
- echo '<tr>';
- echo '<th colspan="2">'._ACCOUNT.'</th>';
- echo '<th>'._CN.'</th>';
- echo '<th>'._POLICI.'</th>';
- echo '<th>'._LOGINDT.'</th>';
- echo '<th>'._ACTIVITY.'</th>';
- echo '<th>'._IP.'</th>';
- echo '<th>'._SESSION.'</th>';
- echo '</tr>'."\n";
- echo '</tfoot>'."\n";
- echo '<tbody>'."\n";
- foreach ($ADAT['session'] as $sAdat) {
- echo '<tr>';
- echo '<th>';
- if ($sAdat['sessionID']!=_SESSIONID) {
- formBegin();
- echo '<input type="hidden" name="action" value="deleteSession" />'."\n";
- echo '<input type="hidden" name="delSessionID" value="'.$sAdat['sessionID'].'" />'."\n";
- echo '<input type="hidden" name="delPolicy" value="'.$sAdat['policy'].'" />'."\n";
- echo '<input type="submit" class="confirm" title="'._BIZTOS_TOROL.'" name="del" value="'._DELETE.'" />'."\n";
- formEnd();
- }
- echo '</th>';
- echo '<th>'.$sAdat['userAccount'].'</th>';
- echo '<td>'.$sAdat['userCn'].'</td>';
- echo '<td>'.$sAdat['policy'].'</td>';
- echo '<td>'.$sAdat['dt'].'</td>';
- echo '<td>'.$sAdat['activity'].'</td>';
- echo '<td>'.$sAdat['ip'].'</td>';
- echo '<td>'.$sAdat['sessionID'].'</td>';
- echo '</tr>'."\n";
- }
- echo '</tbody>'."\n";
-
- echo '</table>'."\n";
-
- }
-
-
-?>
diff --git a/mayor-orig/www/skin/classic/module-session/img/download.gif b/mayor-orig/www/skin/classic/module-session/img/download.gif
deleted file mode 100644
index 818700f2..00000000
--- a/mayor-orig/www/skin/classic/module-session/img/download.gif
+++ /dev/null
Binary files differ
diff --git a/mayor-orig/www/skin/classic/module-session/javascript/createAccount.jquery.min.js b/mayor-orig/www/skin/classic/module-session/javascript/createAccount.jquery.min.js
deleted file mode 100644
index 1fa17a9c..00000000
--- a/mayor-orig/www/skin/classic/module-session/javascript/createAccount.jquery.min.js
+++ /dev/null
@@ -1,13 +0,0 @@
-$(document).ready(function() {
- $('#createAccount input[type=submit]').attr("disabled", "disabled");
- $('#createAccount').change(function(){
- $('input').removeClass('hiba');
- if ($('#createAccount input[name="userCn"]').val() == "") $('#createAccount input[name="userCn"]').addClass('hiba');
- if ($('#createAccount input[name="userAccount"]').val() == "") $('#createAccount input[name="userAccount"]').addClass('hiba');
- if ($('#createAccount input[name="userPassword"]').val() != $('#createAccount input[name="verification"]').val()) $('#createAccount input[name="verification"]').addClass('hiba');
-// ideiglegenes bekapcsolva
- if ($('#createAccount input[name="mail"]').val() == "") $('#createAccount input[name="mail"]').addClass('hiba');
- if ($('#createAccount input.hiba').length == 0)
- $('#createAccount input[type=submit]').removeAttr("disabled");
- });
-}); \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js b/mayor-orig/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js
deleted file mode 100644
index 94010747..00000000
--- a/mayor-orig/www/skin/classic/module-session/javascript/facebookConnect.jquery.min.js
+++ /dev/null
@@ -1,31 +0,0 @@
-$(document).ready(function() {
- $('#grantFbAuth').submit(function() { // facebook
- FB.getLoginStatus(function(response) {
- if (response.status === 'connected') {
- mayor_facebookconnect_redirect();
- } else if (response.status === 'not_authorized') {
- FB.login(function(loginResponse) {
- if (loginResponse.status=='connected') {
- mayor_facebookconnect_redirect();
- }
- });
- } else {
- FB.login(function(loginResponse) {
- if (loginResponse.status=='connected') {
- mayor_facebookconnect_redirect();
- }
- });
- }
- },true);
- return false;
- });
-
- var mayor_facebookconnect_redirect = function() {
- var origUrl = $(location).attr('href');
- var pos = origUrl.indexOf("?");
- if (pos != -1) url = origUrl+'&action=grantFbAuth';
- else url = origUrl+'?action=grantFbAuth';
- window.location = url;
- }
-
-}); \ No newline at end of file
diff --git a/mayor-orig/www/skin/classic/module-session/javascript/googleapi.jquery.min.js b/mayor-orig/www/skin/classic/module-session/javascript/googleapi.jquery.min.js
deleted file mode 100644
index 3c54f109..00000000
--- a/mayor-orig/www/skin/classic/module-session/javascript/googleapi.jquery.min.js
+++ /dev/null
@@ -1,30 +0,0 @@
-$(document).ready(function() {
- if (typeof(GOOGLEAPI_CLIENT_ID)!=='undefined' && GOOGLEAPI_CLIENT_ID!='') {
- gapi.load('auth2', function(){
- auth2 = gapi.auth2.init({
- client_id: GOOGLEAPI_CLIENT_ID,
- cookiepolicy: 'single_host_origin',
- });
- googleapiCheck(document.getElementById('googleapiCheckBtn'));
- googleapiCheck(document.getElementById('googleapiGrantBtn'));
- googleapiCheck(document.getElementById('googleapiRevokeBtn'));
- });
-
- function googleapiCheck(element) {
- auth2.attachClickHandler(element, {},
- function(googleUser) {
- // console.log(googleUser.getBasicProfile());
- var id_token = googleUser.getAuthResponse().id_token;
- var origUrl = $(location).attr('href');
- var pos = origUrl.indexOf("?");
- if (pos != -1) url = origUrl+'&id_token='+id_token;
- else url = origUrl+'?id_token='+id_token;
- if (element.id == 'googleapiGrantBtn') url += '&action=googleapiGrant';
- if (element.id == 'googleapiRevokeBtn') url += '&action=googleapiRevoke';
- window.location = url;
- }, function(error) {
- // alert(JSON.stringify(error, undefined, 2));
- });
- }
- }
-});