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/input.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/input.phtml')
| -rw-r--r-- | views/admin/form/input.phtml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml index d4870d2..aad0896 100644 --- a/views/admin/form/input.phtml +++ b/views/admin/form/input.phtml @@ -5,7 +5,17 @@ <div class="col-sm-6">
<div class="wpsg_field_wrap">
- <input type="text" class="form-control input-sm" name="<?php echo $this->view['field_name']; ?>" value="<?php echo wpsg_hspc($this->view['field_value']); ?>" id="<?php echo $this->view['field_id']; ?>" />
+ <input
+ type="text"
+ class="form-control input-sm"
+ name="<?php echo $this->view['field_name']; ?>"
+ value="<?php echo wpsg_hspc($this->view['field_value']); ?>"
+ id="<?php echo $this->view['field_id']; ?>"
+ placeholder="<?php echo wpsg_getStr($this->view['field_config']['placeholder']); ?>"
+ <?php if (wpsg_isTrue($this->view['field_config']['readonly'])) { ?>
+ readonly="readonly"
+ <?php } ?>
+ />
<?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
<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>
<?php } ?>
|
