Subversion Repositories wpShopGermany4

Rev

Rev 6460 | Rev 6948 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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 } ?>
36
				/>
5436 daniel 37
			<?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
5997 hartmut 38
				<?php if (wpsg_isTrue($this->view['field_config']['rAlign'])) { ?>
6004 daniel 39
					<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 40
					class="glyphicon glyphicon glyphicon-question-sign form-control-feedback" aria-hidden="true" style="float:right;"></a>
5997 hartmut 41
				<?php } else { ?>
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"></a>
5997 hartmut 44
				<?php } ?>
5436 daniel 45
			<?php } ?>
46
		</div>
47
 
5264 daniel 48
	</div>
5753 daniel 49
 
50
    <?php if (wpsg_isTrue($this->view['field_config']['datepicker'])) { ?>
51
    <script type="text/javascript">/* <![CDATA[ */
52
 
53
        jQuery(document).ready(function() {
54
 
5792 daniel 55
            jQuery('#<?php echo $this->view['field_id']; ?>').datepicker( { dateFormat: 'dd.mm.yy' } );
5753 daniel 56
 
57
        } );
58
 
59
    /* ]]> */</script>
60
    <?php } ?>
61
 
5391 daniel 62
	<div class="clearfix wpsg_clear"></div>
63
 
5264 daniel 64
</div>