cvs: pear /HTML_Progress2/examples/ajax/upload MyUploadProgressMeterStatus.class.php

[email protected] ("Laurent Laville")
Newsgroups php.pear.cvs
Message-ID <cvsfarell1208816897@cvsserver>
farell		Mon Apr 21 22:28:17 2008 UTC

  Modified files:              
    /pear/HTML_Progress2/examples/ajax/upload	
                                             	MyUploadProgressMeterStatus.class.php 
  Log:
  for examples/ajax/upload/upm5_upload.php script: remove current filename when reach 100%
  
http://cvs.php.net/viewvc.cgi/pear/HTML_Progress2/examples/ajax/upload/MyUploadProgressMeterStatus.class.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/HTML_Progress2/examples/ajax/upload/MyUploadProgressMeterStatus.class.php
diff -u pear/HTML_Progress2/examples/ajax/upload/MyUploadProgressMeterStatus.class.php:1.1 pear/HTML_Progress2/examples/ajax/upload/MyUploadProgressMeterStatus.class.php:1.2
--- pear/HTML_Progress2/examples/ajax/upload/MyUploadProgressMeterStatus.class.php:1.1	Mon Feb 12 15:28:20 2007
+++ pear/HTML_Progress2/examples/ajax/upload/MyUploadProgressMeterStatus.class.php	Mon Apr 21 22:28:17 2008
@@ -2,7 +2,7 @@
 /**
  * Custom backend example of AJAX file upload with HTML_Progress2, PHP 5.2+ and APC
  *
- * @version    $Id: MyUploadProgressMeterStatus.class.php,v 1.1 2007/02/12 15:28:20 farell Exp $
+ * @version    $Id: MyUploadProgressMeterStatus.class.php,v 1.2 2008/04/21 22:28:17 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_Progress2
  * @subpackage Examples
@@ -33,6 +33,7 @@
         $ret = parent::getStatus($uplId);
         if (is_array($ret) && $ret['percentage'] == 100) {
             $ret['labels']['percentStatus'] = 'Upload done !';
+            $ret['labels']['fileName']      = '';
         }
         return $ret;
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.