summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_qinq.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-04-01 19:45:54 +0000
committerErmal Luçi <eri@pfsense.org>2009-04-01 19:47:02 +0000
commita5adbd09cf60b2b80d94dc0d36d049162320b36f (patch)
tree3d99162b3dc3d37ca6b0c5541c65a254f6c8b12e /usr/local/www/interfaces_qinq.php
parented8fab526b0f39ae43feff8a2126bd5b57141eeb (diff)
downloadpfsense-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/local/www/interfaces_qinq.php')
-rwxr-xr-xusr/local/www/interfaces_qinq.php7
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']);?>&nbsp;
OpenPOWER on IntegriCloud