5439 |
daniel |
1 |
<div class="form-group form-group-sm form-checkbox <?php echo ((wpsg_isSizedString($this->view['field_config']['help']))?'has-feedback':''); ?>">
|
5266 |
daniel |
2 |
|
5439 |
daniel |
3 |
<div class="<?php
|
|
|
4 |
|
|
|
5 |
if (wpsg_isTrue($this->view['field_config']['fullWidth'])) echo 'col-sm-12';
|
|
|
6 |
else echo 'col-sm-offset-6 col-sm-6';
|
5266 |
daniel |
7 |
|
5439 |
daniel |
8 |
?>">
|
|
|
9 |
|
5266 |
daniel |
10 |
<div class="checkbox">
|
|
|
11 |
<label>
|
5450 |
daniel |
12 |
|
5439 |
daniel |
13 |
<div class="wpsg_field_wrap">
|
|
|
14 |
<input type="hidden" name="<?php echo $this->view['field_name']; ?>" value="0" />
|
5450 |
daniel |
15 |
<input type="checkbox" id="<?php echo $this->view['field_id']; ?>" name="<?php echo $this->view['field_name']; ?>" value="<?php echo wpsg_getStr($this->view['field_config']['value'], '1'); ?>" <?php echo (($this->view['field_checked'] > 0)?'checked="checked"':''); ?> />
|
5266 |
daniel |
16 |
|
5439 |
daniel |
17 |
<?php echo $this->view['field_label']; ?>
|
|
|
18 |
|
|
|
19 |
<?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
|
|
|
20 |
<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']; ?>" class="glyphicon glyphicon glyphicon-info-sign form-control-feedback" aria-hidden="true"></a>
|
|
|
21 |
<?php } ?>
|
|
|
22 |
|
|
|
23 |
</div>
|
5266 |
daniel |
24 |
|
|
|
25 |
</label>
|
|
|
26 |
</div>
|
|
|
27 |
|
|
|
28 |
</div>
|
|
|
29 |
|
5391 |
daniel |
30 |
<div class="clearfix wpsg_clear"></div>
|
|
|
31 |
|
5266 |
daniel |
32 |
</div>
|