"; // warning //echo "".$lang["warning"].": ".$lang["warnprotoall"].""; $isiprange=false; if (count($selmodules) > 0) { foreach ($selmodules as $idx => $modulename) if ($modulename=="iprange") $isiprange=true; } if (!$isiprange) { // source address echo "" ."".$lang["source"].":" ."" .""; // destination address echo "" ."".$lang["destination"].":" ."" .""; } include "js/$table.inc.php"; echo "" ."".$lang["target"].":" .""; if ($table=="filter" or $table=="nat") { echo "".$lang["rejectwith"].":" .""; // log prefix echo "".$lang["logprefix"].":"; } // // nat options // // dnat, snat and redirect if ($table=="nat") { if ($chain!="POSTROUTING") { echo "".$lang["toports"].": ".$lang["redirtoports"].""; echo "".$lang["dnat"].": ".$lang["dnatdesc"].""; } else { echo ""; echo ""; } if ($chain!="PREROUTING") { echo "".$lang["snat"].": ".$lang["snatdesc"].""; } else { echo ""; } } // // mangle options // // tos if ($table=="mangle") { echo "".$lang["tos"].":" ."" .""; echo "".$lang["mark"].":"; echo "".$lang["dscp"].":"; echo "".$lang["dscpclass"].":"; } else { echo ""; echo ""; echo ""; echo ""; } ?>