From bc32563b23a59ea5ddb0dd7100f21482e568c1f8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 13 May 2010 11:59:16 +0000 Subject: [PATCH] allow to supply $readonlys with extra_info --- filemanager/inc/class.filemanager_ui.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 0caaa37e58..9efecf6bf2 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -998,6 +998,10 @@ class filemanager_ui { $content += $extra_tab['data']; } + if ($extra_tab['readonlys'] && is_array($extra_tab['readonlys'])) + { + $readonlys += $extra_tab['readonlys']; + } } $GLOBALS['egw_info']['flags']['java_script'] = "\n"; $GLOBALS['egw_info']['flags']['app_header'] = lang('Preferences').' '.urldecode($path);