mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
"remove some not used code"
This commit is contained in:
parent
71a7c20326
commit
867adfaa11
@ -406,17 +406,7 @@ class filemanager_ui
|
|||||||
switch($action)
|
switch($action)
|
||||||
{
|
{
|
||||||
case 'mail':
|
case 'mail':
|
||||||
$link = egw::link('/index.php',array(
|
throw new egw_exception_assertion_failed('Implemented on clientside!');
|
||||||
'menuaction' => 'felamimail.uicompose.compose',
|
|
||||||
));
|
|
||||||
foreach($selected as $path)
|
|
||||||
{
|
|
||||||
$link .= '&preset[file][]=vfs://default'.$path;
|
|
||||||
}
|
|
||||||
$GLOBALS['egw_info']['flags']['java_script'] .= "<script>\n\talert(\"egw_openWindowCentered2('$link', '_blank', '700', '800', 'yes');\");\n</script>\n";
|
|
||||||
//$GLOBALS['egw_info']['flags']['java_script'] .= "<script>\n\talert('hi ralf!');\n\tegw_openWindowCentered2('$link', '_blank', '700', '800', 'yes');\n\talert('hi ralf!');\n</script>\n";
|
|
||||||
//$GLOBALS['egw_info']['flags']['java_script'] .= "<script>alert('hi ralf!');</script>\n";
|
|
||||||
return '';
|
|
||||||
|
|
||||||
case 'delete':
|
case 'delete':
|
||||||
$dirs = $files = $errs = 0;
|
$dirs = $files = $errs = 0;
|
||||||
@ -965,7 +955,6 @@ class filemanager_ui
|
|||||||
array_unshift($content['eacl'],false); // make the keys start with 1, not 0
|
array_unshift($content['eacl'],false); // make the keys start with 1, not 0
|
||||||
$content['eacl']['owner'] = 0;
|
$content['eacl']['owner'] = 0;
|
||||||
$content['eacl']['rights'] = 5;
|
$content['eacl']['rights'] = 5;
|
||||||
//unset($sel_options['rights'][0]); // there's no "No access" for eACL, as you can only add rights
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user