#!/bin/sh
. /www/cgi-bin/functions.sh
. /www/cgi-bin/language.sh
lock_cgiwait
totalnum=$($nvram get wl_acl_num)
get_wl_access_ctrl_on=$($nvram get wl_access_ctrl_on)
print_cgi_header
print_http_header "/funcs.js" "/wlacl.js"
print_body_header "_WLG_acl" "wlacl.html" "wlacl"
print_table_header ""
echo ""
cat <
function loadvalue()
{
var form=document.forms[0];
if('$get_wl_access_ctrl_on' == '1')
{
form.accessLimit.checked = true;
}
else
{
form.accessLimit.checked = false;
}
}
function isfull(array_num)
{
if( array_num == 64 )
{
alert(acl_length_64);
return false;
}
else
{
location.href="wlacl_add_wait.html"
}
}
$hd
$hd
$table_bolder
$hd
$hd_center
$hd_center
$bluebar
$hd2_center
$bluebar
$hd2_center
EOF
print_http_footer