diff options
Diffstat (limited to 'mayor-orig/www/policy/private/naplo/naplo-pre.php')
-rw-r--r-- | mayor-orig/www/policy/private/naplo/naplo-pre.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/mayor-orig/www/policy/private/naplo/naplo-pre.php b/mayor-orig/www/policy/private/naplo/naplo-pre.php new file mode 100644 index 00000000..85dfa076 --- /dev/null +++ b/mayor-orig/www/policy/private/naplo/naplo-pre.php @@ -0,0 +1,22 @@ +<?php + + if (_RIGHTS_OK !== true) die(); + + require_once('include/modules/naplo/share/intezmenyek.php'); + + $intezmeny = readVariable($_POST['intezmeny'], 'strictstring', defined('__INTEZMENY') ? __INTEZMENY : null); + if ($action == 'intezmenyValasztas') { + if (isset($intezmeny) && $intezmeny !== __INTEZMENY) { + if (updateSessionIntezmeny($intezmeny)) { + header('Location: '.location('index.php?page=naplo&sub=intezmeny&f=valtas')); + } + } + } + + /* TOOL */ + $TOOL['intezmenySelect'] = array('tipus' => 'sor', 'post' => array(), 'action' => 'intezmenyValasztas'); + + getToolParameters(); + if (__TANAR) $beirasiAdatok['beiratlan'] = getBeirasiAdatok(); + +?> |