1379 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Liste der Dateien im Backend
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
<?php if (!wpsg_isSizedArray($this->view['files'])) { ?>
|
|
|
9 |
<p><?php echo __('Bisher keine PDFs hochgeladen.', 'wpsg'); ?></p>
|
|
|
10 |
<?php } else { ?>
|
1551 |
daniel |
11 |
<ul>
|
1379 |
daniel |
12 |
<?php foreach ($this->view['files'] as $v) { ?>
|
1551 |
daniel |
13 |
<li>
|
2343 |
daniel |
14 |
<a target="_blank" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=ajax&mod=wpsg_mod_downloadplus&noheader=1&cmd=download_file&file=<?php echo rawurlencode($v); ?>&edit_id=<?php echo $_REQUEST['edit_id']; ?>" title="<?php echo wpsg_hspc($v); ?>"><?php echo wpsg_hspc(substr($v, 0, 25)); ?></a>
|
1528 |
daniel |
15 |
(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_downloadplus', 'getPDFPath', array($_REQUEST['edit_id'])).'/'.$v); ?>)
|
|
|
16 |
<div class="wpsg_mod_downloadplus_admin_delete" title="<?php echo __('PDF löschen', 'wpsg'); ?>" onclick="return wpsg_pdfdownload_removePDF('<?php echo rawurlencode($v); ?>');"></div>
|
1551 |
daniel |
17 |
</li>
|
1379 |
daniel |
18 |
<?php } ?>
|
1551 |
daniel |
19 |
</ul>
|
1379 |
daniel |
20 |
<?php } ?>
|