mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
Move content size preference into look & feel section
This commit is contained in:
parent
7ba571b710
commit
9f33ebf782
@ -39,13 +39,6 @@ $colors = array(
|
||||
'#b4b4b4' => lang('Gray'),
|
||||
);
|
||||
|
||||
$textsize = array (
|
||||
'10' => lang('small'),
|
||||
'12' => lang('standard'),
|
||||
'14' => lang('large'),
|
||||
'16' => lang('x-large')
|
||||
);
|
||||
|
||||
asort($colors);
|
||||
$colors['custom'] = lang('Custom color'); // custom allways last
|
||||
$template_colors = array();
|
||||
@ -138,17 +131,6 @@ $GLOBALS['settings'] = array(
|
||||
'xmlrpc' => False,
|
||||
'admin' => False,
|
||||
),
|
||||
'textsize' => array(
|
||||
'type' => 'select',
|
||||
'label' => 'Set content size',
|
||||
'no_lang' => true,
|
||||
'name' => 'textsize',
|
||||
'help' => lang('It sets content size (text only) according to selected size.'),
|
||||
'xmlrpc' => True,
|
||||
'values' => $textsize,
|
||||
'default' => '12',
|
||||
'admin' => False,
|
||||
),
|
||||
'navbar_format' => false, // not used in JDots (defined in common prefs)
|
||||
'default_app' => false, // not used in JDots, as we can have multiple tabs open ...
|
||||
);
|
||||
|
@ -131,6 +131,14 @@ class preferences_hooks
|
||||
$font_size_options = Api\Etemplate\Widget\HtmlArea::$font_size_options;
|
||||
}
|
||||
|
||||
|
||||
$textsize = array (
|
||||
'10' => lang('small'),
|
||||
'12' => lang('standard'),
|
||||
'14' => lang('large'),
|
||||
'16' => lang('x-large')
|
||||
);
|
||||
|
||||
// Settings array for this app
|
||||
$settings = array(
|
||||
array(
|
||||
@ -147,6 +155,17 @@ class preferences_hooks
|
||||
'admin' => False,
|
||||
'forced' => 20, // hidden as not used in eTemplate2
|
||||
),
|
||||
'textsize' => array(
|
||||
'type' => 'select',
|
||||
'label' => 'Set content size',
|
||||
'no_lang' => true,
|
||||
'name' => 'textsize',
|
||||
'help' => lang('It sets content size (text only) according to selected size.'),
|
||||
'xmlrpc' => True,
|
||||
'values' => $textsize,
|
||||
'default' => '12',
|
||||
'admin' => False,
|
||||
),
|
||||
'lazy-update' => array(
|
||||
'type' => 'select',
|
||||
'label' => 'How to update lists',
|
||||
|
Loading…
Reference in New Issue
Block a user