summaryrefslogtreecommitdiff
path: root/views/mods/mod_downloadplus/filelist.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2021-01-22 07:53:33 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2021-01-22 07:53:33 +0000
commit4eb159da9b6d9463c31cf5c6a452a05259add785 (patch)
treeb24388d8d593102327edce0790ce168a2c2cc6dc /views/mods/mod_downloadplus/filelist.phtml
parentd75554fdc6126617502f4b04f20c7e18057e8bf4 (diff)
#4.2.10
- Feature: Abo Modul überarbeitet (Abos je Produkt / Vorverlängerungsaktionen) - Feature: Mehrzeilige Produktvariablen - Feature: Mehrere Tempaltes für Downloadplus PDF Anpassungen - Feature: Zentrale Dokumente für Downloadplus - Feature: Template je Variante für Downloadplus anpassbar - Feature: parallele Erstellung eines Dokumentes ohne Vorlage (Briefbogenfunktion) git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7824 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_downloadplus/filelist.phtml')
-rw-r--r--views/mods/mod_downloadplus/filelist.phtml26
1 files changed, 17 insertions, 9 deletions
diff --git a/views/mods/mod_downloadplus/filelist.phtml b/views/mods/mod_downloadplus/filelist.phtml
index b151177..7cce569 100644
--- a/views/mods/mod_downloadplus/filelist.phtml
+++ b/views/mods/mod_downloadplus/filelist.phtml
@@ -5,17 +5,25 @@
*/
?>
+
<?php if (!wpsg_isSizedArray($this->view['files'])) { ?>
-<p><?php echo __('Bisher keine PDFs hochgeladen.', 'wpsg'); ?></p>
+
+ <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, 50)); ?></a>
- (<?php echo wpsg_formatSize($this->callMod('wpsg_mod_downloadplus', 'getPDFPath', array($_REQUEST['edit_id'])).'/'.$v); ?>)
- <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>
-
- </li>
- <?php } ?>
+
+ <?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, 50)); ?></a>
+ (<?php echo wpsg_formatSize($this->callMod('wpsg_mod_downloadplus', 'getPDFPath', array($_REQUEST['edit_id'])).'/'.$v); ?>)
+ <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>
+
+ </li>
+ <?php } ?>
+
</ul>
+
<?php } ?> \ No newline at end of file