aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www/skin/classic
diff options
context:
space:
mode:
authorM.Gergo2020-04-03 22:00:03 +0200
committerM.Gergo2020-04-03 22:00:03 +0200
commitf140bf024b58d159d37a1cf73735cb6afa6da3f3 (patch)
treee0495a08910879d409c68aa766d6b7e10162212f /mayor-orig/mayor-naplo/www/skin/classic
parent47ee90f56d46edd6d33620b562f719b0a1601df7 (diff)
downloadmayor-rev4648.tar.gz
mayor-rev4648.zip
Rev: 4648rev4648
Diffstat (limited to 'mayor-orig/mayor-naplo/www/skin/classic')
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/haladasi/hazifeladat.phtml5
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>';