';
- putFace($T['tanarId'],'tanar',0);
+ echo '';
+
+ if (($_img = getFaceURI($T['tanarId'],'tanar')) != '') {
+ echo '';
+ } else {
+ echo '';
+ }
+
+ //putFace($T['tanarId'],'tanar',0);
echo ' | ';
echo ''.$T['tanarNev'].'';
if ($T['titulus']!='') echo ' '.$T['titulus'].' ';
@@ -18,7 +27,7 @@ function putTanarLista($ADAT) {
elseif ($T['besorolas']=='Mesterpedagógus') echo ''.lcfirst($T['besorolas']).' ';
elseif ($T['besorolas']=='Pedagógus I.') echo ''.lcfirst($T['besorolas']).' ';
elseif ($T['besorolas']=='Pedagógus II.') echo ''.lcfirst($T['besorolas']).' ';
-// else echo ''.lcfirst($T['besorolas']).' '."\n";
+ else echo ''.lcfirst($T['besorolas']).' '."\n";
$osztalyai = ($ADAT[$T['tanarId']]['osztalyfonok']);
for ($j=0; $j';
}
+
$munkakozossegei = ($ADAT[$T['tanarId']]['munkakozosseg']);
- echo '';
- $_MKNEV = array();
- for ($j=0; $j 0) {
+ echo '';
+ // $_MKNEV = array();
+ // for ($j=0; $j';
}
- echo implode(', ',$_MKNEV).' munkaközösségi tag';
- echo ' ';
if ($T['elerhetoseg']!='') echo ''.$T['elerhetoseg'].' ';
if ($T['email']!='') echo ''.$T['email'].' ';
@@ -69,55 +81,101 @@ function putTanarLista($ADAT) {
echo '';
}
-/*
-function putIntezmenyValaszto($Intezmenyek) {
-
- formBegin();
- echo ''."\n";
+function putTanarLista_large($ADAT) {
- echo ' ';
+ }
+
+ if (count($T['kepesites'])>0) {
+ echo '';
+ for ($j=0; $j';
}
- echo ''."\n";
+ echo ' ';
+ }
- echo ''."\n";
+ echo ''.kisbetus($T['besorolas']).' ';
- formEnd();
+ if ($T['email']!='') echo ' '.$T['email'].' ';
+
+ echo '';
+
+ }
+ echo '';
}
-*/
+
+
?>
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tankorTanarHozzarendeles.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tankorTanarHozzarendeles.phtml
index aa9747fc..fa705502 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tankorTanarHozzarendeles.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/tankorTanarHozzarendeles.phtml
@@ -122,9 +122,11 @@
else { $class='tantan'; }
$class .= ' col-'.$_tankorAdat['tankorId'].' row-'.$_tanarAdat['tanarId'];
if (in_array($_tankorAdat['targyId'], $_tanarAdat['targyIds'])) {
+ $_CHK = in_array($_tanarAdat['tanarId'],$_tankorAdat['tanarIds']) ? ' checked="checked" ':'';
+ $_RO = (__NAPLOADMIN===true || __VEZETOSEG===true) ? '':' disabled="disabled" readonly="readonly" ';
+ $class .= in_array($_tanarAdat['tanarId'],$_tankorAdat['tanarIds']) ? ' checked ':'';
echo '';
- $_CHK = in_array($_tanarAdat['tanarId'],$_tankorAdat['tanarIds']) ? 'checked="checked" ':'';
- echo '';
+ echo '';
echo ' | ';
} else {
echo ' | ';
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/terem.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/terem.phtml
index 68c826f9..470c57f8 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/terem.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/terem.phtml
@@ -68,9 +68,13 @@
echo '';
- echo ' '."\n";
- echo ' '.$ADAT['teremId'].'';
-
+ if ($ADAT['teremId']>0) {
+ // echo ' '."\n";
+ // echo ' '.$ADAT['teremId'].'';
+ echo ' '."\n";
+ echo $ADAT['teremId'].'→';
+ echo ' ';
+ }
echo ' '."\n";
echo ' '."\n";
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 6811b588..0a2e7fde 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
@@ -1,5 +1,102 @@
+
+div.tanarGrid {
+ width:100%;
+ display: flex;
+ flex-wrap: wrap;
+ flex-direction: row;
+ justify-content: center;
+ align-items: auto;
+ align-content: start
+}
+div.tanarGrid .item {
+ flex: 0 0 auto;
+ margin: 10px;
+ width: 300px;
+ background-color: #eee;
+ text-align:center;
+ padding:4px 4px;
+ border-radius:2px;
+}
+
+h1.osztaly,h2.osztalyfonok,h3.kepzes { text-align:center; }
+
+div.tanarGrid .item:hover {
+ background-color: #ddd;
+}
+
+img.arckep {min-height:300px; height:300px; margin-bottom: 2px; border: solid 1px #ddd;}
+div.arckepPlaceholder {min-height:300px; min-width:100%; height:300px; margin-bottom: 2px; border: solid 1px #fff;}
+h2.osztalyfonok { font-size: 14px; }
+div.titulus {padding-bottom:4px;}
+div.besorolas { font-size:x-small; color: #aaa;}
+
+ ';
+
+ echo ' ';
+ for($i=0; $i ';
+ if (($_img = getFaceURI($T['tanarId'],'tanar')) != '') echo '';
+ else {
+ echo '';
+ // echo ' ';
+ echo ' ';
+ }
+
+ echo ' ';
+
+ echo ''.$T['tanarNev'].' ';
+
+ if ($T['titulus']!='') echo ''.$T['titulus'].' ';
+ if ($T['statusz']=='külső óraadó') echo ''.$T['statusz'].' ';
+
+ $osztalyai = ($ADAT['tanarOsztaly'][$T['tanarId']]);
+ for ($j=0; $josztályfőnök '.$ADAT['osztalyok'][$_osztalyId]['osztalyJel'];
+ if ($ADAT['osztalyok'][$_osztalyId]['leiras']!='') echo ' ('.$ADAT['osztalyok'][$_osztalyId]['leiras'].')';
+ echo '';
+ }
+ }
+
+ $munkakozossegei = ($ADAT['tanarMunkakozosseg'][$T['tanarId']]); // vezetett
+ for ($j=0; $j ';
+ echo $munkakozossegei[$j]['munkakozossegNev']. ' munkaközösség-vezető';
+ echo ' ';
+ }
+
+ if (count($T['kepesites'])>0) {
+ echo '';
+ for ($j=0; $j';
+ }
+ echo ' ';
+ }
+
+ echo ''.kisbetus($T['besorolas']).' ';
+
+ // dump($T);
+ if ($T['email']!='') echo ' '.$T['email'].' ';
+
+ echo '';
+
+ }
+ echo '';
+}
+
+
+
function putTanarLista($ADAT) {
echo '';
@@ -48,55 +145,5 @@ function putTanarLista($ADAT) {
echo ' ';
}
-/*
-function putIntezmenyValaszto($Intezmenyek) {
-
- formBegin();
-
- echo ''."\n";
-
- echo ''."\n";
- $SEL = array(__INTEZMENY => ' selected="selected"');
- for ($i = 0; $i < count($Intezmenyek); $i++) {
-
- $rovidnev = $Intezmenyek[$i]['rovidNev'];
- if ($Intezmenyek[$i]['alapertelmezett'] == 1)
- echo ''."\n";
-
- }
-
- echo ''."\n";
-
- echo ''."\n";
-
- formEnd();
-
-}
-
-function putTanevValaszto($Tanevek) {
-
- formBegin();
-
- echo ''."\n";
-
- echo ''."\n";
- $SEL = array(__TANEV => ' selected="selected"');
- for ($i = 0; $i < count($Tanevek); $i++) {
- echo ''."\n";
- }
- echo ''."\n";
-
- echo ''."\n";
-
- formEnd();
-}
-*/
?>
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendBetolto.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendBetolto.phtml
index d6f037b0..cadb9520 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendBetolto.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendBetolto.phtml
@@ -2,8 +2,7 @@
function putFileValaszto($ADAT) {
- formBegin(array('class'=>'file'));
-
+ echo formBegin(array('class'=>'file','enctype'=>'multipart/form-data'));
echo ''."\n";
echo ''."\n";
echo ''."\n";
@@ -12,6 +11,11 @@
echo ''."\n";
echo ' ';
+
+ echo ' ';
+ echo ' (maximum méret: '.human_filesize(file_upload_max_size()).')';
+ echo ' ';
+
echo ' ';
echo ''."\n";
echo ''."\n";
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml
index 160c2be7..60095e83 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarendModosito.phtml
@@ -12,6 +12,11 @@
$TANKOROK = $ADAT['felvehetoTankorok'];
$BLOKKOK = $ADAT['felvehetoBlokkok'];
+
+ if (!is_array($ADAT['felvehetoTankorok']) || count($ADAT['felvehetoTankorok'])==0) {
+ echo "nincs felvehető tankör!";
+ }
+
if (is_array($ADAT['felvehetoTankorok']) && count($ADAT['felvehetoTankorok']) > 0) {
$T = $ADAT['orarend']['assoc'];
@@ -306,6 +311,10 @@ for ($oi=0; $oi';
foreach ($ADAT['oratervenKivuliTankorok'] as $idx => $okAdat) {
if ($idx<30) {
- echo '';
+ echo '';
echo $okAdat['tankorNev'].' ('.$okAdat['tankorId'].') ['.(is_null($okAdat['diff'])?'-':$okAdat['diff']).']';
echo '';
}
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
index ece36953..e779ccd4 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/javascript/naplo.jquery.min.js
@@ -667,6 +667,9 @@ processJSONTanarAdat = function( adat ) {
content += 'Egyéb adatok';
content += '';
+ if (adat['email']!='') content += '- Email: '+adat['email']+'
';
+ if (adat['titulus']!=null) content += '- Titulus: '+adat['titulus']+'
';
+ if (adat['oId']!='') content += '- Oktatási azonosító: '+adat['oId']+'
';
if (adat['beDt']!='') content += '- Munkaviszony: '+adat['beDt']+ (adat['kiDt']==null?'':' – '+adat['kiDt']) +'
';
if (adat['hetiMunkaora']!='') content += '- Heti munkaóra: '+adat['hetiMunkaora']+'
';
if (adat['hetiKotelezoOraszam']!='') content += '- Heti kötelező óraszám: '+adat['hetiKotelezoOraszam']+'
';
--
cgit v1.2.3
|