Changeset 1546 for branches/3.0
- Timestamp:
- 12/03/2006 04:44:38 PM (2 years ago)
- Location:
- branches/3.0/framework
- Files:
-
- 2 modified
-
I18N/core/MessageSource_XLIFF.php (modified) (1 diff)
-
Web/TAssetManager.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/framework/I18N/core/MessageSource_XLIFF.php
r1527 r1546 288 288 $body = $xpath->query('//body')->item(0); 289 289 290 $count = $xpath->query('//trans-unit')->length; 290 $lastNodes = $xpath->query('//trans-unit[last()]'); 291 if(($last=$lastNodes->item(0))!==null) 292 $count = intval($last->getAttribute('id')); 293 else 294 $count = 0; 291 295 292 296 //for each message add it to the XML file using DOM -
branches/3.0/framework/Web/TAssetManager.php
r1529 r1546 252 252 * @todo a generic solution to ignore certain directories and files 253 253 */ 254 p rotectedfunction copyDirectory($src,$dst)254 public function copyDirectory($src,$dst) 255 255 { 256 256 if(!is_dir($dst))
