Show
Ignore:
Timestamp:
06/04/08 01:37:02 (6 months ago)
Author:
rats
Message:

* Updated net2ftp to version 0.97
* Updated SquirrelMail to version 1.4.15

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gui/tools/filemanager/modules/newdir/newdir.inc.php

    r1163 r1198  
    33//   ------------------------------------------------------------------------------- 
    44//  |                  net2ftp: a web based FTP client                              | 
    5 //  |              Copyright (c) 2003-2007 by David Gartner                         | 
     5//  |              Copyright (c) 2003-2008 by David Gartner                         | 
    66//  |                                                                               | 
    77//  | This program is free software; you can redistribute it and/or                 | 
     
    103103// **                                                                                  ** 
    104104 
    105 function net2ftp_module_printBodyonload() { 
     105function net2ftp_module_printBodyOnload() { 
    106106 
    107107// -------------- 
     
    112112//      echo ""; 
    113113 
    114 } // end net2ftp_printBodyonload 
     114} // end net2ftp_printBodyOnload 
    115115 
    116116// **                                                                                  ** 
     
    142142        else                                   { $newNames = ""; } 
    143143 
     144// Keep track of the number of errors, warnings and notices 
     145        $net2ftp_output[0]["errors"] = 0; 
     146        $net2ftp_output[0]["warnings"] = 0; 
     147        $net2ftp_output[0]["notices"] = 0; 
    144148 
    145149// ------------------------------------------------------------------------- 
     
    185189                                if ($net2ftp_result["success"] == false)  {  
    186190                                        setErrorVars(true, "", "", "", ""); // Continue anyway 
    187                                         $net2ftp_output["newdir"][] = __("Directory <b>%1\$s</b> could not be created.", htmlEncode2($newNames[$k]));  
     191                                        $message = __("Directory <b>%1\$s</b> could not be created.", htmlEncode2($newNames[$k])); 
     192                                        $net2ftp_output[] = array("number" => $k, "message" => $message, "type" => "error"); 
     193                                        $net2ftp_output[0]["errors"]++; 
    188194                                } 
    189195                                else                                      {  
    190                                         $net2ftp_output["newdir"][] = __("Directory <b>%1\$s</b> was successfully created.", htmlEncode2($newNames[$k]));  
     196                                        $message = __("Directory <b>%1\$s</b> was successfully created.", htmlEncode2($newNames[$k])); 
     197                                        $net2ftp_output[] = array("number" => $k, "message" => $message, "type" => "notice"); 
     198                                        $net2ftp_output[0]["notices"]++; 
    191199                                } 
    192200                        } // End if