Added Quick Entries in GL Journal Entry and changed some needed fixes.
[fa-stable.git] / includes / prefs / userprefs.inc
index 63a0828d4b4c4316a862e406f2c58235c5d3ea4f..c24fa01f204906ca257ffcec3507231f5768682a 100644 (file)
@@ -18,7 +18,11 @@ 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
 
        function user_prefs(&$user) 
        {
@@ -39,6 +43,10 @@ class user_prefs
                $this->dec_sep = $user["dec_sep"];
                $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"];
        }
 
        function language() 
@@ -118,6 +126,26 @@ class user_prefs
                return $this->pagesize;
        }
 
+       function show_hints() 
+       {
+               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 set_dec($price_dec, $qty_dec, $exrate_dec, $percent_dec, $showgl, $showcodes) 
        {
                $this->price_dec = $price_dec;