X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fprefs%2Fuserprefs.inc;h=32e92ce6df0fafd871ca75d1554c3d3d227aeecd;hb=d3c4d2a51769f355fc09fe9163f04ba4887a8c5d;hp=7ba4c0c7ef40b301401ab4a8e2018833621ee7f5;hpb=850b2dc645b7e16d6b2f5a5e10cac03d8956180c;p=fa-stable.git diff --git a/includes/prefs/userprefs.inc b/includes/prefs/userprefs.inc index 7ba4c0c7..32e92ce6 100644 --- a/includes/prefs/userprefs.inc +++ b/includes/prefs/userprefs.inc @@ -34,6 +34,7 @@ class user_prefs var $query_size; // table pager page length var $graphic_links; // use graphic links var $sticky_date; // save date on subsequent document entry + var $startup_tab; // default start-up menu tab function user_prefs($user=null) { @@ -67,6 +68,7 @@ class user_prefs $this->query_size = $user["query_size"]; $this->graphic_links = $user["graphic_links"]; $this->sticky_date = $user["sticky_doc_date"]; + $this->startup_tab = $user['startup_tab']; } } @@ -177,6 +179,11 @@ class user_prefs return $this->sticky_date; } + function start_up_tab() + { + return $this->startup_tab; + } + function set_dec($price_dec, $qty_dec, $exrate_dec, $percent_dec, $showgl, $showcodes) { $this->price_dec = $price_dec;