Author: Tobias Schlitt
Date: 2006-01-16 13:11:28 +0100 (Mon, 16 Jan 2006)
New Revision: 1917

Log:
- Added padding to size value of ezcArchiveEntry in the __toString() method.

Modified:
   packages/Archive/trunk/src/archive_entry.php

Modified: packages/Archive/trunk/src/archive_entry.php
===================================================================
--- packages/Archive/trunk/src/archive_entry.php        2006-01-16 11:10:49 UTC 
(rev 1916)
+++ packages/Archive/trunk/src/archive_entry.php        2006-01-16 12:11:28 UTC 
(rev 1917)
@@ -435,7 +435,7 @@
         $out .= " ";
         $out .= $this->getUserId() . " ";
         $out .= $this->getGroupId() ." ";
-        $out .= $this->getSize() ." ";
+        $out .= str_pad( $this->getSize(), 7, " ", STR_PAD_LEFT )." ";
         $out .= date( "Y-m-d H:i:s ", $this->getModificationTime() );
         $out .= $this->getPath();
 

-- 
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components

Reply via email to