aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo
diff options
context:
space:
mode:
authorM.Gergo2021-10-29 16:30:05 +0200
committerM.Gergo2021-10-29 16:30:05 +0200
commit933d9a5ad9b7a134148a1a931fb0cab5c782a245 (patch)
tree5546352cf5ddbcaf13a4b244a312a3ae64d70b09 /mayor-orig/mayor-naplo
parent3a1c1811413c635c5ee6e40cb7d497de7313dbe1 (diff)
downloadmayor-rev4821.tar.gz
mayor-rev4821.zip
Rev: 4821rev4821
Diffstat (limited to 'mayor-orig/mayor-naplo')
-rw-r--r--mayor-orig/mayor-naplo/log/mayor-naplo.rev2
-rw-r--r--mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php6
2 files changed, 5 insertions, 3 deletions
diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev
index cfa99b3a..50551e07 100644
--- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev
+++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev
@@ -1 +1 @@
-4820
+4821
diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php
index 390733b8..deca5915 100644
--- a/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php
+++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/szulinap.php
@@ -35,13 +35,15 @@
echo '<ul class="szulinap" style="list-style-type: none;">';
for ($i=0; $i<count($ADAT['heti'][$n]['diakok']['diak']); $i++) {
$_D = $ADAT['heti'][$n]['diakok']['diak'][$i];
+ $_diakId= $_D['diakId'];
+ $_diakOsztalyId = $ADAT['heti'][$n]['diakok']['diakOsztaly'][$_diakId][0];
echo '<li class="diakAdat diakNev" data-diakid="'.$_D['diakId'].'">';
echo $ADAT['heti'][$n]['diakok']['diak'][$i]['viseltNevElotag'].' ';
echo $ADAT['heti'][$n]['diakok']['diak'][$i]['viseltCsaladinev'].' ';
echo $ADAT['heti'][$n]['diakok']['diak'][$i]['viseltUtonev'];
if ($ADAT['heti'][$n]['diakok']['diak'][$i]['diakEletkor']<=20) echo '<span class="eletkor">'.$ADAT['heti'][$n]['diakok']['diak'][$i]['diakEletkor'].'</span>';
- if ($ADAT['heti'][$n]['diakok']['diak'][$i]['osztaly'][0]['osztalyJel']!='') {
- echo ' ('.$ADAT['heti'][$n]['diakok']['diak'][$i]['osztaly'][0]['osztalyJel'].')';
+ if ($ADAT['osztaly'][$_diakOsztalyId]['osztalyJel']!='') {
+ echo ' ('.($ADAT['osztaly'][$_diakOsztalyId]['osztalyJel']).')';
}
echo '</li>';
}