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 = 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= "";
$html.= $this->get_user_param_form("deflt2docs_location");
$html.= $this->get_user_param_form("deflt_cashdesk");
$html.="
";
} else $html="";
return $html;
}
private function get_catalog_actions_form(){
// $html= "
// ";
// $html.= dashboard_module::get_user_param_form("deflt_docs_location");
// $html.= dashboard_module::get_user_param_form("value_deflt_lang");
// $html.="
//
";
$html= "";
return $html;
}
private function get_autorite_actions_form(){
$html= "";
return $html;
}
private function get_edit_actions_form(){
$html= "";
return $html;
}
private function get_dsi_actions_form(){
$html= "";
return $html;
}
private function get_cms_actions_form(){
$html= "";
return $html;
}
private function get_admin_actions_form(){
$html= "";
return $html;
}
}