From 8f8fc390374681cd537e4216f0366d6fe8a6c73c Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 7 Sep 2018 22:27:52 +0200 Subject: Rev: 4358 --- .../module-naplo/html/intezmeny/tankor.phtml | 20 ++++++--- .../module-naplo/html/intezmeny/terem.phtml | 7 ++- .../module-naplo/html/orarend/orarend.phtml | 51 ++++++++++++++++++++-- .../html/orarend/orarendModosito.phtml | 14 +++--- 4 files changed, 75 insertions(+), 17 deletions(-) (limited to 'mayor-orig/www/skin/classic/module-naplo/html') diff --git a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankor.phtml b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankor.phtml index 22e807f5..7517709b 100644 --- a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankor.phtml +++ b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/tankor.phtml @@ -28,11 +28,6 @@ global $TANKOR_TIPUS; /* $TOPOST['tankoradat'] */ - - $TT=array(); - for ($i=0; $i'._TANKOR.' '; echo $MK['leiras'].'/'.$TARGY['targyNev']; if ($TARGY['targyJelleg']!='') echo ' ('.$TARGY['targyJelleg'].')'; - echo ' '.implode(', ',$TT); + for ($i=0; $i'; + echo $TOPOST['tankortanar'][$i]['tanarNev']; + echo ''; + } echo ''."\n"; - echo ''; + echo ''."\n"; echo ''; echo ''; echo ''; echo ''."\n"; + echo ''; + echo ''; + echo ''."\n"; + echo '
'._ELNEVEZES.''; @@ -98,6 +98,12 @@ echo '
'._TANKORCN.''; + echo ''; + echo '
'; echo '

'._ALTALANOS.'

'."\n"; diff --git a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/terem.phtml b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/terem.phtml index 73cbede6..7b95fbc6 100644 --- a/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/terem.phtml +++ b/mayor-orig/www/skin/classic/module-naplo/html/intezmeny/terem.phtml @@ -12,16 +12,21 @@ echo ''._FEROHELY.''; echo ''._TIPUS.''; echo ''._TELEPHELY.''; + echo ''._TEREMALLAPOT.''; echo ''."\n"; echo ''."\n"; echo ''; foreach ($ADAT['teremAdat'] as $teremId => $tAdat) { echo ''; echo ''.$tAdat['teremId'].''; - echo ''.$tAdat['leiras'].''; + echo ''; + echo ' '; + echo $tAdat['leiras']; + echo ''; echo ''.$tAdat['ferohely'].''; echo ''.$tAdat['tipus'].''; echo ''.$ADAT['telephelyAdat'][ $tAdat['telephelyId'] ]['telephelyRovidNev'].''; + echo ''.$tAdat['teremAllapot'].''; echo ''."\n"; } echo ''."\n"; 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 0a0174bb..e34ea785 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 @@ -55,6 +55,25 @@ // if (is_array($ADAT['orarend']['assoc'])) { if (TRUE) { $T = $ADAT['orarend']['assoc']; + + if (MAYOR_SOCIAL === true) { + echo '

MaYoR Social Edition

'; + formBegin(); + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + } echo '

'.$ADAT['toPrint'].'

'; echo ''."\n"; echo ''; @@ -214,7 +233,9 @@ // $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']; $_oraMostVan = (in_array($_ORA['oraId'],$ADAT['orakMost'])); @@ -260,8 +281,8 @@ } 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 ''; @@ -271,7 +292,27 @@ echo "$_targyjel : $_osztalyJel : "; } echo ', '; - echo ''.$_teremKiir.''; + echo ''.$_teremKiir.''; + +// mindenkinek módosítható (social edition) +if (MAYOR_SOCIAL === true) { +// if ($_valosTeremId == 0) { + // (`het`,`nap`,`ora`,`tanarId`,`tolDt` = teremId), + $_keyBase = 'OOM+'.$_T['het'].'+'.$nap.'+'.$ora.'+'.$_T['tanarId'].'+'.$_T['tolDt']; + $_hidden = ($_valosTeremId > 0)?' style="display:none" ':''; + echo ''; +// } +} + echo '
'; if ($_ORA['kit']!='') { echo ''; @@ -340,6 +381,8 @@ echo ''; echo '
'."\n\n\n\n"; + if (MAYOR_SOCIAL === true) formEnd(); + // } // foreach } else { diff --git a/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml b/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml index bd9b13c1..468d11bf 100644 --- a/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml +++ b/mayor-orig/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml @@ -26,6 +26,7 @@ } echo ''; echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -194,11 +195,11 @@ for ($oi=0; $oi'; - echo $__TANKOR['tankorNev']; - echo "($__tankorId)"; + echo ''."\n"; + echo ''."\n"; } echo ''; echo ''; @@ -272,12 +273,15 @@ for ($oi=0; $oi'; echo ''; echo ''; for ($i=0; $i'.$value.''."\n"; } echo ''; -- cgit v1.2.3