Add audio effect into the common preferences in order to be able to disable/enable audio effects used in theme

-Add the audio effect into common preferences -> feel and look
-Add audio effect on mobile theme's menu toggle
-Make mobile theme's menu swipe toggle more sensible
This commit is contained in:
Hadi Nategh 2014-12-15 10:00:57 +00:00
parent b5d4177bde
commit c31e051891
2 changed files with 15 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -148,6 +148,16 @@ class preferences_hooks
'admin' => False,
'forced' => file_exists(EGW_SERVER_ROOT.'/pixelegg') ? 'pixelegg' : 'idots',
),
'audio_effect'=> array(
'type' => 'select',
'label' => 'Audio effect',
'name' => 'audio_effect',
'values' => array('0'=>lang('Disable'),'1'=>lang('Enable')),
'help' => 'Audio effect enables|disables sound effects used in the theme',
'xmlrpc' => True,
'admin' => False,
'default' => '1',
),
'navbar_format' => array(
'type' => 'select',
'label' => 'Show navigation bar as',