summaryrefslogtreecommitdiff
path: root/views/admin
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2016-11-18 06:58:34 +0000
committerhartmut <noreply@maennchen1.de>2016-11-18 06:58:34 +0000
commit753c1978e84e829538f5c0b4f2f45267fcaf8341 (patch)
tree62641e13d96070a8aff0937dc53f2ae9317348a9 /views/admin
parent24a29c6eceac73735d2c5724b28e0146f01e43d7 (diff)
Shop V4 Anpassungen Backend (Gutschein, Rabatt, Zahlungsart)
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5922 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin')
-rw-r--r--views/admin/form/link.phtml42
-rw-r--r--views/admin/kundendaten_tab2.phtml4
2 files changed, 44 insertions, 2 deletions
diff --git a/views/admin/form/link.phtml b/views/admin/form/link.phtml
new file mode 100644
index 0000000..9386d2f
--- /dev/null
+++ b/views/admin/form/link.phtml
@@ -0,0 +1,42 @@
+<div class="form-group form-group-sm <?php echo ((wpsg_isSizedString($this->view['field_config']['help']))?'has-feedback':''); ?>">
+
+ <label class="col-sm-6 control-label" for="<?php echo $this->view['field_id']; ?>"><?php echo $this->view['field_label']; ?></label>
+
+ <div class="col-sm-6">
+
+ <div class="wpsg_field_wrap" style="padding-top:3px;">
+ <a href="#"
+ class="<?php echo wpsg_getStr($this->view['field_config']['class']) ?>"
+ name="<?php echo $this->view['field_name']; ?>"
+ autofocus="true"
+ tabindex="<?php
+
+ if (!isset($GLOBALS['wpsg']['tabindex']))
+ {
+
+ $GLOBALS['wpsg']['tabindex'] = 10;
+
+ }
+ else
+ {
+
+ $GLOBALS['wpsg']['tabindex'] += 10;
+
+ }
+
+ echo $GLOBALS['wpsg']['tabindex'];
+
+ ?>"
+ id="<?php echo $this->view['field_id']; ?>"
+ ><?php echo $this->view['field_link']; ?></a>
+
+ <?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
+ <a href="#" a-wpsg-tip="<?php echo $this->view['field_config']['help']; ?>" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=<?php echo $this->view['field_config']['help']; ?>" class="glyphicon glyphicon glyphicon-info-sign form-control-feedback" aria-hidden="true"></a>
+ <?php } ?>
+ </div>
+
+ </div>
+
+ <div class="clearfix wpsg_clear"></div>
+
+</div> \ No newline at end of file
diff --git a/views/admin/kundendaten_tab2.phtml b/views/admin/kundendaten_tab2.phtml
index 836256a..a01c7df 100644
--- a/views/admin/kundendaten_tab2.phtml
+++ b/views/admin/kundendaten_tab2.phtml
@@ -24,8 +24,8 @@
<?php foreach ($this->view['pflicht']['custom'] as $c_id => $c) { ?>
<tr class="wpsg_customervar_row_<?php echo $c_id; ?>">
<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">
+ <td class="col1"><span class="wpsg_editable" id="kundenvariable_name_<?php echo $c_id; ?>"><?php echo wpsg_hspc($c['name']); ?></span></td>
+ <td class="col2">
<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>