R36463 - /branches/1.8/filemanager/inc/class.filemanager_ui.inc.php

Author: ralfbecker
New Revision: 36463

URL: http://svn.stylite.de/viewvc/egroupware?rev=36463&view=rev
Log:

  • Filemanager: fixed not working rename of file, if path contains a # or ?

Modified:
branches/1.8/filemanager/inc/class.filemanager_ui.inc.php

Modified: branches/1.8/filemanager/inc/class.filemanager_ui.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/branches/1.8/filemanager/inc/class.filemanager_ui.inc.php?rev=36463&r1=36462&r2=36463&view=diff

— branches/1.8/filemanager/inc/class.filemanager_ui.inc.php (original)
+++ branches/1.8/filemanager/inc/class.filemanager_ui.inc.php Wed Sep 7 09:49:07 2011
@@ -726,7 +726,7 @@
{
if ($name == ‘name’)
{

  •   					$to = egw_vfs::concat($content['dir'],$content['name']);
    
  •   					$to = egw_vfs::concat(egw_vfs::dirname($path),$content['name']);
      					if (file_exists(egw_vfs::PREFIX.$to) && $content['confirm_overwrite'] !== $to)
      					{
      						$tpl->set_validation_error('name',lang("There's already a file with that name!").'<br />'.
    

@@ -867,7 +867,7 @@
$readonlys[‘perms[’.$name.’]’] = true;
}
}

  •   $readonlys['name'] = $path == '/' || !egw_vfs::is_writable($content['dir']);
    
  •   $readonlys['name'] = $path == '/' || !egw_vfs::is_writable(egw_vfs::dirname($path));
      $readonlys['comment'] = !egw_vfs::is_writable($path);
      $readonlys['tabs']['preview'] = $readonlys['tabs']['perms'] = $content['is_link'];
    

Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/


eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs