diff options
Diffstat (limited to 'views/admin/form')
| -rw-r--r-- | views/admin/form/checkbox.phtml | 2 | ||||
| -rw-r--r-- | views/admin/form/input.phtml | 2 | ||||
| -rw-r--r-- | views/admin/form/select.phtml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/views/admin/form/checkbox.phtml b/views/admin/form/checkbox.phtml index 12e184a..5dcee75 100644 --- a/views/admin/form/checkbox.phtml +++ b/views/admin/form/checkbox.phtml @@ -37,7 +37,7 @@ <?php } ?>
<?php if (wpsg_isSizedString($this->view['field_config']['hint'])) { ?>
- <div class="hint info"><?php echo $this->view['field_config']['hint']; ?></div>
+ <div class="hint info"><?php echo preg_replace('/^nohspc_/', '', $this->view['field_config']['hint']); ?></div>
<?php } ?>
</div>
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml index cad903c..60482d1 100644 --- a/views/admin/form/input.phtml +++ b/views/admin/form/input.phtml @@ -51,7 +51,7 @@ <?php } ?>
<?php if (wpsg_isSizedString($this->view['field_config']['hint'])) { ?>
- <small id="emailHelp" class="form-text text-muted"><?php echo $this->view['field_config']['hint']; ?></small>
+ <small id="emailHelp" class="form-text text-muted"><?php echo preg_replace('/^nohspc_/', '', $this->view['field_config']['hint']); ?></small>
<?php } ?>
</div>
diff --git a/views/admin/form/select.phtml b/views/admin/form/select.phtml index ed142e3..d29158d 100644 --- a/views/admin/form/select.phtml +++ b/views/admin/form/select.phtml @@ -101,7 +101,7 @@ </div>
<?php if (wpsg_isSizedString($this->view['field_config']['hint'])) { ?>
- <div class="hint info"><?php echo $this->view['field_config']['hint']; ?></div>
+ <div class="hint info"><?php echo preg_replace('/^nohspc_/', '', $this->view['field_config']['hint']); ?></div>
<?php } ?>
</div>
|
