From 9f9802549a7e5495f053390b8210aeaa6bd80dac Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 14 Nov 2016 19:17:10 +0100 Subject: [PATCH] attributes field maxlength=1000 --- lam/templates/config/conftypes.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lam/templates/config/conftypes.php b/lam/templates/config/conftypes.php index 98403ebc..adc7725f 100644 --- a/lam/templates/config/conftypes.php +++ b/lam/templates/config/conftypes.php @@ -178,7 +178,7 @@ echo "
\n"; echo ""; echo ""; echo "
\n"; - + // tabs echo '
'; @@ -275,6 +275,7 @@ if (sizeof($activeTypes) > 0) { } $attrsInput = new htmlTableExtendedInputField(_("List attributes"), 'attr_' . $activeTypes[$i], $attributes, '206'); $attrsInput->setFieldSize(40); + $attrsInput->setFieldMaxLength(1000); $activeContainer->addElement($attrsInput); $activeContainer->addNewLine(); // type options @@ -347,7 +348,7 @@ if (sizeof($activeTypes) > 0) { $advancedOptions = new htmlAccordion('advancedOptions_' . $activeTypes[$i], array(_('Advanced options') => $advancedOptionsContent), false); $advancedOptions->colspan = 15; $activeContainer->addElement($advancedOptions, true); - + $activeContainer->addElement(new htmlSpacer(null, '40px'), true); } $container->addElement($activeContainer, true);