diff --git a/livesupport/modules/htmlUI/var/formmask/generic.inc.php b/livesupport/modules/htmlUI/var/formmask/generic.inc.php index a517284c3..6088ab4e6 100755 --- a/livesupport/modules/htmlUI/var/formmask/generic.inc.php +++ b/livesupport/modules/htmlUI/var/formmask/generic.inc.php @@ -50,7 +50,8 @@ $ui_fmask = array( 'type' => 'text', 'label' => 'Station URL', 'default' => 'http://', - 'required' => TRUE + 'required' => TRUE, + 'attributes'=> array('maxlength' => 256) ), array( 'rule' => 'regex', @@ -334,6 +335,7 @@ $ui_fmask = array( 'rule' => 'regex', 'format' => UI_REGEX_URL, 'rulemsg' => 'URL seems invalid', + 'attributes'=> array('maxlength' => 256) ), array( 'element' => 'length', diff --git a/livesupport/modules/htmlUI/var/formmask/metadata.inc.php b/livesupport/modules/htmlUI/var/formmask/metadata.inc.php index 94663da2f..1a6643b80 100755 --- a/livesupport/modules/htmlUI/var/formmask/metadata.inc.php +++ b/livesupport/modules/htmlUI/var/formmask/metadata.inc.php @@ -316,7 +316,8 @@ $mask = array( 'element' => 'ls:audiofileinfourl', 'type' => 'text', 'label' => 'Audio file information web page', - 'id3' => 'Audio file information web page' + 'id3' => 'Audio file information web page', + 'attributes'=> array('maxlength' => 256) ), array( 'rule' => 'regex', @@ -328,7 +329,8 @@ $mask = array( 'element' => 'ls:artisturl', 'type' => 'text', 'label' => 'Artist web page', - 'id3' => 'Artist web page' + 'id3' => 'Artist web page', + 'attributes'=> array('maxlength' => 256) ), array( 'rule' => 'regex', @@ -340,7 +342,8 @@ $mask = array( 'element' => 'ls:audiosourceurl', 'type' => 'text', 'label' => 'Audio source web page', - 'id3' => 'Audio source web page' + 'id3' => 'Audio source web page', + 'attributes'=> array('maxlength' => 256) ), array( 'rule' => 'regex', @@ -352,7 +355,8 @@ $mask = array( 'element' => 'ls:radiostationurl', 'type' => 'text', 'label' => 'Radio station web page', - 'id3' => 'Radio station web page' + 'id3' => 'Radio station web page', + 'attributes'=> array('maxlength' => 256) ), array( 'rule' => 'regex', @@ -364,7 +368,8 @@ $mask = array( 'element' => 'ls:buycdurl', 'type' => 'text', 'label' => 'Buy CD web page', - 'id3' => 'Buy CD webpage' + 'id3' => 'Buy CD webpage', + 'attributes'=> array('maxlength' => 256) ), array( 'rule' => 'regex',