From 08c409fdadeae2f4cb226059dcf366d5a7ba89fd Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 27 Aug 2014 09:06:20 +0000 Subject: [PATCH] disable homepage preferences, until we have a home-page again --- addressbook/inc/class.addressbook_hooks.inc.php | 3 ++- calendar/inc/class.calendar_hooks.inc.php | 3 ++- infolog/inc/class.infolog_hooks.inc.php | 5 ++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/addressbook/inc/class.addressbook_hooks.inc.php b/addressbook/inc/class.addressbook_hooks.inc.php index 5f818adc77..17880b046b 100644 --- a/addressbook/inc/class.addressbook_hooks.inc.php +++ b/addressbook/inc/class.addressbook_hooks.inc.php @@ -116,6 +116,7 @@ class addressbook_hooks ); if ($GLOBALS['egw_info']['server']['hide_birthdays'] != 'yes') // calendar config { + /* disabled until we have a home app again $settings['mainscreen_showbirthdays'] = array( 'type' => 'select', 'label' => 'Show birthday reminders on main screen', @@ -131,7 +132,7 @@ class addressbook_hooks 'xmlrpc' => True, 'admin' => False, 'default'=> 3, - ); + );*/ } if ($GLOBALS['egw_info']['server']['contact_repository'] != 'ldap') { diff --git a/calendar/inc/class.calendar_hooks.inc.php b/calendar/inc/class.calendar_hooks.inc.php index b1a3a2ba3c..ec1d682360 100644 --- a/calendar/inc/class.calendar_hooks.inc.php +++ b/calendar/inc/class.calendar_hooks.inc.php @@ -284,6 +284,7 @@ class calendar_hooks 'xmlrpc' => False, 'admin' => False ), + /* disabled until we have a home app again 'mainscreen_showevents' => array( 'type' => 'select', 'label' => 'Which view to show on home page', @@ -293,7 +294,7 @@ class calendar_hooks 'xmlrpc' => True, 'admin' => False, 'default'=> '1', // 1 = week - ), + ),*/ 'days_in_weekview' => array( 'type' => 'select', 'label' => 'default week view', diff --git a/infolog/inc/class.infolog_hooks.inc.php b/infolog/inc/class.infolog_hooks.inc.php index 79fb3bbd50..d47d3d3a73 100644 --- a/infolog/inc/class.infolog_hooks.inc.php +++ b/infolog/inc/class.infolog_hooks.inc.php @@ -183,6 +183,7 @@ class infolog_hooks 'admin' => False, 'default'=> '', ), + /* disabled until we have a home app again 'homeShowEvents' => array( 'type' => 'select', 'label' => 'InfoLog filter for the main screen', @@ -192,7 +193,7 @@ class infolog_hooks 'xmlrpc' => True, 'admin' => False, 'default'=> 'responsible-open-today', - ), + ),*/ 'set_start' => array( 'type' => 'select', 'label' => 'Startdate for new entries', @@ -362,8 +363,6 @@ class infolog_hooks // Merge print if ($GLOBALS['egw_info']['user']['apps']['filemanager']) { - $link = egw::link('/index.php','menuaction=infolog.infolog_merge.show_replacements'); - $settings['default_document'] = array( 'type' => 'vfs_file', 'size' => 60,