From e6988247360fa98b85915a38803d018dd353df00 Mon Sep 17 00:00:00 2001
From: M.Gergo
Date: Sun, 16 Dec 2018 16:35:17 +0100
Subject: Rev: 4412
---
.../classic/module-naplo/css/orarend/orarend.css | 14 ++++++++
.../module-naplo/html/hirnok/cronFutar.phtml | 2 +-
.../classic/module-naplo/html/hirnok/hirnok.phtml | 2 +-
.../module-naplo/html/intezmeny/tanar.phtml | 38 +++++++++++++---------
.../module-naplo/html/orarend/orarend.phtml | 18 ++++------
.../module-naplo/html/osztalyozo/diak.phtml | 4 +--
.../javascript/orarend/orarend.jquery.min.js | 1 +
7 files changed, 48 insertions(+), 31 deletions(-)
(limited to 'mayor-orig/www/skin/classic/module-naplo')
diff --git a/mayor-orig/www/skin/classic/module-naplo/css/orarend/orarend.css b/mayor-orig/www/skin/classic/module-naplo/css/orarend/orarend.css
index 4acdd988..0cfda59b 100644
--- a/mayor-orig/www/skin/classic/module-naplo/css/orarend/orarend.css
+++ b/mayor-orig/www/skin/classic/module-naplo/css/orarend/orarend.css
@@ -202,6 +202,17 @@ div.unfinished {
table.orarend div.orarendTools span.dolgozat:hover { color: orange;}
table.orarend div.orarendTools span.bezar:hover { color: #f06; }
+ h2.mayorSocialEdition {
+ text-align: center;
+ background-color: #f06;
+ width: 220px;
+ margin: auto;
+ color: #fff;
+ margin-bottom: 8px;
+ border-radius: 4px;
+ padding: 2px;
+ }
+
.animated {
-webkit-animation-duration: 1.5s;
animation-duration: 1.5s;
@@ -273,6 +284,9 @@ div.unfinished {
color: #dddddd; text-shadow: 0px 1px black;white-space:nowrap;font-size:xx-small; font-weight:normal; width:100%; text-align: center;
}
+ table.orarend div.orarendTools { display:none; }
+ h2.mayorSocialEdition { display:none; }
+
}
sup, sub {
diff --git a/mayor-orig/www/skin/classic/module-naplo/html/hirnok/cronFutar.phtml b/mayor-orig/www/skin/classic/module-naplo/html/hirnok/cronFutar.phtml
index 9c547f84..8dc73ed5 100644
--- a/mayor-orig/www/skin/classic/module-naplo/html/hirnok/cronFutar.phtml
+++ b/mayor-orig/www/skin/classic/module-naplo/html/hirnok/cronFutar.phtml
@@ -59,7 +59,7 @@
global $aHetNapjai;
$nap = kisbetus($aHetNapjai[date('w',strtotime($D['oraAdat']['dt']))-1]);
$RETURN_STR .= 'A '.$D['oraAdat']['tankorCn'].' tankör '.$D['oraAdat']['dt'].' '.$nap.'i '.$D['oraAdat']['ora'].'. óra státusza megváltozott. ';
- if ($D['oraAdat']['teremId']>0) $RETURN_STR .= 'Terme: '.$D['oraAdat']['teremId'].'. ';
+ if ($D['oraAdat']['teremId']>0) $RETURN_STR .= 'Terme: '.$D['oraAdat']['teremLeiras'].' ('.$D['oraAdat']['teremId'].') ';
$RETURN_STR .= 'Új típusa: '.$D['oraAdat']['tipus'].'! ';
if ($D['oraAdat']['ki']>0) $RETURN_STR .= '('.$D['oraAdat']['kiCn'].')';
return $RETURN_STR;
diff --git a/mayor-orig/www/skin/classic/module-naplo/html/hirnok/hirnok.phtml b/mayor-orig/www/skin/classic/module-naplo/html/hirnok/hirnok.phtml
index fd51c8d8..0ab0693c 100644
--- a/mayor-orig/www/skin/classic/module-naplo/html/hirnok/hirnok.phtml
+++ b/mayor-orig/www/skin/classic/module-naplo/html/hirnok/hirnok.phtml
@@ -139,7 +139,7 @@
// if ($D['oraAdat']['dt']=='1970-01-01 01:00:00') return false;
$nap = kisbetus($aHetNapjai[date('w',strtotime($D['oraAdat']['dt']))-1]);
echo 'A '.$D['oraAdat']['tankorCn'].' tankör '.$D['oraAdat']['dt'].' '.$nap.'i '.$D['oraAdat']['ora'].'. óra státusza megváltozott. ';
- if ($D['oraAdat']['teremId']>0) echo 'Terme: '.$D['oraAdat']['teremId'].'. ';
+ if ($D['oraAdat']['teremId']>0) echo 'Terme: '.$D['oraAdat']['teremLeiras'].' ('.$D['oraAdat']['teremId'].') ';
echo 'Új típusa: '.$D['oraAdat']['tipus'].'! ';
if ($D['oraAdat']['ki']>0) echo '('.$D['oraAdat']['kiCn'].')';
}
diff --git a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tanar.phtml b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tanar.phtml
index c1c526fb..563f2bd6 100644
--- a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tanar.phtml
+++ b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tanar.phtml
@@ -52,7 +52,7 @@
echo ''."\n";
echo '
'."\n";
- echo ' | '."\n";
echo ''."\n";
echo '';
@@ -61,21 +61,21 @@
echo ' | '."\n";
echo ''."\n";
- echo ''._TAJSZAM.''."\n";
+ echo ''._TAJSZAM.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
*/
echo ''."\n";
- echo ''._OID.''."\n";
+ echo ''._OID.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
echo ''."\n";
- echo ''._NEKAZONOSITO.''."\n";
+ echo ''._NEKAZONOSITO.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
@@ -83,7 +83,7 @@
/*
echo ' | '."\n";
- echo ''._DIAKIGAZOLVANYSZAM.''."\n";
+ echo ''._DIAKIGAZOLVANYSZAM.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
@@ -92,14 +92,14 @@
echo ' |
'."\n";
echo '';
echo ''."\n";
- echo ''._TITULUS.''."\n";
+ echo ''._TITULUS.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
echo ''."\n";
- echo ''._TITULUSROVID.''."\n";
+ echo ''._TITULUSROVID.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
@@ -107,12 +107,20 @@
echo ' |
';
echo '';
echo ''."\n";
- echo ''._EMAIL.''."\n";
+ echo ''._EMAIL.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
echo '
';
+ echo '';
+ echo ''."\n";
+ echo ''._KRETANEV.''."\n";
+ echo ' | '."\n";
+ echo ''."\n";
+ echo '';
+ echo ' | '."\n";
+ echo '
';
echo ''."\n";
echo '';
@@ -142,14 +150,14 @@
echo ''."\n";
echo ''."\n";
- echo ''._SZULETESIHELY.''."\n";
+ echo ''._SZULETESIHELY.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
echo ''."\n";
- echo ''._SZULETESIIDO.''."\n";
+ echo ''._SZULETESIIDO.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
@@ -347,7 +355,7 @@
echo ' | '."\n";
echo ''."\n";
- echo ''._ALLAMPOLGARSAG.''."\n";
+ echo ''._ALLAMPOLGARSAG.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
@@ -356,28 +364,28 @@
echo ' |
'."\n";
echo ''."\n";
- echo ''._TAJSZAM.''."\n";
+ echo ''._TAJSZAM.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
*/
echo ''."\n";
- echo ''._OID.''."\n";
+ echo ''._OID.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
echo ''."\n";
- echo ''._NEKAZONOSITO.''."\n";
+ echo ''._NEKAZONOSITO.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
echo ' | '."\n";
echo ''."\n";
- echo ''._BEDT.''."\n";
+ echo ''._BEDT.''."\n";
echo ' | '."\n";
echo ''."\n";
echo '';
diff --git a/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarend.phtml b/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarend.phtml
index e34ea785..798c8e85 100644
--- a/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarend.phtml
+++ b/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarend.phtml
@@ -57,17 +57,11 @@
$T = $ADAT['orarend']['assoc'];
if (MAYOR_SOCIAL === true) {
- echo 'MaYoR Social Edition';
+ echo 'MaYoR Social Edition';
formBegin();
echo '';
echo '';
+ echo '';
echo '';
echo '';
echo '';
@@ -234,7 +228,7 @@
$het = $_T['het'];
$_ORA = $ADAT['haladasi']['orak'][$dt][$ora][$_T['tankorId']];
-$_valosTeremId = (is_null($_ORA['teremId']))? $_T['teremId']:$_ORA['teremId'];
+ $_valosTeremId = (is_null($_ORA['teremId']))? $_T['teremId']:$_ORA['teremId'];
$_tankorTipus = $ADAT['tankorok'][$_T['tankorId']][0]['tankorTipus'];
$_tankorTipusId = $ADAT['tankorok'][$_T['tankorId']][0]['tankorTipusId'];
@@ -281,8 +275,8 @@ $_valosTeremId = (is_null($_ORA['teremId']))? $_T['teremId']:$_ORA['teremId'];
}
if ($TANKOR_DOLGOZAT[$_T['tankorId']][$dt]>0) echo '';
if ($TANKOR_JEGYZET[$_T['tankorId']][$dt]>0) echo '';
-$_teremKiir = ($_T['teremId'] != $_valosTeremId) ? ''.$ADAT['termek'][$_T['teremId']]['leiras'].''.$ADAT['termek'][$_valosTeremId]['leiras'].'' : $ADAT['termek'][$_T['teremId']]['leiras'];
-$_ferohely = $ADAT['termek'][$_valosTeremId]['ferohely'];
+ $_teremKiir = ($_T['teremId'] != $_valosTeremId) ? ''.$ADAT['termek'][$_T['teremId']]['leiras'].''.$ADAT['termek'][$_valosTeremId]['leiras'].'' : $ADAT['termek'][$_T['teremId']]['leiras'];
+ $_ferohely = $ADAT['termek'][$_valosTeremId]['ferohely'];
$_letszam = $ADAT['tankorLetszamok'][$_T['tankorId']];
if ($_T['tankorId']!='') {
echo '';
@@ -298,7 +292,7 @@ $_ferohely = $ADAT['termek'][$_valosTeremId]['ferohely'];
if (MAYOR_SOCIAL === true) {
// if ($_valosTeremId == 0) {
// (`het`,`nap`,`ora`,`tanarId`,`tolDt` = teremId),
- $_keyBase = 'OOM+'.$_T['het'].'+'.$nap.'+'.$ora.'+'.$_T['tanarId'].'+'.$_T['tolDt'];
+ $_keyBase = 'OOM+'.$_T['het'].'+'.$nap.'+'.$ora.'+'.$_T['tanarId'].'+'.$_T['tolDt'].'+'.$_ORA['oraId'];
$_hidden = ($_valosTeremId > 0)?' style="display:none" ':'';
echo ' |