Line 117... |
Line 117... |
117 |
<div class="wpsg_checkoutblock">
|
117 |
<div class="wpsg_checkoutblock">
|
118 |
<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
|
118 |
<label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
|
119 |
<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
|
119 |
<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
|
120 |
<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]">
|
120 |
<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]">
|
121 |
<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
|
121 |
<option value="-1"><?php echo __('Bitte auswählen', 'wpsg'); ?></option>
|
122 |
<?php foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
|
122 |
<?php $i=0; foreach (explode("|", $this->view['pflicht']['anrede_auswahl']) as $t) { ?>
|
123 |
<option value="<?php echo wpsg_hspc($t); ?>" <?php echo (($this->view['basket']['checkout']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
|
123 |
<option value="<?php echo $i; /*wpsg_hspc($t);*/ $i++; ?>" <?php echo (($this->view['basket']['checkout']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
|
124 |
<?php } ?>
|
124 |
<?php } ?>
|
125 |
</select>
|
125 |
</select>
|
126 |
</div>
|
126 |
</div>
|
127 |
|
127 |
|
128 |
<div class="wpsg_checkoutblock">
|
128 |
<div class="wpsg_checkoutblock">
|