From bd988386c90a8db9071b2509e2a8488dc7c2b5d6 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 8 Dec 2022 13:17:00 +0100 Subject: [PATCH] Add more textsize as options and change the default to a bigger size --- preferences/inc/class.preferences_hooks.inc.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/preferences/inc/class.preferences_hooks.inc.php b/preferences/inc/class.preferences_hooks.inc.php index 4c98ead663..7610bdedbf 100644 --- a/preferences/inc/class.preferences_hooks.inc.php +++ b/preferences/inc/class.preferences_hooks.inc.php @@ -133,10 +133,11 @@ class preferences_hooks $textsize = array ( - '10' => lang('small'), - '12' => lang('standard'), - '14' => lang('large'), - '16' => lang('x-large') + '10' => lang('x-small'), + '12' => lang('small'), + '14' => lang('standard'), + '16' => lang('large'), + '18' => lang('x-large') ); // Settings array for this app @@ -163,7 +164,7 @@ class preferences_hooks 'help' => lang('It sets content size (text only) according to selected size.'), 'xmlrpc' => True, 'values' => $textsize, - 'default' => '12', + 'default' => '14', 'admin' => False, ), 'lazy-update' => array(