summaryrefslogtreecommitdiff
path: root/program/steps/settings/edit_prefs.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-02-13 08:39:39 +0000
committeralecpl <alec@alec.pl>2012-02-13 08:39:39 +0000
commit06c990ead24edee69f07912f8169a0422c411422 (patch)
tree81f2c69b23f3756e9faaf78030da1717cff2fda4 /program/steps/settings/edit_prefs.inc
parentbf9ddec776715fd8732a23a1dd0b25b660ed5439 (diff)
- Added mailto: protocol handler registration link in User Preferences (#1486580)
Diffstat (limited to 'program/steps/settings/edit_prefs.inc')
-rw-r--r--program/steps/settings/edit_prefs.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/program/steps/settings/edit_prefs.inc b/program/steps/settings/edit_prefs.inc
index 6e03b0808..d0abb2843 100644
--- a/program/steps/settings/edit_prefs.inc
+++ b/program/steps/settings/edit_prefs.inc
@@ -51,8 +51,13 @@ function rcmail_user_prefs_form($attrib)
if ($option['advanced'])
$table->set_row_attribs('advanced');
- $table->add('title', $option['title']);
- $table->add(null, $option['content']);
+ if (isset($option['title'])) {
+ $table->add('title', $option['title']);
+ $table->add(null, $option['content']);
+ }
+ else {
+ $table->add(array('colspan' => 2), $option['content']);
+ }
}
$out .= html::tag('fieldset', null, html::tag('legend', null, $block['name']) . $table->show($attrib));