mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
not removing unknown placeholders in preferences, to keep eg. the mergeprint placeholders {{somename}}
This commit is contained in:
parent
db9d5bf6b1
commit
78d32cdb64
@ -110,7 +110,7 @@ class uisettings
|
|||||||
$forced = get_var('forced',Array('POST'));
|
$forced = get_var('forced',Array('POST'));
|
||||||
$default = get_var('default',Array('POST'));
|
$default = get_var('default',Array('POST'));
|
||||||
|
|
||||||
$this->t = new Template(common::get_tpl_dir('preferences'));
|
$this->t = new Template(common::get_tpl_dir('preferences'),'keep');
|
||||||
$this->t->set_file(array(
|
$this->t->set_file(array(
|
||||||
'preferences' => 'preferences.tpl'
|
'preferences' => 'preferences.tpl'
|
||||||
));
|
));
|
||||||
@ -118,7 +118,7 @@ class uisettings
|
|||||||
$this->t->set_block('preferences','row','rowhandle');
|
$this->t->set_block('preferences','row','rowhandle');
|
||||||
$this->t->set_block('preferences','help_row','help_rowhandle');
|
$this->t->set_block('preferences','help_row','help_rowhandle');
|
||||||
$this->t->set_block('preferences','section_row','section_rowhandle');
|
$this->t->set_block('preferences','section_row','section_rowhandle');
|
||||||
$this->t->set_var(array('rowhandle' => '','help_rowhandle' => '','messages' => '', 'section_rowhandle'));
|
$this->t->set_var(array('rowhandle' => '','help_rowhandle' => '','messages' => '', 'section_rowhandle' => ''));
|
||||||
|
|
||||||
$this->prefix = get_var('prefix',array('GET'),$this->bo->session_data['appname'] == $_GET['appname'] ? $this->bo->session_data['prefix'] : '');
|
$this->prefix = get_var('prefix',array('GET'),$this->bo->session_data['appname'] == $_GET['appname'] ? $this->bo->session_data['prefix'] : '');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user