summaryrefslogtreecommitdiff
path: root/views/admin/form/input.phtml
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2018-03-23 08:10:59 +0000
committerthomas <noreply@maennchen1.de>2018-03-23 08:10:59 +0000
commitfed830170fe966a9dc8823786d18b6addeac2ad4 (patch)
tree025e77feb0f3cb0f520dcd0c605752dae8554228 /views/admin/form/input.phtml
parent98476534fd39241b60e13727f0e131ba7d37423f (diff)
- Begrenzung PathKey
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6948 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/admin/form/input.phtml')
-rw-r--r--views/admin/form/input.phtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml
index d06949c..08278d2 100644
--- a/views/admin/form/input.phtml
+++ b/views/admin/form/input.phtml
@@ -33,6 +33,9 @@
<?php if (wpsg_isTrue($this->view['field_config']['readonly'])) { ?>
readonly="readonly"
<?php } ?>
+ <?php if (wpsg_isSizedInt($this->view['field_config']['maxlength'])) { ?>
+ maxlength="<?php echo $this->view['field_config']['maxlength']; ?>"
+ <?php } ?>
/>
<?php if (wpsg_isSizedString($this->view['field_config']['help'])) { ?>
<?php if (wpsg_isTrue($this->view['field_config']['rAlign'])) { ?>