mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
update to new prefs-style, the old one is not working for templates
This commit is contained in:
parent
afa3e63895
commit
c7683e5dbc
@ -11,46 +11,80 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
|
$start_and_logout_icons = array(
|
||||||
|
'yes' => lang('yes'),
|
||||||
|
'no' => lang('no')
|
||||||
|
);
|
||||||
$click_or_onmouseover = array(
|
$click_or_onmouseover = array(
|
||||||
'click' => lang('Click'),
|
'click' => lang('Click'),
|
||||||
'onmouseover' => lang('On Mouse Over')
|
'onmouseover' => lang('On Mouse Over')
|
||||||
);
|
);
|
||||||
|
|
||||||
create_section('Preferences for the jerryr template set');
|
$GLOBALS['settings'] = array(
|
||||||
|
'prefssection' => array(
|
||||||
create_input_box(
|
'type' => 'section',
|
||||||
'Max number of icons in navbar',
|
'title' => 'Preferences for the jerry template set',
|
||||||
'max_icons',
|
'xmlrpc' => False,
|
||||||
'How many icons should be shown in the navbar (top of the page). Additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar.','10',3
|
'admin' => False
|
||||||
);
|
),
|
||||||
|
'start_and_logout_icons' => array(
|
||||||
create_check_box(
|
'type' => 'select',
|
||||||
'Autohide Sidebox menu\'s',
|
'label' => 'Show home and logout button in main application bar?',
|
||||||
'auto_hide_sidebox',
|
'name' => 'start_and_logout_icons',
|
||||||
'Automatically hide the Sidebox menu\'s?'
|
'values' => $start_and_logout_icons,
|
||||||
);
|
'help' => 'When you say yes the home and logout buttons are presented as applications in the main top applcation bar.',
|
||||||
|
'xmlrpc' => False,
|
||||||
create_select_box(
|
'admin' => False
|
||||||
'Click or Mouse Over to show menus',
|
),
|
||||||
'click_or_onmouseover',
|
'max_icons' => array(
|
||||||
$click_or_onmouseover,
|
'type' => 'input',
|
||||||
'Click or Mouse Over to show menus?'
|
'label' => 'Max number of icons in navbar',
|
||||||
);
|
'name' => 'max_icons',
|
||||||
|
'help' => 'How many icons should be shown in the navbar (top of the page). Additional icons go into a kind of pulldown menu, callable by the icon on the far right side of the navbar.',
|
||||||
create_check_box(
|
'default' => '',
|
||||||
'Disable slider effects',
|
'size' => 3,
|
||||||
'disable_slider_effects',
|
'xmlrpc' => False,
|
||||||
'Disable the animated slider effects when showing or hiding menus in the page? Opera and Konqueror users will probably must want this.'
|
'admin' => False
|
||||||
);
|
),
|
||||||
|
'auto_hide_sidebox' => array(
|
||||||
create_check_box(
|
'type' => 'check',
|
||||||
'Disable Internet Explorer png-image-bugfix',
|
'label' => 'Autohide Sidebox menu\'s',
|
||||||
'disable_pngfix',
|
'name' => 'auto_hide_sidebox',
|
||||||
'Disable the execution a bugfixscript for Internet Explorer 5.5 and higher to show transparency in PNG-images?'
|
'help' => 'Automatically hide the Sidebox menu\'s?',
|
||||||
);
|
'xmlrpc' => False,
|
||||||
|
'admin' => False
|
||||||
create_check_box(
|
),
|
||||||
'Show page generation time',
|
'click_or_onmouseover' => array(
|
||||||
'show_generation_time',
|
'type' => 'select',
|
||||||
'Show page generation time on the bottom of the page?'
|
'label' => 'Click or Mouse Over to show menus',
|
||||||
|
'name' => 'click_or_onmouseover',
|
||||||
|
'values' => $click_or_onmouseover,
|
||||||
|
'help' => 'Click or Mouse Over to show menus?',
|
||||||
|
'xmlrpc' => False,
|
||||||
|
'admin' => False
|
||||||
|
),
|
||||||
|
'disable_slider_effects' => array(
|
||||||
|
'type' => 'check',
|
||||||
|
'label' => 'Disable slider effects',
|
||||||
|
'name' => 'disable_slider_effects',
|
||||||
|
'help' => 'Disable the animated slider effects when showing or hiding menus in the page? Opera and Konqueror users will probably must want this.',
|
||||||
|
'xmlrpc' => False,
|
||||||
|
'admin' => False
|
||||||
|
),
|
||||||
|
'disable_pngfix' => array(
|
||||||
|
'type' => 'check',
|
||||||
|
'label' => 'Disable Internet Explorer png-image-bugfix',
|
||||||
|
'name' => 'disable_pngfix',
|
||||||
|
'help' => 'Disable the execution a bugfixscript for Internet Explorer 5.5 and higher to show transparency in PNG-images?',
|
||||||
|
'xmlrpc' => False,
|
||||||
|
'admin' => False
|
||||||
|
),
|
||||||
|
'show_generation_time' => array(
|
||||||
|
'type' => 'check',
|
||||||
|
'label' => 'Show page generation time',
|
||||||
|
'name' => 'show_generation_time',
|
||||||
|
'help' => 'Show page generation time on the bottom of the page?',
|
||||||
|
'xmlrpc' => False,
|
||||||
|
'admin' => False
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user