summaryrefslogtreecommitdiff
path: root/views/admin/kundendaten_tab1.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-03-22 13:59:16 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-03-22 13:59:16 +0000
commit0fc69ce3ad89844dd5fb2f87532e7b6fca55923d (patch)
treeb89a251b26e0726a80c4c24eb0b726f1bbaeea62 /views/admin/kundendaten_tab1.phtml
parentc14a7c20ec8c489a37412cebb524e367679f5a60 (diff)
- sync
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5439 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/kundendaten_tab1.phtml')
-rw-r--r--views/admin/kundendaten_tab1.phtml161
1 files changed, 22 insertions, 139 deletions
diff --git a/views/admin/kundendaten_tab1.phtml b/views/admin/kundendaten_tab1.phtml
index 6fe5425..d619bdc 100644
--- a/views/admin/kundendaten_tab1.phtml
+++ b/views/admin/kundendaten_tab1.phtml
@@ -4,143 +4,26 @@
* Template für den ersten Karteireiter der Kundendaten
*/
+ $arSelect = array(
+ '0' => __('Ja', 'wpsg'),
+ '1' => __('Nein', 'wpsg')
+ );
+
?>
-<table class="wpsg_pflichtfelder">
- <tr>
- <th class="col0"><?php echo __("Feldbezeichnung", "wpsg"); ?></th>
- <th class="col1"><?php echo __("Pflichtfeld", "wpsg"); ?></th>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('Anrede', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[anrede]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['anrede'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('Mögliche Werte für Auswahl getrennt mit |', 'wpsg'); ?>:</td>
- <td class="col1">
- <input type="text" style="width:100%;" name="pflicht[anrede_auswahl]" value="<?php echo $this->view['pflicht']['anrede_auswahl']; ?>" />
- </td>
- </tr>
- <tr class="wpsg_even">
- <td class="col0"><?php echo __('Firma', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[firma]">
- <option value="0"><?php echo __("Ja", "wpsg"); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['firma'] == '1')?'selected="selected"':''); ?>><?php echo __("Nein", "wpsg"); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('Vorname', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[vname]">
- <option value="0"><?php echo __("Ja", "wpsg"); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['vname'] == '1')?'selected="selected"':''); ?>><?php echo __("Nein", "wpsg"); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_even">
- <td class="col0"><?php echo __('Name', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[name]">
- <option value="0"><?php echo __("Ja", "wpsg"); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['name'] == '1')?'selected="selected"':''); ?>><?php echo __("Nein", "wpsg"); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('Geburtsdatum', 'wpsg'); ?></td>
- <td class="col1">
- <select name="pflicht[geb]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['geb'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_even">
- <td class="col0"><?php echo __('E-Mail Adresse', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[email]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['email'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_even">
- <td class="col0"></td>
- <td class="col1">
- <label style="line-height:24px;">
- <input type="hidden" name="pflicht[emailconfirm]" value="0" />
- <input type="checkbox" value="1" <?php echo (($this->view['pflicht']['emailconfirm'] == '1')?'checked="checked"':''); ?> name="pflicht[emailconfirm]" style="width:auto; margin-left:5px;" />&nbsp;
- <?php echo __('E-Mail Adresse (Wiederholung)', 'wpsg'); ?>
- </label>
- </td>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('Telefon', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[tel]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['tel'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_even">
- <td class="col0"><?php echo __('Fax', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[fax]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['fax'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('Straße', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[strasse]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['strasse'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_even">
- <td class="col0"><?php echo __('Postleitzahl', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[plz]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['plz'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('Ort', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[ort]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['ort'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_even">
- <td class="col0"><?php echo __('Land', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[land]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['land'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
- <tr class="wpsg_odd">
- <td class="col0"><?php echo __('UStIdNr.', 'wpsg'); ?>:</td>
- <td class="col1">
- <select name="pflicht[ustidnr]">
- <option value="0"><?php echo __('Ja', 'wpsg'); ?></option>
- <option value="1" <?php echo (($this->view['pflicht']['ustidnr'] == '1')?'selected="selected"':''); ?>><?php echo __('Nein', 'wpsg'); ?></option>
- </select>
- </td>
- </tr>
-</table>
+
+<?php echo wpsg_drawForm_Select('pflicht[anrede]', __('Anrede', 'wpsg'), $arSelect, $this->view['pflicht']['anrede']); ?>
+<?php echo wpsg_drawForm_Input('pflicht[anrede_auswahl]', __('Mögliche Werte für Auswahl getrennt mit |', 'wpsg'), $this->view['pflicht']['anrede_auswahl']); ?>
+<?php echo wpsg_drawForm_Select('pflicht[firma]', __('Firma', 'wpsg'), $arSelect, $this->view['pflicht']['firma'])?>
+<?php echo wpsg_drawForm_Select('pflicht[vname]', __('Vorname', 'wpsg'), $arSelect, $this->view['pflicht']['vname'])?>
+<?php echo wpsg_drawForm_Select('pflicht[name]', __('Name', 'wpsg'), $arSelect, $this->view['pflicht']['name'])?>
+<?php echo wpsg_drawForm_Select('pflicht[geb]', __('Geburtsdatum', 'wpsg'), $arSelect, $this->view['pflicht']['geb'])?>
+<?php echo wpsg_drawForm_Select('pflicht[email]', __('E-Mail Adresse', 'wpsg'), $arSelect, $this->view['pflicht']['email'])?>
+<?php echo wpsg_drawForm_Checkbox('pflicht[emailconfirm]', __('E-Mail Adresse (Wiederholung)', 'wpsg'), $this->view['pflicht']['emailconfirm']); ?>
+<?php echo wpsg_drawForm_Select('pflicht[tel]', __('Telefon', 'wpsg'), $arSelect, $this->view['pflicht']['tel'])?>
+<?php echo wpsg_drawForm_Select('pflicht[fax]', __('Fax', 'wpsg'), $arSelect, $this->view['pflicht']['fax'])?>
+<?php echo wpsg_drawForm_Select('pflicht[strasse]', __('Straße', 'wpsg'), $arSelect, $this->view['pflicht']['strasse'])?>
+<?php echo wpsg_drawForm_Select('pflicht[plz]', __('Postleitzahl', 'wpsg'), $arSelect, $this->view['pflicht']['plz'])?>
+<?php echo wpsg_drawForm_Select('pflicht[ort]', __('Ort', 'wpsg'), $arSelect, $this->view['pflicht']['ort'])?>
+<?php echo wpsg_drawForm_Select('pflicht[land]', __('Land', 'wpsg'), $arSelect, $this->view['pflicht']['land'])?>
+<?php echo wpsg_drawForm_Select('pflicht[ustidnr]', __('UStIdNr.', 'wpsg'), $arSelect, $this->view['pflicht']['ustidnr'])?>
+