diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2015-08-20 00:21:30 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2015-08-20 00:21:30 +0200 |
commit | 574a0e07eb551e0291493d523819729a37c4b1e1 (patch) | |
tree | b53b5033a0bc4c156ed404d0435c074cf3aba92b /config/haproxy-devel/pkg/haproxy_htmllist.inc | |
parent | 21fd7e810b732289f207f1c3ee4566be30f75659 (diff) | |
download | pfsense-packages-574a0e07eb551e0291493d523819729a37c4b1e1.tar.gz pfsense-packages-574a0e07eb551e0291493d523819729a37c4b1e1.tar.bz2 pfsense-packages-574a0e07eb551e0291493d523819729a37c4b1e1.zip |
haproxy-devel, fix package for pfsense 2.1.5, bump pkg v0.28
-add email settings for 1.6-dev version
-remove call to nonexisting javascript function
-put a maximum height to a table textarea + scrollbar
-remove httpchk from config file when not used
Diffstat (limited to 'config/haproxy-devel/pkg/haproxy_htmllist.inc')
-rw-r--r-- | config/haproxy-devel/pkg/haproxy_htmllist.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/haproxy-devel/pkg/haproxy_htmllist.inc b/config/haproxy-devel/pkg/haproxy_htmllist.inc index f873028e..394f3ff6 100644 --- a/config/haproxy-devel/pkg/haproxy_htmllist.inc +++ b/config/haproxy-devel/pkg/haproxy_htmllist.inc @@ -114,7 +114,9 @@ class HaproxyHtmlList echo $itemvalue=='yes' ? gettext('yes') : gettext('no'); } else if ($itemtype == "textarea"){ - echo htmlspecialchars(base64_decode($itemvalue)); + echo '<div style="overlow:scroll;max-height:120px;overflow-y: scroll;">'; + echo str_replace("\n","<br/>", htmlspecialchars(base64_decode($itemvalue))); + echo '</div>'; } else echo htmlspecialchars($itemvalue); } |