diff options
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r-- | program/steps/settings/func.inc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 3f0357717..6eda4dba3 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -159,6 +159,8 @@ function rcmail_user_prefs_block($part, $no_override, $attrib) } } + $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $part, 'table' => $table)); + if ($table->size()) $out = html::tag('fieldset', null, html::tag('legend', null, Q(rcube_label('uisettings'))) . $table->show($attrib)); break; @@ -216,6 +218,8 @@ function rcmail_user_prefs_block($part, $no_override, $attrib) $table->add(null, $input_check_all->show($config['check_all_folders']?1:0)); } + $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $part, 'table' => $table)); + if ($table->size()) $out = html::tag('fieldset', null, html::tag('legend', null, Q(rcube_label('mailboxview'))) . $table->show($attrib)); break; @@ -254,6 +258,8 @@ function rcmail_user_prefs_block($part, $no_override, $attrib) $table->add(null, $input_inline_images->show($config['inline_images']?1:0)); } + $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $part, 'table' => $table)); + if ($table->size()) $out = html::tag('fieldset', null, html::tag('legend', null, Q(rcube_label('messagesdisplaying'))) . $table->show($attrib)); break; @@ -295,6 +301,8 @@ function rcmail_user_prefs_block($part, $no_override, $attrib) $table->add(null, $select_param_folding->show($config['mime_param_folding'])); } + $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $part, 'table' => $table)); + if ($table->size()) $out = html::tag('fieldset', null, html::tag('legend', null, Q(rcube_label('messagescomposition'))) . $table->show($attrib)); break; @@ -329,6 +337,8 @@ function rcmail_user_prefs_block($part, $no_override, $attrib) $table->add(null, $select->show($config['trash_mbox'], array('name' => "_trash_mbox"))); } + $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $part, 'table' => $table)); + $out = html::tag('fieldset', null, html::tag('legend', null, Q(rcube_label('specialfolders'))) . $table->show($attrib)); } break; @@ -381,6 +391,8 @@ function rcmail_user_prefs_block($part, $no_override, $attrib) $table->add(null, $input_expunge->show($config['logout_expunge']?1:0)); } + $RCMAIL->plugins->exec_hook('user_preferences', array('section' => $part, 'table' => $table)); + if ($table->size()) $out = html::tag('fieldset', null, html::tag('legend', null, Q(rcube_label('serversettings'))) . $table->show($attrib)); break; |