Add php files

This commit is contained in:
2025-05-12 15:44:39 +00:00
parent c951760058
commit 82d5804ac4
9534 changed files with 2638137 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
if($_REQUEST['function'] == "GetSettings") {
global $current_user;
$p = $current_user->getPreference($_REQUEST['from_module'].'AjaxSearchSettings');
if($p) {
$json = getJSONobj();
echo '['.str_replace('&quot;','\"',$json->encode($p)).']';
die();
}
} else
if($_REQUEST['function'] == "SaveSettings") {
global $current_user;
$settings = array(
'pos_top' => $_REQUEST['pos_top'],
'pos_left' => $_REQUEST['pos_left'],
'frozen' => $_REQUEST['frozen']
);
$current_user->setPreference($_REQUEST['from_module'].'AjaxSearchSettings', $settings, 0, 'global', $current_user);
}
?>