summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis1993 <marvin-wegener@outlook.com>2013-09-02 12:57:15 +0200
committerDennis1993 <marvin-wegener@outlook.com>2013-09-02 12:57:15 +0200
commitd8d5692cff411dc769d8fc1c7dd5ea8acbb15837 (patch)
treea91b6aec3b6a0e3e4b0915068ee1dc8891df4a3b
parentedc49ebfc2b6d8ebedecfb72318c9bc72fba9211 (diff)
Update func.inc
-rw-r--r--program/steps/settings/func.inc46
1 files changed, 23 insertions, 23 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index 8feeda17f..64fc8b05c 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -838,29 +838,29 @@ function rcmail_user_prefs($current = null)
}
if (!isset($no_override['default_font'])) {
- // Default font size
- $field_id = 'rcmfd_default_font_size';
- $select_default_font_size = new html_select(array('name' => '_default_font_size', 'id' => $field_id));
-
- $fontsizes = array('8pt', '10pt', '12pt', '14pt', '18pt', '24pt', '36pt');
- foreach ($fontsizes as $size) {
- $select_default_font_size->add($size, $size);
- }
-
- // Default font
- $field_id = 'rcmfd_default_font';
- $select_default_font = new html_select(array('name' => '_default_font', 'id' => $field_id));
-
- $fonts = rcube_fontdefs();
- foreach ($fonts as $fname => $font) {
- $select_default_font->add($fname, $fname);
- }
-
- $blocks['main']['options']['default_font'] = array(
- 'title' => html::label($field_id, Q(rcube_label('defaultfont'))),
- 'content' => $select_default_font_size->show($RCMAIL->config->get('default_font_size', 1)).
- $select_default_font->show($RCMAIL->config->get('default_font', 1))
- );
+ // Default font size
+ $field_id = 'rcmfd_default_font_size';
+ $select_default_font_size = new html_select(array('name' => '_default_font_size', 'id' => $field_id));
+
+ $fontsizes = array('8pt', '10pt', '12pt', '14pt', '18pt', '24pt', '36pt');
+ foreach ($fontsizes as $size) {
+ $select_default_font_size->add($size, $size);
+ }
+
+ // Default font
+ $field_id = 'rcmfd_default_font';
+ $select_default_font = new html_select(array('name' => '_default_font', 'id' => $field_id));
+
+ $fonts = rcube_fontdefs();
+ foreach ($fonts as $fname => $font) {
+ $select_default_font->add($fname, $fname);
+ }
+
+ $blocks['main']['options']['default_font'] = array(
+ 'title' => html::label($field_id, Q(rcube_label('defaultfont'))),
+ 'content' => $select_default_font_size->show($RCMAIL->config->get('default_font_size', 1)).
+ $select_default_font->show($RCMAIL->config->get('default_font', 1))
+ );
}
break;