aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo
diff options
context:
space:
mode:
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>';
}