Subversion Repositories wpShopGermany4

Rev

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

<?php
        
        /**
         * Template für die Liste der Dateien im Backend
         */

?>
<?php if (!wpsg_isSizedArray($this->view['files'])) { ?>
<p><?php echo __('Bisher keine PDFs hochgeladen.', 'wpsg'); ?></p>
<?php } else { ?>
        <ul>
        <?php foreach ($this->view['files'] as $v) { ?>
        <li>
                <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>
                (<?php echo wpsg_formatSize($this->callMod('wpsg_mod_downloadplus', 'getPDFPath', array($_REQUEST['edit_id'])).'/'.$v); ?>)
                <div class="wpsg_mod_downloadplus_admin_delete" title="<?php echo __('PDF löschen', 'wpsg'); ?>" onclick="return wpsg_pdfdownload_removePDF('<?php echo rawurlencode($v); ?>');"></div>
        </li>  
        <?php } ?>
        </ul>
<?php } ?>