Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php
/**
* Template für die Anzeige der Bestelluploads innerhalb des Bestellbackend
*/
?>
<div class="postbox" id="wpsg_modorderupload">
<div title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>" class="handlediv"><br></div>
<h3 class="hndle">
<span><?php echo __('Bestelluploads', 'wpsg'); ?></span>
</h3>
<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>
</div>