aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/www
diff options
context:
space:
mode:
authorM.Gergo2020-09-10 13:45:03 +0200
committerM.Gergo2020-09-10 13:45:03 +0200
commitdc2b3d12c866d02833def3704cbb0725e04ca7a1 (patch)
treec9fbefe37d834bdcee7783d8e618f03fcafba56d /mayor-orig/mayor-naplo/www
parent847eb4a21606966ac5573c6ed6df878eff93841a (diff)
downloadmayor-dc2b3d12c866d02833def3704cbb0725e04ca7a1.tar.gz
mayor-dc2b3d12c866d02833def3704cbb0725e04ca7a1.zip
Rev: 4681rev4681
Diffstat (limited to 'mayor-orig/mayor-naplo/www')
-rw-r--r--mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/osztaly-pre.php2
-rw-r--r--mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/osztaly.phtml22
2 files changed, 21 insertions, 3 deletions
diff --git a/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/osztaly-pre.php b/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/osztaly-pre.php
index 62d0f384..0acd5f0f 100644
--- a/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/osztaly-pre.php
+++ b/mayor-orig/mayor-naplo/www/policy/private/naplo/intezmeny/osztaly-pre.php
@@ -125,7 +125,7 @@ if ($action == 'oidEllenor' && __NAPLOADMIN===true) {
$oidxp = explode("\n",str_replace(' ',"\n",str_replace('\r','\n',$_POST['oidtxt'])));
$ADAT['oidtxt'] = $_re;
for($i=0; $i<count($oidxp); $i++) {
- $_oid = $oidxp[$i];
+ $_oid = trim($oidxp[$i]);
$ADAT['oidCheck'][$_oid] = getDiakokByPattern($_oid);
}
diff --git a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/osztaly.phtml b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/osztaly.phtml
index 44af95fb..01a9b0d8 100644
--- a/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/osztaly.phtml
+++ b/mayor-orig/mayor-naplo/www/skin/classic/module-naplo/html/intezmeny/osztaly.phtml
@@ -432,8 +432,26 @@ function putOidEllenor($ADAT) {
echo '<h1>'._OIDELLENOR.'</h1>';
- var_dump($ADAT['oidCheck']);
-
+ if (is_array($ADAT['oidCheck'])) {
+ echo '<table>';
+ foreach($ADAT['oidCheck'] as $oId=>$DA) {
+ for ($i=0; $i<count($DA); $i++) {
+ $D = $DA[$i];
+ echo '<tr>';
+ echo '<td>'.$oId.'</td>';
+ echo '<td class="diakAdat diakNev" data-diakid="'.$D['diakId'].'">'.$D['diakId'].'</td>';
+ echo '<td class="diakAdat diakNev" data-diakid="'.$D['diakId'].'">'.$D['diakNev'].'</td>';
+ echo '<td>'.$D['oId'].'</td>';
+ echo '<td>';
+ if ($ADAT['osztalyAdat']['osztalyJel']!=$D['osztalyJel']) {echo '!!!!!!!';}
+ //echo '72455076207';
+ echo $D['osztalyJel'];
+ echo '</td>';
+ echo '</tr>';
+ }
+ }
+ echo '</table>';
+ }
echo '<textarea name="oidtxt" rows="10">';
echo $ADAT['oidtxt'];
echo '</textarea>';