diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-30 15:01:12 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-30 15:01:12 +0000 |
| commit | b204049e54a9ef6dd535073ba6ee9aceab1ea4aa (patch) | |
| tree | ac81467aeca95a87a8ad23a063b6ddfc8771fb9a /views/admin | |
| parent | 019af23da7a73393c2265d02bb57364dddc5f7d6 (diff) | |
- Backup V4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5454 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/kundendaten_tab2.phtml | 17 | ||||
| -rw-r--r-- | views/admin/module.phtml | 4 |
2 files changed, 11 insertions, 10 deletions
diff --git a/views/admin/kundendaten_tab2.phtml b/views/admin/kundendaten_tab2.phtml index 759500b..7be3fa8 100644 --- a/views/admin/kundendaten_tab2.phtml +++ b/views/admin/kundendaten_tab2.phtml @@ -26,25 +26,24 @@ <td class="col0"><?php echo $c_id; ?></td>
<td class="col2"><span class="wpsg_editable" id="kundenvariable_name_<?php echo $c_id; ?>"><?php echo wpsg_hspc($c['name']); ?></span></td>
<td class="col3">
- <select class="form-control wpsg-sm" name="pflicht[custom][<?php echo $c_id; ?>][show]">
+ <select class="form-control" name="pflicht[custom][<?php echo $c_id; ?>][show]">
<option <?php echo (($c['show'] == '0')?'selected="selected"':''); ?> value="0"><?php echo __('Ja', 'wpsg'); ?></option>
<option <?php echo (($c['show'] == '1')?'selected="selected"':''); ?> value="1"><?php echo __('Nein', 'wpsg'); ?></option>
<option <?php echo (($c['show'] == '2')?'selected="selected"':''); ?> value="2"><?php echo __('Nicht zeigen', 'wpsg'); ?></option>
</select>
</td>
<td class="col3">
- <select class="form-control wpsg-sm" onchange="if (jQuery(this).val() == '1') { jQuery('#row_auswahl_<?php echo $c_id; ?>').show(); jQuery('#row_auswahl_<?php echo $c_id; ?> input').first().focus(); } else jQuery('#row_auswahl_<?php echo $c_id; ?>').hide();" name="pflicht[custom][<?php echo $c_id; ?>][typ]">
+ <select class="form-control" onchange="if (jQuery(this).val() == '1') { jQuery('#row_auswahl_<?php echo $c_id; ?>').show(); jQuery('#row_auswahl_<?php echo $c_id; ?> input').first().focus(); } else jQuery('#row_auswahl_<?php echo $c_id; ?>').hide();" name="pflicht[custom][<?php echo $c_id; ?>][typ]">
<option <?php echo (($c['typ'] == '0')?'selected="selected"':''); ?> value="0"><?php echo __('Textfeld', 'wpsg'); ?></option>
<option <?php echo (($c['typ'] == '1')?'selected="selected"':''); ?> value="1"><?php echo __('Auswahlfeld', 'wpsg'); ?></option>
<option <?php echo (($c['typ'] == '2')?'selected="selected"':''); ?> value="2"><?php echo __('Checkbox', 'wpsg'); ?></option>
</select>
</td>
- <td class="col4">
- <a href="#" title="<?php echo __('HTML Code generieren', 'wpsg'); ?>" onclick="return wpsg_genKVCode(<?php echo $c_id; ?>);"><span class="glyphicon glyphicon-modal-window"></span></a>
- </td>
- <td class="col5">
+ <td class="col4">
+
+ <a href="#" class="wpsg-glyphlink-td" title="<?php echo __('HTML Code generieren', 'wpsg'); ?>" onclick="return wpsg_genKVCode(<?php echo $c_id; ?>);"><span class="glyphicon glyphicon-modal-window"></span></a>
- <a href="#" title="<?php echo __('Kundenvariable löschen', 'wpsg'); ?>" onclick="return wpsg_removeCustomField(<?php echo $c_id; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
+ <a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Kundenvariable löschen', 'wpsg'); ?>" onclick="return wpsg_removeCustomField(<?php echo $c_id; ?>);"><span class="glyphicon glyphicon-trash"></span></a>
<script type="text/javascript">
@@ -67,8 +66,8 @@ <tr class="wpsg_customervar_row2 wpsg_customervar_row_<?php echo $c_id; ?>" id="row_auswahl_<?php echo $c_id; ?>" style="<?php echo (($c['typ'] == '1')?'':'display:none;'); ?>">
<td class="col0"></td>
<td class="col1"><?php echo __('Auswahlmöglichkeiten ("|" als Trenner)', 'wpsg'); ?></td>
- <td class="col2345" colspan="4">
- <input type="text" class="form-control wpsg-sm" name="pflicht[custom][<?php echo $c_id; ?>][auswahl]" value="<?php echo wpsg_hspc($c['auswahl']); ?>" />
+ <td class="col234" colspan="3">
+ <input type="text" class="form-control" name="pflicht[custom][<?php echo $c_id; ?>][auswahl]" value="<?php echo wpsg_hspc($c['auswahl']); ?>" />
</td>
</tr>
<?php } ?>
diff --git a/views/admin/module.phtml b/views/admin/module.phtml index 985cb63..2185d1f 100644 --- a/views/admin/module.phtml +++ b/views/admin/module.phtml @@ -33,7 +33,8 @@ </div>
<?php if (isset($_REQUEST['modul'])) { ?>
-<div class="wpsg_admin_content form-horizontal">
+<div class="wpsg_admin_content form-horizontal">
+ <?php echo wpsg_drawForm_AdminboxStart($this->arAllModule[$_REQUEST['modul']]->name); ?>
<form name="form1" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=<?php echo $_REQUEST['modul']; ?>&noheader=1" method="post" enctype="multipart/form-data">
<h3>
@@ -93,6 +94,7 @@ <?php if ($this->arAllModule[$_REQUEST['modul']]->inline !== true) { ?>
</form>
<?php } ?>
+ <?php echo wpsg_drawForm_AdminboxEnd(); ?>
</div>
<?php } else { ?>
|
