diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-29 13:19:35 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-29 13:19:35 +0000 |
| commit | 25872272e8a7433b257300fe09fec94fe0fd6d81 (patch) | |
| tree | fcc129234d42f7d0fe20fb162326a368421c65ae /views/admin/form/checkbox.phtml | |
| parent | cfc854a91c6683870cdbec8c7dd67082e07e03f1 (diff) | |
- Produktverwaltung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5450 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/form/checkbox.phtml')
| -rw-r--r-- | views/admin/form/checkbox.phtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/admin/form/checkbox.phtml b/views/admin/form/checkbox.phtml index e20ddea..6abc56c 100644 --- a/views/admin/form/checkbox.phtml +++ b/views/admin/form/checkbox.phtml @@ -9,10 +9,10 @@ <div class="checkbox">
<label>
-
+
<div class="wpsg_field_wrap">
<input type="hidden" name="<?php echo $this->view['field_name']; ?>" value="0" />
- <input type="checkbox" id="<?php echo $this->view['field_id']; ?>" name="<?php echo $this->view['field_name']; ?>" value="1" <?php echo (($this->view['field_checked'] > 0)?'checked="checked"':''); ?> />
+ <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"':''); ?> />
<?php echo $this->view['field_label']; ?>
|
