Added remote printing support.
[fa-stable.git] / includes / prefs / userprefs.inc
index 1bd5b022f8239bb15478885b4afb90b60c46d921..6dd376632f6e42b94c20791d27fee2d856f80a22 100644 (file)
@@ -18,6 +18,7 @@ class user_prefs
        var $tho_sep;
        var $dec_sep;
        var $theme;
+       var $print_profile;
        var $pagesize; // for printing
        var $show_hints;
 
@@ -41,6 +42,7 @@ class user_prefs
                $this->theme = $user["theme"];
                $this->pagesize = $user["page_size"];
                $this->show_hints = $user["show_hints"];
+               $this->print_profile = $user["print_profile"];
        }
 
        function language() 
@@ -125,6 +127,11 @@ class user_prefs
                return $this->show_hints;
        }
 
+       function print_profile() 
+       {
+               return $this->print_profile;
+       }
+
        function set_dec($price_dec, $qty_dec, $exrate_dec, $percent_dec, $showgl, $showcodes) 
        {
                $this->price_dec = $price_dec;