From 7a3493b1f7d75a3945279115324cf2ff4da26b7b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 16 Jan 2015 23:38:38 +0100 Subject: [PATCH] Globally reduce copyright headers Signed-off-by: Jo-Philipp Wich --- .../luci-app-ahcp/luasrc/controller/ahcp.lua | 15 +------ .../luci-app-ahcp/luasrc/model/cbi/ahcp.lua | 15 +------ .../luci-app-asterisk/luasrc/asterisk.lua | 17 +------- .../luasrc/asterisk/cc_idd.lua | 11 +---- .../luasrc/controller/asterisk.lua | 17 ++------ .../luasrc/model/cbi/asterisk-dialplans.lua | 17 ++------ .../model/cbi/asterisk-iax-connections.lua | 17 ++------ .../luasrc/model/cbi/asterisk-meetme.lua | 17 ++------ .../luasrc/model/cbi/asterisk-mod-cdr.lua | 17 ++------ .../luasrc/model/cbi/asterisk-mod-chan.lua | 17 ++------ .../luasrc/model/cbi/asterisk-mod-codec.lua | 17 ++------ .../luasrc/model/cbi/asterisk-mod-format.lua | 17 ++------ .../luasrc/model/cbi/asterisk-mod-func.lua | 17 ++------ .../luasrc/model/cbi/asterisk-mod-pbx.lua | 17 ++------ .../model/cbi/asterisk-mod-res-feature.lua | 17 ++------ .../luasrc/model/cbi/asterisk-mod-res.lua | 17 ++------ .../model/cbi/asterisk-sip-connections.lua | 17 ++------ .../luasrc/model/cbi/asterisk-voice.lua | 17 ++------ .../luasrc/model/cbi/asterisk.lua | 17 ++------ .../model/cbi/asterisk/dialplan_out.lua | 16 +------ .../luasrc/model/cbi/asterisk/dialplans.lua | 16 +------ .../luasrc/model/cbi/asterisk/dialzones.lua | 16 +------ .../luasrc/model/cbi/asterisk/meetme.lua | 15 +------ .../model/cbi/asterisk/meetme_settings.lua | 15 +------ .../luasrc/model/cbi/asterisk/phone_sip.lua | 16 +------ .../luasrc/model/cbi/asterisk/phones.lua | 16 +------ .../luasrc/model/cbi/asterisk/trunk_sip.lua | 16 +------ .../luasrc/model/cbi/asterisk/trunks.lua | 16 +------ .../luasrc/model/cbi/asterisk/voicemail.lua | 15 +------ .../model/cbi/asterisk/voicemail_settings.lua | 15 +------ .../luasrc/view/asterisk/cbi/cell.htm | 15 ++----- .../luasrc/view/asterisk/dialplans.htm | 15 ++----- .../luasrc/view/asterisk/dialzones.htm | 15 ++----- .../luasrc/controller/commands.lua | 14 +----- .../luasrc/model/cbi/commands.lua | 14 +----- .../luasrc/view/commands.htm | 11 +---- .../luasrc/controller/coovachilli.lua | 15 +------ .../luasrc/model/cbi/coovachilli.lua | 18 ++------ .../luasrc/model/cbi/coovachilli_auth.lua | 18 ++------ .../luasrc/model/cbi/coovachilli_network.lua | 17 ++------ .../luasrc/model/cbi/coovachilli_radius.lua | 18 ++------ .../luci-app-ddns/luasrc/controller/ddns.lua | 21 +++------ .../luasrc/model/cbi/ddns/detail.lua | 27 +++--------- .../luasrc/model/cbi/ddns/hints.lua | 15 +------ .../luasrc/model/cbi/ddns/overview.lua | 15 +------ .../luci-app-ddns/luasrc/tools/ddns.lua | 19 +------- .../luasrc/controller/luci_diag.lua | 14 +----- .../luasrc/view/diag/index.htm | 14 ++---- .../luasrc/view/diag/network_config_index.htm | 14 ++---- .../controller/luci_diag/devinfo_common.lua | 14 +----- .../luci_diag/luci_diag_devinfo.lua | 14 +----- .../luci_diag/netdiscover_common.lua | 14 +----- .../controller/luci_diag/smap_common.lua | 14 +----- .../model/cbi/luci_diag/mactodevinfo.lua | 15 +------ .../luci_diag/netdiscover_devinfo_config.lua | 15 +------ .../netdiscover_devinfo_config_mini.lua | 15 +------ .../cbi/luci_diag/smap_devinfo_config.lua | 15 +------ .../luci_diag/smap_devinfo_config_mini.lua | 15 +------ .../luasrc/view/diag/smapsection.htm | 14 ++---- .../luasrc/view/diag/smapvalue.htm | 13 +----- .../luasrc/controller/dump1090.lua | 15 +------ .../luasrc/model/cbi/dump1090.lua | 15 +------ .../luasrc/model/cbi/firewall/custom.lua | 15 +------ .../model/cbi/firewall/forward-details.lua | 15 +------ .../luasrc/model/cbi/firewall/forwards.lua | 16 ++----- .../model/cbi/firewall/rule-details.lua | 16 ++----- .../luasrc/model/cbi/firewall/rules.lua | 16 ++----- .../model/cbi/firewall/zone-details.lua | 17 ++------ .../luasrc/model/cbi/firewall/zones.lua | 15 +------ .../luasrc/tools/firewall.lua | 14 +----- .../luasrc/controller/freifunk/diag.lua | 18 ++------ .../luasrc/view/freifunk/diagnostics.htm | 13 +----- .../controller/freifunk/policy-routing.lua | 13 +----- .../model/cbi/freifunk/policyrouting.lua | 13 +----- .../luasrc/controller/freifunk/widgets.lua | 13 +----- .../cbi/freifunk/widgets/heightwidth.lua | 14 +----- .../model/cbi/freifunk/widgets/html.lua | 14 +----- .../model/cbi/freifunk/widgets/iframe.lua | 14 +----- .../model/cbi/freifunk/widgets/rssfeed.lua | 14 +----- .../model/cbi/freifunk/widgets/search.lua | 14 +----- .../model/cbi/freifunk/widgets/widget.lua | 15 +------ .../cbi/freifunk/widgets/widgets_overview.lua | 13 +----- .../luasrc/controller/hd_idle.lua | 16 +------ .../luasrc/model/cbi/hd_idle.lua | 16 +------ .../luasrc/controller/ltqtapi.lua | 14 +----- .../luasrc/model/cbi/luci_ltqtapi/account.lua | 14 +----- .../luasrc/model/cbi/luci_ltqtapi/contact.lua | 14 +----- .../luasrc/controller/meshwizard.lua | 14 +----- .../luasrc/controller/minidlna.lua | 15 +------ .../luasrc/model/cbi/minidlna.lua | 15 +------ .../luasrc/controller/mjpg-streamer.lua | 16 +------ .../luasrc/model/cbi/mjpg-streamer.lua | 16 +------ .../luasrc/controller/mmc_over_gpio.lua | 16 +------ .../luasrc/model/cbi/mmc_over_gpio.lua | 16 +------ .../luci-app-ntpc/luasrc/controller/ntpc.lua | 17 ++------ .../luasrc/model/cbi/ntpc/ntpc.lua | 16 ++----- .../luasrc/model/cbi/ntpc/ntpcmini.lua | 16 ++----- .../luasrc/controller/ocserv.lua | 14 +----- .../luasrc/model/cbi/ocserv/main.lua | 14 +----- .../luasrc/model/cbi/ocserv/user-config.lua | 14 +----- .../luasrc/model/cbi/ocserv/users.lua | 14 +----- .../view/freifunk-services/services.htm | 12 +----- .../luasrc/model/cbi/olsr/olsrd.lua | 17 ++------ .../luasrc/model/cbi/olsr/olsrd6.lua | 17 ++------ .../luasrc/model/cbi/olsr/olsrddisplay.lua | 13 +----- .../luasrc/model/cbi/olsr/olsrdhna.lua | 17 ++------ .../luasrc/model/cbi/olsr/olsrdhna6.lua | 17 ++------ .../luasrc/model/cbi/olsr/olsrdiface.lua | 16 +------ .../luasrc/model/cbi/olsr/olsrdiface6.lua | 16 +------ .../luasrc/model/cbi/olsr/olsrdplugins.lua | 17 ++------ .../luasrc/model/cbi/olsr/olsrdplugins6.lua | 17 ++------ .../luci-app-olsr/luasrc/tools/olsr.lua | 13 +----- .../luasrc/view/status-olsr/error_olsr.htm | 14 ++---- .../luasrc/view/status-olsr/hna.htm | 15 ++----- .../luasrc/view/status-olsr/interfaces.htm | 15 ++----- .../luasrc/view/status-olsr/mid.htm | 18 +++----- .../luasrc/view/status-olsr/neighbors.htm | 15 ++----- .../luasrc/view/status-olsr/overview.htm | 14 ++---- .../luasrc/view/status-olsr/routes.htm | 14 ++---- .../luasrc/view/status-olsr/smartgw.htm | 14 ++---- .../luasrc/view/status-olsr/topology.htm | 16 +++---- .../luasrc/controller/openvpn.lua | 17 ++------ .../luasrc/model/cbi/openvpn-advanced.lua | 15 +------ .../luasrc/model/cbi/openvpn-basic.lua | 15 +------ .../luasrc/model/cbi/openvpn.lua | 15 +------ .../luasrc/view/openvpn/pageswitch.htm | 21 ++------- .../luasrc/controller/ff_p2pblock.lua | 15 +------ .../luasrc/model/cbi/luci_fw/p2pblock.lua | 15 +------ .../luasrc/controller/p910nd.lua | 16 +------ .../luasrc/model/cbi/p910nd.lua | 16 ++----- .../luasrc/controller/polipo.lua | 15 +------ .../luasrc/model/cbi/polipo.lua | 15 +------ .../luci-app-qos/luasrc/controller/qos.lua | 15 +------ .../luci-app-qos/luasrc/model/cbi/qos/qos.lua | 15 +------ .../luasrc/controller/radvd.lua | 15 +------ .../luci-app-radvd/luasrc/model/cbi/radvd.lua | 15 +------ .../luasrc/model/cbi/radvd/dnssl.lua | 15 +------ .../luasrc/model/cbi/radvd/interface.lua | 15 +------ .../luasrc/model/cbi/radvd/prefix.lua | 15 +------ .../luasrc/model/cbi/radvd/rdnss.lua | 15 +------ .../luasrc/model/cbi/radvd/route.lua | 15 +------ .../luasrc/controller/samba.lua | 17 ++------ .../luci-app-samba/luasrc/model/cbi/samba.lua | 17 ++------ .../luasrc/controller/shairplay.lua | 15 +------ .../luasrc/model/cbi/shairplay.lua | 15 +------ .../luasrc/controller/shairport.lua | 15 +------ .../luasrc/model/cbi/shairport.lua | 15 +------ .../luasrc/controller/siitwizard.lua | 18 ++------ .../luasrc/model/cbi/siitwizard.lua | 18 ++------ .../luasrc/model/cbi/splash/splash.lua | 10 +---- .../luasrc/model/cbi/splash/splashtext.lua | 17 ++------ .../luasrc/view/admin_status/splash.htm | 13 +----- .../luasrc/view/splash/blocked.htm | 11 ++--- .../luasrc/view/splash/splash.htm | 15 +++---- .../luasrc/view/splash_splash/index.htm | 16 ++----- .../luasrc/view/splash_splash/splash.htm | 16 ++----- .../luci_statistics/luci_statistics.lua | 16 ++----- .../model/cbi/luci_statistics/collectd.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/cpu.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/csv.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/df.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/disk.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/dns.lua | 16 +------ .../model/cbi/luci_statistics/email.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/exec.lua | 16 +------ .../model/cbi/luci_statistics/interface.lua | 16 +------ .../model/cbi/luci_statistics/iptables.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/irq.lua | 16 +------ .../model/cbi/luci_statistics/iwinfo.lua | 16 +------ .../luasrc/model/cbi/luci_statistics/load.lua | 16 +------ .../model/cbi/luci_statistics/netlink.lua | 16 +------ .../model/cbi/luci_statistics/network.lua | 17 +------- .../luasrc/model/cbi/luci_statistics/nut.lua | 13 +----- .../model/cbi/luci_statistics/olsrd.lua | 13 +----- .../luasrc/model/cbi/luci_statistics/ping.lua | 16 +------ .../model/cbi/luci_statistics/processes.lua | 16 +------ .../model/cbi/luci_statistics/rrdtool.lua | 16 +------ .../cbi/luci_statistics/splash_leases.lua | 14 +----- .../model/cbi/luci_statistics/tcpconns.lua | 16 +------ .../model/cbi/luci_statistics/unixsock.lua | 16 +------ .../luasrc/statistics/datatree.lua | 16 +------ .../luasrc/statistics/i18n.lua | 16 +------ .../luasrc/statistics/rrdtool.lua | 16 +------ .../luasrc/statistics/rrdtool/colors.lua | 16 +------ .../rrdtool/definitions/conntrack.lua | 16 +------ .../statistics/rrdtool/definitions/cpu.lua | 16 +------ .../statistics/rrdtool/definitions/df.lua | 16 +------ .../statistics/rrdtool/definitions/disk.lua | 16 +------ .../statistics/rrdtool/definitions/dns.lua | 14 +----- .../rrdtool/definitions/interface.lua | 16 +------ .../rrdtool/definitions/iptables.lua | 16 +------ .../statistics/rrdtool/definitions/irq.lua | 16 +------ .../statistics/rrdtool/definitions/iwinfo.lua | 16 +------ .../statistics/rrdtool/definitions/load.lua | 16 +------ .../rrdtool/definitions/netlink.lua | 16 +------ .../statistics/rrdtool/definitions/nut.lua | 15 +------ .../statistics/rrdtool/definitions/olsrd.lua | 14 +----- .../statistics/rrdtool/definitions/ping.lua | 16 +------ .../rrdtool/definitions/processes.lua | 16 +------ .../rrdtool/definitions/splash_leases.lua | 14 +----- .../rrdtool/definitions/tcpconns.lua | 16 +------ .../luasrc/view/admin_statistics/index.htm | 16 ++----- .../luasrc/view/public_statistics/graph.htm | 16 ++----- .../luasrc/controller/tinyproxy.lua | 17 ++------ .../luasrc/model/cbi/tinyproxy.lua | 17 ++------ .../luasrc/controller/transmission.lua | 15 +------ .../luasrc/model/cbi/transmission.lua | 15 +------ .../luasrc/controller/udpxy.lua | 15 +------ .../luci-app-udpxy/luasrc/model/cbi/udpxy.lua | 15 +------ .../luci-app-upnp/luasrc/controller/upnp.lua | 16 ++----- .../luasrc/model/cbi/upnp/upnp.lua | 17 ++------ .../luasrc/controller/ushare.lua | 16 +------ .../luasrc/model/cbi/ushare.lua | 16 +------ .../luasrc/model/cbi/vnstat.lua | 13 +----- .../luci-app-vnstat/luasrc/view/vnstat.htm | 11 +---- .../luasrc/controller/luci_voice.lua | 14 +----- .../luasrc/view/luci_voice/index.htm | 14 ++---- .../luasrc/view/luci_voice/phone_index.htm | 14 ++---- .../controller/luci_voice/luci_voice_diag.lua | 14 +----- .../luasrc/view/luci_voice/diag_index.htm | 14 ++---- .../luasrc/controller/watchcat.lua | 15 +------ .../luasrc/model/cbi/watchcat/watchcat.lua | 15 +------ .../luci-app-wol/luasrc/model/cbi/wol.lua | 13 +----- .../luasrc/controller/wshaper.lua | 14 +----- .../luasrc/model/cbi/wshaper.lua | 13 +----- .../luci-lib-httpclient/luasrc/httpclient.lua | 15 +------ .../luasrc/httpclient/receiver.lua | 15 +------ libs/luci-lib-json/luasrc/json.lua | 43 ++----------------- libs/luci-lib-rpcc/luasrc/rpcc.lua | 14 +----- libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua | 14 +----- modules/luci-base/luasrc/cacheloader.lua | 17 ++------ modules/luci-base/luasrc/cbi.lua | 27 +----------- modules/luci-base/luasrc/cbi/datatypes.lua | 16 +------ modules/luci-base/luasrc/ccache.lua | 17 ++------ modules/luci-base/luasrc/config.lua | 28 +----------- .../luasrc/controller/admin/servicectl.lua | 15 +------ modules/luci-base/luasrc/dispatcher.lua | 27 +----------- modules/luci-base/luasrc/http.lua | 24 +---------- modules/luci-base/luasrc/http/protocol.lua | 16 +------ .../luasrc/http/protocol/conditionals.lua | 16 +------ .../luci-base/luasrc/http/protocol/date.lua | 16 +------ .../luci-base/luasrc/http/protocol/mime.lua | 16 +------ modules/luci-base/luasrc/i18n.lua | 27 +----------- modules/luci-base/luasrc/ip.lua | 18 ++------ .../model/cbi/admin_network/proto_dhcp.lua | 13 +----- .../model/cbi/admin_network/proto_none.lua | 13 +----- .../model/cbi/admin_network/proto_static.lua | 13 +----- modules/luci-base/luasrc/model/firewall.lua | 20 +-------- modules/luci-base/luasrc/model/ipkg.lua | 16 ++----- modules/luci-base/luasrc/model/network.lua | 20 +-------- modules/luci-base/luasrc/model/uci.lua | 26 +---------- modules/luci-base/luasrc/sgi/cgi.lua | 26 +---------- modules/luci-base/luasrc/sgi/uhttpd.lua | 20 +-------- modules/luci-base/luasrc/store.lua | 16 ++----- modules/luci-base/luasrc/sys.lua | 28 +----------- modules/luci-base/luasrc/sys/zoneinfo.lua | 11 +---- .../luci-base/luasrc/sys/zoneinfo/tzdata.lua | 11 +---- .../luasrc/sys/zoneinfo/tzoffset.lua | 11 +---- modules/luci-base/luasrc/template.lua | 27 +----------- modules/luci-base/luasrc/tools/proto.lua | 14 +----- modules/luci-base/luasrc/tools/status.lua | 14 +----- modules/luci-base/luasrc/tools/webadmin.lua | 17 ++------ modules/luci-base/luasrc/util.lua | 24 +---------- modules/luci-base/luasrc/version.lua | 5 +-- modules/luci-base/luasrc/view/error404.htm | 16 ++----- modules/luci-base/luasrc/view/error500.htm | 16 ++----- modules/luci-base/luasrc/view/footer.htm | 16 ++----- modules/luci-base/luasrc/view/header.htm | 15 ++----- modules/luci-base/luasrc/view/indexer.htm | 16 ++----- modules/luci-base/luasrc/view/sysauth.htm | 13 ++---- .../luasrc/controller/admin/filebrowser.lua | 17 ++------ .../luasrc/controller/admin/index.lua | 15 +------ .../luasrc/controller/admin/network.lua | 16 ++----- .../luasrc/controller/admin/status.lua | 17 ++------ .../luasrc/controller/admin/system.lua | 17 ++------ .../luasrc/controller/admin/uci.lua | 17 ++------ .../luasrc/model/cbi/admin_network/dhcp.lua | 15 +------ .../luasrc/model/cbi/admin_network/hosts.lua | 17 ++------ .../model/cbi/admin_network/iface_add.lua | 16 +------ .../luasrc/model/cbi/admin_network/ifaces.lua | 17 ++------ .../model/cbi/admin_network/network.lua | 17 ++------ .../model/cbi/admin_network/proto_ahcp.lua | 13 +----- .../luasrc/model/cbi/admin_network/routes.lua | 15 +------ .../luasrc/model/cbi/admin_network/vlan.lua | 16 ++----- .../luasrc/model/cbi/admin_network/wifi.lua | 15 +------ .../model/cbi/admin_network/wifi_add.lua | 15 +------ .../model/cbi/admin_status/processes.lua | 16 ++----- .../luasrc/model/cbi/admin_system/admin.lua | 17 ++------ .../model/cbi/admin_system/backupfiles.lua | 18 ++------ .../luasrc/model/cbi/admin_system/buttons.lua | 15 +------ .../luasrc/model/cbi/admin_system/crontab.lua | 17 ++------ .../luasrc/model/cbi/admin_system/fstab.lua | 15 +------ .../model/cbi/admin_system/fstab/mount.lua | 15 +------ .../model/cbi/admin_system/fstab/swap.lua | 15 +------ .../luasrc/model/cbi/admin_system/ipkg.lua | 17 ++------ .../luasrc/model/cbi/admin_system/leds.lua | 14 +----- .../luasrc/model/cbi/admin_system/startup.lua | 19 ++------ .../luasrc/model/cbi/admin_system/system.lua | 17 ++------ .../luasrc/view/admin_network/diagnostics.htm | 13 +----- .../view/admin_network/iface_overview.htm | 11 +---- .../luasrc/view/admin_network/wifi_join.htm | 13 +----- .../view/admin_network/wifi_overview.htm | 13 ++---- .../luasrc/view/admin_status/bandwidth.htm | 13 +----- .../luasrc/view/admin_status/connections.htm | 11 +---- .../luasrc/view/admin_status/dmesg.htm | 16 ++----- .../luasrc/view/admin_status/index.htm | 13 ++---- .../luasrc/view/admin_status/iptables.htm | 15 ++----- .../luasrc/view/admin_status/load.htm | 11 +---- .../luasrc/view/admin_status/routes.htm | 15 ++----- .../luasrc/view/admin_status/syslog.htm | 16 ++----- .../luasrc/view/admin_status/wireless.htm | 11 +---- .../luasrc/view/admin_system/applyreboot.htm | 15 ++----- .../luasrc/view/admin_system/backupfiles.htm | 15 ++----- .../luasrc/view/admin_system/flashops.htm | 15 ++----- .../luasrc/view/admin_system/ipkg.htm | 15 ++----- .../luasrc/view/admin_system/packages.htm | 14 ++---- .../luasrc/view/admin_system/reboot.htm | 16 ++----- .../luasrc/view/admin_system/upgrade.htm | 15 ++----- .../luasrc/view/admin_uci/apply.htm | 15 ++----- .../luasrc/view/admin_uci/changelog.htm | 13 +----- .../luasrc/view/admin_uci/changes.htm | 15 ++----- .../luasrc/view/admin_uci/revert.htm | 15 ++----- .../luasrc/controller/mini/index.lua | 17 ++------ .../luasrc/controller/mini/network.lua | 17 ++------ .../luasrc/controller/mini/system.lua | 17 ++------ .../luasrc/model/cbi/mini/dhcp.lua | 17 ++------ .../luasrc/model/cbi/mini/index.lua | 14 +----- .../luasrc/model/cbi/mini/luci.lua | 17 ++------ .../luasrc/model/cbi/mini/network.lua | 17 ++------ .../luasrc/model/cbi/mini/passwd.lua | 16 ++----- .../luasrc/model/cbi/mini/system.lua | 15 +------ .../luasrc/model/cbi/mini/wifi.lua | 17 ++------ .../luasrc/view/mini/applyreboot.htm | 16 ++----- .../luasrc/view/mini/backup.htm | 16 ++----- .../luasrc/view/mini/index.htm | 16 ++----- .../luasrc/view/mini/reboot.htm | 16 ++----- .../luasrc/view/mini/upgrade.htm | 15 ++----- .../luasrc/controller/failsafe/failsafe.lua | 19 ++------ .../luasrc/view/failsafe/applyreboot.htm | 15 ++----- .../luasrc/view/failsafe/flashops.htm | 17 ++------ .../luasrc/view/failsafe/reboot.htm | 18 +++----- .../luasrc/view/failsafe/upgrade.htm | 17 ++------ .../luasrc/controller/freifunk/freifunk.lua | 15 +------ .../controller/freifunk/remote_update.lua | 14 +----- .../luasrc/model/cbi/freifunk/basics.lua | 15 ++----- .../luasrc/model/cbi/freifunk/contact.lua | 15 ++----- .../luasrc/model/cbi/freifunk/profile.lua | 13 +----- .../model/cbi/freifunk/profile_expert.lua | 13 +----- .../luasrc/view/freifunk/contact.htm | 14 ++---- .../luasrc/view/freifunk/index.htm | 16 ++----- .../luasrc/view/freifunk/remote_update.htm | 16 ++----- .../luci-mod-rpc/luasrc/controller/rpc.lua | 17 ++------ modules/luci-mod-rpc/luasrc/jsonrpc.lua | 17 ++------ .../luci-mod-rpc/luasrc/jsonrpcbind/uci.lua | 17 ++------ .../model/cbi/admin_network/proto_3g.lua | 13 +----- .../model/cbi/admin_network/proto_6in4.lua | 13 +----- .../model/cbi/admin_network/proto_6rd.lua | 13 +----- .../model/cbi/admin_network/proto_6to4.lua | 13 +----- .../model/cbi/admin_network/proto_dhcpv6.lua | 13 +----- .../model/cbi/admin_network/proto_dslite.lua | 15 ++----- .../model/cbi/admin_network/proto_hnet.lua | 13 +----- .../luasrc/model/network/proto_4x6.lua | 22 ++-------- .../luasrc/model/network/proto_6x4.lua | 20 +-------- .../luasrc/model/network/proto_dhcpv6.lua | 20 +-------- .../luasrc/model/network/proto_hnet.lua | 20 +-------- .../cbi/admin_network/proto_openconnect.lua | 13 +----- .../model/network/proto_openconnect.lua | 20 +-------- .../model/cbi/admin_network/proto_l2tp.lua | 13 +----- .../model/cbi/admin_network/proto_ppp.lua | 13 +----- .../model/cbi/admin_network/proto_pppoa.lua | 13 +----- .../model/cbi/admin_network/proto_pppoe.lua | 13 +----- .../model/cbi/admin_network/proto_pptp.lua | 13 +----- .../luasrc/model/network/proto_ppp.lua | 20 +-------- .../model/cbi/admin_network/proto_relay.lua | 13 +----- .../luasrc/model/network/proto_relay.lua | 20 +-------- .../luasrc/view/themes/bootstrap/footer.htm | 16 +++---- .../luasrc/view/themes/bootstrap/header.htm | 16 +++---- .../view/themes/freifunk-bno/footer.htm | 16 ++----- .../view/themes/freifunk-bno/header.htm | 16 ++----- .../view/themes/freifunk-generic/footer.htm | 13 ++---- .../view/themes/freifunk-generic/header.htm | 12 ++---- .../luasrc/view/themes/openwrt.org/footer.htm | 16 ++----- .../luasrc/view/themes/openwrt.org/header.htm | 16 ++----- 383 files changed, 964 insertions(+), 5063 deletions(-) diff --git a/applications/luci-app-ahcp/luasrc/controller/ahcp.lua b/applications/luci-app-ahcp/luasrc/controller/ahcp.lua index 704ec4f84a..f1515c4ce4 100644 --- a/applications/luci-app-ahcp/luasrc/controller/ahcp.lua +++ b/applications/luci-app-ahcp/luasrc/controller/ahcp.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: init.lua 6731 2011-01-14 19:44:03Z soma $ -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ahcp", package.seeall) diff --git a/applications/luci-app-ahcp/luasrc/model/cbi/ahcp.lua b/applications/luci-app-ahcp/luasrc/model/cbi/ahcp.lua index a48f8b4b52..e151b581ab 100644 --- a/applications/luci-app-ahcp/luasrc/model/cbi/ahcp.lua +++ b/applications/luci-app-ahcp/luasrc/model/cbi/ahcp.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: init.lua 5764 2010-03-08 19:05:34Z jow $ -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("ahcpd", translate("AHCP Server"), translate("AHCP is an autoconfiguration protocol " .. "for IPv6 and dual-stack IPv6/IPv4 networks designed to be used in place of router " .. diff --git a/applications/luci-app-asterisk/luasrc/asterisk.lua b/applications/luci-app-asterisk/luasrc/asterisk.lua index 15081cc9a4..0a4fc0a047 100644 --- a/applications/luci-app-asterisk/luasrc/asterisk.lua +++ b/applications/luci-app-asterisk/luasrc/asterisk.lua @@ -1,18 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface -Asterisk PBX interface library - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.asterisk", package.seeall) require("luci.asterisk.cc_idd") diff --git a/applications/luci-app-asterisk/luasrc/asterisk/cc_idd.lua b/applications/luci-app-asterisk/luasrc/asterisk/cc_idd.lua index b209b11397..6ed8dfd450 100644 --- a/applications/luci-app-asterisk/luasrc/asterisk/cc_idd.lua +++ b/applications/luci-app-asterisk/luasrc/asterisk/cc_idd.lua @@ -1,13 +1,4 @@ ---[[ -LuCI - Asterisk - International Direct Dialing Prefixes and Country Codes - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Licensed to the public under the Apache License 2.0. module "luci.asterisk.cc_idd" diff --git a/applications/luci-app-asterisk/luasrc/controller/asterisk.lua b/applications/luci-app-asterisk/luasrc/controller/asterisk.lua index 54b9525e7b..4bb81cb183 100644 --- a/applications/luci-app-asterisk/luasrc/controller/asterisk.lua +++ b/applications/luci-app-asterisk/luasrc/controller/asterisk.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.asterisk", package.seeall) diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-dialplans.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-dialplans.lua index 4e4dce06bc..fbb900195e 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-dialplans.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-dialplans.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua index 0102c1b937..275e0fb994 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-iax-connections.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-meetme.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-meetme.lua index 0817445989..be89e04503 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-meetme.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-meetme.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua index ee1960d1ba..c3c1b8cada 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua index 835cbdcfae..13bd2a7515 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-chan.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua index 3c8d95840e..aadaf9d580 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-format.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-format.lua index da3989b2d4..ef22d48d78 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-format.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-format.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-func.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-func.lua index 7d80641f30..3ae52d43af 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-func.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-func.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua index 8b22b5cb2d..907dfcc119 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res-feature.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res-feature.lua index 35c5d47607..37fe68ee8a 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res-feature.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res-feature.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res.lua index 5ef6bddd49..581b96a3b7 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-res.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua index efb84a01f7..416ccd6b0e 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-voice.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-voice.lua index af0259549a..3b7f9923c3 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-voice.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk-voice.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk.lua index 7580f22ecc..83476957f8 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua index 3115e10d6b..42862ebe01 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplan_out.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplans.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplans.lua index 3a993da456..bcc085d132 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplans.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialplans.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialzones.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialzones.lua index 4867911c54..154e2e56ee 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialzones.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialzones.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: trunks.lua 4025 2009-01-11 23:37:21Z jow $ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") local uci = require("luci.model.uci").cursor() diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme.lua index b02a8f6120..539468493d 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require "luci.asterisk" diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme_settings.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme_settings.lua index 511d7a71a7..ceabd16ac4 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme_settings.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/meetme_settings.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "MeetMe - Common Settings", "Common settings for MeetMe phone conferences.") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua index 49d3a07763..039f607fd3 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phones.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phones.lua index 7c8f03f000..b22db90858 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phones.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phones.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua index e2e73eefbe..cf42d118e7 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua index 85527c297c..02f07a5faa 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunks.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail.lua index 5d0de756b3..05d9584002 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ast = require "luci.asterisk" diff --git a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua index cad2adb95f..3bee61cd92 100644 --- a/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua +++ b/applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail_settings.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require "luci.sys.zoneinfo" diff --git a/applications/luci-app-asterisk/luasrc/view/asterisk/cbi/cell.htm b/applications/luci-app-asterisk/luasrc/view/asterisk/cbi/cell.htm index b5d618ff95..fde5503c2a 100644 --- a/applications/luci-app-asterisk/luasrc/view/asterisk/cbi/cell.htm +++ b/applications/luci-app-asterisk/luasrc/view/asterisk/cbi/cell.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: dvalue.htm 3367 2008-09-19 10:42:02Z Cyrus $ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+cbi/valueheader%> diff --git a/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm b/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm index a46a8db179..106ae49bd2 100644 --- a/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm +++ b/applications/luci-app-asterisk/luasrc/view/asterisk/dialplans.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm b/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm index f93496df8b..dcc85b1d2b 100644 --- a/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm +++ b/applications/luci-app-asterisk/luasrc/view/asterisk/dialzones.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/applications/luci-app-commands/luasrc/controller/commands.lua b/applications/luci-app-commands/luasrc/controller/commands.lua index b9f0ce8794..16528d1170 100644 --- a/applications/luci-app-commands/luasrc/controller/commands.lua +++ b/applications/luci-app-commands/luasrc/controller/commands.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.commands", package.seeall) diff --git a/applications/luci-app-commands/luasrc/model/cbi/commands.lua b/applications/luci-app-commands/luasrc/model/cbi/commands.lua index 1359eb2acd..7794f15379 100644 --- a/applications/luci-app-commands/luasrc/model/cbi/commands.lua +++ b/applications/luci-app-commands/luasrc/model/cbi/commands.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local m, s diff --git a/applications/luci-app-commands/luasrc/view/commands.htm b/applications/luci-app-commands/luasrc/view/commands.htm index 83792a91fd..72f1e1dab3 100644 --- a/applications/luci-app-commands/luasrc/view/commands.htm +++ b/applications/luci-app-commands/luasrc/view/commands.htm @@ -1,13 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2012 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <% css = [[ diff --git a/applications/luci-app-coovachilli/luasrc/controller/coovachilli.lua b/applications/luci-app-coovachilli/luasrc/controller/coovachilli.lua index aa0a5cc730..f962b9bbb5 100644 --- a/applications/luci-app-coovachilli/luasrc/controller/coovachilli.lua +++ b/applications/luci-app-coovachilli/luasrc/controller/coovachilli.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. module("luci.controller.coovachilli", package.seeall) diff --git a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli.lua b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli.lua index e97987dd7e..f8cbe5dda7 100644 --- a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli.lua +++ b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli.lua @@ -1,18 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("coovachilli") diff --git a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_auth.lua b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_auth.lua index 064df2b4fa..294d538735 100644 --- a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_auth.lua +++ b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_auth.lua @@ -1,18 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("coovachilli") diff --git a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua index 2e9768ff3d..31e9994706 100644 --- a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua +++ b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.sys") require("luci.ip") diff --git a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua index ee838b0864..6ca7f3a8da 100644 --- a/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua +++ b/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_radius.lua @@ -1,18 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("coovachilli") diff --git a/applications/luci-app-ddns/luasrc/controller/ddns.lua b/applications/luci-app-ddns/luasrc/controller/ddns.lua index d511567ed8..3ec0eb8b36 100644 --- a/applications/luci-app-ddns/luasrc/controller/ddns.lua +++ b/applications/luci-app-ddns/luasrc/controller/ddns.lua @@ -1,19 +1,8 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2013 Manuel Munz -Copyright 2014 Christian Schoenebeck - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Copyright 2013 Manuel Munz +-- Copyright 2014 Christian Schoenebeck +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ddns", package.seeall) diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua index 748586cdf6..ea7f6e6a7b 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/detail.lua @@ -1,25 +1,8 @@ ---[[ -LuCI - Lua Configuration Interface - -A lot of code taken from original ddns.lua cbi-model made by -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2013 Manuel Munz - -modified to use as detail page together with new overview page and -extensions for IPv6, HTTPS settings, syslog and log settings, -optional Proxy-Support, optional DNS-Server, optional use of TCP requests to DNS server, -optional force of IP protocol version usage -Copyright 2014 Christian Schoenebeck - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Copyright 2013 Manuel Munz +-- Copyright 2014 Christian Schoenebeck +-- Licensed to the public under the Apache License 2.0. local NX = require "nixio" local FS = require "nixio.fs" diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua index dfbc7468cd..15da0289f1 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/hints.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Christian Schoenebeck - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Christian Schoenebeck +-- Licensed to the public under the Apache License 2.0. local CTRL = require "luci.controller.ddns" -- this application's controller local DISP = require "luci.dispatcher" diff --git a/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua b/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua index 5d24ee5a04..2944ec52f9 100644 --- a/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua +++ b/applications/luci-app-ddns/luasrc/model/cbi/ddns/overview.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Christian Schoenebeck - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Christian Schoenebeck +-- Licensed to the public under the Apache License 2.0. local NXFS = require "nixio.fs" local CTRL = require "luci.controller.ddns" -- this application's controller diff --git a/applications/luci-app-ddns/luasrc/tools/ddns.lua b/applications/luci-app-ddns/luasrc/tools/ddns.lua index ad7b5e86f2..5c8ced50b3 100644 --- a/applications/luci-app-ddns/luasrc/tools/ddns.lua +++ b/applications/luci-app-ddns/luasrc/tools/ddns.lua @@ -1,20 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -shared module for luci-app-ddns -Copyright 2014 Christian Schoenebeck - -function parse_url copied from https://svn.nmap.org/nmap/nselib/url.lua -Parses a URL and returns a table with all its parts according to RFC 2396. -@author Diego Nehab @author Eddie Bell - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2014 Christian Schoenebeck +-- Licensed to the public under the Apache License 2.0. module("luci.tools.ddns", package.seeall) diff --git a/applications/luci-app-diag-core/luasrc/controller/luci_diag.lua b/applications/luci-app-diag-core/luasrc/controller/luci_diag.lua index 4a8a020031..b662d7fb36 100644 --- a/applications/luci-app-diag-core/luasrc/controller/luci_diag.lua +++ b/applications/luci-app-diag-core/luasrc/controller/luci_diag.lua @@ -1,15 +1,5 @@ ---[[ - -Luci Voice Core -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_diag", package.seeall) diff --git a/applications/luci-app-diag-core/luasrc/view/diag/index.htm b/applications/luci-app-diag-core/luasrc/view/diag/index.htm index 6b1efa1a88..328c4eccb9 100644 --- a/applications/luci-app-diag-core/luasrc/view/diag/index.htm +++ b/applications/luci-app-diag-core/luasrc/view/diag/index.htm @@ -1,16 +1,8 @@ <%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Daniel Dickinson + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:Diagnostics%>

<%:The entries in the menu allow you to perform diagnostic tests on your system to aid in troubleshooting.%>

diff --git a/applications/luci-app-diag-core/luasrc/view/diag/network_config_index.htm b/applications/luci-app-diag-core/luasrc/view/diag/network_config_index.htm index 67980a6e74..595cc5f5fe 100644 --- a/applications/luci-app-diag-core/luasrc/view/diag/network_config_index.htm +++ b/applications/luci-app-diag-core/luasrc/view/diag/network_config_index.htm @@ -1,16 +1,8 @@ <%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Daniel Dickinson + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:Diagnostics%>

<%:With this menu you can configure network diagnostics, such as network device scans and ping tests.%>

diff --git a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua index c124cd3101..93f735c692 100644 --- a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua +++ b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua @@ -1,15 +1,5 @@ ---[[ - -Luci diag - Diagnostics controller module -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_diag.devinfo_common", package.seeall) diff --git a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua index 7a2fbd91a3..ebba03fb4c 100644 --- a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua +++ b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/luci_diag_devinfo.lua @@ -1,15 +1,5 @@ ---[[ - -Luci diag - Diagnostics controller module -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_diag.luci_diag_devinfo", package.seeall) diff --git a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua index 592ca1eaa9..2e879a6fed 100644 --- a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua +++ b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua @@ -1,15 +1,5 @@ ---[[ - -Luci diag - Diagnostics controller module -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_diag.netdiscover_common", package.seeall) diff --git a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua index e9aeaa6214..82a1e052e3 100644 --- a/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua +++ b/applications/luci-app-diag-devinfo/luasrc/controller/luci_diag/smap_common.lua @@ -1,15 +1,5 @@ ---[[ - -Luci diag - Diagnostics controller module -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_diag.smap_common", package.seeall) diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua index baf02c89cf..2ecb359aea 100644 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua +++ b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/mactodevinfo.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. m = Map("mactodevinfo", luci.i18n.translate("MAC Device Info Overrides"), translate("Override the information returned by the MAC to Device Info Script (mac-to-devinfo) for a specified range of MAC Addresses")) diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua index e982bcef6c..ea8a64eced 100644 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua +++ b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. require("luci.controller.luci_diag.devinfo_common") diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua index a99ddf9b82..6d89bd668a 100644 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua +++ b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_config_mini.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. require("luci.controller.luci_diag.devinfo_common") diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua index 20b6987f2d..aab2406161 100644 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua +++ b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. require("luci.controller.luci_diag.devinfo_common") diff --git a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua index aff4a98aed..01fc9b56cc 100644 --- a/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua +++ b/applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_config_mini.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. require("luci.controller.luci_diag.devinfo_common") diff --git a/applications/luci-app-diag-devinfo/luasrc/view/diag/smapsection.htm b/applications/luci-app-diag-devinfo/luasrc/view/diag/smapsection.htm index 742f659575..b9ad8a5b9b 100644 --- a/applications/luci-app-diag-devinfo/luasrc/view/diag/smapsection.htm +++ b/applications/luci-app-diag-devinfo/luasrc/view/diag/smapsection.htm @@ -1,16 +1,8 @@ <%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Daniel Dickinson + Licensed to the public under the Apache License 2.0. -%> + <%- local rowcnt = 1 function rowstyle() diff --git a/applications/luci-app-diag-devinfo/luasrc/view/diag/smapvalue.htm b/applications/luci-app-diag-devinfo/luasrc/view/diag/smapvalue.htm index 60aa70a300..278985c9fb 100644 --- a/applications/luci-app-diag-devinfo/luasrc/view/diag/smapvalue.htm +++ b/applications/luci-app-diag-devinfo/luasrc/view/diag/smapvalue.htm @@ -1,15 +1,6 @@ <%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Daniel Dickinson + Licensed to the public under the Apache License 2.0. -%> <%+cbi/valueheader%> diff --git a/applications/luci-app-dump1090/luasrc/controller/dump1090.lua b/applications/luci-app-dump1090/luasrc/controller/dump1090.lua index c29c22fc60..bc2b36dc32 100644 --- a/applications/luci-app-dump1090/luasrc/controller/dump1090.lua +++ b/applications/luci-app-dump1090/luasrc/controller/dump1090.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - dump1090 support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. module("luci.controller.dump1090", package.seeall) diff --git a/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua b/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua index e9ed336c13..6015ffe1fc 100644 --- a/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua +++ b/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - dump1090 support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. m = Map("dump1090", "dump1090", translate("dump1090 is a Mode S decoder specifically designed for RTLSDR devices, here you can configure the settings.")) diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/custom.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/custom.lua index 9b53a8a62f..bd23143253 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/custom.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/custom.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/forward-details.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/forward-details.lua index c80a6d0e7a..7e06edda1b 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/forward-details.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/forward-details.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" local dsp = require "luci.dispatcher" diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua index 5f7a69b255..b185c71f11 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010-2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local ft = require "luci.tools.firewall" diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/rule-details.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/rule-details.lua index d29879c247..2dcc4e9f25 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/rule-details.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/rule-details.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010-2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" local utl = require "luci.util" diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/rules.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/rules.lua index 9bfa66bd08..b961a515c8 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/rules.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/rules.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010-2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local ft = require "luci.tools.firewall" diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua index e5bcb34dae..42df10a43d 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010-2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network" local fw = require "luci.model.firewall" diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/zones.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/zones.lua index e6d8548bf4..60968ce5bf 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/zones.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/zones.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local fw = require "luci.model.firewall" diff --git a/applications/luci-app-firewall/luasrc/tools/firewall.lua b/applications/luci-app-firewall/luasrc/tools/firewall.lua index 07162cba5c..8abbc14d76 100644 --- a/applications/luci-app-firewall/luasrc/tools/firewall.lua +++ b/applications/luci-app-firewall/luasrc/tools/firewall.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2011-2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.tools.firewall", package.seeall) diff --git a/applications/luci-app-freifunk-diagnostics/luasrc/controller/freifunk/diag.lua b/applications/luci-app-freifunk-diagnostics/luasrc/controller/freifunk/diag.lua index 2a5db6751a..f9b101e0f3 100644 --- a/applications/luci-app-freifunk-diagnostics/luasrc/controller/freifunk/diag.lua +++ b/applications/luci-app-freifunk-diagnostics/luasrc/controller/freifunk/diag.lua @@ -1,17 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Jo-Philipp Wich -Copyright 2013 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Jo-Philipp Wich +-- Copyright 2013 Manuel Munz +-- Licensed to the public under the Apache License 2.0. module("luci.controller.freifunk.diag", package.seeall) diff --git a/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm b/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm index 24f9bae61b..98133cf8bf 100644 --- a/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm +++ b/applications/luci-app-freifunk-diagnostics/luasrc/view/freifunk/diagnostics.htm @@ -1,15 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/applications/luci-app-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua b/applications/luci-app-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua index ec087d93a1..b550fc87eb 100644 --- a/applications/luci-app-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua +++ b/applications/luci-app-freifunk-policyrouting/luasrc/controller/freifunk/policy-routing.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. module "luci.controller.freifunk.policy-routing" diff --git a/applications/luci-app-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua b/applications/luci-app-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua index f7f0467719..b09c237ca2 100644 --- a/applications/luci-app-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua +++ b/applications/luci-app-freifunk-policyrouting/luasrc/model/cbi/freifunk/policyrouting.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() diff --git a/applications/luci-app-freifunk-widgets/luasrc/controller/freifunk/widgets.lua b/applications/luci-app-freifunk-widgets/luasrc/controller/freifunk/widgets.lua index 5bbd53f57d..37104fc215 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/controller/freifunk/widgets.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/controller/freifunk/widgets.lua @@ -1,15 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- local require = require module "luci.controller.freifunk.widgets" diff --git a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/heightwidth.lua b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/heightwidth.lua index b572187bdd..fc23f4bdbc 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/heightwidth.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/heightwidth.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local map, section = ... diff --git a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/html.lua b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/html.lua index 367e8a269e..adeffa965d 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/html.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/html.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local map, section = ... local utl = require "luci.util" diff --git a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/iframe.lua b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/iframe.lua index b9cbcaee56..68ab06d885 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/iframe.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/iframe.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local map, section = ... local utl = require "luci.util" diff --git a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/rssfeed.lua b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/rssfeed.lua index 5df5a346fe..68fa3be7b6 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/rssfeed.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/rssfeed.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local map, section = ... local utl = require "luci.util" diff --git a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/search.lua b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/search.lua index 735dc7cdff..a02748924b 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/search.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/search.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local map, section = ... local utl = require "luci.util" diff --git a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widget.lua b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widget.lua index 5adfc8f850..7b6cd89961 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widget.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widget.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- - +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local dsp = require "luci.dispatcher" diff --git a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua index 7256ba1ff2..076d8e08cb 100644 --- a/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua +++ b/applications/luci-app-freifunk-widgets/luasrc/model/cbi/freifunk/widgets/widgets_overview.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local fs = require "nixio.fs" diff --git a/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua b/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua index a6f4adc382..f273a551df 100644 --- a/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua +++ b/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI hd-idle -(c) 2008 Yanira - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Yanira +-- Licensed to the public under the Apache License 2.0. module("luci.controller.hd_idle", package.seeall) diff --git a/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua b/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua index 0c844ca4e0..70b04af909 100644 --- a/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua +++ b/applications/luci-app-hd-idle/luasrc/model/cbi/hd_idle.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI hd-idle -(c) 2008 Yanira - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Yanira +-- Licensed to the public under the Apache License 2.0. require("nixio.fs") diff --git a/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua b/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua index abce09cea8..46c7684015 100644 --- a/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua +++ b/applications/luci-app-ltqtapi/luasrc/controller/ltqtapi.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2019 John Crispin - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2019 John Crispin +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ltqtapi", package.seeall) diff --git a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua index 40e00f346f..907db56e89 100644 --- a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua +++ b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/account.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 John Crispin - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2010 John Crispin +-- Licensed to the public under the Apache License 2.0. m = Map("telephony", translate("VoIP")) m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony restart") end diff --git a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua index 08311b5152..b32feded72 100644 --- a/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua +++ b/applications/luci-app-ltqtapi/luasrc/model/cbi/luci_ltqtapi/contact.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 John Crispin - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2010 John Crispin +-- Licensed to the public under the Apache License 2.0. m = Map("telephony", translate("VoIP")) m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony reload") end diff --git a/applications/luci-app-meshwizard/luasrc/controller/meshwizard.lua b/applications/luci-app-meshwizard/luasrc/controller/meshwizard.lua index 942987db50..0ad76b521b 100644 --- a/applications/luci-app-meshwizard/luasrc/controller/meshwizard.lua +++ b/applications/luci-app-meshwizard/luasrc/controller/meshwizard.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. module "luci.controller.meshwizard" diff --git a/applications/luci-app-minidlna/luasrc/controller/minidlna.lua b/applications/luci-app-minidlna/luasrc/controller/minidlna.lua index 606cf6d7b4..9200796476 100644 --- a/applications/luci-app-minidlna/luasrc/controller/minidlna.lua +++ b/applications/luci-app-minidlna/luasrc/controller/minidlna.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - miniDLNA support - -Copyright 2012 Gabor Juhos - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2012 Gabor Juhos +-- Licensed to the public under the Apache License 2.0. module("luci.controller.minidlna", package.seeall) diff --git a/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua b/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua index 41e2826ee7..99ef68cbca 100644 --- a/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua +++ b/applications/luci-app-minidlna/luasrc/model/cbi/minidlna.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - miniDLNA support - -Copyright 2012 Gabor Juhos - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2012 Gabor Juhos +-- Licensed to the public under the Apache License 2.0. local m, s, o diff --git a/applications/luci-app-mjpg-streamer/luasrc/controller/mjpg-streamer.lua b/applications/luci-app-mjpg-streamer/luasrc/controller/mjpg-streamer.lua index 97b9aa4abb..81fd3b39d3 100644 --- a/applications/luci-app-mjpg-streamer/luasrc/controller/mjpg-streamer.lua +++ b/applications/luci-app-mjpg-streamer/luasrc/controller/mjpg-streamer.lua @@ -1,17 +1,5 @@ ---[[ -LuCI MJPEG Streamer - -(c) 2014 Roger D -Based on work by: vargabab and OpenWrt Dreambox - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Roger D +-- Licensed to the public under the Apache License 2.0. module("luci.controller.mjpg-streamer", package.seeall) diff --git a/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua b/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua index 1a627a6f3a..0e1c8bf9b6 100644 --- a/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua +++ b/applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI MJPEG Streamer - -(c) 2014 Roger D -Based on work by: vargabab and OpenWrt Dreambox - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2014 Roger D +-- Licensed to the public under the Apache License 2.0. m = Map("mjpg-streamer", "MJPG-streamer", translate("mjpg streamer is a streaming application for Linux-UVC compatible webcams")) diff --git a/applications/luci-app-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua b/applications/luci-app-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua index b9984cb89b..78ed24f8b6 100644 --- a/applications/luci-app-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua +++ b/applications/luci-app-mmc-over-gpio/luasrc/controller/mmc_over_gpio.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI mmc_over_gpio -(c) 2008 Yanira - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Yanira +-- Licensed to the public under the Apache License 2.0. module("luci.controller.mmc_over_gpio", package.seeall) diff --git a/applications/luci-app-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua b/applications/luci-app-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua index 04d356c193..fd0896cc43 100644 --- a/applications/luci-app-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua +++ b/applications/luci-app-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI mmc_over_gpio -(c) 2008 Yanira - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Yanira +-- Licensed to the public under the Apache License 2.0. m = Map("mmc_over_gpio", translate("MMC/SD driver configuration"), translate("MMC/SD driver configuration")) diff --git a/applications/luci-app-ntpc/luasrc/controller/ntpc.lua b/applications/luci-app-ntpc/luasrc/controller/ntpc.lua index b7f4cdfc78..33d67ec8d0 100644 --- a/applications/luci-app-ntpc/luasrc/controller/ntpc.lua +++ b/applications/luci-app-ntpc/luasrc/controller/ntpc.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ntpc", package.seeall) diff --git a/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpc.lua b/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpc.lua index 5265359c6a..00f5fb5111 100644 --- a/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpc.lua +++ b/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpc.lua @@ -1,17 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- m = Map("ntpclient", translate("Time Synchronisation"), translate("Synchronizes the system time")) s = m:section(TypedSection, "ntpclient", translate("General")) diff --git a/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua b/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua index 2a6c415242..e54813eb90 100644 --- a/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua +++ b/applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua @@ -1,17 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- require("luci.tools.webadmin") m = Map("ntpclient", translate("Time Synchronisation"), translate("Synchronizes the system time")) diff --git a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua index 229102da64..bb7fe3f2e9 100644 --- a/applications/luci-app-ocserv/luasrc/controller/ocserv.lua +++ b/applications/luci-app-ocserv/luasrc/controller/ocserv.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ocserv", package.seeall) diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua index c4289f0520..d354cf6445 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/main.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local has_ipv6 = fs.access("/proc/net/ipv6_route") diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua index 3e241cb67f..c50cb39188 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/user-config.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local has_ipv6 = fs.access("/proc/net/ipv6_route") diff --git a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua index 2f69c014e2..e2a08acf36 100644 --- a/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua +++ b/applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos +-- Licensed to the public under the Apache License 2.0. local dsp = require "luci.dispatcher" local nixio = require "nixio" diff --git a/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm b/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm index b1d9418fa6..7142c77b39 100644 --- a/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm +++ b/applications/luci-app-olsr-services/luasrc/view/freifunk-services/services.htm @@ -1,14 +1,6 @@ <%# -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd.lua index 46121747d4..c15f9a991b 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") local fs = require "nixio.fs" diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua index 2b8d60cd1a..5020045859 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") local fs = require "nixio.fs" diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrddisplay.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrddisplay.lua index 48dc965c78..aadb44f377 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrddisplay.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrddisplay.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. m = Map("luci_olsr", translate("OLSR - Display Options")) diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna.lua index d5ee79f24a..e4b093aa13 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local ipv = uci:get_first("olsrd", "olsrd", "IpVersion", "4") diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna6.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna6.lua index 21b2ec8677..682421ff7a 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna6.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna6.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface.lua index 9673d9afcd..1c6b510274 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local ip = require "luci.ip" diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface6.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface6.lua index 85818acb3a..a5e55566da 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface6.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdiface6.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local ip = require "luci.ip" diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua index bd72c56adf..04d3b94547 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ip = require "luci.ip" local fs = require "nixio.fs" diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua index 221938e7a8..3dcb0f2280 100644 --- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua +++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ip = require "luci.ip" local fs = require "nixio.fs" diff --git a/applications/luci-app-olsr/luasrc/tools/olsr.lua b/applications/luci-app-olsr/luasrc/tools/olsr.lua index dfd8262f0d..781b2658d2 100644 --- a/applications/luci-app-olsr/luasrc/tools/olsr.lua +++ b/applications/luci-app-olsr/luasrc/tools/olsr.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. module("luci.tools.olsr", package.seeall) diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/error_olsr.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/error_olsr.htm index 2c872fa5a2..13db0247ae 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/error_olsr.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/error_olsr.htm @@ -1,15 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:OLSR Daemon%>

<%:Unable to connect to the OLSR daemon!%>

diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm index 689bafdfae..07fbfb9e08 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/hna.htm @@ -1,15 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/interfaces.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/interfaces.htm index dd1a21ea6d..224bfcd394 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/interfaces.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/interfaces.htm @@ -1,15 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/mid.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/mid.htm index ec5caaa953..93fbd9eb65 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/mid.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/mid.htm @@ -1,18 +1,10 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> + <% local i = 1 %> diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/neighbors.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/neighbors.htm index daa52831f6..02a3e3fa34 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/neighbors.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/neighbors.htm @@ -1,15 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm index 727b476d03..a1fb0bbe48 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/overview.htm @@ -1,14 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm index 76e1b1078b..6980a43622 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/routes.htm @@ -1,14 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm index 75d0c1c2fb..4f848996d4 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/smartgw.htm @@ -1,14 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/applications/luci-app-olsr/luasrc/view/status-olsr/topology.htm b/applications/luci-app-olsr/luasrc/view/status-olsr/topology.htm index eb3df5ff51..d302577685 100644 --- a/applications/luci-app-olsr/luasrc/view/status-olsr/topology.htm +++ b/applications/luci-app-olsr/luasrc/view/status-olsr/topology.htm @@ -1,16 +1,10 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> + <% local i = 1 local olsrtools = require "luci.tools.olsr" diff --git a/applications/luci-app-openvpn/luasrc/controller/openvpn.lua b/applications/luci-app-openvpn/luasrc/controller/openvpn.lua index 8695dae848..e245ecb734 100644 --- a/applications/luci-app-openvpn/luasrc/controller/openvpn.lua +++ b/applications/luci-app-openvpn/luasrc/controller/openvpn.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.openvpn", package.seeall) diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index f47af6d2f1..7e39dad2eb 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. require("luci.ip") require("luci.model.uci") diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua index 92f7cb5692..561b0dd028 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. require("luci.ip") require("luci.model.uci") diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua index 2f865e0020..8b2ce5a85a 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local sys = require "luci.sys" diff --git a/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm b/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm index 4f4e869e5c..6590caadc4 100644 --- a/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm +++ b/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm @@ -1,22 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -These strings need to be here to be included in the translation template -translate("Service") -translate("Networking") -translate("VPN") -translate("Cryptography") - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%>
diff --git a/applications/luci-app-p2pblock/luasrc/controller/ff_p2pblock.lua b/applications/luci-app-p2pblock/luasrc/controller/ff_p2pblock.lua index 887f18756f..695b5a1dea 100644 --- a/applications/luci-app-p2pblock/luasrc/controller/ff_p2pblock.lua +++ b/applications/luci-app-p2pblock/luasrc/controller/ff_p2pblock.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ff_p2pblock", package.seeall) diff --git a/applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua b/applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua index 35f76cd2bc..ce316ffeb3 100644 --- a/applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua +++ b/applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" diff --git a/applications/luci-app-p910nd/luasrc/controller/p910nd.lua b/applications/luci-app-p910nd/luasrc/controller/p910nd.lua index 4efaef8a18..df47e9fd92 100644 --- a/applications/luci-app-p910nd/luasrc/controller/p910nd.lua +++ b/applications/luci-app-p910nd/luasrc/controller/p910nd.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI UVC Streamer -(c) 2008 Yanira - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Yanira +-- Licensed to the public under the Apache License 2.0. module("luci.controller.p910nd", package.seeall) diff --git a/applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua b/applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua index 7580a3e74e..099013806d 100644 --- a/applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua +++ b/applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua @@ -1,16 +1,6 @@ ---[[ - -LuCI p910nd -(c) 2008 Yanira -(c) 2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Yanira +-- Copyright 2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local uci = luci.model.uci.cursor_state() local net = require "luci.model.network" diff --git a/applications/luci-app-polipo/luasrc/controller/polipo.lua b/applications/luci-app-polipo/luasrc/controller/polipo.lua index 1113f8f267..b3ae389801 100644 --- a/applications/luci-app-polipo/luasrc/controller/polipo.lua +++ b/applications/luci-app-polipo/luasrc/controller/polipo.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Aleksandar Krsteski - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Aleksandar Krsteski +-- Licensed to the public under the Apache License 2.0. module("luci.controller.polipo", package.seeall) diff --git a/applications/luci-app-polipo/luasrc/model/cbi/polipo.lua b/applications/luci-app-polipo/luasrc/model/cbi/polipo.lua index 6dc35d581a..967a47aa7b 100644 --- a/applications/luci-app-polipo/luasrc/model/cbi/polipo.lua +++ b/applications/luci-app-polipo/luasrc/model/cbi/polipo.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Aleksandar Krsteski - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Aleksandar Krsteski +-- Licensed to the public under the Apache License 2.0. m = Map("polipo", translate("Polipo"), translate("Polipo is a small and fast caching web proxy.")) diff --git a/applications/luci-app-qos/luasrc/controller/qos.lua b/applications/luci-app-qos/luasrc/controller/qos.lua index 4a7092de74..250a0392f7 100644 --- a/applications/luci-app-qos/luasrc/controller/qos.lua +++ b/applications/luci-app-qos/luasrc/controller/qos.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. module("luci.controller.qos", package.seeall) diff --git a/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua index 6965078edf..99a884f865 100644 --- a/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua +++ b/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" diff --git a/applications/luci-app-radvd/luasrc/controller/radvd.lua b/applications/luci-app-radvd/luasrc/controller/radvd.lua index 58dcbb2eac..445c931483 100644 --- a/applications/luci-app-radvd/luasrc/controller/radvd.lua +++ b/applications/luci-app-radvd/luasrc/controller/radvd.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.radvd", package.seeall) diff --git a/applications/luci-app-radvd/luasrc/model/cbi/radvd.lua b/applications/luci-app-radvd/luasrc/model/cbi/radvd.lua index a43e8d9548..103475ab64 100644 --- a/applications/luci-app-radvd/luasrc/model/cbi/radvd.lua +++ b/applications/luci-app-radvd/luasrc/model/cbi/radvd.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("radvd", translate("Radvd"), translate("Radvd is a router advertisement daemon for IPv6. " .. diff --git a/applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua b/applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua index ec67f308ae..e207aa17a5 100644 --- a/applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua +++ b/applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: rdnss.lua 6715 2011-01-13 20:03:40Z jow $ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" diff --git a/applications/luci-app-radvd/luasrc/model/cbi/radvd/interface.lua b/applications/luci-app-radvd/luasrc/model/cbi/radvd/interface.lua index 519664cdc2..3a644a1ead 100644 --- a/applications/luci-app-radvd/luasrc/model/cbi/radvd/interface.lua +++ b/applications/luci-app-radvd/luasrc/model/cbi/radvd/interface.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" diff --git a/applications/luci-app-radvd/luasrc/model/cbi/radvd/prefix.lua b/applications/luci-app-radvd/luasrc/model/cbi/radvd/prefix.lua index 6032986510..97d84f403c 100644 --- a/applications/luci-app-radvd/luasrc/model/cbi/radvd/prefix.lua +++ b/applications/luci-app-radvd/luasrc/model/cbi/radvd/prefix.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" diff --git a/applications/luci-app-radvd/luasrc/model/cbi/radvd/rdnss.lua b/applications/luci-app-radvd/luasrc/model/cbi/radvd/rdnss.lua index ea65263996..f48beea46d 100644 --- a/applications/luci-app-radvd/luasrc/model/cbi/radvd/rdnss.lua +++ b/applications/luci-app-radvd/luasrc/model/cbi/radvd/rdnss.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" diff --git a/applications/luci-app-radvd/luasrc/model/cbi/radvd/route.lua b/applications/luci-app-radvd/luasrc/model/cbi/radvd/route.lua index 97c72a4ec3..7a90798e02 100644 --- a/applications/luci-app-radvd/luasrc/model/cbi/radvd/route.lua +++ b/applications/luci-app-radvd/luasrc/model/cbi/radvd/route.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sid = arg[1] local utl = require "luci.util" diff --git a/applications/luci-app-samba/luasrc/controller/samba.lua b/applications/luci-app-samba/luasrc/controller/samba.lua index ee7d44aa4d..e239a8264f 100644 --- a/applications/luci-app-samba/luasrc/controller/samba.lua +++ b/applications/luci-app-samba/luasrc/controller/samba.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.samba", package.seeall) diff --git a/applications/luci-app-samba/luasrc/model/cbi/samba.lua b/applications/luci-app-samba/luasrc/model/cbi/samba.lua index 91526374a4..42da8c4073 100644 --- a/applications/luci-app-samba/luasrc/model/cbi/samba.lua +++ b/applications/luci-app-samba/luasrc/model/cbi/samba.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("samba", translate("Network Shares")) diff --git a/applications/luci-app-shairplay/luasrc/controller/shairplay.lua b/applications/luci-app-shairplay/luasrc/controller/shairplay.lua index 3a2c2ea1be..d3223016af 100644 --- a/applications/luci-app-shairplay/luasrc/controller/shairplay.lua +++ b/applications/luci-app-shairplay/luasrc/controller/shairplay.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - Shairplay support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. module("luci.controller.shairplay", package.seeall) diff --git a/applications/luci-app-shairplay/luasrc/model/cbi/shairplay.lua b/applications/luci-app-shairplay/luasrc/model/cbi/shairplay.lua index e957ce697c..4e078d7e53 100644 --- a/applications/luci-app-shairplay/luasrc/model/cbi/shairplay.lua +++ b/applications/luci-app-shairplay/luasrc/model/cbi/shairplay.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - Shairplay support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. m = Map("shairplay", "Shairplay", translate("Shairplay is a simple AirPlay server implementation, here you can configure the settings.")) diff --git a/applications/luci-app-shairport/luasrc/controller/shairport.lua b/applications/luci-app-shairport/luasrc/controller/shairport.lua index d201eca542..b31b64e3ca 100644 --- a/applications/luci-app-shairport/luasrc/controller/shairport.lua +++ b/applications/luci-app-shairport/luasrc/controller/shairport.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - Shairport support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. module("luci.controller.shairport", package.seeall) diff --git a/applications/luci-app-shairport/luasrc/model/cbi/shairport.lua b/applications/luci-app-shairport/luasrc/model/cbi/shairport.lua index 974d7850dd..d3c2a25db0 100644 --- a/applications/luci-app-shairport/luasrc/model/cbi/shairport.lua +++ b/applications/luci-app-shairport/luasrc/model/cbi/shairport.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - Shairport support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. m = Map("shairport", "Shairport", translate("Shairport is a simple AirPlay server implementation, here you can configure the settings.")) diff --git a/applications/luci-app-siitwizard/luasrc/controller/siitwizard.lua b/applications/luci-app-siitwizard/luasrc/controller/siitwizard.lua index 2e0fd0812a..6cbe990341 100644 --- a/applications/luci-app-siitwizard/luasrc/controller/siitwizard.lua +++ b/applications/luci-app-siitwizard/luasrc/controller/siitwizard.lua @@ -1,18 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module "luci.controller.siitwizard" diff --git a/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua b/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua index 6741f88021..32ba1da6f4 100644 --- a/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua +++ b/applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua @@ -1,18 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local bit = require "nixio".bit diff --git a/applications/luci-app-splash/luasrc/model/cbi/splash/splash.lua b/applications/luci-app-splash/luasrc/model/cbi/splash/splash.lua index 206ef70531..c09d2e0f78 100644 --- a/applications/luci-app-splash/luasrc/model/cbi/splash/splash.lua +++ b/applications/luci-app-splash/luasrc/model/cbi/splash/splash.lua @@ -1,12 +1,4 @@ ---[[ -LuCI - Lua Configuration Interface - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Licensed to the public under the Apache License 2.0. require("luci.model.uci") diff --git a/applications/luci-app-splash/luasrc/model/cbi/splash/splashtext.lua b/applications/luci-app-splash/luasrc/model/cbi/splash/splashtext.lua index 00c5aba947..8d819157a5 100644 --- a/applications/luci-app-splash/luasrc/model/cbi/splash/splashtext.lua +++ b/applications/luci-app-splash/luasrc/model/cbi/splash/splashtext.lua @@ -1,16 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2010 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Copyright 2010 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" diff --git a/applications/luci-app-splash/luasrc/view/admin_status/splash.htm b/applications/luci-app-splash/luasrc/view/admin_status/splash.htm index 61b32bab9e..91c9b1cf18 100644 --- a/applications/luci-app-splash/luasrc/view/admin_status/splash.htm +++ b/applications/luci-app-splash/luasrc/view/admin_status/splash.htm @@ -1,15 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/applications/luci-app-splash/luasrc/view/splash/blocked.htm b/applications/luci-app-splash/luasrc/view/splash/blocked.htm index de61ecf011..406139b51b 100644 --- a/applications/luci-app-splash/luasrc/view/splash/blocked.htm +++ b/applications/luci-app-splash/luasrc/view/splash/blocked.htm @@ -1,13 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> + <% local contacturl = luci.dispatcher.build_url("freifunk", "contact") %> diff --git a/applications/luci-app-splash/luasrc/view/splash/splash.htm b/applications/luci-app-splash/luasrc/view/splash/splash.htm index b3eddc6150..3d55866902 100644 --- a/applications/luci-app-splash/luasrc/view/splash/splash.htm +++ b/applications/luci-app-splash/luasrc/view/splash/splash.htm @@ -1,15 +1,10 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> + <% local fs = require "nixio.fs" local has_custom_splash = fs.access("/usr/lib/luci-splash/splashtext.html") diff --git a/applications/luci-app-splash/luasrc/view/splash_splash/index.htm b/applications/luci-app-splash/luasrc/view/splash_splash/index.htm index ab754913d3..080555e23c 100644 --- a/applications/luci-app-splash/luasrc/view/splash_splash/index.htm +++ b/applications/luci-app-splash/luasrc/view/splash_splash/index.htm @@ -1,16 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%> <%+footer%> \ No newline at end of file diff --git a/applications/luci-app-splash/luasrc/view/splash_splash/splash.htm b/applications/luci-app-splash/luasrc/view/splash_splash/splash.htm index 8554913cd8..7704807ba7 100644 --- a/applications/luci-app-splash/luasrc/view/splash_splash/splash.htm +++ b/applications/luci-app-splash/luasrc/view/splash_splash/splash.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%> <%+splash/splash%> diff --git a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua index 5729bb186a..dfe9230fa8 100644 --- a/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua +++ b/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua @@ -1,16 +1,6 @@ ---[[ - -Luci statistics - statistics controller module -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich -(c) 2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Copyright 2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_statistics.luci_statistics", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/collectd.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/collectd.lua index 2343854f66..2e9989280e 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/collectd.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/collectd.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - general collectd configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.sys") diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua index 26d5f07c84..3e1e528b8d 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/cpu.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd cpu plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("CPU Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/csv.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/csv.lua index 4f5aeef1d0..0f65fd76bd 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/csv.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/csv.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd csv plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("CSV Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/df.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/df.lua index 1a3245fc04..cfcf4cea02 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/df.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/df.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd df plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("DF Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/disk.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/disk.lua index 7592b44403..04872d90b4 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/disk.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/disk.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd disk plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Disk Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/dns.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/dns.lua index 28d9e5de33..d6abf8846a 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/dns.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/dns.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd dns plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.sys") diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/email.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/email.lua index c5733d8cf8..629e121f13 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/email.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/email.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd email plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("E-Mail Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/exec.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/exec.lua index 997d455d9a..63dff0fa95 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/exec.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/exec.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd exec plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Exec Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/interface.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/interface.lua index dbb3e9dc06..b8ee56ffdc 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/interface.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/interface.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd interface plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.sys") diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua index 1f7341c46e..638c9529ff 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iptables.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd iptables plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.sys.iptparser") diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/irq.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/irq.lua index d6aa2e96c3..42569703f1 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/irq.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/irq.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd irq plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("IRQ Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua index 5e9340dc46..8fc5414ac1 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd interface plugin configuration -(c) 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local m, s, o diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/load.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/load.lua index e59a4b8f7e..d8e2105343 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/load.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/load.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd load plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Load Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/netlink.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/netlink.lua index 3417d0902d..82a5bc56f5 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/netlink.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/netlink.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd netlink plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.sys") diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua index 8a0068973e..c3286a45d9 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua @@ -1,18 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd network plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- - +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Network Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/nut.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/nut.lua index ad030718cf..03ec29e13e 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/nut.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/nut.lua @@ -1,15 +1,4 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright © 2011 Manuel Munz -Copyright © 2012 David Woodhouse - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("UPS Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua index e3eb7b2c4b..59266e553c 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("OLSRd Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/ping.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/ping.lua index c55ac87368..3f728a8bff 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/ping.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/ping.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd ping plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Ping Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/processes.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/processes.lua index 3aea6b3c71..013e2522ee 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/processes.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/processes.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd processes plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Processes Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua index 75716341c8..bfa421e34f 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/rrdtool.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd rrdtool plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("RRDTool Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/splash_leases.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/splash_leases.lua index a15ed0ecce..4ddfacc118 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/splash_leases.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/splash_leases.lua @@ -1,15 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd splash_leases plugin configuration -(c) 2013 Freifunk Augsburg / Michael Wendland - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2013 Freifunk Augsburg / Michael Wendland +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Splash Leases Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua index 9d0f6e137c..4731d84924 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd tcpconns plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("TCPConns Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua index cbd52ec1fe..2ae5471155 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/unixsock.lua @@ -1,17 +1,5 @@ ---[[ - -Luci configuration model for statistics - collectd unixsock plugin configuration -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("luci_statistics", translate("Unixsock Plugin Configuration"), diff --git a/applications/luci-app-statistics/luasrc/statistics/datatree.lua b/applications/luci-app-statistics/luasrc/statistics/datatree.lua index 850b83a998..b1ae010f02 100644 --- a/applications/luci-app-statistics/luasrc/statistics/datatree.lua +++ b/applications/luci-app-statistics/luasrc/statistics/datatree.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - rrd data tree builder -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.datatree", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/i18n.lua b/applications/luci-app-statistics/luasrc/statistics/i18n.lua index a1a2fa9de3..ac7f1979af 100644 --- a/applications/luci-app-statistics/luasrc/statistics/i18n.lua +++ b/applications/luci-app-statistics/luasrc/statistics/i18n.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - diagram i18n helper -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.i18n", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua index dbcae9dc6b..8d3482c161 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - rrdtool interface library / diagram model interpreter -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua index 2da9f5a08a..8eca5c36a1 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/colors.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - diagram color helper class -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.colors", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua index 0da546c0b4..0142b8ff36 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - conntrack plugin diagram definition -(c) 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.conntrack",package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua index c0e86245c0..78100356ee 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - cpu plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: cpu.lua 2274 2008-06-03 23:15:16Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.cpu",package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua index fa206badbd..afe686b22e 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - df plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: df.lua 2274 2008-06-03 23:15:16Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.df", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/disk.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/disk.lua index ebc37ef3a4..f2b4c0f06a 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/disk.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/disk.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - df plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: df.lua 2274 2008-06-03 23:15:16Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.disk", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua index 94a148d810..cf96d8fbe1 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua @@ -1,15 +1,5 @@ ---[[ - -Luci statistics - dns plugin diagram definition - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.dns", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua index a6f3b5c6a6..c4010a22c4 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/interface.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - interface plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.interface", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua index c1adbdc619..ecfb944301 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - iptables plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: ipt_bytes.lua 2276 2008-06-03 23:18:37Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.iptables", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/irq.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/irq.lua index aabe14a037..3e77257ddb 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/irq.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/irq.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - irq plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: irq.lua 2276 2008-06-03 23:18:37Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.irq", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua index 0c6eed9936..4b829ef542 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/iwinfo.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - wireless plugin diagram definition -(c) 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.iwinfo", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua index 4cb4795ef6..6dd25efce8 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/load.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - load plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: load.lua 2329 2008-06-08 21:51:55Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.load", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua index 9313952518..cd8db053c1 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - netlink plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.netlink", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua index 69f1ae305c..6dc81bc1d7 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/nut.lua @@ -1,17 +1,4 @@ ---[[ - -Luci statistics - ups plugin diagram definition -Copyright © 2008 Freifunk Leipzig / Jo-Philipp Wich -Copyright © 2012 David Woodhouse - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- - +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.nut",package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua index 3ca2f03ec8..a69469568e 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua @@ -1,15 +1,5 @@ ---[[ - -Luci statistics - olsrd plugin diagram definition - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.olsrd", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua index bdffc85997..1726d23001 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/ping.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - ping plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: ping.lua 6810 2011-01-29 03:33:48Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.ping", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua index 6f83c8e283..3778736637 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - processes plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.processes", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/splash_leases.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/splash_leases.lua index 69f3c113cd..65fba5299d 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/splash_leases.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/splash_leases.lua @@ -1,16 +1,6 @@ ---[[ - -Luci statistics - splash_leases plugin diagram definition -(c) 2013 Freifunk Augsburg / Michael Wendland - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - +-- Copyright 2013 Freifunk Augsburg / Michael Wendland +-- Licensed to the public under the Apache License 2.0. -]]-- module("luci.statistics.rrdtool.definitions.splash_leases", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/tcpconns.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/tcpconns.lua index 4f1c221f9b..9d089f69ac 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/tcpconns.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/tcpconns.lua @@ -1,17 +1,5 @@ ---[[ - -Luci statistics - tcpconns plugin diagram definition -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: tcp_connections.lua 2274 2008-06-03 23:15:16Z jow $ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.tcpconns", package.seeall) diff --git a/applications/luci-app-statistics/luasrc/view/admin_statistics/index.htm b/applications/luci-app-statistics/luasrc/view/admin_statistics/index.htm index 25157da40a..2dc098a386 100644 --- a/applications/luci-app-statistics/luasrc/view/admin_statistics/index.htm +++ b/applications/luci-app-statistics/luasrc/view/admin_statistics/index.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:Statistics%>

diff --git a/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm b/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm index 8a8256bbbf..b9e3a0e37b 100644 --- a/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm +++ b/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:Statistics%>

diff --git a/applications/luci-app-tinyproxy/luasrc/controller/tinyproxy.lua b/applications/luci-app-tinyproxy/luasrc/controller/tinyproxy.lua index 0b81b90865..f5ec7a5b74 100644 --- a/applications/luci-app-tinyproxy/luasrc/controller/tinyproxy.lua +++ b/applications/luci-app-tinyproxy/luasrc/controller/tinyproxy.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.tinyproxy", package.seeall) diff --git a/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua b/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua index 4c2a3cbfe8..bf3a040ff1 100644 --- a/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua +++ b/applications/luci-app-tinyproxy/luasrc/model/cbi/tinyproxy.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008-2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008-2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("tinyproxy", translate("Tinyproxy"), translate("Tinyproxy is a small and fast non-caching HTTP(S)-Proxy")) diff --git a/applications/luci-app-transmission/luasrc/controller/transmission.lua b/applications/luci-app-transmission/luasrc/controller/transmission.lua index 2c4df46b7c..b54b92b04b 100644 --- a/applications/luci-app-transmission/luasrc/controller/transmission.lua +++ b/applications/luci-app-transmission/luasrc/controller/transmission.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - Transmission support - -Copyright 2012 Gabor Varga - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2012 Gabor Varga +-- Licensed to the public under the Apache License 2.0. module("luci.controller.transmission", package.seeall) diff --git a/applications/luci-app-transmission/luasrc/model/cbi/transmission.lua b/applications/luci-app-transmission/luasrc/model/cbi/transmission.lua index 4f9e3c5476..ec19f477b2 100644 --- a/applications/luci-app-transmission/luasrc/model/cbi/transmission.lua +++ b/applications/luci-app-transmission/luasrc/model/cbi/transmission.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - Transmission support - -Copyright 2012 Gabor Varga - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2012 Gabor Varga +-- Licensed to the public under the Apache License 2.0. require("luci.sys") require("luci.util") diff --git a/applications/luci-app-udpxy/luasrc/controller/udpxy.lua b/applications/luci-app-udpxy/luasrc/controller/udpxy.lua index bc85b0bb00..36a40ddfc7 100644 --- a/applications/luci-app-udpxy/luasrc/controller/udpxy.lua +++ b/applications/luci-app-udpxy/luasrc/controller/udpxy.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - udpxy support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. module("luci.controller.udpxy", package.seeall) diff --git a/applications/luci-app-udpxy/luasrc/model/cbi/udpxy.lua b/applications/luci-app-udpxy/luasrc/model/cbi/udpxy.lua index b08f93baf6..d823da06f4 100644 --- a/applications/luci-app-udpxy/luasrc/model/cbi/udpxy.lua +++ b/applications/luci-app-udpxy/luasrc/model/cbi/udpxy.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - udpxy support - -Copyright 2014 Álvaro Fernández Rojas - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2014 Álvaro Fernández Rojas +-- Licensed to the public under the Apache License 2.0. m = Map("udpxy", "udpxy", translate("udpxy is a UDP-to-HTTP multicast traffic relay daemon, here you can configure the settings.")) diff --git a/applications/luci-app-upnp/luasrc/controller/upnp.lua b/applications/luci-app-upnp/luasrc/controller/upnp.lua index 83fa94154b..619b6f4770 100644 --- a/applications/luci-app-upnp/luasrc/controller/upnp.lua +++ b/applications/luci-app-upnp/luasrc/controller/upnp.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.upnp", package.seeall) diff --git a/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua index 3d98d6682f..46658bc4aa 100644 --- a/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua +++ b/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008-2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("upnpd", luci.util.pcdata(translate("Universal Plug & Play")), translate("UPnP allows clients in the local network to automatically configure the router.")) diff --git a/applications/luci-app-ushare/luasrc/controller/ushare.lua b/applications/luci-app-ushare/luasrc/controller/ushare.lua index eed853239b..c81177368e 100644 --- a/applications/luci-app-ushare/luasrc/controller/ushare.lua +++ b/applications/luci-app-ushare/luasrc/controller/ushare.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI uShare -(c) 2008 Yanira - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Yanira +-- Licensed to the public under the Apache License 2.0. module("luci.controller.ushare", package.seeall) diff --git a/applications/luci-app-ushare/luasrc/model/cbi/ushare.lua b/applications/luci-app-ushare/luasrc/model/cbi/ushare.lua index 7032b2d5ce..0c2d1f0c0a 100644 --- a/applications/luci-app-ushare/luasrc/model/cbi/ushare.lua +++ b/applications/luci-app-ushare/luasrc/model/cbi/ushare.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI uShare -(c) 2008 Yanira - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Yanira +-- Licensed to the public under the Apache License 2.0. m = Map("ushare", translate("uShare"), luci.util.pcdata(translate("uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server component that provides UPnP media devices with information on available multimedia files."))) diff --git a/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua b/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua index 38b06ba9a7..32b9fce8b4 100644 --- a/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua +++ b/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2010-2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local utl = require "luci.util" local sys = require "luci.sys" diff --git a/applications/luci-app-vnstat/luasrc/view/vnstat.htm b/applications/luci-app-vnstat/luasrc/view/vnstat.htm index d67f9b3be7..578bbc92d5 100644 --- a/applications/luci-app-vnstat/luasrc/view/vnstat.htm +++ b/applications/luci-app-vnstat/luasrc/view/vnstat.htm @@ -1,13 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/applications/luci-app-voice-core/luasrc/controller/luci_voice.lua b/applications/luci-app-voice-core/luasrc/controller/luci_voice.lua index 728afb6a45..b37018de19 100644 --- a/applications/luci-app-voice-core/luasrc/controller/luci_voice.lua +++ b/applications/luci-app-voice-core/luasrc/controller/luci_voice.lua @@ -1,15 +1,5 @@ ---[[ - -Luci Voice Core -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_voice", package.seeall) diff --git a/applications/luci-app-voice-core/luasrc/view/luci_voice/index.htm b/applications/luci-app-voice-core/luasrc/view/luci_voice/index.htm index 73d2ce4466..a3503f8bdf 100644 --- a/applications/luci-app-voice-core/luasrc/view/luci_voice/index.htm +++ b/applications/luci-app-voice-core/luasrc/view/luci_voice/index.htm @@ -1,16 +1,8 @@ <%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Daniel Dickinson + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

Voice

Here you can control OpenWRT voice-related settings and see diff --git a/applications/luci-app-voice-core/luasrc/view/luci_voice/phone_index.htm b/applications/luci-app-voice-core/luasrc/view/luci_voice/phone_index.htm index 89b866114a..e3e88b3705 100644 --- a/applications/luci-app-voice-core/luasrc/view/luci_voice/phone_index.htm +++ b/applications/luci-app-voice-core/luasrc/view/luci_voice/phone_index.htm @@ -1,16 +1,8 @@ <%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Daniel Dickinson + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

Phones

Here you can control phone configuration and information in OpenWRT

diff --git a/applications/luci-app-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua b/applications/luci-app-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua index 7c3f341ed0..16a79d9a35 100644 --- a/applications/luci-app-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua +++ b/applications/luci-app-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua @@ -1,15 +1,5 @@ ---[[ - -Luci Voice Core -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Daniel Dickinson +-- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_voice.luci_voice_diag", package.seeall) diff --git a/applications/luci-app-voice-diag/luasrc/view/luci_voice/diag_index.htm b/applications/luci-app-voice-diag/luasrc/view/luci_voice/diag_index.htm index 387d2ab62d..15ccc39e41 100644 --- a/applications/luci-app-voice-diag/luasrc/view/luci_voice/diag_index.htm +++ b/applications/luci-app-voice-diag/luasrc/view/luci_voice/diag_index.htm @@ -1,16 +1,8 @@ <%# -LuCI - Lua Configuration Interface -(c) 2009 Daniel Dickinson - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Daniel Dickinson + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:Diagnostics%>

<%:Under this menu are options that allow you to configure and perform tests on the voice operations of your system. These are known as diagnostics.%>

diff --git a/applications/luci-app-watchcat/luasrc/controller/watchcat.lua b/applications/luci-app-watchcat/luasrc/controller/watchcat.lua index 5eba5cdebb..27d5b74b20 100644 --- a/applications/luci-app-watchcat/luasrc/controller/watchcat.lua +++ b/applications/luci-app-watchcat/luasrc/controller/watchcat.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Christian Gagneraud - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2012 Christian Gagneraud +-- Licensed to the public under the Apache License 2.0. module("luci.controller.watchcat", package.seeall) diff --git a/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua b/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua index fd7038c87b..883416b219 100644 --- a/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua +++ b/applications/luci-app-watchcat/luasrc/model/cbi/watchcat/watchcat.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Christian Gagneraud - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2012 Christian Gagneraud +-- Licensed to the public under the Apache License 2.0. m = Map("system", translate("Watchcat"), diff --git a/applications/luci-app-wol/luasrc/model/cbi/wol.lua b/applications/luci-app-wol/luasrc/model/cbi/wol.lua index ece9e4983a..cc4d9b07c9 100644 --- a/applications/luci-app-wol/luasrc/model/cbi/wol.lua +++ b/applications/luci-app-wol/luasrc/model/cbi/wol.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" local fs = require "nixio.fs" diff --git a/applications/luci-app-wshaper/luasrc/controller/wshaper.lua b/applications/luci-app-wshaper/luasrc/controller/wshaper.lua index 9d7f01e9d5..2d0fe484f8 100644 --- a/applications/luci-app-wshaper/luasrc/controller/wshaper.lua +++ b/applications/luci-app-wshaper/luasrc/controller/wshaper.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. module "luci.controller.wshaper" diff --git a/applications/luci-app-wshaper/luasrc/model/cbi/wshaper.lua b/applications/luci-app-wshaper/luasrc/model/cbi/wshaper.lua index faa64f66df..6bd0255cd6 100644 --- a/applications/luci-app-wshaper/luasrc/model/cbi/wshaper.lua +++ b/applications/luci-app-wshaper/luasrc/model/cbi/wshaper.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") diff --git a/libs/luci-lib-httpclient/luasrc/httpclient.lua b/libs/luci-lib-httpclient/luasrc/httpclient.lua index e9fec5dbbb..94c2e9ecac 100644 --- a/libs/luci-lib-httpclient/luasrc/httpclient.lua +++ b/libs/luci-lib-httpclient/luasrc/httpclient.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Development Framework - -Copyright 2009 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Steven Barth +-- Licensed to the public under the Apache License 2.0. require "nixio.util" local nixio = require "nixio" diff --git a/libs/luci-lib-httpclient/luasrc/httpclient/receiver.lua b/libs/luci-lib-httpclient/luasrc/httpclient/receiver.lua index 4f08e93fe0..b886e96062 100644 --- a/libs/luci-lib-httpclient/luasrc/httpclient/receiver.lua +++ b/libs/luci-lib-httpclient/luasrc/httpclient/receiver.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Development Framework - -Copyright 2009 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Steven Barth +-- Licensed to the public under the Apache License 2.0. require "nixio.util" local nixio = require "nixio" diff --git a/libs/luci-lib-json/luasrc/json.lua b/libs/luci-lib-json/luasrc/json.lua index 8dbaf91836..9cf206e960 100644 --- a/libs/luci-lib-json/luasrc/json.lua +++ b/libs/luci-lib-json/luasrc/json.lua @@ -1,43 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -Decoder: - Info: - null will be decoded to luci.json.null if first parameter of Decoder() is true - - Example: - decoder = luci.json.Decoder() - luci.ltn12.pump.all(luci.ltn12.source.string("decodableJSON"), decoder:sink()) - luci.util.dumptable(decoder:get()) - - Known issues: - does not support unicode conversion \uXXYY with XX != 00 will be ignored - - -Encoder: - Info: - Accepts numbers, strings, nil, booleans as they are - Accepts luci.json.null as replacement for nil - Accepts full associative and full numerically indexed tables - Mixed tables will loose their associative values during conversion - Iterator functions will be encoded as an array of their return values - Non-iterator functions will probably corrupt the encoder - - Example: - encoder = luci.json.Encoder(encodableData) - luci.ltn12.pump.all(encoder:source(), luci.ltn12.sink.file(io.open("someFile", w))) -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local nixio = require "nixio" local util = require "luci.util" diff --git a/libs/luci-lib-rpcc/luasrc/rpcc.lua b/libs/luci-lib-rpcc/luasrc/rpcc.lua index ef94d3bbd5..fc52b7eb07 100644 --- a/libs/luci-lib-rpcc/luasrc/rpcc.lua +++ b/libs/luci-lib-rpcc/luasrc/rpcc.lua @@ -1,15 +1,5 @@ ---[[ -LuCIRPCc -(c) 2009 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Steven Barth +-- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local json = require "luci.json" diff --git a/libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua b/libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua index 05cb728059..666d58585f 100644 --- a/libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua +++ b/libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua @@ -1,15 +1,5 @@ ---[[ -LuCIRPCc -(c) 2009 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Steven Barth +-- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local rawget, setmetatable = rawget, setmetatable diff --git a/modules/luci-base/luasrc/cacheloader.lua b/modules/luci-base/luasrc/cacheloader.lua index 942c4b7b48..a5ca8965f4 100644 --- a/modules/luci-base/luasrc/cacheloader.lua +++ b/modules/luci-base/luasrc/cacheloader.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local config = require "luci.config" local ccache = require "luci.ccache" diff --git a/modules/luci-base/luasrc/cbi.lua b/modules/luci-base/luasrc/cbi.lua index ae570b1556..34de44a5f0 100644 --- a/modules/luci-base/luasrc/cbi.lua +++ b/modules/luci-base/luasrc/cbi.lua @@ -1,29 +1,6 @@ ---[[ -LuCI - Configuration Bind Interface - -Description: -Offers an interface for binding configuration values to certain -data types. Supports value and range validation and basic dependencies. - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- module("luci.cbi", package.seeall) require("luci.template") diff --git a/modules/luci-base/luasrc/cbi/datatypes.lua b/modules/luci-base/luasrc/cbi/datatypes.lua index c5f4ec0f0d..c52ac4688a 100644 --- a/modules/luci-base/luasrc/cbi/datatypes.lua +++ b/modules/luci-base/luasrc/cbi/datatypes.lua @@ -1,17 +1,5 @@ ---[[ - -LuCI - Configuration Bind Interface - Datatype Tests -(c) 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local ip = require "luci.ip" diff --git a/modules/luci-base/luasrc/ccache.lua b/modules/luci-base/luasrc/ccache.lua index 56ccbc3efe..14677c7e5d 100644 --- a/modules/luci-base/luasrc/ccache.lua +++ b/modules/luci-base/luasrc/ccache.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local io = require "io" local fs = require "nixio.fs" diff --git a/modules/luci-base/luasrc/config.lua b/modules/luci-base/luasrc/config.lua index 53db82b322..d01153f4f5 100644 --- a/modules/luci-base/luasrc/config.lua +++ b/modules/luci-base/luasrc/config.lua @@ -1,29 +1,5 @@ ---[[ -LuCI - Configuration - -Description: -Some LuCI configuration values read from uci file "luci" - - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local util = require "luci.util" module("luci.config", diff --git a/modules/luci-base/luasrc/controller/admin/servicectl.lua b/modules/luci-base/luasrc/controller/admin/servicectl.lua index 753d2c77f1..da41c7aaa9 100644 --- a/modules/luci-base/luasrc/controller/admin/servicectl.lua +++ b/modules/luci-base/luasrc/controller/admin/servicectl.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.servicectl", package.seeall) diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index d076e53e0e..155d31b10f 100644 --- a/modules/luci-base/luasrc/dispatcher.lua +++ b/modules/luci-base/luasrc/dispatcher.lua @@ -1,28 +1,5 @@ ---[[ -LuCI - Dispatcher - -Description: -The request dispatcher and module dispatcher generators - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. --- LuCI web dispatcher. local fs = require "nixio.fs" diff --git a/modules/luci-base/luasrc/http.lua b/modules/luci-base/luasrc/http.lua index e8430b7276..a5329e51d6 100644 --- a/modules/luci-base/luasrc/http.lua +++ b/modules/luci-base/luasrc/http.lua @@ -1,25 +1,5 @@ ---[[ -LuCI - HTTP-Interaction - -Description: -HTTP-Header manipulator and form variable preprocessor - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local ltn12 = require "luci.ltn12" local protocol = require "luci.http.protocol" diff --git a/modules/luci-base/luasrc/http/protocol.lua b/modules/luci-base/luasrc/http/protocol.lua index 6431b04031..a0211a6c42 100644 --- a/modules/luci-base/luasrc/http/protocol.lua +++ b/modules/luci-base/luasrc/http/protocol.lua @@ -1,17 +1,5 @@ ---[[ - -HTTP protocol implementation for LuCI -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. --- LuCI http protocol class. -- This class contains several functions useful for http message- and content diff --git a/modules/luci-base/luasrc/http/protocol/conditionals.lua b/modules/luci-base/luasrc/http/protocol/conditionals.lua index 75e1f7b37c..b8269e30d6 100644 --- a/modules/luci-base/luasrc/http/protocol/conditionals.lua +++ b/modules/luci-base/luasrc/http/protocol/conditionals.lua @@ -1,17 +1,5 @@ ---[[ - -HTTP protocol implementation for LuCI - RFC2616 / 14.19, 14.24 - 14.28 -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. --- LuCI http protocol implementation - HTTP/1.1 bits. -- This class provides basic ETag handling and implements most of the diff --git a/modules/luci-base/luasrc/http/protocol/date.lua b/modules/luci-base/luasrc/http/protocol/date.lua index 83d11e2c25..161107ce08 100644 --- a/modules/luci-base/luasrc/http/protocol/date.lua +++ b/modules/luci-base/luasrc/http/protocol/date.lua @@ -1,17 +1,5 @@ ---[[ - -HTTP protocol implementation for LuCI - date handling -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. --- LuCI http protocol implementation - date helper class. -- This class contains functions to parse, compare and format http dates. diff --git a/modules/luci-base/luasrc/http/protocol/mime.lua b/modules/luci-base/luasrc/http/protocol/mime.lua index c878160664..2ea4b41638 100644 --- a/modules/luci-base/luasrc/http/protocol/mime.lua +++ b/modules/luci-base/luasrc/http/protocol/mime.lua @@ -1,17 +1,5 @@ ---[[ - -HTTP protocol implementation for LuCI - mime handling -(c) 2008 Freifunk Leipzig / Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. --- LuCI http protocol implementation - mime helper class. -- This class provides functions to guess mime types from file extensions and diff --git a/modules/luci-base/luasrc/i18n.lua b/modules/luci-base/luasrc/i18n.lua index 545a8aed93..dd84a59f84 100644 --- a/modules/luci-base/luasrc/i18n.lua +++ b/modules/luci-base/luasrc/i18n.lua @@ -1,28 +1,5 @@ ---[[ -LuCI - Internationalisation - -Description: -A very minimalistic but yet effective internationalisation module - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. --- LuCI translation library. module("luci.i18n", package.seeall) diff --git a/modules/luci-base/luasrc/ip.lua b/modules/luci-base/luasrc/ip.lua index 60ca090135..4c2acb04d2 100644 --- a/modules/luci-base/luasrc/ip.lua +++ b/modules/luci-base/luasrc/ip.lua @@ -1,18 +1,6 @@ ---[[ - -LuCI ip calculation libarary -(c) 2008 Jo-Philipp Wich -(c) 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2008 Jo-Philipp Wich +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. --- LuCI IP calculation library. module( "luci.ip", package.seeall ) diff --git a/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua b/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua index fe3fec6fa1..84d6e3d2ee 100644 --- a/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua +++ b/modules/luci-base/luasrc/model/cbi/admin_network/proto_dhcp.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011-2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ifc = net:get_interface() diff --git a/modules/luci-base/luasrc/model/cbi/admin_network/proto_none.lua b/modules/luci-base/luasrc/model/cbi/admin_network/proto_none.lua index 0e34b67de6..52dc3807e0 100644 --- a/modules/luci-base/luasrc/model/cbi/admin_network/proto_none.lua +++ b/modules/luci-base/luasrc/model/cbi/admin_network/proto_none.lua @@ -1,13 +1,4 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua b/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua index 338c0b7d83..9348494796 100644 --- a/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua +++ b/modules/luci-base/luasrc/model/cbi/admin_network/proto_static.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... local ifc = net:get_interface() diff --git a/modules/luci-base/luasrc/model/firewall.lua b/modules/luci-base/luasrc/model/firewall.lua index a9f6fdb7fc..a0f334a6b7 100644 --- a/modules/luci-base/luasrc/model/firewall.lua +++ b/modules/luci-base/luasrc/model/firewall.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Firewall model - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local type, pairs, ipairs, table, luci, math = type, pairs, ipairs, table, luci, math diff --git a/modules/luci-base/luasrc/model/ipkg.lua b/modules/luci-base/luasrc/model/ipkg.lua index c927e71163..f5a11c23ee 100644 --- a/modules/luci-base/luasrc/model/ipkg.lua +++ b/modules/luci-base/luasrc/model/ipkg.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -(c) 2008-2011 Jo-Philipp Wich -(c) 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008-2011 Jo-Philipp Wich +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local os = require "os" local io = require "io" diff --git a/modules/luci-base/luasrc/model/network.lua b/modules/luci-base/luasrc/model/network.lua index 39ec8391ed..b6e390e818 100644 --- a/modules/luci-base/luasrc/model/network.lua +++ b/modules/luci-base/luasrc/model/network.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Network model - -Copyright 2009-2015 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2009-2015 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local type, next, pairs, ipairs, loadfile, table = type, next, pairs, ipairs, loadfile, table diff --git a/modules/luci-base/luasrc/model/uci.lua b/modules/luci-base/luasrc/model/uci.lua index a394563047..8ac82773f3 100644 --- a/modules/luci-base/luasrc/model/uci.lua +++ b/modules/luci-base/luasrc/model/uci.lua @@ -1,28 +1,6 @@ ---[[ -LuCI - UCI model +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. -Description: -Generalized UCI model - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- local os = require "os" local uci = require "uci" local util = require "luci.util" diff --git a/modules/luci-base/luasrc/sgi/cgi.lua b/modules/luci-base/luasrc/sgi/cgi.lua index 04ae9aa592..68ae17a9eb 100644 --- a/modules/luci-base/luasrc/sgi/cgi.lua +++ b/modules/luci-base/luasrc/sgi/cgi.lua @@ -1,28 +1,6 @@ ---[[ -LuCI - SGI-Module for CGI +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. -Description: -Server Gateway Interface for CGI - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- exectime = os.clock() module("luci.sgi.cgi", package.seeall) local ltn12 = require("luci.ltn12") diff --git a/modules/luci-base/luasrc/sgi/uhttpd.lua b/modules/luci-base/luasrc/sgi/uhttpd.lua index db8780f7ec..64395fe533 100644 --- a/modules/luci-base/luasrc/sgi/uhttpd.lua +++ b/modules/luci-base/luasrc/sgi/uhttpd.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Server Gateway Interface for the uHTTPd server - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require "nixio.util" require "luci.http" diff --git a/modules/luci-base/luasrc/store.lua b/modules/luci-base/luasrc/store.lua index c33ef07e11..45444d0bdb 100644 --- a/modules/luci-base/luasrc/store.lua +++ b/modules/luci-base/luasrc/store.lua @@ -1,16 +1,6 @@ ---[[ - -LuCI - Lua Development Framework -(c) 2009 Steven Barth -(c) 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Steven Barth +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local util = require "luci.util" module("luci.store", util.threadlocal) \ No newline at end of file diff --git a/modules/luci-base/luasrc/sys.lua b/modules/luci-base/luasrc/sys.lua index 292cc96677..1e594e1c88 100644 --- a/modules/luci-base/luasrc/sys.lua +++ b/modules/luci-base/luasrc/sys.lua @@ -1,29 +1,5 @@ ---[[ -LuCI - System library - -Description: -Utilities for interaction with the Linux system - -FileId: -$Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- - +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local io = require "io" local os = require "os" diff --git a/modules/luci-base/luasrc/sys/zoneinfo.lua b/modules/luci-base/luasrc/sys/zoneinfo.lua index f5a12bfcb6..aa054a246f 100644 --- a/modules/luci-base/luasrc/sys/zoneinfo.lua +++ b/modules/luci-base/luasrc/sys/zoneinfo.lua @@ -1,13 +1,4 @@ ---[[ -LuCI - Autogenerated Zoneinfo Module - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Licensed to the public under the Apache License 2.0. local setmetatable, require, rawget, rawset = setmetatable, require, rawget, rawset diff --git a/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua b/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua index 8c7cc2add4..6337496692 100644 --- a/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua +++ b/modules/luci-base/luasrc/sys/zoneinfo/tzdata.lua @@ -1,13 +1,4 @@ ---[[ -LuCI - Autogenerated Zoneinfo Module - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Licensed to the public under the Apache License 2.0. module "luci.sys.zoneinfo.tzdata" diff --git a/modules/luci-base/luasrc/sys/zoneinfo/tzoffset.lua b/modules/luci-base/luasrc/sys/zoneinfo/tzoffset.lua index d2f77ed281..facfd0c8bf 100644 --- a/modules/luci-base/luasrc/sys/zoneinfo/tzoffset.lua +++ b/modules/luci-base/luasrc/sys/zoneinfo/tzoffset.lua @@ -1,13 +1,4 @@ ---[[ -LuCI - Autogenerated Zoneinfo Module - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Licensed to the public under the Apache License 2.0. module "luci.sys.zoneinfo.tzoffset" diff --git a/modules/luci-base/luasrc/template.lua b/modules/luci-base/luasrc/template.lua index ea01d3c214..588028c2ee 100644 --- a/modules/luci-base/luasrc/template.lua +++ b/modules/luci-base/luasrc/template.lua @@ -1,28 +1,5 @@ ---[[ -LuCI - Template Parser - -Description: -A template parser supporting includes, translations, Lua code blocks -and more. It can be used either as a compiler or as an interpreter. - -FileId: $Id$ - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local config = require "luci.config" diff --git a/modules/luci-base/luasrc/tools/proto.lua b/modules/luci-base/luasrc/tools/proto.lua index 4df02696b0..a2e20880a5 100644 --- a/modules/luci-base/luasrc/tools/proto.lua +++ b/modules/luci-base/luasrc/tools/proto.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.tools.proto", package.seeall) diff --git a/modules/luci-base/luasrc/tools/status.lua b/modules/luci-base/luasrc/tools/status.lua index 0efc51be23..1723525980 100644 --- a/modules/luci-base/luasrc/tools/status.lua +++ b/modules/luci-base/luasrc/tools/status.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.tools.status", package.seeall) diff --git a/modules/luci-base/luasrc/tools/webadmin.lua b/modules/luci-base/luasrc/tools/webadmin.lua index 0e09be9800..75b2f2ebfa 100644 --- a/modules/luci-base/luasrc/tools/webadmin.lua +++ b/modules/luci-base/luasrc/tools/webadmin.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.tools.webadmin", package.seeall) local uci = require("luci.model.uci") diff --git a/modules/luci-base/luasrc/util.lua b/modules/luci-base/luasrc/util.lua index 7877e6ff4e..42de3dd729 100644 --- a/modules/luci-base/luasrc/util.lua +++ b/modules/luci-base/luasrc/util.lua @@ -1,25 +1,5 @@ ---[[ -LuCI - Utility library - -Description: -Several common useful Lua functions - -License: -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local io = require "io" local math = require "math" diff --git a/modules/luci-base/luasrc/version.lua b/modules/luci-base/luasrc/version.lua index 9e5cb719c4..8af2e80619 100644 --- a/modules/luci-base/luasrc/version.lua +++ b/modules/luci-base/luasrc/version.lua @@ -1,7 +1,4 @@ ---[[ -LuCI - Lua Configuration Interface -Version definition - do not edit this file -]]-- +-- Licensed to the public under the Apache License 2.0. module "luci.version" diff --git a/modules/luci-base/luasrc/view/error404.htm b/modules/luci-base/luasrc/view/error404.htm index 813604d12c..e5fe89b956 100644 --- a/modules/luci-base/luasrc/view/error404.htm +++ b/modules/luci-base/luasrc/view/error404.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

404 <%:Not Found%>

<%:Sorry, the object you requested was not found.%>

diff --git a/modules/luci-base/luasrc/view/error500.htm b/modules/luci-base/luasrc/view/error500.htm index 14ba0410a4..54d88b48af 100644 --- a/modules/luci-base/luasrc/view/error500.htm +++ b/modules/luci-base/luasrc/view/error500.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

500 <%:Internal Server Error%>

<%:Sorry, the server encountered an unexpected error.%>

diff --git a/modules/luci-base/luasrc/view/footer.htm b/modules/luci-base/luasrc/view/footer.htm index 6c6d214210..a9ba2baef0 100644 --- a/modules/luci-base/luasrc/view/footer.htm +++ b/modules/luci-base/luasrc/view/footer.htm @@ -1,15 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <% include("themes/" .. theme .. "/footer") %> \ No newline at end of file diff --git a/modules/luci-base/luasrc/view/header.htm b/modules/luci-base/luasrc/view/header.htm index 77018b1173..9a35eba6c1 100644 --- a/modules/luci-base/luasrc/view/header.htm +++ b/modules/luci-base/luasrc/view/header.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/modules/luci-base/luasrc/view/indexer.htm b/modules/luci-base/luasrc/view/indexer.htm index c628289711..37e7297ec5 100644 --- a/modules/luci-base/luasrc/view/indexer.htm +++ b/modules/luci-base/luasrc/view/indexer.htm @@ -1,15 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <% include("themes/" .. theme .. "/indexer") %> \ No newline at end of file diff --git a/modules/luci-base/luasrc/view/sysauth.htm b/modules/luci-base/luasrc/view/sysauth.htm index e87f26c2c8..a23c61bb77 100644 --- a/modules/luci-base/luasrc/view/sysauth.htm +++ b/modules/luci-base/luasrc/view/sysauth.htm @@ -1,14 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008-2012 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/filebrowser.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/filebrowser.lua index d83139fd70..26f861da03 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/filebrowser.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/filebrowser.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.filebrowser", package.seeall) diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/index.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/index.lua index 64a620ca28..74a3fd9adc 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/index.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/index.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.index", package.seeall) diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua index 4388864eb1..401acad7cd 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.network", package.seeall) diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua index 89ebda7353..01d195bd0f 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/status.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.status", package.seeall) diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua index ca4169db63..0b202a8324 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/system.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008-2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.system", package.seeall) diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua index 34e40ee624..e6c4251117 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.uci", package.seeall) diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua index bd6f403c53..88e81bb18c 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua index b4fee8cf07..18f7172224 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/hosts.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require("luci.sys") require("luci.util") diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua index 92026b157b..4c360839a2 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/iface_add.lua @@ -1,17 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009-2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- +-- Copyright 2009-2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network".init() local fw = require "luci.model.firewall".init() diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 9be5ff1a7d..d251b31374 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008-2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local ut = require "luci.util" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua index f2984b5810..535e4a1102 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua index 26dc33abb8..34ca7659d0 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua index 209bdf1fb9..01580f1016 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/routes.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") m = Map("network", diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua index fbea03af98..612c0fbdc8 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/vlan.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010-2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. m = Map("network", translate("Switch"), translate("The network ports on this device can be combined to several VLANs in which computers can communicate directly with each other. VLANs are often used to separate different network segments. Often there is by default one Uplink port for a connection to the next greater network like the internet and other ports for a local network.")) diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua index f61fda3737..fff8b2f30a 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local nw = require "luci.model.network" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua index cb42648865..d3af5699d9 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local nw = require "luci.model.network" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua index c34c70ffae..8a95529a7e 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua @@ -1,17 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- f = SimpleForm("processes", translate("Processes"), translate("This list gives an overview over currently running system processes and their status.")) f.reset = false f.submit = false diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua index a3da6beb6f..8e24336b55 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua index a063ec0aa4..b2240a37e7 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/backupfiles.lua @@ -1,18 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- - +-- Copyright 2008 Steven Barth +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. if luci.http.formvalue("cbid.luci.1._list") then luci.http.redirect(luci.dispatcher.build_url("admin/system/flashops/backupfiles") .. "?display=list") diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/buttons.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/buttons.lua index d7581830d3..6a81d7154e 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/buttons.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/buttons.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. m = Map("system", translate("Buttons"), translate("This page allows the configuration of custom button actions")) diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua index 3e1b9d85d0..8d3f49837c 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/crontab.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008-2013 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008-2013 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local cronfile = "/etc/crontabs/root" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua index 8ac3d6d5e7..06e1e07980 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua index bac886888a..14b6ff4d04 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "nixio.util" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua index 01d0ff90a5..265e69ac5e 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2010 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "nixio.util" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua index e9ff5b1460..dc10e30da1 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008-2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local ipkgfile = "/etc/opkg.conf" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua index b912f5ece8..8d9bcb1371 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua @@ -1,16 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- m = Map("system", translate("LED Configuration"), translate("Customizes the behaviour of the device LEDs if possible.")) local sysfs_path = "/sys/class/leds/" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua index e5dcbbf233..b215ffd782 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/startup.lua @@ -1,18 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2010-2012 Jo-Philipp Wich -Copyright 2010 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2010-2012 Jo-Philipp Wich +-- Copyright 2010 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local sys = require "luci.sys" diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua index 21bdea3436..f4c2ac11f0 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/system.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" local zones = require "luci.sys.zoneinfo" diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm index d1bef2a8b7..bd60924f04 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/diagnostics.htm @@ -1,15 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm index 4be062985a..3ab679c45f 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/iface_overview.htm @@ -1,13 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_join.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_join.htm index f3b6dddefc..45b9e0b3d2 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_join.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_join.htm @@ -1,15 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2009 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm index 63bb6dc9cf..59a048582b 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_network/wifi_overview.htm @@ -1,14 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008-2009 Steven Barth -Copyright 2008-2013 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008-2009 Steven Barth + Copyright 2008-2013 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm index 0c53c95bed..a89bbe6c66 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/bandwidth.htm @@ -1,15 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm index 80c8b70e3c..a40bee82df 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm @@ -1,13 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm index 7757460a05..15925f0cca 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/dmesg.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: syslog.htm 3622 2008-10-23 16:05:55Z jow $ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:Kernel Log%>

diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm index 5f4539c616..a513e92023 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm @@ -1,14 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008-2011 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm index d6997f8378..0d6edacd1a 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/iptables.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008-2009 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008-2009 Steven Barth + Copyright 2008-2011 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm index a002715ec8..2f923602b8 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm @@ -1,13 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm index ddc664ce39..ebdd64ad48 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/routes.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008-2009 Steven Barth -Copyright 2008-2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008-2009 Steven Barth + Copyright 2008-2009 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm index 06aeeb01a6..917ff18491 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/syslog.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

<%:System Log%>

diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm index 465143ebce..6aa0a811ad 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm @@ -1,13 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2011 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%- diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm index 56721a6104..162811821a 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/applyreboot.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm index 38b5f03a14..6e219aacc4 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/backupfiles.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%>
    diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm index debc796e89..e658dc20e9 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm index 7f0956cfde..5f3a9b1639 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/ipkg.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%>
      diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm index 40da3feac0..ad33efcbad 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/packages.htm @@ -1,15 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008-2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%- local opkg = require "luci.model.ipkg" local fs = require "nixio.fs" diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm index 5f2912d925..9cc6d4d1cb 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

      <%:System%>

      <%:Reboot%>

      diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm index ce285332eb..3c3838252e 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008-2009 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_uci/apply.htm b/modules/luci-mod-admin-full/luasrc/view/admin_uci/apply.htm index f6a68126de..d542cac6c5 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_uci/apply.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_uci/apply.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm b/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm index e195befb3e..8648f7c81e 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm @@ -1,15 +1,6 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <% export("uci_changelog", function(changes) -%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changes.htm b/modules/luci-mod-admin-full/luasrc/view/admin_uci/changes.htm index 2415de316f..555f89e630 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_uci/changes.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_uci/changes.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_uci/revert.htm b/modules/luci-mod-admin-full/luasrc/view/admin_uci/revert.htm index 739b752046..8f7b3e82e3 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_uci/revert.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_uci/revert.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua b/modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua index 6800f9bfd9..c3f673eb05 100644 --- a/modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua +++ b/modules/luci-mod-admin-mini/luasrc/controller/mini/index.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.mini.index", package.seeall) diff --git a/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua b/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua index 8b9356dd6e..e529551144 100644 --- a/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua +++ b/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.mini.network", package.seeall) diff --git a/modules/luci-mod-admin-mini/luasrc/controller/mini/system.lua b/modules/luci-mod-admin-mini/luasrc/controller/mini/system.lua index 71b5b63519..6422ff415d 100644 --- a/modules/luci-mod-admin-mini/luasrc/controller/mini/system.lua +++ b/modules/luci-mod-admin-mini/luasrc/controller/mini/system.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.mini.system", package.seeall) diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/dhcp.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/dhcp.lua index 5547db6cdd..8f37d51f20 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/dhcp.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/dhcp.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local sys = require "luci.sys" diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/index.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/index.lua index 71b5dafa3c..9ecee1a267 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/index.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/index.lua @@ -1,14 +1,4 @@ ---[[ -LuCI - Lua Configuration Interface +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- return Template("mini/index") diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/luci.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/luci.lua index 78255c1d97..eb31d14b79 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/luci.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/luci.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. require "luci.config" local fs = require "nixio.fs" diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/network.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/network.lua index 57edc47187..43a8a13aec 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/network.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/network.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local sys = require "luci.sys" diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/passwd.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/passwd.lua index 6f13bb0fc8..22947d6ccf 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/passwd.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/passwd.lua @@ -1,17 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- f = SimpleForm("password", translate("Admin Password"), translate("Change the password of the system administrator (User root)")) pw1 = f:field(Value, "pw1", translate("Password")) diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua index 99392b2f96..b621ad0731 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. require("luci.sys") require("luci.sys.zoneinfo") diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua index a18c072e73..678d5b02f5 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. -- Data init -- diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm index 8ff7118c7e..0af87e813e 100644 --- a/modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm +++ b/modules/luci-mod-admin-mini/luasrc/view/mini/applyreboot.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

      <%:System%>


      diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm index eb9dc46e47..553ff78cdf 100644 --- a/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm +++ b/modules/luci-mod-admin-mini/luasrc/view/mini/backup.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

      <%:System%>

      <%:Backup / Restore%>

      diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm index c14d3b0b23..45c3038059 100644 --- a/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm +++ b/modules/luci-mod-admin-mini/luasrc/view/mini/index.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> +

      <%:Hello!%>

      <%_This is the administration area of LuCI.%>

      <%_LuCI is a free, flexible, and user friendly graphical interface for configuring OpenWrt.%>
      diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm index 9e57d89f9f..e4d39510a9 100644 --- a/modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm +++ b/modules/luci-mod-admin-mini/luasrc/view/mini/reboot.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

      <%:System%>

      <%:Reboot%>

      diff --git a/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm b/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm index 6ff5d84919..551879881d 100644 --- a/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm +++ b/modules/luci-mod-admin-mini/luasrc/view/mini/upgrade.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008-2009 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-failsafe/luasrc/controller/failsafe/failsafe.lua b/modules/luci-mod-failsafe/luasrc/controller/failsafe/failsafe.lua index 5c62240652..13bc6e5092 100644 --- a/modules/luci-mod-failsafe/luasrc/controller/failsafe/failsafe.lua +++ b/modules/luci-mod-failsafe/luasrc/controller/failsafe/failsafe.lua @@ -1,18 +1,7 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich -Copyright 2012 Daniel Golle - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008-2011 Jo-Philipp Wich +-- Copyright 2012 Daniel Golle +-- Licensed to the public under the Apache License 2.0. module("luci.controller.failsafe.failsafe", package.seeall) diff --git a/modules/luci-mod-failsafe/luasrc/view/failsafe/applyreboot.htm b/modules/luci-mod-failsafe/luasrc/view/failsafe/applyreboot.htm index 866d213f05..2c57ef0b19 100644 --- a/modules/luci-mod-failsafe/luasrc/view/failsafe/applyreboot.htm +++ b/modules/luci-mod-failsafe/luasrc/view/failsafe/applyreboot.htm @@ -1,16 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> diff --git a/modules/luci-mod-failsafe/luasrc/view/failsafe/flashops.htm b/modules/luci-mod-failsafe/luasrc/view/failsafe/flashops.htm index 5ff23e5c17..985bab8174 100644 --- a/modules/luci-mod-failsafe/luasrc/view/failsafe/flashops.htm +++ b/modules/luci-mod-failsafe/luasrc/view/failsafe/flashops.htm @@ -1,17 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2012 Daniel Golle - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2012 Daniel Golle + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-failsafe/luasrc/view/failsafe/reboot.htm b/modules/luci-mod-failsafe/luasrc/view/failsafe/reboot.htm index e2e4db035b..a086a45e33 100644 --- a/modules/luci-mod-failsafe/luasrc/view/failsafe/reboot.htm +++ b/modules/luci-mod-failsafe/luasrc/view/failsafe/reboot.htm @@ -1,18 +1,10 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2012 Daniel Golle - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2012 Daniel Golle + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

      <%:System%>

      <%:Reboot%>

      diff --git a/modules/luci-mod-failsafe/luasrc/view/failsafe/upgrade.htm b/modules/luci-mod-failsafe/luasrc/view/failsafe/upgrade.htm index 7a86000efb..a1ef6fa790 100644 --- a/modules/luci-mod-failsafe/luasrc/view/failsafe/upgrade.htm +++ b/modules/luci-mod-failsafe/luasrc/view/failsafe/upgrade.htm @@ -1,17 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2009 Jo-Philipp Wich -Copyright 2012 Daniel Golle - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008-2009 Jo-Philipp Wich + Copyright 2012 Daniel Golle + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua index bb58a3f10f..84669dce84 100644 --- a/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua +++ b/modules/luci-mod-freifunk/luasrc/controller/freifunk/freifunk.lua @@ -1,16 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Licensed to the public under the Apache License 2.0. module("luci.controller.freifunk.freifunk", package.seeall) diff --git a/modules/luci-mod-freifunk/luasrc/controller/freifunk/remote_update.lua b/modules/luci-mod-freifunk/luasrc/controller/freifunk/remote_update.lua index cc8dd142de..1ddf54b674 100644 --- a/modules/luci-mod-freifunk/luasrc/controller/freifunk/remote_update.lua +++ b/modules/luci-mod-freifunk/luasrc/controller/freifunk/remote_update.lua @@ -1,15 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2009 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -]]-- +-- Copyright 2009 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.controller.freifunk.remote_update", package.seeall) diff --git a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/basics.lua b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/basics.lua index 28f86b623c..019e404efd 100644 --- a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/basics.lua +++ b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/basics.lua @@ -1,15 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]] +-- Copyright 2008 Steven Barth +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "luci.util" diff --git a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/contact.lua b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/contact.lua index 30e94a3e96..0a6995b266 100644 --- a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/contact.lua +++ b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/contact.lua @@ -1,15 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. m = Map("freifunk", translate("Contact"), translate("Please fill in your contact details below.")) diff --git a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile.lua b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile.lua index c9bd23ed61..de7caf4c18 100644 --- a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile.lua +++ b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011-2012 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - httc://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011-2012 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local ipkg = require "luci.model.ipkg" diff --git a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile_expert.lua b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile_expert.lua index 0d890e1df6..22554a66fc 100644 --- a/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile_expert.lua +++ b/modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/profile_expert.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - httc://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Manuel Munz +-- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local uci = require "luci.model.uci".cursor() diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk/contact.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk/contact.htm index 2d79ccd406..6290a44899 100644 --- a/modules/luci-mod-freifunk/luasrc/view/freifunk/contact.htm +++ b/modules/luci-mod-freifunk/luasrc/view/freifunk/contact.htm @@ -1,14 +1,8 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2011 Manuel Munz - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2011 Manuel Munz + Licensed to the public under the Apache License 2.0. -%> <%+header%> diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk/index.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk/index.htm index 110a2f09f1..c1174a2b29 100644 --- a/modules/luci-mod-freifunk/luasrc/view/freifunk/index.htm +++ b/modules/luci-mod-freifunk/luasrc/view/freifunk/index.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%> <% local uci = require "luci.model.uci".cursor() diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm index 092ec47143..36b15b5ab0 100644 --- a/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm +++ b/modules/luci-mod-freifunk/luasrc/view/freifunk/remote_update.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id: contact.htm 3529 2008-10-07 13:10:24Z jow $ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <%+header%>

      <%:Freifunk Remote Update%>

      diff --git a/modules/luci-mod-rpc/luasrc/controller/rpc.lua b/modules/luci-mod-rpc/luasrc/controller/rpc.lua index 92947168e4..b6eff32db7 100644 --- a/modules/luci-mod-rpc/luasrc/controller/rpc.lua +++ b/modules/luci-mod-rpc/luasrc/controller/rpc.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local require = require local pairs = pairs diff --git a/modules/luci-mod-rpc/luasrc/jsonrpc.lua b/modules/luci-mod-rpc/luasrc/jsonrpc.lua index 71c95d549b..dcdd2ce575 100644 --- a/modules/luci-mod-rpc/luasrc/jsonrpc.lua +++ b/modules/luci-mod-rpc/luasrc/jsonrpc.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. module("luci.jsonrpc", package.seeall) require "luci.json" diff --git a/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua b/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua index 195398674f..0e046612d6 100644 --- a/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua +++ b/modules/luci-mod-rpc/luasrc/jsonrpcbind/uci.lua @@ -1,17 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ -]]-- +-- Copyright 2008 Steven Barth +-- Copyright 2008 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local ucis = require "luci.model.uci".cursor_state() diff --git a/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua b/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua index 5a73396bed..bad2fa2cbd 100644 --- a/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua +++ b/protocols/luci-proto-3g/luasrc/model/cbi/admin_network/proto_3g.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua index 9b668cdda8..b167e6f944 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6in4.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua index 3835561dd7..48f9a32ced 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011-2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua index c0cb95b2ba..e893aca075 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_6to4.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua index 51f17878d7..c843161c6f 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2013 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2013 Steven Barth +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua index 2d9e258c32..92aa63b5bd 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dslite.lua @@ -1,15 +1,6 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich -Copyright 2013 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Copyright 2013 Steven Barth +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua index 0cf8c01017..b76475828f 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2013 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2013 Steven Barth +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua b/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua index 91adfa944f..034c1ee186 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua @@ -1,22 +1,6 @@ ---[[ -LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions - -Copyright 2011 Jo-Philipp Wich -Copyright 2013 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Copyright 2013 Steven Barth +-- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network diff --git a/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua b/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua index b800b0b540..59f6f57764 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network diff --git a/protocols/luci-proto-ipv6/luasrc/model/network/proto_dhcpv6.lua b/protocols/luci-proto-ipv6/luasrc/model/network/proto_dhcpv6.lua index 59463d18a9..7aed0d6381 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/network/proto_dhcpv6.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/network/proto_dhcpv6.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Network model - dhcpv6 protocol extension - -Copyright 2013 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2013 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local proto = luci.model.network:register_protocol("dhcpv6") diff --git a/protocols/luci-proto-ipv6/luasrc/model/network/proto_hnet.lua b/protocols/luci-proto-ipv6/luasrc/model/network/proto_hnet.lua index d3e094f20f..4e9816beab 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/network/proto_hnet.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/network/proto_hnet.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Network model - homenet protocol extension - -Copyright 2014 Steven Barth - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2014 Steven Barth +-- Licensed to the public under the Apache License 2.0. local proto = luci.model.network:register_protocol("hnet") diff --git a/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua b/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua index 2e2eacee0a..e0e63d8631 100644 --- a/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua +++ b/protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2014 Nikos Mavrogiannopoulos - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2014 Nikos Mavrogiannopoulos +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-openconnect/luasrc/model/network/proto_openconnect.lua b/protocols/luci-proto-openconnect/luasrc/model/network/proto_openconnect.lua index 26744cde80..0af77d0140 100644 --- a/protocols/luci-proto-openconnect/luasrc/model/network/proto_openconnect.lua +++ b/protocols/luci-proto-openconnect/luasrc/model/network/proto_openconnect.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Network model - openconnect protocol extension - -Copyright 2012 David Woodhouse - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2012 David Woodhouse +-- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network local interface = luci.model.network.interface diff --git a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua index c1dd56e126..d232b197ef 100644 --- a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua +++ b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_ppp.lua b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_ppp.lua index b59f08bd11..4433f0e913 100644 --- a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_ppp.lua +++ b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_ppp.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua index 2f3b193b17..da639f91df 100644 --- a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua +++ b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoa.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua index d6f6349639..4932a13cfb 100644 --- a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua +++ b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pptp.lua b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pptp.lua index 11104099cc..08c3c61931 100644 --- a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pptp.lua +++ b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pptp.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011-2012 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011-2012 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua b/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua index dfd545f353..d82c0e26a4 100644 --- a/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua +++ b/protocols/luci-proto-ppp/luasrc/model/network/proto_ppp.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Network model - 3G, PPP, PPtP, PPPoE and PPPoA protocol extension - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network diff --git a/protocols/luci-proto-relay/luasrc/model/cbi/admin_network/proto_relay.lua b/protocols/luci-proto-relay/luasrc/model/cbi/admin_network/proto_relay.lua index 017bb9bfa6..bef733d1ac 100644 --- a/protocols/luci-proto-relay/luasrc/model/cbi/admin_network/proto_relay.lua +++ b/protocols/luci-proto-relay/luasrc/model/cbi/admin_network/proto_relay.lua @@ -1,14 +1,5 @@ ---[[ -LuCI - Lua Configuration Interface - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local map, section, net = ... diff --git a/protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua b/protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua index 42bd1f846a..b4a959cd0f 100644 --- a/protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua +++ b/protocols/luci-proto-relay/luasrc/model/network/proto_relay.lua @@ -1,21 +1,5 @@ ---[[ -LuCI - Network model - relay protocol extension - -Copyright 2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -]]-- +-- Copyright 2011 Jo-Philipp Wich +-- Licensed to the public under the Apache License 2.0. local netmod = luci.model.network local device = luci.util.class(netmod.interface) diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm index 6b028d7ffd..0e6b9e3d8f 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/footer.htm @@ -1,16 +1,10 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2012 David Menting - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2012 David Menting + Licensed to the public under the Apache License 2.0. -%> + <% local ver = require "luci.version" local disp = require "luci.dispatcher" diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 2df3386b52..3a8e7ce05f 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -1,16 +1,10 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich -Copyright 2012 David Menting - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Copyright 2012 David Menting + Licensed to the public under the Apache License 2.0. -%> + <% local sys = require "luci.sys" local util = require "luci.util" diff --git a/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm b/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm index bc07d8dd86..4ae1f03922 100644 --- a/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm +++ b/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/footer.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> +
diff --git a/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm b/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm index 790dbb00b5..462752bb32 100644 --- a/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm +++ b/themes/luci-theme-freifunk-bno/luasrc/view/themes/freifunk-bno/header.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <% require("luci.sys") require("luci.util") diff --git a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm index 9f6a19c48c..3f874e5756 100644 --- a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm +++ b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/footer.htm @@ -1,14 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <% local ver = require "luci.version" diff --git a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm index 20058be6c4..742521dce7 100644 --- a/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/luci-theme-freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -1,13 +1,7 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2011 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 + Copyright 2008 Steven Barth + Copyright 2008-2011 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> <% diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm index 607885fd3f..08a40132e5 100644 --- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm +++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/footer.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> +
diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm index 147a8efca5..e9c85921c6 100644 --- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -1,17 +1,9 @@ <%# -LuCI - Lua Configuration Interface -Copyright 2008 Steven Barth -Copyright 2008-2010 Jo-Philipp Wich - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - + Copyright 2008 Steven Barth + Copyright 2008-2010 Jo-Philipp Wich + Licensed to the public under the Apache License 2.0. -%> + <% local sys = require "luci.sys" local util = require "luci.util" -- 2.30.2