| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: disknode.inc,v 1.1.6.10 2007/11/11 15:13:41 mooffie Exp $ |
// $Id: disknode.inc,v 1.1.6.11 2007/11/18 14:32:29 mooffie Exp $ |
| 4 |
|
|
| 5 |
/** |
/** |
| 6 |
* Drupal version independed code |
* Drupal version independed code |
| 117 |
), 'download'); |
), 'download'); |
| 118 |
$counter = t('Downloads: @counter', array('@counter' => $file->downloads)); |
$counter = t('Downloads: @counter', array('@counter' => $file->downloads)); |
| 119 |
$size = format_size($file->filesize); |
$size = format_size($file->filesize); |
| 120 |
$link = "$counter $link ($size)"; |
$link = "$counter | $link ($size)"; |
| 121 |
} else { |
} else { |
| 122 |
// When printing a link which is one of many, use the format: |
// When printing a link which is one of many, use the format: |
| 123 |
// file.pdf (56 download | 5 KB) |
// file.pdf (56 download | 5 KB) |