diff options
author | M.Gergo | 2020-04-03 22:00:03 +0200 |
---|---|---|
committer | M.Gergo | 2020-04-03 22:00:03 +0200 |
commit | f140bf024b58d159d37a1cf73735cb6afa6da3f3 (patch) | |
tree | e0495a08910879d409c68aa766d6b7e10162212f /mayor-orig/mayor-naplo/www | |
parent | 47ee90f56d46edd6d33620b562f719b0a1601df7 (diff) | |
download | mayor-bec85eda675a396bb592aa8141b94840db382a10.tar.gz mayor-bec85eda675a396bb592aa8141b94840db382a10.zip |
Rev: 4648rev4648
Diffstat (limited to 'mayor-orig/mayor-naplo/www')
-rw-r--r-- | mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/hazifeladat.phtml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/hazifeladat.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/hazifeladat.phtml index 1587f3b0..ffe8a4dd 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/hazifeladat.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/hazifeladat.phtml @@ -218,16 +218,17 @@ echo '<style type="text/css"> /* kiegészítjük a tankörnévsort az egyéb diákokkal, akik látták ezt a házifeladatot */ for ($i=0; $i<count($ADAT['hazifeladatDiak']); $i++) { + $_diakId = $ADAT['hazifeladatDiak'][$i]['diakId']; if (!is_array($ADAT['nevsor']['nevek'][$_diakId])) { $EXTRA = $ADAT['hazifeladatDiak'][$i]; - $ADAT['nevsor']['nevek'][$EXTRA['diakId']] = array('diakId'=>$ADAT['hazifeladatDiak'][$i]['diakId'],'diakNev'=>$EXTRA['diakNev'],'extra'=>true); + $ADAT['nevsor']['nevek'][$EXTRA['diakId']] = array('diakId'=>$ADAT['hazifeladatDiak'][$i]['diakId'],'diakNev'=>$EXTRA['diakNev'],'extra'=>'add'); } } if (is_array($ADAT['nevsor']['nevek'])) foreach ($ADAT['nevsor']['nevek'] as $diakId => $ITEM) { $D = $DIAKHF[$diakId]; - $_extraClass = ($ITEM['extra']===true) ? 'extraDiak':''; + $_extraClass = ($ITEM['extra']=='add') ? 'extraDiak':''; echo '<tr>'; echo '<td class="diakNev diakAdat '.$_extraClass.'" data-diakid="'.$diakId.'">'.$ITEM['diakNev'].'</td>'; if (__NAPLOADMIN===true || __VEZETOSEG===true) echo '<td>'.$D['diakLattamDt'].'</td>'; |