Add more textsize as options and change the default to a bigger size

This commit is contained in:
Hadi Nategh 2022-12-08 13:17:00 +01:00
parent 06cb34974a
commit bd988386c9

View File

@ -133,10 +133,11 @@ class preferences_hooks
$textsize = array ( $textsize = array (
'10' => lang('small'), '10' => lang('x-small'),
'12' => lang('standard'), '12' => lang('small'),
'14' => lang('large'), '14' => lang('standard'),
'16' => lang('x-large') '16' => lang('large'),
'18' => lang('x-large')
); );
// Settings array for this app // Settings array for this app
@ -163,7 +164,7 @@ class preferences_hooks
'help' => lang('It sets content size (text only) according to selected size.'), 'help' => lang('It sets content size (text only) according to selected size.'),
'xmlrpc' => True, 'xmlrpc' => True,
'values' => $textsize, 'values' => $textsize,
'default' => '12', 'default' => '14',
'admin' => False, 'admin' => False,
), ),
'lazy-update' => array( 'lazy-update' => array(