diff options
Diffstat (limited to 'views/admin')
| -rw-r--r-- | views/admin/form/link.phtml | 42 | ||||
| -rw-r--r-- | views/admin/kundendaten_tab2.phtml | 4 |
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>
|
