aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/skin
diff options
context:
space:
mode:
authorM.Gergo2019-07-29 09:22:06 +0200
committerM.Gergo2019-07-29 09:22:06 +0200
commitc4a95f32d1153730b09ffbbf19ea775e6bf2f3ba (patch)
tree1a37dad6f90f9a7e46a5b7c987e91394caf414b1 /mayor-orig/mayor-naplo/www/skin
parent389e70b9aff181663269ab3e7ca3c16ab58f3e0f (diff)
downloadmayor-rev4524.tar.gz
mayor-rev4524.zip
Rev: 4524rev4524
Diffstat (limited to 'mayor-orig/mayor-naplo/www/skin')
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/stat.css1
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/tankor.css1
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/base.phtml2
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/hianyzas/nap.phtml3
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/diak.phtml1
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml2
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/tankor.phtml6
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/stat/tantargyFelosztas.phtml18
8 files changed, 28 insertions, 6 deletions
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/stat.css b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/stat.css
index 725adee6..1e528c5a 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/stat.css
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/stat.css
@@ -77,6 +77,7 @@
table.osztalyozo tbody th.jogviszonyalezarva { background-color: rgb(30,40,50); }
table.osztalyozo tbody th.jogviszonyafelfuggesztve { background-color: rgb(30,140,150); }
table.osztalyozo tbody th.magantanulo { background-color: rgb(130,40,150); }
+ table.osztalyozo tbody th.egyenimunkarend { background-color: #2196f3; }
table.osztalyozo tbody th.vendegtanulo { background-color: rgb(130,140,50); }
table.osztalyozo tbody th a { display: block; }
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/tankor.css b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/tankor.css
index ad0d51a0..1d246e69 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/tankor.css
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/css/osztalyozo/tankor.css
@@ -43,6 +43,7 @@
font-weight: normal;
}
table.osztalyozo tbody tr.magantanulo th { background-color: purple; }
+ table.osztalyozo tbody tr.egyenimunkarend th { background-color: #2196f3; }
table.osztalyozo tbody th.diakNev { text-align:left; padding-left:4px; }
table.osztalyozo tbody th.diakNevTxt { width:120px;}
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/base.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/base.phtml
index 3a67bf6c..84d3593a 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/base.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/base.phtml
@@ -473,6 +473,7 @@
for ($i = 0; $i < count($TOOL['diakSelect']['diakok']); $i++) {
$M = $TOOL['diakSelect']['diakok'][$i];
if ($M['aktualisStatusz'] == 'magántanuló') $statuszStr = ' - [m]';
+ elseif ($M['aktualisStatusz'] == 'egyéni munkarend') $statuszStr = ' - [e]';
elseif ($M['aktualisStatusz'] == 'jogviszonya lezárva') $statuszStr = ' - [-]';
elseif ($M['aktualisStatusz'] == 'jogviszonya felfüggesztve') $statuszStr = ' - [f]';
else $statuszStr = '';
@@ -523,6 +524,7 @@
for ($i = 0; $i < count($TOOL['diakLapozo']['diakok']); $i++) {
$D = $TOOL['diakLapozo']['diakok'][$i];
if ($D['aktualisStatusz'] == 'magántanuló') $statuszStr = ' - [m]';
+ elseif ($D['aktualisStatusz'] == 'egyéni munkarend') $statuszStr = ' - [e]';
elseif ($D['aktualisStatusz'] == 'jogviszonya lezárva') $statuszStr = ' - [-]';
elseif ($D['aktualisStatusz'] == 'jogviszonya felfüggesztve') $statuszStr = ' - [f]';
else $statuszStr = '';
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/hianyzas/nap.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/hianyzas/nap.phtml
index 32bc0c07..f31b5dee 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/hianyzas/nap.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/hianyzas/nap.phtml
@@ -104,6 +104,7 @@
&& !$oraAlolFelmentve
&& (in_array($ADAT['diakJogviszony'], array('jogviszonyban van','vendégtanuló'))
|| ($ADAT['diakJogviszony']=='magántanuló' && $_TT['jelleg']=='gyakorlat')
+ || ($ADAT['diakJogviszony']=='egyéni munkarend' && $_TT['jelleg']=='gyakorlat')
)
) {
$_igtipus='';
@@ -185,7 +186,7 @@
_putIgazolasSelect($UJHADAT[$_oraId][$_diakId][$_igtipus], $ITIPUSOK,$JOG,$JOGADAT,array('diakId'=>$_diakId,'oraId'=>$ORAADAT['oraId'],'hianyzasId'=>$_hid));
echo '</td>';
} else { // nem kötelező bejárnia
- if ($ADAT['diakJogviszony'] == 'magántanuló') {
+ if ($ADAT['diakJogviszony'] == 'magántanuló' || $ADAT['diakJogviszony'] == 'egyéni munkarend') {
echo '<td class="nemkot" colspan="'.(count($HTIPUSOK2)+count($HTIPUSOK2)+count($ITIPUSOK)).'">';
echo $ADAT['diakJogviszony'];
echo '</td>'."\n";
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/diak.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/diak.phtml
index 546d1a42..c217bd88 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/diak.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/diak.phtml
@@ -36,6 +36,7 @@
$cssClass = array(
'felvételt nyert' => 'felveteltNyert',
'magántanuló' => 'magantanulo',
+ 'egyéni munkarend' => 'magantanulo',
'vendégtanuló' => 'vendegtanulo',
'jogviszonya lezárva' => 'jogviszonyLezarva',
'jogviszonya felfüggesztve' => 'jogviszonyFelfuggesztve',
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml
index 4ede6060..10f7e7f8 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/stat.phtml
@@ -326,7 +326,7 @@
$jegyek = $ADAT['jegyek'][$diakId];
$hianyzas = $ADAT['hianyzas'][$diakId];
$atlag = $ADAT['atlag'][$diakId];
- $msz_beirhato = ($D['aktualisStatusz'] != 'magántanuló')
+ $msz_beirhato = ($D['aktualisStatusz'] != 'magántanuló') && ($D['aktualisStatusz'] != 'egyéni munkarend')
&& (!isset($D['kiDt']) || is_null($D['kiDt']) || (strtotime($D['kiDt'])>=time()));
$zaraskoriTag = in_array($diakId, $ADAT['zaraskoriDiakIds']);
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/tankor.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/tankor.phtml
index 7000aec1..48dd33ec 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/tankor.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/osztalyozo/tankor.phtml
@@ -217,7 +217,11 @@
||
($ADAT['diakJogviszony'][$diakId][date('Y-m-d')]['statusz']=='magántanuló' && $tankorJelleg == 'gyakorlat')
||
+ ($ADAT['diakJogviszony'][$diakId][date('Y-m-d')]['statusz']=='egyéni munkarend' && $tankorJelleg == 'gyakorlat')
+ ||
($ADAT['diakJogviszony'][$diakId][date('Y-m-d')]['statusz']=='magántanuló' && defined('MAYOR_SOCIAL')=== true && MAYOR_SOCIAL===true)
+ ||
+ ($ADAT['diakJogviszony'][$diakId][date('Y-m-d')]['statusz']=='egyéni munkarend' && defined('MAYOR_SOCIAL')=== true && MAYOR_SOCIAL===true)
);
$__JEGYEK = array();
@@ -383,6 +387,8 @@
in_array($ADAT['diakJogviszony'][$diakId][$szAdatok['zarasDt']]['statusz'],array('jogviszonyban van','vendégtanuló'))
||
($ADAT['diakJogviszony'][$diakId][$szAdatok['zarasDt']]['statusz']=='magántanuló' && $tankorJelleg == 'gyakorlat')
+ ||
+ ($ADAT['diakJogviszony'][$diakId][$szAdatok['zarasDt']]['statusz']=='egyéni munkarend' && $tankorJelleg == 'gyakorlat')
);
$felev = $szemeszter;
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/stat/tantargyFelosztas.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/stat/tantargyFelosztas.phtml
index bf662e4b..e1c4cd99 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/stat/tantargyFelosztas.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/stat/tantargyFelosztas.phtml
@@ -81,18 +81,25 @@
<> intval($iAdat['diakLetszam']['statusz']['fiú']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['fiú']['magántanuló'])
+intval($iAdat['diakLetszam']['statusz']['lány']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['lány']['magántanuló'])
) $class=' alert';
+ elseif (
+ intval($iAdat['diakLetszam']['statusz']['egyéni munkarend'])
+ <> intval($iAdat['diakLetszam']['statusz']['fiú']['egyéni munkarend'])
+ +intval($iAdat['diakLetszam']['statusz']['lány']['egyéni munkarend'])
+ ) $class=' alert';
else $class='';
- echo '<td colspan="2" class="number'.$class.'">'.intval($iAdat['diakLetszam']['statusz']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['magántanuló']).'</td>'
- .'<td colspan="2" class="number'.$class.'">'.intval($iAdat['diakLetszam']['statusz']['fiú']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['fiú']['magántanuló']).'</td>'
- .'<td colspan="2" class="number'.$class.'">'.intval($iAdat['diakLetszam']['statusz']['lány']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['lány']['magántanuló']).'</td>';
+ echo '<td colspan="2" class="number'.$class.'">'.intval($iAdat['diakLetszam']['statusz']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['magántanuló']+$iAdat['diakLetszam']['statusz']['egyéni munkarend']).'</td>'
+ .'<td colspan="2" class="number'.$class.'">'.intval($iAdat['diakLetszam']['statusz']['fiú']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['fiú']['magántanuló']+$iAdat['diakLetszam']['statusz']['fiú']['egyéni munkarend']).'</td>'
+ .'<td colspan="2" class="number'.$class.'">'.intval($iAdat['diakLetszam']['statusz']['lány']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['lány']['magántanuló']+$iAdat['diakLetszam']['statusz']['lány']['egyéni munkarend']).'</td>';
//echo '<td class="gap"></td>';
}
- echo '<tr class="hide"><th>jogviszonyban van<br />magántanuló<br />vendégtanuló<br />jogviszonya szünetel</th>';
+ echo '<tr class="hide"><th>jogviszonyban van<br />magántanuló<br/>egyéni munkarend<br />vendégtanuló<br />jogviszonya szünetel</th>';
foreach ($ADAT['intezmeny'] as $intezmeny => $iAdat) {
if (intval($iAdat['diakLetszam']['statusz']['jogviszonyban van']) <> intval($iAdat['diakLetszam']['statusz']['fiú']['jogviszonyban van']+$iAdat['diakLetszam']['statusz']['lány']['jogviszonyban van']))
$jvClass=' class="alert"';
if (intval($iAdat['diakLetszam']['statusz']['magántanuló']) <> intval($iAdat['diakLetszam']['statusz']['fiú']['magántanuló']+$iAdat['diakLetszam']['statusz']['lány']['magántanuló']))
$mClass=' class="alert"';
+ if (intval($iAdat['diakLetszam']['statusz']['egyéni munkarend']) <> intval($iAdat['diakLetszam']['statusz']['fiú']['egyéni munkarend']+$iAdat['diakLetszam']['statusz']['lány']['egyéni munkarend']))
+ $mClass=' class="alert"';
if (intval($iAdat['diakLetszam']['statusz']['vendégtanuló']) <> intval($iAdat['diakLetszam']['statusz']['fiú']['vendégtanuló']+$iAdat['diakLetszam']['statusz']['lány']['vendégtanuló']))
$vClass=' class="alert"';
if (intval($iAdat['diakLetszam']['statusz']['jogviszonya felfüggesztve']) <> intval($iAdat['diakLetszam']['statusz']['fiú']['jogviszonya felfüggesztve']+$iAdat['diakLetszam']['statusz']['lány']['jogviszonya felfüggesztve']))
@@ -100,18 +107,21 @@
echo '<td colspan="2" class="number">'
.'<span'.$jvClass.'>'.$iAdat['diakLetszam']['statusz']['jogviszonyban van'].'</span><br />'
.'<span'.$mClass.'>'.$iAdat['diakLetszam']['statusz']['magántanuló'].'</span><br />'
+ .'<span'.$mClass.'>'.$iAdat['diakLetszam']['statusz']['egyéni munkarend'].'</span><br />'
.'<span'.$vClass.'>'.$iAdat['diakLetszam']['statusz']['vendégtanuló'].'</span><br />'
.'<span'.$jfClass.'>'.$iAdat['diakLetszam']['statusz']['jogviszonya felfüggesztve'].'</span>'.
'</td>';
echo '<td colspan="2" class="number">'
.'<span'.$jvClass.'>'.$iAdat['diakLetszam']['statusz']['fiú']['jogviszonyban van'].'</span><br />'
.'<span'.$mClass.'>'.$iAdat['diakLetszam']['statusz']['fiú']['magántanuló'].'</span><br />'
+ .'<span'.$mClass.'>'.$iAdat['diakLetszam']['statusz']['fiú']['egyéni munkarend'].'</span><br />'
.'<span'.$vClass.'>'.$iAdat['diakLetszam']['statusz']['fiú']['vendégtanuló'].'</span><br />'
.'<span'.$jfClass.'>'.$iAdat['diakLetszam']['statusz']['fiú']['jogviszonya felfüggesztve'].'</span>'.
'</td>';
echo '<td colspan="2" class="number">'
.'<span'.$jvClass.'>'.$iAdat['diakLetszam']['statusz']['lány']['jogviszonyban van'].'</span><br />'
.'<span'.$mClass.'>'.$iAdat['diakLetszam']['statusz']['lány']['magántanuló'].'</span><br />'
+ .'<span'.$mClass.'>'.$iAdat['diakLetszam']['statusz']['lány']['egyéni munkarend'].'</span><br />'
.'<span'.$vClass.'>'.$iAdat['diakLetszam']['statusz']['lány']['vendégtanuló'].'</span><br />'
.'<span'.$jfClass.'>'.$iAdat['diakLetszam']['statusz']['lány']['jogviszonya felfüggesztve'].'</span>'.
'</td>';