From 3a1c1811413c635c5ee6e40cb7d497de7313dbe1 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Thu, 28 Oct 2021 15:10:04 +0200 Subject: Rev: 4820 --- .../module-naplo/html/intezmeny/tanarok.phtml | 21 ++++++++++++++++----- .../module-naplo/html/intezmeny/valtas.phtml | 11 ++++++++++- 2 files changed, 26 insertions(+), 6 deletions(-) (limited to 'mayor-orig/mayor-naplo/www/skin') diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tanarok.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tanarok.phtml index e01375dc..42c84c3f 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tanarok.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tanarok.phtml @@ -104,6 +104,9 @@ div.tanarGrid .item { padding:4px 4px; border-radius:2px; } +div.tanarGrid .item.kulsos { + background-color:#ddd; +} h1.osztaly,h2.osztalyfonok,h3.kepzes { text-align:center; } @@ -121,14 +124,22 @@ div.besorolas { font-size:x-small; color: #aaa;} echo '
'; for($i=0; $i'; + $T = $ADAT['tanarok'][$i]; + + $_kulsos = ($T['statusz']=='külső óraadó'); + $_kulsosClassName = ($_kulsos) ? 'kulsos':''; + + if (isset($ADAT['kulsosview'])) { + if ($ADAT['kulsosview']===true && $T['statusz']!='külső óraadó') continue; + elseif ($ADAT['kulsosview']!==true && $T['statusz']=='külső óraadó') continue; + } + echo '
'; if (($_img = getFaceURI($T['tanarId'],'tanar')) != '') echo ''; else { - echo '
'; - // echo '
'; - echo '
'; + echo '
'; + // echo '
'; + echo '
'; } echo '
'; diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml index 0a2e7fde..6ed78912 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/valtas.phtml @@ -41,7 +41,16 @@ div.besorolas { font-size:x-small; color: #aaa;} for($i=0; $i'; + $_kulsos = ($T['statusz']=='külső óraadó'); + $_kulsosClassName = ($_kulsos) ? 'kulsos':''; + + if (isset($ADAT['kulsosview'])) { + if ($ADAT['kulsosview']===true && $T['statusz']!='külső óraadó') continue; + elseif ($ADAT['kulsosview']!==true && $T['statusz']=='külső óraadó') continue; + } + + echo '
'; + if (($_img = getFaceURI($T['tanarId'],'tanar')) != '') echo ''; else { echo '
'; -- cgit v1.2.3