Revision 4b72f68f
Added by Steve Beaver over 8 years ago
src/usr/local/www/firewall_nat.php | ||
---|---|---|
335 | 335 |
<?php |
336 | 336 |
endif; |
337 | 337 |
?> |
338 |
<?=str_replace('_', ' ', htmlspecialchars(pprint_address($natent['source'])))?>
|
|
338 |
<?=str_replace('_', '_<wbr>', htmlspecialchars(pprint_address($natent['source'])))?>
|
|
339 | 339 |
<?php |
340 | 340 |
if (isset($alias['src'])): |
341 | 341 |
?> |
... | ... | |
352 | 352 |
<?php |
353 | 353 |
endif; |
354 | 354 |
?> |
355 |
<?=str_replace('_', ' ', htmlspecialchars(pprint_port($natent['source']['port'])))?>
|
|
355 |
<?=str_replace('_', '_<wbr>', htmlspecialchars(pprint_port($natent['source']['port'])))?>
|
|
356 | 356 |
<?php |
357 | 357 |
if (isset($alias['srcport'])): |
358 | 358 |
?> |
... | ... | |
370 | 370 |
<?php |
371 | 371 |
endif; |
372 | 372 |
?> |
373 |
<?=str_replace('_', ' ', htmlspecialchars(pprint_address($natent['destination'])))?>
|
|
373 |
<?=str_replace('_', '_<wbr>', htmlspecialchars(pprint_address($natent['destination'])))?>
|
|
374 | 374 |
<?php |
375 | 375 |
if (isset($alias['dst'])): |
376 | 376 |
?> |
... | ... | |
387 | 387 |
<?php |
388 | 388 |
endif; |
389 | 389 |
?> |
390 |
<?=str_replace('_', ' ', htmlspecialchars(pprint_port($natent['destination']['port'])))?>
|
|
390 |
<?=str_replace('_', '_<wbr>', htmlspecialchars(pprint_port($natent['destination']['port'])))?>
|
|
391 | 391 |
<?php |
392 | 392 |
if (isset($alias['dstport'])): |
393 | 393 |
?> |
... | ... | |
405 | 405 |
endif; |
406 | 406 |
?> |
407 | 407 |
|
408 |
<?=str_replace('_', ' ', htmlspecialchars($natent['target']))?>
|
|
408 |
<?=str_replace('_', '_<wbr>', htmlspecialchars($natent['target']))?>
|
|
409 | 409 |
<?php |
410 | 410 |
if (isset($alias['target'])): |
411 | 411 |
?> |
... | ... | |
422 | 422 |
<?php |
423 | 423 |
endif; |
424 | 424 |
?> |
425 |
<?=str_replace('_', ' ', htmlspecialchars(pprint_port($localport)))?>
|
|
425 |
<?=str_replace('_', '_<wbr>', htmlspecialchars(pprint_port($localport)))?>
|
|
426 | 426 |
<?php |
427 | 427 |
if (isset($alias['targetport'])): |
428 | 428 |
?> |
Also available in: Unified diff
Replace '_' with '_<wbr> when displaying alias names. Allows long alias names with underscores to word-break better.