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 | |
parent | 47ee90f56d46edd6d33620b562f719b0a1601df7 (diff) | |
download | mayor-rev4648.tar.gz mayor-rev4648.zip |
Rev: 4648rev4648
Diffstat (limited to 'mayor-orig/mayor-naplo')
-rw-r--r-- | mayor-orig/mayor-naplo/log/mayor-naplo.rev | 2 | ||||
-rw-r--r-- | mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/hazifeladat.phtml | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev index 209cee31..31e10e49 100644 --- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev +++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev @@ -1 +1 @@ -4647 +4648 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>'; |