#!/bin/sh
. /www/cgi-bin/functions.sh
lock_cgiwait
schedule_get_days_to_block=$($nvram get schedule_days_to_block)
schedule_get_start_block_time=$($nvram get schedule_start_block_time)
schedule_get_end_block_time=$($nvram get hidden_schedule_end_block_time)
schedule_get_all_day=$($nvram get schedule_all_day)
print_cgi_header
print_http_header "/funcs.js" "/schedule.js"
print_body_header "_FW_schedule" "schedule.html" "schedule"
print_table_header ""
cat <
function loadvalue()
{
var cf=document.forms[0];
var day_to_block='$schedule_get_days_to_block';
if( day_to_block != '')
{
if( day_to_block == 'everyday' )
cf.checkboxNameAll.checked = true;
else
{
var day_array=day_to_block.split(',');
for(i=0;i
EOF
print_http_footer