summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_orderupload/checkout_inner_prebutton.phtml4
-rw-r--r--views/warenkorb/checkout.phtml2
2 files changed, 4 insertions, 2 deletions
diff --git a/views/mods/mod_orderupload/checkout_inner_prebutton.phtml b/views/mods/mod_orderupload/checkout_inner_prebutton.phtml
index ed31ead..6ecc300 100644
--- a/views/mods/mod_orderupload/checkout_inner_prebutton.phtml
+++ b/views/mods/mod_orderupload/checkout_inner_prebutton.phtml
@@ -19,7 +19,9 @@
<div class="wpsg_inner">
- <input class="wpsg_orderupload_checkout_button" type="file" name="wpsg_mod_orderupload_file" />
+ <?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'])) { ?>
diff --git a/views/warenkorb/checkout.phtml b/views/warenkorb/checkout.phtml
index ab11cdd..a7a4f9c 100644
--- a/views/warenkorb/checkout.phtml
+++ b/views/warenkorb/checkout.phtml
@@ -99,7 +99,7 @@
<select class="<?php echo (($this->view['pflicht']['anrede'] != '1')?'validate[required]':''); ?> wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[checkout][title]">
<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
- <option value="<?php echo $i; /*wpsg_hspc($t);*/ $i++; ?>" <?php echo (($this->view['basket']['checkout']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
+ <option value="<?php echo $i; /*wpsg_hspc($t);*/ ?>" <?php echo (($this->view['basket']['checkout']['title'] == $i)?'selected="selected"':''); ?>><?php echo $t; $i++; ?></option>
<?php } ?>
</select>
</div>