diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-04-01 19:45:54 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-04-01 19:47:02 +0000 |
commit | a5adbd09cf60b2b80d94dc0d36d049162320b36f (patch) | |
tree | 3d99162b3dc3d37ca6b0c5541c65a254f6c8b12e /usr | |
parent | ed8fab526b0f39ae43feff8a2126bd5b57141eeb (diff) | |
download | pfsense-a5adbd09cf60b2b80d94dc0d36d049162320b36f.zip pfsense-a5adbd09cf60b2b80d94dc0d36d049162320b36f.tar.gz |
Do not show massive amount of members but just what can be shown on the gui
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces_qinq.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_qinq.php b/usr/local/www/interfaces_qinq.php index a177d5b..5c6fa64 100755 --- a/usr/local/www/interfaces_qinq.php +++ b/usr/local/www/interfaces_qinq.php @@ -122,7 +122,12 @@ include("head.inc"); <?=htmlspecialchars($qinq['tag']);?> </td> <td class="listr"> - <?=htmlspecialchars($qinq['members']);?> + <?php + if (strlen($qinq['members']) > 20) + echo substr(htmlspecialchars($qinq['members']), 1, 20) . "..."; + else + echo htmlspecialchars($qinq['members']); + ?> </td> <td class="listbg"> <?=htmlspecialchars($qinq['descr']);?> |