Revision 079d1952
Added by Renato Botelho about 12 years ago
usr/local/www/firewall_rules_edit.php | ||
---|---|---|
1629 | 1629 |
<?php endif; ?> |
1630 | 1630 |
|
1631 | 1631 |
var addressarray = <?= json_encode(get_alias_list(array("host", "network", "openvpn", "urltable"))) ?>; |
1632 |
var customarray = <?= json_encode(get_alias_list("port")) ?>;
|
|
1632 |
var customarray = <?= json_encode(get_alias_list(array("port", "url_ports"))) ?>;
|
|
1633 | 1633 |
|
1634 | 1634 |
var oTextbox1 = new AutoSuggestControl(document.getElementById("src"), new StateSuggestions(addressarray)); |
1635 | 1635 |
var oTextbox2 = new AutoSuggestControl(document.getElementById("srcbeginport_cust"), new StateSuggestions(customarray)); |
Also available in: Unified diff
Add a new alias type, URLs containing Ports