diff options
author | M.Gergo | 2020-05-03 20:55:03 +0200 |
---|---|---|
committer | M.Gergo | 2020-05-03 20:55:03 +0200 |
commit | 2b0a27070679ce94cf13a80fb207be9218491afe (patch) | |
tree | e60721a96b39dd039b3d097849939963efe17ec3 /mayor-orig/mayor-naplo | |
parent | df9e6d7a1ef747e2207bc2e18b96fca06cbef8f8 (diff) | |
download | mayor-2b0a27070679ce94cf13a80fb207be9218491afe.tar.gz mayor-2b0a27070679ce94cf13a80fb207be9218491afe.zip |
Rev: 4652rev4652
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/orarend/orarend.phtml | 28 |
2 files changed, 27 insertions, 3 deletions
diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev index c3502533..146427d5 100644 --- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev +++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev @@ -1 +1 @@ -4650 +4652 diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml index f36850bc..4f38a41c 100644 --- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml +++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/orarend/orarend.phtml @@ -390,13 +390,14 @@ if (MAYOR_SOCIAL === true) { } */ /* és ide jönnek a pluszok */ + $j=0; if (is_array($ADAT['haladasi']['orak'][$dt][$ora])) { foreach ($ADAT['haladasi']['orak'][$dt][$ora] as $_tankorId => $__T) { if (!is_array($ORARENDI) || !in_array($_tankorId,$ORARENDI)) { if ($j!=0) echo '<hr/>'; $j++; $_ORA = $ADAT['haladasi']['orak'][$dt][$ora]; - _putOra($_ORA,$_tankorId,$TANKOR_DOLGOZAT); + _putOra($_ORA,$_tankorId,$TANKOR_DOLGOZAT); // hazi } } } @@ -460,10 +461,33 @@ if (MAYOR_SOCIAL === true) { function _putOra($ORA,$_tankorId,$TANKOR_DOLGOZAT) { global $ADAT; if ($_tankorId=='') return false; + // list($oraId,$oraAdat); $_ORA = $ORA[$_tankorId]; $_tipusClass = str_replace(' ','_',$_ORA['tipus']); $_eredetClass = $_ORA['eredet']; - echo '<div class="'.$_tipusClass.' '.$_eredetClass.'" title="'.$_ORA['tipus'].'" >'; + $dt = $_ORA['dt']; + echo '<div class="oraAdat '.$_tipusClass.' '.$_eredetClass.'" title="'.$_ORA['tipus'].'" data-oraid="'.$_ORA['oraId'].'">'; + + // HÁZI + if (isset($_ORA['hazifeladatId'])) { + if ($_ORA['hazifeladatFeltoltesEngedely']==1) { + $_icon = 'icon-paper-clip-alt'; + if ($_ORA['diakHazifeladat']['hazifeladatDiakStatus'] == 'kész') { $_hfcolor = 'lightgreen'; + } else { $_hfcolor = '#3f51b5'; } + } else { + $_icon= 'icon-home-alt'; + if ($_ORA['diakHazifeladat']['hazifeladatDiakStatus'] == 'kész') { $_hfcolor = 'lightgreen'; + } else { $_hfcolor = '#e91e63'; } + } + echo '<span class="'.$_icon.'" title="h.f." style="color:'.$_hfcolor.'; padding-right:2px;"></span>'; + } + + if ($_ORA['cimkeLeiras']!='') { + $_cimkeMod = intval($_ORA['cimkeId']) % 5; + echo '<span class="cimke cimke_'.$_cimkeMod.'">'.$_ORA['cimkeLeiras'].'</span>'; + } + // HÁZI qfix + if ($TANKOR_DOLGOZAT[$_tankorId][$_ORA['dt']]>0) echo '<span style="color:orange;" class="icon-idea-alt"></span>'; echo '<span title="'.$_targyJel.' '.$_osztalyJel.' ('.$ADAT['tankorok'][$_T['tankorId']][0]['tankorId'].')" >'; echo $ADAT['tankorok'][$_ORA['tankorId']][0]['tankorNev']; |