disable homepage preferences, until we have a home-page again

This commit is contained in:
Ralf Becker 2014-08-27 09:06:52 +00:00
parent 03c9a3d6cf
commit 304e34f1ec
3 changed files with 6 additions and 5 deletions

View File

@ -116,6 +116,7 @@ class addressbook_hooks
); );
if ($GLOBALS['egw_info']['server']['hide_birthdays'] != 'yes') // calendar config if ($GLOBALS['egw_info']['server']['hide_birthdays'] != 'yes') // calendar config
{ {
/* disabled until we have a home app again
$settings['mainscreen_showbirthdays'] = array( $settings['mainscreen_showbirthdays'] = array(
'type' => 'select', 'type' => 'select',
'label' => 'Show birthday reminders on main screen', 'label' => 'Show birthday reminders on main screen',
@ -131,7 +132,7 @@ class addressbook_hooks
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False, 'admin' => False,
'default'=> 3, 'default'=> 3,
); );*/
} }
if ($GLOBALS['egw_info']['server']['contact_repository'] != 'ldap') if ($GLOBALS['egw_info']['server']['contact_repository'] != 'ldap')
{ {

View File

@ -284,6 +284,7 @@ class calendar_hooks
'xmlrpc' => False, 'xmlrpc' => False,
'admin' => False 'admin' => False
), ),
/* disabled until we have a home app again
'mainscreen_showevents' => array( 'mainscreen_showevents' => array(
'type' => 'select', 'type' => 'select',
'label' => 'Which view to show on home page', 'label' => 'Which view to show on home page',
@ -293,7 +294,7 @@ class calendar_hooks
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False, 'admin' => False,
'default'=> '1', // 1 = week 'default'=> '1', // 1 = week
), ),*/
'days_in_weekview' => array( 'days_in_weekview' => array(
'type' => 'select', 'type' => 'select',
'label' => 'default week view', 'label' => 'default week view',

View File

@ -183,6 +183,7 @@ class infolog_hooks
'admin' => False, 'admin' => False,
'default'=> '', 'default'=> '',
), ),
/* disabled until we have a home app again
'homeShowEvents' => array( 'homeShowEvents' => array(
'type' => 'select', 'type' => 'select',
'label' => 'InfoLog filter for the main screen', 'label' => 'InfoLog filter for the main screen',
@ -192,7 +193,7 @@ class infolog_hooks
'xmlrpc' => True, 'xmlrpc' => True,
'admin' => False, 'admin' => False,
'default'=> 'responsible-open-today', 'default'=> 'responsible-open-today',
), ),*/
'set_start' => array( 'set_start' => array(
'type' => 'select', 'type' => 'select',
'label' => 'Startdate for new entries', 'label' => 'Startdate for new entries',
@ -362,8 +363,6 @@ class infolog_hooks
// Merge print // Merge print
if ($GLOBALS['egw_info']['user']['apps']['filemanager']) if ($GLOBALS['egw_info']['user']['apps']['filemanager'])
{ {
$link = egw::link('/index.php','menuaction=infolog.infolog_merge.show_replacements');
$settings['default_document'] = array( $settings['default_document'] = array(
'type' => 'vfs_file', 'type' => 'vfs_file',
'size' => 60, 'size' => 60,