X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fprefs%2Fuserprefs.inc;h=8bad1168c097837ddffffdde1a439c8caa0876fc;hb=01d7a75fb7fbaac6379ddb9ec8abfa01e87249a7;hp=1bd5b022f8239bb15478885b4afb90b60c46d921;hpb=d67d5295b9342c011697ce4df325197e29898588;p=fa-stable.git diff --git a/includes/prefs/userprefs.inc b/includes/prefs/userprefs.inc index 1bd5b022..8bad1168 100644 --- a/includes/prefs/userprefs.inc +++ b/includes/prefs/userprefs.inc @@ -1,5 +1,14 @@ . +***********************************************************************/ class user_prefs { @@ -18,8 +27,12 @@ class user_prefs var $tho_sep; var $dec_sep; var $theme; + var $print_profile; + var $rep_popup; var $pagesize; // for printing var $show_hints; + var $query_size; // table pager page length + var $graphic_links; // use graphic links function user_prefs(&$user) { @@ -41,6 +54,10 @@ class user_prefs $this->theme = $user["theme"]; $this->pagesize = $user["page_size"]; $this->show_hints = $user["show_hints"]; + $this->print_profile = $user["print_profile"]; + $this->rep_popup = $user["rep_popup"]; + $this->query_size = $user["query_size"]; + $this->graphic_links = $user["graphic_links"]; } function language() @@ -125,6 +142,26 @@ class user_prefs return $this->show_hints; } + function print_profile() + { + return $this->print_profile; + } + + function rep_popup() + { + return $this->rep_popup; + } + + function query_size() + { + return $this->query_size; + } + + function graphic_links() + { + return $this->graphic_links; + } + function set_dec($price_dec, $qty_dec, $exrate_dec, $percent_dec, $showgl, $showcodes) { $this->price_dec = $price_dec;