If appname is passed in on URL, make appname read-only

This commit is contained in:
Nathan Gray 2011-03-24 15:17:15 +00:00
parent c2f1340075
commit 89905fe2e8

View File

@ -83,6 +83,8 @@
$data['message'] = $this->message; $data['message'] = $this->message;
$GLOBALS['egw']->js->validate_file('.','importexport','importexport'); $GLOBALS['egw']->js->validate_file('.','importexport','importexport');
if($_GET['appname']) $readonlys['appname'] = true;
$template = new etemplate('importexport.import_dialog'); $template = new etemplate('importexport.import_dialog');
$template->exec('importexport.importexport_import_ui.import_dialog', $data, $sel_options, $readonlys, $preserve, 2); $template->exec('importexport.importexport_import_ui.import_dialog', $data, $sel_options, $readonlys, $preserve, 2);
} }