Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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>
5997 hartmut 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, 50)); ?></a>
1528 daniel 15
		(<?php echo wpsg_formatSize($this->callMod('wpsg_mod_downloadplus', 'getPDFPath', array($_REQUEST['edit_id'])).'/'.$v); ?>)
5997 hartmut 16
		<div class="wpsg_glyphicon_right glyphicon glyphicon-trash" title="<?php echo __('PDF löschen', 'wpsg'); ?>" onclick="return wpsg_pdfdownload_removePDF('<?php echo rawurlencode($v); ?>');"></div>
17
 
1551 daniel 18
	</li>
1379 daniel 19
	<?php } ?>
1551 daniel 20
	</ul>
1379 daniel 21
<?php } ?>