summaryrefslogtreecommitdiff
path: root/views/mods/mod_orderupload/basket_row.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2018-05-03 05:28:13 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2018-05-03 05:28:13 +0000
commitec9c92d6ede4e1bc039d2fc4ca72e4c13519680e (patch)
treee9a6e3a5ead1810d4ef6d0ca99d8d35b9dd851b6 /views/mods/mod_orderupload/basket_row.phtml
parenta9c7ad64290873e167d5d9f226e0b8ca54c532fd (diff)
- Produktupload
- Ohne Backend Admin Funktionen git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7002 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_orderupload/basket_row.phtml')
-rw-r--r--views/mods/mod_orderupload/basket_row.phtml47
1 files changed, 6 insertions, 41 deletions
diff --git a/views/mods/mod_orderupload/basket_row.phtml b/views/mods/mod_orderupload/basket_row.phtml
index 336ff9b..205fbbb 100644
--- a/views/mods/mod_orderupload/basket_row.phtml
+++ b/views/mods/mod_orderupload/basket_row.phtml
@@ -5,49 +5,14 @@
*/
?>
-<div class="wpsg_box wpsg_mod_orderupload">
+<div class="product_info product_upload">
- <div class="wpsg_head"><?php echo __('Dateiupload:', 'wpsg'); ?>
-
- <?php if ($this->get_option('wpsg_mod_orderupload_optional') != '1') { ?>
-
- <span class="wpsg_required">*</span>
-
- <?php } ?>
-
- </div>
+ <?php echo __('Upload zum Produkt', 'wpsg'); ?>:
- <div class="wpsg_inner">
-
- <?php if ($this->view['wpsg_mod_orderupload']['uploadsum'] > 0) { ?>
- <input class="wpsg_orderupload_checkout_button" type="file" name="wpsg_mod_orderupload_file" />
- <?php } ?>
-
- <?php /* Auflistung der bereits hochgeladenen Dokumente */ ?>
- <?php if (wpsg_isSizedArray($_SESSION['wpsg']['wpsg_mod_orderupload'])) { ?>
-
- <br />
-
- <label class="wpsg_checkout"><?php echo __('Bisher hochgeladene Dokumente', 'wpsg'); ?>:</label><br />
-
- <?php foreach ($_SESSION['wpsg']['wpsg_mod_orderupload'] as $ou_index => $ou) { ?>
-
- <?php /* Dokument aus der Liste löschen */ ?>
- <a onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass Sie dieses Dokument aus der Bestellung entfernen möchten?', 'wpsg'); ?>');" href="?wpsg_plugin=wpsg_mod_orderupload&wpsg_action=remove&file_index=<?php echo $ou_index; ?>" class="wpsg_mod_orderupload_removelink">
- <img src="<?php echo WPSG_URL; ?>views/gfx/bin_x.png" alt="<?php echo __('Löschen', 'wpsg'); ?>" />
- </a>
+ <div id="wpsg_mod_orderupload_<?php echo $this->view['wpsg_mod_orderupload']['product_index']; ?>_target" class="wpsg_mod_orderupload_target">
+
+ <?php echo $this->view['wpsg_mod_orderupload']['strHTMLTarget']; ?>
- <a href="<?php echo $ou[2]; ?>"><?php echo wpsg_hspc($ou[0]); ?></a>&nbsp;<?php echo '('.wpsg_formatSize($ou[3]).')'; ?><br />
-
- <?php } ?>
-
- <?php } ?>
-
</div>
-
- <?php /* Counter, wie viel MB noch übrig sind */?>
- <label class="wpsg_fileweight">
- <?php echo wpsg_translate(__('Es stehen Ihnen #1# Mb von #2# Mb für den Upload zur Verfügung', 'wpsg'), $this->view['wpsg_mod_orderupload']['uploadsum'],$this->view['wpsg_mod_orderupload']['maxweight']);?>
- </label>
-
+
</div> \ No newline at end of file