From f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 21:20:34 +0100 Subject: további rendrakás --- .../classic/module-session/html/accountInfo.phtml | 339 --------------------- .../module-session/html/admin/knownNodes.phtml | 70 ----- .../module-session/html/admin/registration.phtml | 270 ---------------- .../module-session/html/createAccount.phtml | 107 ------- .../classic/module-session/html/createGroup.phtml | 90 ------ .../classic/module-session/html/download.phtml | 32 -- .../module-session/html/facebookConnect.phtml | 53 ---- .../classic/module-session/html/googleapi.phtml | 45 --- .../classic/module-session/html/groupInfo.phtml | 5 - .../module-session/html/search/searchAccount.phtml | 126 -------- .../module-session/html/search/searchGroup.phtml | 103 ------- .../classic/module-session/html/sessionAdmin.phtml | 58 ---- 12 files changed, 1298 deletions(-) delete mode 100644 mayor-orig/www/skin/classic/module-session/html/accountInfo.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/admin/knownNodes.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/admin/registration.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/createAccount.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/createGroup.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/download.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/facebookConnect.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/googleapi.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/groupInfo.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/search/searchAccount.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/search/searchGroup.phtml delete mode 100644 mayor-orig/www/skin/classic/module-session/html/sessionAdmin.phtml (limited to 'mayor-orig/www/skin/classic/module-session/html') 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 @@ -'; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo '
'._USERDEFAULTSKIN.''; - echo ''; - echo '
'; - 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 ''; - } else { - echo ''; - $ADAT['eduroamAdat']['eduroamUID'] = _USERACCOUNT; - $ADAT['eduroamAdat']['eduroamPASSWORD'] = "********"; - } - echo ''; - echo ''; - echo ''; - echo ''; - - echo ''; - echo ''; - echo ''; - echo ''; - - echo ''; - echo ''; - echo ''; - echo ''; - - echo ''; - echo ''; - echo ''; - echo ''; - - echo ''; - echo '
Eduroam
Eduroam felhasználói név:'.($ADAT['eduroamAdat']['eduroamUID']).'@'; - if ($ADAT['eduroamDOMAIN']!='') { - echo $ADAT['eduroamDOMAIN']; - } else { - echo ''; - } - echo '
Eduroam jelszó:'.($ADAT['eduroamAdat']['eduroamPASSWORD']).'
Eduroam viszony:'.($eduroamAFFILIATION).'
'; - 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 '
ismeretlen attribútum típus: '.$name.' ('.($anAttrDef[$name]['type']).')
'; - else echo '
'.$name.': nem elérhető
'; - - } - - function putTextAttr($name, $values, $anAttrDef) { - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - - echo '
'.$anAttrDef['desc'].''; - for ($i=0;$i'."
\n"; - } - echo '
'."\n"; - } - - function putIntAttr($name, $values, $anAttrDef) { - putTextAttr($name, $values, $anAttrDef); - } - - function putSelectAttr($name, $values, $anAttrDef) { - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - if ($anAttrDef['rights'][_ACCESS_AS]=='w') { - echo ''; - echo ''; - echo ''; - echo ''; - } - echo '
'.$anAttrDef['desc'].' ('.intval($values['count']).'):'; - if ($values['count'] > 0) { - echo ''; - } elseif (!isset($values['count']) && count($values) > 0) { - echo ''; - } - echo '
'._NEW.':'; - if (is_array($values['new'])) { - echo ''."\n"; - } else { - echo ''; - } - echo '
'."\n"; - } - - function putRadioAttr($name, $values, $anAttrDef) { - - if (!isset($values[0])) $values[0] = ''; - - echo ''; - echo ''; - echo ''."\n"; - echo ''; - - echo ''; - echo '
'.$anAttrDef['desc'].':'."\n"; - - for ($i=0;$i'; - } else { - echo ''; - } - echo $anAttrDef['options'][$i]; - } - echo '
'; - } - - 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 ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo '
'.$anAttrDef['desc'].':'; - - if ($anAttrDef['rights'][_ACCESS_AS]=='r') { echo "$Y-$m-$d"; } else { - - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - } - - echo '
'; - } - - function putImageAttr($name, $dn, $anAttrDef) { - - echo ''; - echo ''; - echo ''; - echo '
kép'._NEWPHOTO.':
'; - echo ''; - echo '
'; - - } - - function putAccountInfoForm($userInfo, $accountInfo, $attrDef, $toPolicy = _POLICY) { - - formBegin(array('enctype'=>'multipart/form-data')); - echo ''; - echo ''; - echo ''; - - if (_ACCESS_AS === _ADMIN_ACCESS) $_class = "asAdmin"; - echo ''; - echo ''; - if ($toPolicy != _POLICY) echo ''."\n"; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''."\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 ''."\n"; - } - } - } - echo ''; - echo '
'.$toPolicy.'
'.$userInfo['userCn'][0].'
'.$userInfo['userAccount'][0].'
'; putAttr($name, $value, $attrDef[$name], $toPolicy); echo '
'; - if ($emptyAttrs != '') $emptyAttrs = substr($emptyAttrs,0,-1); - echo ''; - formEnd(); - - } - - function putGroupInfoForm($groupCn, $groupInfo, $attrDef, $toPolicy = _POLICY) { - formBegin(array('enctype'=>'multipart/form-data')); - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; -// echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''."\n"; - $emptyAttrs = ''; - if (is_array($groupInfo)) - foreach ($groupInfo as $name => $value) { - if (!isset($value[0]) || $value['count'] == 0) $emptyAttrs .= "$name:"; - if ($name != 'groupCn') { - echo ''."\n"; - } - } - echo ''; - echo '
'.$groupCn.'
'.$userInfo['userAccount'][0].'
'; putAttr($name, $value, $attrDef[$name], $toPolicy); echo '
'; - if ($emptyAttrs != '') $emptyAttrs = substr($emptyAttrs,0,-1); - echo ''; - formEnd(); - - } - - function putAccountActivityForm($ADAT) { - formBegin(); - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - for ($i=0; $i'; - echo ''; - echo ''; - echo ''; - echo ''; - } - echo '
Hosszú lejáratú munkamenetek
IpAktivitás
'.($i+1); - echo ''; - echo ($ADAT['activity'][$i]['ipAddress']); - echo ''; - echo ($ADAT['activity'][$i]['activity']); - echo '
'; - 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 @@ -'search')); - - echo '

'._UJ_VEGPONT.'

'; - echo ''; - echo ''; - _inlineHelp(_SUGO_NODEID); - echo ''; - echo ''; - - formEnd(); - } - - function putKnownNodes($ADAT) { - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - foreach ($ADAT['nodes'] as $index => $nAdat) { - $class = ekezettelen($nAdat['nodeTipus']); - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } - echo ''; - echo '
'._NODEID.''._NEV.''._HELYSEG.''._NODETIPUS.''.'Ping/Rev.'.'
'._NODEID.''._NEV.''._HELYSEG.''._NODETIPUS.''.'Ping/Rev.'.'
'.$nAdat['nodeId'].''.$nAdat['nev'].''.$nAdat['cimHelyseg'].''.$nAdat['nodeTipus'].''; - formBegin(); - echo ''; - echo ''; - if (isset($ADAT['nodeVersion']) && $nAdat['nodeId'] == $ADAT['nodeId']) { - echo ''; - } else { - echo ''; - } - formEnd(); - echo ''; - formBegin(); - echo ''; - echo ''; - echo ''; - formEnd(); - echo '
'; - - } - -?> 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 @@ -A mayor.hu sikeresen validálta a szervert (nodeId: '.$nodeId.')!'; - } else { - echo '
A mayor.hu nem ismeri ezt a szervert (nodeId: '.$nodeId.')!
'; - } - - } - - function putCheckOldReg($ADAT) { - - formBegin(array('method'=>'post','action'=>'','id'=>'regForm','class'=>'reg')); - echo ''; - echo ''; - - echo '

'._KORABBAN_REGISZTRALT.'

'; - echo '
'; - echo '

'.str_replace("\n\n",'

',_REG_HELYREALLITAS_LEIRAS).'

'; - echo '
'; - echo ''; - - formEnd(); - - } - - function putRegisztracio($ADAT) { - - formBegin(array('method'=>'post','action'=>'','id'=>'regForm','class'=>'reg')); - echo ''; - - echo '
'; - echo '
'; - include('static/hu_HU/session/admin/registration/readme.html'); - echo '
'; // leiras - - echo '
'."\n"; - echo ''."\n"; - echo ' + ÁFA'."
\n"; - - echo ''; - echo ''."
\n"; - echo ''; - echo ''."
\n"; - if (_REGISZTRALT !== true) echo ''."\n"; - echo '

'._HIBA_ESETEN.'

'."\n"; - echo '
'."\n"; // tamogatar - echo '
'; // #bal - - echo '
'; - - echo '

'._INTEZMENY_ADATAI.'

'; - 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 '
'; - echo ''; - if (is_array($mAdat['options'])) { - echo ''; - } elseif ($mAdat['type']=='textarea') { - echo ''; - } else { - echo ''; - } - echo '
'."\n"; - - } else { - if ($mAdat['type']!='none') { - echo ''; - } - } - } - echo '
'."\n"; - - - - - - echo ''."\n"; - echo ''; - - 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 ''; - - echo '
'; - echo '
'; - include('static/hu_HU/session/admin/registration/readme.html'); - echo '
'; //.leiras - - echo '
'."\n"; - echo ''."\n"; - echo ' + ÁFA'."
\n"; - - echo ''; - echo ''."
\n"; - echo ''; - echo ''."
\n"; - if (_REGISZTRALT !== true) echo ''."\n"; - echo '

'._HIBA_ESETEN.'

'."\n"; - echo '
'."\n"; - - - echo '
'; // #bal - - - - echo '
'; - foreach ($ADAT['intezmeny'] as $key => $value) { - echo ''."\n"; - } - echo ''."\n"; - - - echo '

'._INTEZMENY_ADATAI.'

'; - 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 ''."\n"; - } else { - echo '
'; - echo ''; - if (is_array($mAdat['options'])) { - echo ''; - } elseif ($mAdat['type']=='textarea') { - echo ''; - } else { - echo ''; - } - echo '
'."\n"; - } - } else { - if ($mAdat['type'] != 'none') - echo ''."\n"; - } - } - } - echo '
'."\n"; - - - - - - echo ''."\n"; - echo ''; - - formEnd(); - } - - - - - - function putPublicKey($publicKey) { - echo '

Saját publikus kulcs

'; - echo '
'; - echo ''; - echo '
'; - - } - - function putSzomszedok($ADAT) { - - $attr = array('OMKod','nev','mayorTipus','naploUrl'); - $mayorTipus = array( - 'fejlesztői' => '', - 'fenntartó' => '', - 'intézmény' => '', - 'backup' => '', - 'boss' => '' - ); - echo '

MaYoR-partnerek

'; - - echo ''; - echo ''; - echo ''; - foreach ($attr as $v) { - echo ''; - } - echo ''; - echo ''; - echo ''; - for ($i=0;$i'; - foreach ($_D as $k=>$v) { - if ($k=='publicKey') continue; - if ($k=='mayorTipus') echo ''; - if (in_array($k,$attr)) { - //echo ''; - echo ''; - } - } - echo ''; - } - echo ''; - echo '
'.$v.'
'.$mayorTipus[$v].''.$k.''; - echo $v; - echo '
'; - - } - -?> 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 @@ -'multipart/form-data','id'=>'createAccount')); - - echo ''; - - echo ''."\n"; - echo ''."\n"; - echo ''; - echo ''; - echo ''; - if (_POLICY=='private') { - echo ''; - echo ''."\n"; - echo ''; - } - echo ''."\n"; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''."\n"; - echo ''."\n"; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - - $CONTAINERS = $AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers']; - if (isset($CONTAINERS) and is_array($CONTAINERS) and count($CONTAINERS) > 0) { - echo ''; - echo ''; - echo ''; - echo ''."\n"; - } - - echo ''."\n"; - echo ''; - echo ''; - echo ''."\n"; - echo ''; - echo ''; - echo ''."\n"; - - if (isset($AUTH[$toPolicy]['categories']) and is_array($AUTH[$toPolicy]['categories']) and count($AUTH[$toPolicy]['categories']) > 0) { - echo ''; - echo ''; - echo ''; - echo ''."\n"; - } - - if (is_array($AUTH[$toPolicy]['accountAttrs'])) foreach ($AUTH[$toPolicy]['accountAttrs'] as $key => $attr) { - echo ''; - echo ''; - echo ''; - echo ''."\n"; - } - - if (_POLICY=='private') { - echo ''; - echo ''; - echo ''; - echo ''; - } - - echo ''; - echo '
'._CREATE_ACCOUNT.'
'; - $SEL = array($toPolicy => ' selected="selected" '); - echo ''; - echo '
'; - echo ''; - echo ''; - echo '
'.$attrDef['userCn']['desc'].':
'.$attrDef['userAccount']['desc'].':
'._ACCOUNT_CONTAINER.''; - echo ''; - echo '
'.$attrDef['userPassword']['desc'].':
'._VERIFICATION.':
'._ACCOUNT_CATEGORY.''; - echo ''; - echo '
'.$attrDef[$attr]['desc'].':
'._DATAFILE.':
'; - 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 @@ -'multipart/form-data')); - echo ''; - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''."\n"; - echo ''."\n"; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - $CONTAINERS = $AUTH[$toPolicy][$AUTH[$toPolicy]['backend'].'Containers']; - if (isset($CONTAINERS) and is_array($CONTAINERS) and count($CONTAINERS) > 0) { - echo ''; - echo ''; - echo ''; - echo ''."\n"; - } - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - - if (is_array($AUTH[$toPolicy]['groupAttrs'])) foreach ($AUTH[$toPolicy]['groupAttrs'] as $key => $attr) { - echo ''; - echo ''; - echo ''; - echo ''."\n"; - } - -/* echo ''; - echo ''; - echo ''; - echo ''; -*/ echo ''; - echo '
'._CREATE_GROUP.'
'; - $SEL = array($toPolicy => ' selected="selected" '); - echo ''; - echo '
'; - echo ''; - echo ''; - echo '
'.$attrDef['groupCn']['desc'].':
'._GROUP_CONTAINER.':'; - echo ''; - echo '
'.$attrDef['groupDesc']['desc'].':
'._GROUP_CATEGORY.''; - echo ''; - echo '
'.$attrDef[$attr]['desc'].':
'._DATAFILE.':
'; - 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 @@ -'."\n"; - echo '

'._DOWNLOAD.'

'."\n"; - - $href = href('index.php?page=session&f=download&dir='.$ADAT['dir'].'&file='.$ADAT['file'].'&download=true'); - echo ''."\n"; - echo ''; - echo ''."\n"; - echo ''."\n"; - echo ''; - echo ''; - echo ''."\n"; - echo ''."\n"; - echo ''; - echo ''; - echo ''."\n"; - echo ''."\n"; - echo ''; - echo '
'._FILE.''; - echo ''; - echo substr($ADAT['path'],strlen(_DOWNLOADDIR.'/'._POLICY.'/')); - echo ''; - echo '
'._SIZE.''.$ADAT['size'].' byte
'._MIMETYPE.''.$ADAT['mime'].'
'; - - echo '

'._DESCRIPTION.'

'; - echo ''."\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 @@ -'; - echo 'A Facebook azonosítás ki van kapcsolva. Kérj segítséget a rendszerüzemeltetőtől!'; - echo ''; - return false; - } - -// var_dump($ADAT); -// var_dump(_USERACCOUNT); -// var_dump(_POLICY); - - // fbUserIdStatusz = ready, associated, already_associated - if ($ADAT['fbUserIdStatusz'] == 1) { - echo '
'; - echo ''; - - echo 'Már kész, minden rendben!'; - formBegin(); - echo ''; - echo ''; - formEnd(); - echo '
'; - } elseif ($ADAT['fbUserIdStatusz'] == 2) { - echo '
'; - echo 'Már más facebook userhez van hozzárendelve az azonosítód!'; - echo ''; - echo '
'; - } elseif ($ADAT['fbUserIdStatusz'] == 3) { - echo '
'; - echo 'Ehhez a facebook azonosítóhoz már hozzá van rendelve egy másik MaYoR account!'; - echo '
'; - } else { - echo '
'; - echo 'Engedélyezed?'; - echo ''; - formBegin(array('id'=>'grantFbAuth')); - echo ''; - echo ''; - formEnd(); - echo '
'; - } - formBegin(array('style'=>'text-align:center')); - echo ''; - echo ''; - 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 @@ -'; - echo 'A Google azonosítás ki van kapcsolva. Kérj segítséget a rendszerüzemeltetőtől!'; - echo ''; - return false; - } - - - if ($ADAT['googleapiStatusz'] == 1) { - echo '
'; - echo ''; - echo 'Összekötve'; - formBegin(); - echo ''; - echo ''; - formEnd(); - echo '
'; - } else { - echo '
'; - echo 'Engedélyezed?'; - formBegin(); - echo ''; - echo ''; - formEnd(); - echo '
'; - } - - - - formBegin(array('style'=>'text-align:center')); - echo ''; - echo ''; - 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 @@ - 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 @@ -'usersearch')); - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - - formEnd(); - - } - - function putSearchResultBox($searchResult, $toPolicy) { - - global $AUTH; - - $count = $searchResult['count']; - echo ''; - echo ''; - if ($toPolicy != _POLICY) echo ''."\n"; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - if ($count == 0) { - echo ''; - } else { - for ($i = 0; $i < $count; $i++) { - if ($i % 2 ==1) { - $class = 'paratlan'; - } else { - $class = 'paros'; - } - echo "\n".''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } - } - echo ''; - echo '
'.$toPolicy.'
'._ATTR_USERCN.''._CATEGORY.''._ATTR_MAIL.''._ACTION.'
'._NOTFOUND.'
'; - if (__ADMIN) - echo ''.$searchResult[$i]['userCn'][0].''; - else - echo $searchResult[$i]['userCn'][0]; - echo ''; - for ($j=0; $j < $searchResult[$i]['category']['count']; $j++) { - echo $searchResult[$i]['category'][$j].' '; - } - echo ''; - for ($j = 0; $j < $searchResult[$i]['mail']['count']; $j++) { - echo ''.$searchResult[$i]['mail'][$j].'
'; - } - echo '
'; - if (__ADMIN) { - formBegin(array('name'=>'f'.$i)); - echo ''; - echo ''; - echo ''; - echo ''; - 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 ''; - echo ''; - echo ''; - echo ''; - formEnd(); - } - - echo '
'; - - } - -?> 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 @@ -'search')); - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - //echo ''; - formEnd(); - - } - - function putSearchResultBox($searchResult, $toPolicy) { - - global $AUTH; - - $count = $searchResult['count']; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - if ($count == 0) { - echo ''; - } else { - for ($i=0;$i<$count;$i++) { - if ($i % 2 ==1) { - $class = 'paratlan'; - } else { - $class = 'paros'; - } - echo "\n".''; - echo ''; - echo ''; - echo ''; - echo ''; - } - } - echo ''; - echo '
'._ATTR_GROUPCN.''._ATTR_GROUPDESC.''._ACTION.'
'._NOTFOUND.'
'; - if (__ADMIN) - echo ''.$searchResult[$i]['groupCn'][0].''; - else - echo $searchResult[$i]['groupCn'][0]; - echo ''; - echo $searchResult[$i]['groupDesc'][0]; - echo ''; - if (__ADMIN) { - formBegin(array('name'=>'f'.$i, action=>href('index.php?page=session&sub=search&f=searchGroup') )); - echo ''; - echo ''; - echo ''; - echo ''; - formEnd(); - } - echo '
'; - - } - -?> 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 @@ -'."\n"; - - echo ''."\n"; - echo ''; - echo ''._ACCOUNT.''; - echo ''._CN.''; - echo ''._POLICI.''; - echo ''._LOGINDT.''; - echo ''._ACTIVITY.''; - echo ''._IP.''; - echo ''._SESSION.''; - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - echo ''; - echo ''._ACCOUNT.''; - echo ''._CN.''; - echo ''._POLICI.''; - echo ''._LOGINDT.''; - echo ''._ACTIVITY.''; - echo ''._IP.''; - echo ''._SESSION.''; - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - foreach ($ADAT['session'] as $sAdat) { - echo ''; - echo ''; - if ($sAdat['sessionID']!=_SESSIONID) { - formBegin(); - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - echo ''."\n"; - formEnd(); - } - echo ''; - echo ''.$sAdat['userAccount'].''; - echo ''.$sAdat['userCn'].''; - echo ''.$sAdat['policy'].''; - echo ''.$sAdat['dt'].''; - echo ''.$sAdat['activity'].''; - echo ''.$sAdat['ip'].''; - echo ''.$sAdat['sessionID'].''; - echo ''."\n"; - } - echo ''."\n"; - - echo ''."\n"; - - } - - -?> -- cgit v1.2.3