diff options
author | M.Gergo | 2020-08-13 14:50:04 +0200 |
---|---|---|
committer | M.Gergo | 2020-08-13 14:50:04 +0200 |
commit | 37d424aa0d36fdb47e931340f7920a92870e3c34 (patch) | |
tree | 58ed2492b64e11e2af29557e4e5e84096630464f /mayor-orig/mayor-naplo/www | |
parent | 10e44ace4c377167ed163b4d673c266ac2358155 (diff) | |
download | mayor-rev4668.tar.gz mayor-rev4668.zip |
Rev: 4668rev4668
Diffstat (limited to 'mayor-orig/mayor-naplo/www')
-rw-r--r-- | mayor-orig/mayor-naplo/www/policy/private/naplo/import/tantargyFelosztas-pre.php | 58 | ||||
-rw-r--r-- | mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/tankor-pre.php | 11 |
2 files changed, 40 insertions, 29 deletions
diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/import/tantargyFelosztas-pre.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/import/tantargyFelosztas-pre.php index 097c6960..8497ec46 100644 --- a/mayor-orig/mayor-naplo/www/policy/private/naplo/import/tantargyFelosztas-pre.php +++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/import/tantargyFelosztas-pre.php @@ -31,7 +31,7 @@ 10.2.n.djpr német nyelv 4,00 Dobrosi-Jelinek Piroska Rita Nem 12.2.n.djpr német nyelv 3,00 Dobrosi-Jelinek Piroska Rita Nem 11.D dráma 1,00 Dobrosi-Jelinek Piroska Rita Nem - + 4. e-Napló, Tanórák Listája, Excel Export (jobb oldali gomb) _DATADIR.'/'."orarendiOra.tsv @@ -45,7 +45,7 @@ $IMPORT_FILES = array( 'csoportba_jaro_tanulok' => _DATADIR.'/'."csoportba_jaro_tanulok.tsv", 'osztalyba_jaro_tanulok' => _DATADIR.'/'."osztalyba_jaro_tanulok.tsv", - 'tantargyfelosztas' => _DATADIR.'/'."ttfimport.tsvx", + 'tantargyfelosztas' => _DATADIR.'/'."ttfimport.tsv", 'orarendiOra' => _DATADIR.'/'."orarendiOra.tsv", 'helyettesitett_tanorak' => _DATADIR.'/'."helyettesitett_tanorak.tsv", // 'elmaradt_tanorak' => _DATADIR.'/'."helyettesitett_tanorak.tsv", @@ -144,33 +144,33 @@ '12.E' => 99, ); } elseif (__INTEZMENY==='MZSG') { - $ADAT['kulcsertektar']['osztalyjel2id'] = $OSZTALYJEL2ID = array( - '7.a' => 72, - '7.b' => 73, - '8.a' => 74, - '8.b' => 75, - '9.ny' => 71, - '9.a' => 60, - '9.b' => 61, - '9.c' => 68, - '9.d' => 69, - '9.e' => 70, - '10.a' => 57, - '10.b' => 58, - '10.c' => 66, - '10.d' => 67, - '10.e' => 64, - '11.a' => 50, - '11.b' => 51, - '11.c' => 62, - '11.d' => 63, - '11.e' => 59, - '12.a' => 45, - '12.b' => 46, - '12.c' => 55, - '12.d' => 56, - '12.e' => 53, - ); + $ADAT['kulcsertektar']['osztalyjel2id'] = $OSZTALYJEL2ID = array( + '7.a' => 76, + '7.b' => 77, + '8.a' => 72, + '8.b' => 73, + '9.ny' => 78, + '9.a' => 74, + '9.b' => 75, + '9.c' => 79, + '9.d' => 80, + '9.e' => 71, + '10.a' => 60, + '10.b' => 61, + '10.c' => 68, + '10.d' => 69, + '10.e' => 70, + '11.a' => 57, + '11.b' => 58, + '11.c' => 66, + '11.d' => 67, + '11.e' => 64, + '12.a' => 50, + '12.b' => 51, + '12.c' => 62, + '12.d' => 63, + '12.e' => 59, + ); } else { $_SESSION['alert'][] = 'page:nincs_osztalyjel2id'; } diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/tankor-pre.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/tankor-pre.php index 3cd8dbcb..c759a2c6 100644 --- a/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/tankor-pre.php +++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/tankor-pre.php @@ -31,6 +31,17 @@ //$_TA = getTanevAdat($tanev); //$_TA['statusz']; + // A tankörcsoportok felvétele az Elnevezés ($TANKOR_TIPUS) mezőben kiválasztható listába) + $q = "select distinct csoportNev from csoport"; + $lr = db_connect('naplo'); + $r = db_query($q, array('fv'=>'AddCsoportToTankorTipus','v'=>array(),'result'=>'idonly'), $lr); + db_close($lr); + foreach ($r as $cs) { + if(strlen($cs) > 30) $cs = substr($cs, 0, 28).'...'; + $TANKOR_TIPUS[$cs] = "($cs)"; + } + // $TANKOR_TIPUS bővítés + if (__NAPLOADMIN || __VEZETOSEG) { switch ($action) { case 'ujTankor': // VAGY MÓDOSÍTÁS!!! |