5439 |
daniel |
1 |
<div class="form-group form-group-sm <?php echo ((wpsg_isSizedString($this->view['field_config']['help']))?'has-feedback':''); ?>">
|
5264 |
daniel |
2 |
|
|
|
3 |
<label class="col-sm-6 control-label" for="<?php echo $this->view['field_id']; ?>"><?php echo $this->view['field_label']; ?></label>
|
|
|
4 |
|
|
|
5 |
<div class="col-sm-6">
|
5436 |
daniel |
6 |
|
|
|
7 |
<div class="wpsg_field_wrap">
|
5450 |
daniel |
8 |
<input
|
5752 |
daniel |
9 |
type="<?php echo wpsg_getStr($this->view['field_config']['type'], 'text'); ?>"
|
5450 |
daniel |
10 |
class="form-control input-sm"
|
6464 |
daniel |
11 |
name="<?php echo $this->view['field_name']; ?>"
|
5748 |
daniel |
12 |
tabindex="<?php
|
|
|
13 |
|
|
|
14 |
if (!isset($GLOBALS['wpsg']['tabindex']))
|
|
|
15 |
{
|
|
|
16 |
|
|
|
17 |
$GLOBALS['wpsg']['tabindex'] = 10;
|
|
|
18 |
|
|
|
19 |
}
|
|
|
20 |
else
|
|
|
21 |
{
|
|
|
22 |
|
|
|
23 |
$GLOBALS['wpsg']['tabindex'] += 10;
|
|
|
24 |
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
echo $GLOBALS['wpsg']['tabindex'];
|
|
|
28 |
|
|
|
29 |
?>"
|
|
|
30 |
value="<?php echo wpsg_hspc($this->view['field_value']); ?>"
|
5450 |
daniel |
31 |
id="<?php echo $this->view['field_id']; ?>"
|
|
|
32 |
placeholder="<?php echo wpsg_getStr($this->view['field_config']['placeholder']); ?>"
|
|
|
33 |
<?php if (wpsg_isTrue($this->view['field_config']['readonly'])) { ?>
|
|
|
34 |
readonly="readonly"
|
|
|
35 |
<?php } ?>
|
6948 |
thomas |
36 |
<?php if (wpsg_isSizedInt($this->view['field_config']['maxlength'])) { ?>
|
|
|
37 |
maxlength="<?php echo $this->view['field_config']['maxlength']; ?>"
|
|
|
38 |
<?php } ?>
|
5450 |
daniel |
39 |
/>
|
5436 |
daniel |
40 |
<?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
|
5997 |
hartmut |
41 |
<?php if (wpsg_isTrue($this->view['field_config']['rAlign'])) { ?>
|
6004 |
daniel |
42 |
<a href="#" data-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']; ?>"
|
6005 |
hartmut |
43 |
class="glyphicon glyphicon glyphicon-question-sign form-control-feedback" aria-hidden="true" style="float:right;"></a>
|
5997 |
hartmut |
44 |
<?php } else { ?>
|
6004 |
daniel |
45 |
<a href="#" data-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']; ?>"
|
6005 |
hartmut |
46 |
class="glyphicon glyphicon glyphicon-question-sign form-control-feedback" aria-hidden="true"></a>
|
5997 |
hartmut |
47 |
<?php } ?>
|
5436 |
daniel |
48 |
<?php } ?>
|
|
|
49 |
</div>
|
|
|
50 |
|
5264 |
daniel |
51 |
</div>
|
5753 |
daniel |
52 |
|
|
|
53 |
<?php if (wpsg_isTrue($this->view['field_config']['datepicker'])) { ?>
|
|
|
54 |
<script type="text/javascript">/* <![CDATA[ */
|
|
|
55 |
|
|
|
56 |
jQuery(document).ready(function() {
|
|
|
57 |
|
5792 |
daniel |
58 |
jQuery('#<?php echo $this->view['field_id']; ?>').datepicker( { dateFormat: 'dd.mm.yy' } );
|
5753 |
daniel |
59 |
|
|
|
60 |
} );
|
|
|
61 |
|
|
|
62 |
/* ]]> */</script>
|
|
|
63 |
<?php } ?>
|
|
|
64 |
|
5391 |
daniel |
65 |
<div class="clearfix wpsg_clear"></div>
|
|
|
66 |
|
5264 |
daniel |
67 |
</div>
|