summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_kundenverwaltung/profil.phtml8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/mods/mod_kundenverwaltung/profil.phtml b/views/mods/mod_kundenverwaltung/profil.phtml
index d0be4ce..1a6418f 100644
--- a/views/mods/mod_kundenverwaltung/profil.phtml
+++ b/views/mods/mod_kundenverwaltung/profil.phtml
@@ -134,12 +134,16 @@
<?php if ($this->view['pflicht']['anrede'] != '2') { ?>
<div class="wpsg_checkoutblock">
- <label for="wpsg_title"><?php echo __('Anrede', 'wpsg'); ?>
+ <label for="wpsg_title" class="wpsg_checkout"><?php echo __('Anrede', 'wpsg'); ?>
<?php if ($this->view['pflicht']['anrede'] != '1') { ?><span class="wpsg_required">*</span><?php } ?>:</label>
<select class="wpsg_checkout <?php echo ((in_array("title", (array)$this->view['error']))?'wpsg_error':''); ?>" id="wpsg_title" name="wpsg[profil][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['data']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option>
+ <?php /* <option value="<?php echo $i; $i++; ?>" <?php echo (($this->view['data']['title'] == $t)?'selected="selected"':''); ?>><?php echo $t; ?></option> */ ?>
+ <option value="<?php echo $i; /*wpsg_hspc($t);*/ ?>"
+ <?php if ($this->view['data']['title'] == $i) : echo 'selected="selected"'; endif; ?>>
+ <?php echo $t; $i++; ?>
+ </option>
<?php } ?>
</select>
</div>