template = "default"; $this->module = "dashboard"; $this->module_name = $msg['dashboard']; parent::__construct(); } public function get_quick_params_form(){ global $msg; $html= "
"; return $html; } public function save_quick_params(){ $query = "update users set "; $update=array(); foreach($_POST as $key => $value){ switch($key){ case "deflt2docs_location": case "param_allloc": case "deflt_cashdesk": global ${$key}; $update[] = $key."='".$value."'"; break; } } if(count($update)){ $query.=implode(", ",$update)." where userid=".SESSuserid; $result = pmb_mysql_query($query); return $result; } return true; } private function get_dashboard_actions_form(){ $html= ""; return $html; } private function get_circ_actions_form(){ if(SESSrights & PREF_AUTH) { $html= "