### # # FreeWLAN Addons - http://www.freewlan.info # # This Script is based on the original La Fonera Firmware version 0.7.1r2 # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA # # http://www.gnu.org/copyleft/gpl.html # ### function textinput(name, value) { return "" } function fileinput(name, value) { return "" } function hidden(name, value) { return "" } function button(name, caption) { return ">\" />" } function sel_option(name, caption, default, sel) { if (default == name) sel = " selected=\"selected\"" else sel = "" return "" } function close_field() { if (field_open == 1) print "
@TR<<" $2 ">>
" } $1 ~ /^add_form/ { print "" } # # Table issues # $1 ~/^infotable/ { close_field() print "@TR<<" $2 ">>
" } # # $2: the summary of the table. # $1 ~ /^start_table/ { print ""
print "
|
| "
field_open=1
}
$1 ~ /^select/ {
opts = ""
if (onchange != "") opts = opts " onChange=\"" onchange "()\""
print " "
print " "
}
$1 ~ /^help_topic/ {
print " @TR<" $2 " " } $1 ~ /^help_explanation/ { print "" $2 " " } $1 ~ /^add_au_select_branch/ { close_field(); print("");
print(" | ");
}
# to direct call a Javascript function
$1 ~ /^call_js/ {
print ""
}
# $2: webpage to load $3: services, reboot or [blank]
$1 ~ /^autoloadpage/ {
print" "
print" "
}
END {
close_field()
}
|