HOR-2689
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
if (isset( $_SESSION['CURRENT_PAGE_INITILIZATION'] ))
|
||||
eval( $_SESSION['CURRENT_PAGE_INITILIZATION'] );
|
||||
|
||||
// G::LoadThirdParty('pear/json','class.json');
|
||||
|
||||
// $json=new Services_JSON();
|
||||
if (! defined( 'XMLFORM_AJAX_PATH' ))
|
||||
define( 'XMLFORM_AJAX_PATH', PATH_XMLFORM );
|
||||
|
||||
@@ -3,7 +3,7 @@ if (function_exists("http_response_code")) {
|
||||
http_response_code(200);
|
||||
}
|
||||
|
||||
$http = G::is_https() ? "https" : "http";
|
||||
$http = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") ? "https" : "http";
|
||||
$host = $_SERVER["SERVER_NAME"] . (($_SERVER["SERVER_PORT"] != "80") ? ":" . $_SERVER["SERVER_PORT"] : "");
|
||||
|
||||
$urlLogin = $http . "://" . $host . "/sys/en/neoclassic/login/login";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$http = G::is_https() ? "https" : "http";
|
||||
$http = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on")? "https" : "http";
|
||||
$host = $_SERVER["SERVER_NAME"] . (($_SERVER["SERVER_PORT"] != "80")? ":" . $_SERVER["SERVER_PORT"] : "");
|
||||
|
||||
$urlLogin = $http . "://" . $host . "/sys/en/neoclassic/login/login";
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
<?php
|
||||
$filter = new InputFilter();
|
||||
$_GET = $filter->xssFilterHard($_GET,"url");
|
||||
$_POST = $filter->xssFilterHard($_POST,"url");
|
||||
$_REQUEST = $filter->xssFilterHard($_REQUEST,"url");
|
||||
$_SESSION = $filter->xssFilterHard($_SESSION,"url");
|
||||
|
||||
$request = isset($_POST['request'])? $_POST['request']: null;
|
||||
if( !isset($request) ){
|
||||
@@ -32,6 +37,7 @@ if( isset($request) ){
|
||||
|
||||
$_SESSION[$_POST["formID"]][$_POST["gridname"]] = $oFields;
|
||||
}
|
||||
|
||||
break;
|
||||
/** widgets **/
|
||||
case 'suggest':
|
||||
@@ -55,7 +61,6 @@ if( isset($request) ){
|
||||
}
|
||||
|
||||
// Parsed SQL Structure
|
||||
G::LoadClass('phpSqlParser');
|
||||
|
||||
$parser = new PHPSQLParser($SQL);
|
||||
$searchType = $_GET["searchType"];
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<?php
|
||||
|
||||
G::LoadSystem('helper');
|
||||
|
||||
$helper = new Helper();
|
||||
$type = $_GET['t'];
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
G::LoadSystem('pagedTable');
|
||||
G::LoadClass('propelTable');
|
||||
G::LoadInclude('ajax');
|
||||
G::LoadAllModelClasses();
|
||||
G::LoadAllPluginModelClasses();
|
||||
require_once ( 'classes/class.xmlfield_InputPM.php' );
|
||||
|
||||
|
||||
$id=get_ajax_value('ptID');
|
||||
$ntable = unserialize(base64_decode($_SESSION['pagedTable[' . $id . ']']));
|
||||
$page=get_ajax_value('page');
|
||||
@@ -96,7 +92,6 @@ require_once ( 'classes/class.xmlfield_InputPM.php' );
|
||||
return ;
|
||||
}
|
||||
$ntable->renderTable( 'content' );
|
||||
G::LoadClass('configuration');
|
||||
$conf = new Configurations();
|
||||
$conf->setConfig($ntable->__Configuration,$ntable,$conf->aConfig);
|
||||
$conf->saveConfig('pagedTable',$ntable->__OBJ_UID,'',$_SESSION['USER_LOGGED'],'');
|
||||
|
||||
@@ -23,12 +23,7 @@
|
||||
*
|
||||
*/
|
||||
/* Includes */
|
||||
G::LoadSystem('pagedTable');
|
||||
G::LoadClass('propelTable');
|
||||
G::LoadInclude('ajax');
|
||||
G::LoadAllModelClasses();
|
||||
G::LoadAllPluginModelClasses();
|
||||
require_once ( 'classes/class.xmlfield_InputPM.php' );
|
||||
|
||||
$id = get_ajax_value('ptID');
|
||||
$ntable = unserialize(base64_decode($_SESSION['pagedTable[' . $id . ']']));
|
||||
$page = get_ajax_value('page');
|
||||
@@ -128,8 +123,6 @@
|
||||
|
||||
$ntable->renderTable("content");
|
||||
|
||||
G::LoadClass("configuration");
|
||||
|
||||
$conf = new Configurations();
|
||||
$conf->setConfig($ntable->__Configuration, $ntable, $conf->aConfig);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user