6220 |
hartmut |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Anzeige der Bestelluploads innerhalb des Bestellbackend
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
6232 |
hartmut |
8 |
|
|
|
9 |
<?php if ($this->hasMod('wpsg_mod_orderupload')) { ?>
|
|
|
10 |
<?php echo wpsg_drawForm_AdminboxStart(__('Bestelluploads', 'wpsg')); ?>
|
|
|
11 |
|
|
|
12 |
<div class="inside">
|
|
|
13 |
<?php if (!wpsg_isSizedArray($this->view['arFiles'])) { ?>
|
|
|
14 |
<p class="wpsg_checkout_orderupload_backend">
|
|
|
15 |
<?php echo __('Keine Dateien hochgeladen.', 'wpsg'); ?>
|
|
|
16 |
</p>
|
|
|
17 |
<?php } else { ?>
|
|
|
18 |
<?php foreach ($this->view['arFiles'] as $f) { ?>
|
|
|
19 |
<p class="wpsg_checkout_orderupload_backend">
|
|
|
20 |
<a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=view&edit_id=<?php echo $this->view['data']['id']; ?>&noheader=1&action=ajax&mod=wpsg_mod_orderupload&wpsg_mod_orderupload_download=<?php echo rawurlencode($f); ?>"><?php echo $f; ?></a><br />
|
|
|
21 |
<span class="wpsg_checkout_orderupload_backend_weight">(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)</span>
|
|
|
22 |
</p>
|
|
|
23 |
<?php } ?>
|
|
|
24 |
<?php } ?>
|
|
|
25 |
</div>
|
|
|
26 |
|
|
|
27 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
|
|
28 |
<?php } ?>
|