This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 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);
}
?>