';
- echo '';
- echo $D['lang'];
- echo ' | ';
+ // echo '';
+ // echo $D['lang'];
+ // echo ' | ';
echo '';
echo '';
@@ -36,10 +64,20 @@
echo ' '.$D['csoport'];
echo ' | ';
echo '';
- echo $D['owner'];
+ if ($D['hirkategoriak']!='') {
+ $_K = explode(',',$D['hirkategoriak']);
+ for($j=0; $j';
echo '';
+ echo $D['owner'];
+ echo ' | ';
+ echo '';
echo $D['kdt'];
+ echo ' | ';
+ echo '';
echo $D['vdt'];
echo ' | ';
echo "\n\n";
diff --git a/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/share/doboz.phtml b/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/share/doboz.phtml
index 7c903e27..8c8ded7b 100644
--- a/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/share/doboz.phtml
+++ b/mayor-orig/mayor-portal/www/skin/classic/module-portal/html/share/doboz.phtml
@@ -22,8 +22,9 @@
$bgcolor = ($SET['background-color']=='') ? '#eeeeee' : $SET['background-color'] ;
$width = ($SET['width']=='') ? '100%':$SET['width'];
if ($SET['header-link']!='') $cime = ''.$cime.'';
+ if (isset($SET['header-css']) && $SET['header-css']!='') $_style = $SET['header-css'];
echo '';
- echo ' '.$cime.' ';
+ echo ' '.$cime.' ';
echo ' '.$bele.' ';
echo ' ';
diff --git a/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js b/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js
index 0969c5c7..41d70923 100644
--- a/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js
+++ b/mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js
@@ -10,4 +10,33 @@ $(function() {
}
});
+ $('span.kategoriaSelector').click(function() {
+ $(this).toggleClass('selected');
+ $(this).toggleClass('modified');
+ $('#kategoriaSelectorContainer').html('');
+ $('span.kategoriaSelector.selected').each(function() {
+ $('', {
+ type: 'hidden',
+ name: 'kategoriaId[]',
+ value: $(this).data('kategoriaid')
+ }).appendTo($('#kategoriaSelectorContainer'));
+ });
+ });
+
+
+/*
+ myForm.on('submit', function(e) {
+ //e.preventDefault();
+ $('span.kategoriaSelector.selected').each(function() {
+ $('', {
+ type: 'text',
+ name: 'kategoriaId[]',
+ value: $(this).data('kategoriaid')
+ }).appendTo(myForm); // append each input to the form
+ });
+
+ //myForm.submit(); // submit the form
+ });
+*/
+
});
diff --git a/mayor-orig/mayor-wiki/log/mayor-wiki.rev b/mayor-orig/mayor-wiki/log/mayor-wiki.rev
index 54f5b275..9bce5583 100644
--- a/mayor-orig/mayor-wiki/log/mayor-wiki.rev
+++ b/mayor-orig/mayor-wiki/log/mayor-wiki.rev
@@ -1 +1 @@
-4691
+4695
diff --git a/mayor-orig/md5sum b/mayor-orig/md5sum
index 052b0a58..39f0774c 100644
--- a/mayor-orig/md5sum
+++ b/mayor-orig/md5sum
@@ -1,13 +1,13 @@
-Revision 4691
-71107f2d0381381d16916e473db42dba mayor-fenntarto-rev4691.tgz
-a80ee713915cb729bf44f9c831f3e74a mayor-installer-sulix-rev4691.tgz
-a0777d620e206b07b6e3565864a58fec mayor-wiki-rev4691.tgz
-a58f5bd16055fc5f168b39a70052de05 mayor-installer-rev4691.tgz
-512a43eb1223ecec3b81ea1eda4c16f6 mayor-portal-rev4691.tgz
-21a67636b6d1d0c2ca040d1210901aaf mayor-felveteli-rev4691.tgz
-1d2ff3b0f71141f6e3c916c749eab426 mayor-jatek-rev4691.tgz
-f5490a7abb4629401ac267ec0e23a9ac mayor-locales-jp_JP-rev4691.tgz
-d9d56f15c55aaca9e5e6447455e8b593 mayor-locales-de_DE-rev4691.tgz
-b03f1fa2e742a0d3245a1c1b719dbd6f mayor-locales-en_US-rev4691.tgz
-5b7345dd3db4f2aa184d4440beb7bd5e mayor-naplo-rev4691.tgz
-6b1cef87715c325d36a3d24e66378cbf mayor-base-rev4691.tgz
+Revision 4695
+8006f6a2333f838cf1c3a4c464aed480 mayor-fenntarto-rev4695.tgz
+0413e87eaa2472d46297b1b1e67964c9 mayor-installer-sulix-rev4695.tgz
+7b1958ba242c788088f8e0fa8b19ac06 mayor-wiki-rev4695.tgz
+ce7a02daded0bc1a5b9379455fe7d497 mayor-installer-rev4695.tgz
+31a165054c79b9638a9d31cdaedb2f28 mayor-portal-rev4695.tgz
+d4f27043abc3a93c21d8939bd1ecb2e5 mayor-felveteli-rev4695.tgz
+93cab4f2a25ecae24063f2a189884046 mayor-jatek-rev4695.tgz
+2d3becd23208144f80333ee7855359d3 mayor-locales-jp_JP-rev4695.tgz
+9bd9f2a196265369cf9edc46c17adf51 mayor-locales-de_DE-rev4695.tgz
+620f79072f95112bc578085c4bb0829b mayor-locales-en_US-rev4695.tgz
+c869569cb053d07c3b3fc97f47c7a86e mayor-naplo-rev4695.tgz
+79f3aac8fcfb484b28f30467c7056505 mayor-base-rev4695.tgz
diff --git a/mayor-orig/rev.txt b/mayor-orig/rev.txt
index 54f5b275..9bce5583 100644
--- a/mayor-orig/rev.txt
+++ b/mayor-orig/rev.txt
@@ -1 +1 @@
-4691
+4695
diff --git a/rev.txt b/rev.txt
index 54f5b275..9bce5583 100644
--- a/rev.txt
+++ b/rev.txt
@@ -1 +1 @@
-4691
+4695
--
cgit v1.2.3
From 6096375432ff70c57cb832cd4fcbb031eeaa3765 Mon Sep 17 00:00:00 2001
From: M.Gergo
Date: Wed, 6 Jan 2021 18:25:04 +0100
Subject: Rev: 4715
---
mayor-orig/mayor-base/log/mayor-base.rev | 2 +-
.../include/backend/mysql/session/accountInfo.php | 6 ++---
.../www/include/backend/mysql/session/base.php | 2 +-
.../backend/mysql/session/createAccount.php | 2 +-
.../include/backend/mysql/session/createGroup.php | 4 ++--
.../backend/mysql/session/search/searchAccount.php | 8 +++----
mayor-orig/mayor-felveteli/log/mayor-felveteli.rev | 2 +-
mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev | 2 +-
.../mayor-installer-orig/log/mayor-installer.rev | 2 +-
.../log/mayor-installer-sulix.rev | 2 +-
mayor-orig/mayor-jatek/log/mayor-jatek.rev | 2 +-
.../log/mayor-locales-de_DE.rev | 2 +-
.../log/mayor-locales-en_US.rev | 2 +-
.../log/mayor-locales-jp_JP.rev | 2 +-
mayor-orig/mayor-naplo/log/mayor-naplo.rev | 2 +-
mayor-orig/mayor-portal/log/mayor-portal.rev | 2 +-
mayor-orig/mayor-wiki/log/mayor-wiki.rev | 2 +-
mayor-orig/md5sum | 26 +++++++++++-----------
mayor-orig/rev.txt | 2 +-
rev.txt | 2 +-
20 files changed, 38 insertions(+), 38 deletions(-)
(limited to 'mayor-orig/mayor-base/www')
diff --git a/mayor-orig/mayor-base/log/mayor-base.rev b/mayor-orig/mayor-base/log/mayor-base.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-base/log/mayor-base.rev
+++ b/mayor-orig/mayor-base/log/mayor-base.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php
index 113e380b..5643f0af 100644
--- a/mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/accountInfo.php
@@ -140,7 +140,7 @@
$_THESE = '*';
$v = array();
}
- $q = "SELECT $_THESE FROM groups WHERE groupCn='%s' AND policy='%s'";
+ $q = "SELECT $_THESE FROM `groups` WHERE groupCn='%s' AND policy='%s'";
array_push($v, $groupCn, $toPolicy);
$A = db_query($q, array('fv' => 'mysqlGetGroupInfo', 'modul' => $modul, 'result' => 'record', 'values' => $v), $lr);
@@ -185,7 +185,7 @@
$lr = db_connect($modul, array('fv' => 'mysqlChangeGroupInfo'));
if (!$lr) return false;
- $q = "SELECT gid FROM groups WHERE groupCn='%s' AND policy='%s'";
+ $q = "SELECT gid FROM `groups` WHERE groupCn='%s' AND policy='%s'";
$v = array($groupCn, $toPolicy);
$gid = db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
if ($gid === false) { db_close($lr); return false; }
@@ -241,7 +241,7 @@
$v = array($attr);
}
}
- $q = "UPDATE groups SET $W WHERE groupCn='%s' AND policy='%s'";
+ $q = "UPDATE `groups` SET $W WHERE groupCn='%s' AND policy='%s'";
array_push($v, $groupCn, $toPolicy);
db_query($q, array('fv' => 'mysqlChangeGroupInfo', 'modul' => $modul, 'values' => $v), $lr);
}
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/base.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/base.php
index 35272ff8..2964957b 100644
--- a/mayor-orig/mayor-base/www/include/backend/mysql/session/base.php
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/base.php
@@ -32,7 +32,7 @@
}
// Az gid lekérdezése
- $q = "SELECT gid FROM groups WHERE groupCn = '%s' AND policy = '%s'";
+ $q = "SELECT gid FROM `groups` WHERE groupCn = '%s' AND policy = '%s'";
$v = array($groupCn, $toPolicy);
$gid = db_query($q, array('fv' => 'mysqlMemberOf', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
if ($gid === false) {
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php
index 25ff9132..4f34aea6 100644
--- a/mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/createAccount.php
@@ -79,7 +79,7 @@
$category = $SET['groups'][$i];
$groupCn = kisbetus(ekezettelen($category));
if ($category == '') continue;
- $q = "SELECT gid FROM groups WHERE groupCn='%s'";
+ $q = "SELECT gid FROM `groups` WHERE groupCn='%s'";
$gid = db_query($q, array('fv' => 'mysqlCreateAccount', 'modul' => $modul, 'result' => 'value', 'values' => array($groupCn)), $lr);
if ($gid === false || is_null($gid)) { // --FIXME -- ez jó így BENCE radyx
if ($SET['createGroup']) {
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php
index d1bc4f7b..495af44d 100644
--- a/mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/createGroup.php
@@ -16,14 +16,14 @@
if (!$lr) return false;
// cn ütközés ellenőrzése
- $q = "SELECT COUNT(*) FROM groups WHERE policy='%s' AND groupCn='%s'";
+ $q = "SELECT COUNT(*) FROM `groups` WHERE policy='%s' AND groupCn='%s'";
$v = array($toPolicy, $groupCn);
$num = db_query($q, array('fv' => 'mysqlCreateGroup', 'modul' => $modul, 'result' => 'value', 'values' => $v), $lr);
if ($num === false) { db_close($lr); return false; }
if ($num > 0) { $_SESSION['alert'][] = 'message:multi_uid:'.$groupCn; db_close($lr); return false; }
// csoport felvétel
- $q = "INSERT INTO groups (groupCn, groupDesc, policy) VALUES ('%s', '%s','%s')";
+ $q = "INSERT INTO `groups` (groupCn, groupDesc, policy) VALUES ('%s', '%s','%s')";
$v = array($groupCn, $groupDesc, $toPolicy);
$gid = db_query($q, array('fv' => 'mysqlCreateGroup', 'modul' => $modul, 'result' => 'insert', 'values' => $v), $lr);
if ($gid === false) { db_close($lr); return false; }
diff --git a/mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php b/mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php
index fa4584b0..ef249342 100644
--- a/mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php
+++ b/mayor-orig/mayor-base/www/include/backend/mysql/session/search/searchAccount.php
@@ -64,7 +64,7 @@
if (!$lr) return false;
// Keresés
if ($attr == 'member') {
- $q = "SELECT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM groups LEFT JOIN members
+ $q = "SELECT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM `groups` LEFT JOIN members
ON members.gid=groups.gid
LEFT JOIN accounts USING (uid)
WHERE gid IN
@@ -72,7 +72,7 @@
AND groups.policy='%s'";
$v = array_merge($searchAttrs, array($pattern, $toPolicy, $toPolicy));
} else {
- $q = "SELECT DISTINCT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM groups LEFT JOIN members
+ $q = "SELECT DISTINCT `".implode('`,`', array_fill(0, count($searchAttrs), '%s'))."` FROM `groups` LEFT JOIN members
ON members.gid=groups.gid
LEFT JOIN accounts USING (uid)
WHERE `%s` LIKE '%%%s%%' AND groups.policy='%s'";
@@ -122,7 +122,7 @@
$homeDirectory = $ret['homeDirectory']; // de nem használjuk semmire...
// A user csoport törlése
- $q = "DELETE FROM groups WHERE gid=%u";
+ $q = "DELETE FROM `groups` WHERE gid=%u";
$v = array($ret['uid']);
$r = db_query($q, array('fv' => 'mysqlDeleteAccount', 'modul' => $modul, 'values' => $v), $lr);
if (!$r) { db_close($lr); return false; }
@@ -155,7 +155,7 @@
}
// csoport törlése
- $q = "DELETE FROM groups WHERE policy='%s' AND groupCn='%s'";
+ $q = "DELETE FROM `groups` WHERE policy='%s' AND groupCn='%s'";
$v = array($toPolicy, $groupCn);
$r = db_query($q, array('fv' => 'mysqlDeleteGroup', 'modul' => "$toPolicy auth", 'values' => $v));
diff --git a/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev b/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev
+++ b/mayor-orig/mayor-felveteli/log/mayor-felveteli.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev b/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev
+++ b/mayor-orig/mayor-fenntarto/log/mayor-fenntarto.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-installer-orig/log/mayor-installer.rev b/mayor-orig/mayor-installer-orig/log/mayor-installer.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-installer-orig/log/mayor-installer.rev
+++ b/mayor-orig/mayor-installer-orig/log/mayor-installer.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev b/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev
+++ b/mayor-orig/mayor-installer-sulix/log/mayor-installer-sulix.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-jatek/log/mayor-jatek.rev b/mayor-orig/mayor-jatek/log/mayor-jatek.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-jatek/log/mayor-jatek.rev
+++ b/mayor-orig/mayor-jatek/log/mayor-jatek.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev b/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev
+++ b/mayor-orig/mayor-locales-de_DE/log/mayor-locales-de_DE.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev b/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev
+++ b/mayor-orig/mayor-locales-en_US/log/mayor-locales-en_US.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev b/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev
+++ b/mayor-orig/mayor-locales-jp_JP/log/mayor-locales-jp_JP.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-naplo/log/mayor-naplo.rev b/mayor-orig/mayor-naplo/log/mayor-naplo.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-naplo/log/mayor-naplo.rev
+++ b/mayor-orig/mayor-naplo/log/mayor-naplo.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-portal/log/mayor-portal.rev b/mayor-orig/mayor-portal/log/mayor-portal.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-portal/log/mayor-portal.rev
+++ b/mayor-orig/mayor-portal/log/mayor-portal.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/mayor-wiki/log/mayor-wiki.rev b/mayor-orig/mayor-wiki/log/mayor-wiki.rev
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/mayor-wiki/log/mayor-wiki.rev
+++ b/mayor-orig/mayor-wiki/log/mayor-wiki.rev
@@ -1 +1 @@
-4713
+4715
diff --git a/mayor-orig/md5sum b/mayor-orig/md5sum
index 8cf1cb8b..0808638e 100644
--- a/mayor-orig/md5sum
+++ b/mayor-orig/md5sum
@@ -1,13 +1,13 @@
-Revision 4713
-ce702c78ab1e2f4cc031757497de783a mayor-fenntarto-rev4713.tgz
-f8f436cbfda29f04f4f9d6d45096ed2b mayor-installer-sulix-rev4713.tgz
-8c02ce059544cdea9de78844e2301ca7 mayor-wiki-rev4713.tgz
-2e8da272ceb62adcab9ebd892db87bc8 mayor-installer-rev4713.tgz
-50b92c062c3980ceb8703c75528124c9 mayor-portal-rev4713.tgz
-0dc99f57b5c2ce5850451ae6d8f9c6b1 mayor-felveteli-rev4713.tgz
-dbe1d335412f36acf16aae503180c154 mayor-jatek-rev4713.tgz
-4f165a284865baf556b6fc83a622da7a mayor-locales-jp_JP-rev4713.tgz
-42558feb4dd9bd06ff0cdaa37ee0c668 mayor-locales-de_DE-rev4713.tgz
-8ec41cb9c101c60dc9c8576d1ac1c931 mayor-locales-en_US-rev4713.tgz
-ff759af5c9d054cfb59fe5db3bc4a247 mayor-naplo-rev4713.tgz
-bfc0ee9cf71c3fc76b4bc409deb53063 mayor-base-rev4713.tgz
+Revision 4715
+43fdcbb79107f40fc3120c57db417c4b mayor-fenntarto-rev4715.tgz
+391093a3387a8ee3b79138fb010fbb7f mayor-installer-sulix-rev4715.tgz
+122579371c590ad98e90f3407594cfa2 mayor-wiki-rev4715.tgz
+1ff2a02bc1b4b9c2781f98cc59760880 mayor-installer-rev4715.tgz
+a01109b8c8ad5240a9bace962f8f8fc5 mayor-portal-rev4715.tgz
+914440be442874ecc05078524270d735 mayor-felveteli-rev4715.tgz
+fd7d743f8212b7327098231f4bed480e mayor-jatek-rev4715.tgz
+2fc85c4d675f2cc19007ad334c6e821b mayor-locales-jp_JP-rev4715.tgz
+9137d63cd72829caadc5e4a0904b45a9 mayor-locales-de_DE-rev4715.tgz
+505bba3d3f63b1eed0e95b04bff71ce1 mayor-locales-en_US-rev4715.tgz
+a094cc484b6c9c2fb391eef4794117fd mayor-naplo-rev4715.tgz
+65448272b6e696a2f7db451664345822 mayor-base-rev4715.tgz
diff --git a/mayor-orig/rev.txt b/mayor-orig/rev.txt
index b9dafcc3..a29b5fa9 100644
--- a/mayor-orig/rev.txt
+++ b/mayor-orig/rev.txt
@@ -1 +1 @@
-4713
+4715
diff --git a/rev.txt b/rev.txt
index b9dafcc3..a29b5fa9 100644
--- a/rev.txt
+++ b/rev.txt
@@ -1 +1 @@
-4713
+4715
--
cgit v1.2.3
|