aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-portal/www
diff options
context:
space:
mode:
authorM.Gergo2020-03-01 03:29:48 +0100
committerM.Gergo2020-03-01 03:29:48 +0100
commitc2908f8a1487e62c4a61032e261721cefc357980 (patch)
treefc88fed60624985a1250c88932d8291a73dd3b83 /mayor-orig/mayor-portal/www
parent35283d60ca832c8c9c351ddd78cf9c5396ff80f6 (diff)
downloadmayor-c2908f8a1487e62c4a61032e261721cefc357980.tar.gz
mayor-c2908f8a1487e62c4a61032e261721cefc357980.zip
Rev: 4611rev4611
Diffstat (limited to 'mayor-orig/mayor-portal/www')
-rw-r--r--mayor-orig/mayor-portal/www/policy/private/portal/hirek/egyhir-pre.php6
-rw-r--r--mayor-orig/mayor-portal/www/skin/classic/module-portal/javascript/portal.jquery.min.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/mayor-orig/mayor-portal/www/policy/private/portal/hirek/egyhir-pre.php b/mayor-orig/mayor-portal/www/policy/private/portal/hirek/egyhir-pre.php
index 85732e67..0d5cbf71 100644
--- a/mayor-orig/mayor-portal/www/policy/private/portal/hirek/egyhir-pre.php
+++ b/mayor-orig/mayor-portal/www/policy/private/portal/hirek/egyhir-pre.php
@@ -6,9 +6,9 @@ if (_RIGHTS_OK !== true) die();
$hirId = readVariable($_POST['hirId'],'id',null);
if ($hirId=='') $hirId = readVariable($_GET['hirId'],'id',null);
$action = readVariable($_POST['action'],'strictstring',array(null,'save',''));
- if (__PORTAL_CODE=='vmg' && $hirId>0 && isOwner($hirId)===false) {
- $_SESSION['alert'][] = 'page:not_owner';
- }
+// if (__PORTAL_CODE=='vmg' && $hirId>0 && isOwner($hirId)===false) {
+// $_SESSION['alert'][] = 'page:not_owner';
+// }
if ($action=='save' && (__HIREKADMIN || $hirId=='' || isOwner($hirId))) {
global $LANGUAGES;
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 6b424e74..9cf33401 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
@@ -3,7 +3,7 @@ $(function() {
$('#mayorbody a[href*="index.php?page"]:not([href*="sessionID"])').each(function( index ) {
l = $(this);
href = l.attr('href');
- l.attr('href',href+'&sessionID='+$('body').data('sessionid'));
+ l.attr('href',href+'&policy='+$('body').data('policy')+'&sessionID='+$('body').data('sessionid'));
});
});