Lines Matching refs:preference
40 // init preference
41 $this->preference['fromAjax'] = false; // see dokuwiki\Ajax::callMediadiff()
42 $this->preference['showIntro'] = false;
43 $this->preference['difftype'] = 'both'; // diff view type: both, opacity or portions
68 $this->preference['difftype'] = $INPUT->str('difftype');
112 $this->preference['difftype'] = 'both';
137 if ($this->preference['showIntro']) echo p_locale_xhtml('diff');
140 if ($this->is_img && !$this->preference['fromAjax']) {
145 switch ($this->preference['difftype']) {
156 if ($this->is_img && !$this->preference['fromAjax']) {
201 $type = $this->preference['difftype'];