Rev 6220 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
/**
* Template für die Anzeige der Bestelluploads innerhalb des Bestellbackend
*/
?>
<?php if ($this->hasMod('wpsg_mod_orderupload')) { ?>
<?php echo wpsg_drawForm_AdminboxStart(__('Bestelluploads', 'wpsg')); ?>
<div class="inside">
<?php if (!wpsg_isSizedArray($this->view['arFiles'])) { ?>
<p class="wpsg_checkout_orderupload_backend">
<?php echo __('Keine Dateien hochgeladen.', 'wpsg'); ?>
</p>
<?php } else { ?>
<?php foreach ($this->view['arFiles'] as $f) { ?>
<p class="wpsg_checkout_orderupload_backend">
<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 />
<span class="wpsg_checkout_orderupload_backend_weight">(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)</span>
</p>
<?php } ?>
<?php } ?>
</div>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
<?php } ?>