Subversion Repositories wpShopGermany4

Rev

Rev 5997 | 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
?>
7824 daniel 8
 
1379 daniel 9
<?php if (!wpsg_isSizedArray($this->view['files'])) { ?>
7824 daniel 10
 
11
    <p><?php echo __('Bisher keine PDFs hochgeladen.', 'wpsg'); ?></p>
12
 
1379 daniel 13
<?php } else { ?>
7824 daniel 14
 
1551 daniel 15
	<ul>
5997 hartmut 16
 
7824 daniel 17
        <?php foreach ($this->view['files'] as $v) { ?>
18
	    <li>
19
 
20
            <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>
21
		    (<?php echo wpsg_formatSize($this->callMod('wpsg_mod_downloadplus', 'getPDFPath', array($_REQUEST['edit_id'])).'/'.$v); ?>)
22
		    <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>
23
 
24
	    </li>
25
	    <?php } ?>
26
 
1551 daniel 27
	</ul>
7824 daniel 28
 
1379 daniel 29
<?php } ?>