6220 |
hartmut |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Anzeige der Bestelluploads innerhalb des Bestellbackend
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
<div class="postbox" id="wpsg_modorderupload">
|
|
|
9 |
<div title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br></div>
|
|
|
10 |
<h3 class="hndle">
|
|
|
11 |
<span><?php echo __('Bestelluploads', 'wpsg'); ?></span>
|
|
|
12 |
</h3>
|
|
|
13 |
<div class="inside">
|
|
|
14 |
<?php if (!wpsg_isSizedArray($this->view['arFiles'])) { ?>
|
|
|
15 |
<p class="wpsg_checkout_orderupload_backend">
|
|
|
16 |
<?php echo __('Keine Dateien hochgeladen.', 'wpsg'); ?>
|
|
|
17 |
</p>
|
|
|
18 |
<?php } else { ?>
|
|
|
19 |
<?php foreach ($this->view['arFiles'] as $f) { ?>
|
|
|
20 |
<p class="wpsg_checkout_orderupload_backend">
|
|
|
21 |
<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 />
|
|
|
22 |
<span class="wpsg_checkout_orderupload_backend_weight">(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)</span>
|
|
|
23 |
</p>
|
|
|
24 |
<?php } ?>
|
|
|
25 |
<?php } ?>
|
|
|
26 |
</div>
|
|
|
27 |
</div>
|