forked from extern/egroupware
60b9285d71
implement topmenu in idots template set add idots preference to enable topmenu add idots preference to disable general sidebox menu some cleanups in idots framework class some cleanups in egw_framework
109 lines
3.8 KiB
PHP
109 lines
3.8 KiB
PHP
<?php
|
|
/**************************************************************************\
|
|
* eGroupWare - Preferences *
|
|
* http://www.eGroupWare.org *
|
|
* -------------------------------------------- *
|
|
* This program is free software; you can redistribute it and/or modify it *
|
|
* under the terms of the GNU General Public License as published by the *
|
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
|
* option) any later version. *
|
|
\**************************************************************************/
|
|
|
|
/* $Id$ */
|
|
|
|
$yes_no = array(
|
|
'yes' => lang('yes'),
|
|
'no' => lang('no')
|
|
);
|
|
$click_or_onmouseover = array(
|
|
'click' => lang('Click'),
|
|
'onmouseover' => lang('On Mouse Over')
|
|
);
|
|
|
|
$GLOBALS['settings'] = array(
|
|
'prefssection' => array(
|
|
'type' => 'section',
|
|
'title' => 'Preferences for the idots template set',
|
|
'xmlrpc' => False,
|
|
'admin' => False
|
|
),
|
|
'show_top_menu' => array(
|
|
'type' => 'select',
|
|
'label' => 'Show egroupware top menu?',
|
|
'name' => 'show_top_menu',
|
|
'values' => $yes_no,
|
|
'help' => 'When you say yes a top menu is rendered.',
|
|
'xmlrpc' => False,
|
|
'admin' => False
|
|
),
|
|
'show_general_sideboxmenu' => array(
|
|
'type' => 'select',
|
|
'label' => 'Show general sidebox menu?',
|
|
'name' => 'show_general_sideboxmenu',
|
|
'values' => $yes_no,
|
|
'help' => 'When you say yes the first sidebox is contains general egroupware items.',
|
|
'xmlrpc' => False,
|
|
'admin' => False
|
|
),
|
|
'start_and_logout_icons' => array(
|
|
'type' => 'select',
|
|
'label' => 'Show home and logout button in main application bar?',
|
|
'name' => 'start_and_logout_icons',
|
|
'values' => $yes_no,
|
|
'help' => 'When you say yes the home and logout buttons are presented as applications in the main top applcation bar.',
|
|
'xmlrpc' => False,
|
|
'admin' => False
|
|
),
|
|
'max_icons' => array(
|
|
'type' => 'input',
|
|
'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.',
|
|
'default' => '',
|
|
'size' => 3,
|
|
'xmlrpc' => False,
|
|
'admin' => False
|
|
),
|
|
'auto_hide_sidebox' => array(
|
|
'type' => 'check',
|
|
'label' => 'Autohide Sidebox menu\'s',
|
|
'name' => 'auto_hide_sidebox',
|
|
'help' => 'Automatically hide the Sidebox menu\'s?',
|
|
'xmlrpc' => False,
|
|
'admin' => False
|
|
),
|
|
'click_or_onmouseover' => array(
|
|
'type' => 'select',
|
|
'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
|
|
)
|
|
);
|