projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Not translatable string in rep108. Fixed.
[fa-stable.git]
/
includes
/
prefs
/
sysprefs.inc
diff --git
a/includes/prefs/sysprefs.inc
b/includes/prefs/sysprefs.inc
index 9a8213c8ab01b11da8edf3b17bfef4a2f49865d3..34e52bccb706a0d7355096ab7a288c87efbf31fe 100644
(file)
--- a/
includes/prefs/sysprefs.inc
+++ b/
includes/prefs/sysprefs.inc
@@
-14,16
+14,16
@@
include_once($path_to_root . "/admin/db/company_db.inc");
/*
System and per company prefferences.
Object is created only with site wide preffernces.
/*
System and per company prefferences.
Object is created only with site wide preffernces.
- After user login refresh
_company_prefs method have to be called to
initialize company specific settings.
+ After user login refresh
method have to be called to re-
initialize company specific settings.
*/
class sys_prefs
{
var $prefs;
var $db_ok; // check whether database has been upgraded after src update.
*/
class sys_prefs
{
var $prefs;
var $db_ok; // check whether database has been upgraded after src update.
- function
sys_prefs
()
+ function
__construct
()
{
{
- global $path_to_root
, $db_version
;
+ global $path_to_root;
// retrieve set system wide preferences
include $path_to_root.'/config.default.php';
// retrieve set system wide preferences
include $path_to_root.'/config.default.php';
@@
-38,14
+38,17
@@
class sys_prefs
if (!$this->time_zone)
$this->time_zone = 'Europe/Berlin';
if (!$this->time_zone)
$this->time_zone = 'Europe/Berlin';
+
+ if (!isset($this->use_popup_search))
+ $this->use_popup_search = false;
ini_set('date.timezone', $this->time_zone);
}
/*
ini_set('date.timezone', $this->time_zone);
}
/*
-
Initialize company specific
preferrencies.
+
Re-initialize company
preferrencies.
*/
*/
- function refresh
_company_prefs
()
+ function refresh()
{
global $db_version;
{
global $db_version;