libs/web: remove license comments from cbi templates, saves around 50% of their size
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 4 May 2011 12:56:06 +0000 (12:56 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 4 May 2011 12:56:06 +0000 (12:56 +0000)
36 files changed:
libs/web/luasrc/view/cbi/apply_xhr.htm
libs/web/luasrc/view/cbi/browser.htm
libs/web/luasrc/view/cbi/button.htm
libs/web/luasrc/view/cbi/cell_valuefooter.htm
libs/web/luasrc/view/cbi/cell_valueheader.htm
libs/web/luasrc/view/cbi/compound.htm
libs/web/luasrc/view/cbi/delegator.htm
libs/web/luasrc/view/cbi/dvalue.htm
libs/web/luasrc/view/cbi/dynlist.htm
libs/web/luasrc/view/cbi/filebrowser.htm
libs/web/luasrc/view/cbi/firewall_zoneforwards.htm
libs/web/luasrc/view/cbi/firewall_zonelist.htm
libs/web/luasrc/view/cbi/footer.htm
libs/web/luasrc/view/cbi/full_valuefooter.htm
libs/web/luasrc/view/cbi/full_valueheader.htm
libs/web/luasrc/view/cbi/fvalue.htm
libs/web/luasrc/view/cbi/header.htm
libs/web/luasrc/view/cbi/lvalue.htm
libs/web/luasrc/view/cbi/map.htm
libs/web/luasrc/view/cbi/mvalue.htm
libs/web/luasrc/view/cbi/network_ifacelist.htm
libs/web/luasrc/view/cbi/network_netinfo.htm
libs/web/luasrc/view/cbi/network_netlist.htm
libs/web/luasrc/view/cbi/nsection.htm
libs/web/luasrc/view/cbi/nullsection.htm
libs/web/luasrc/view/cbi/simpleform.htm
libs/web/luasrc/view/cbi/tabcontainer.htm
libs/web/luasrc/view/cbi/tabmenu.htm
libs/web/luasrc/view/cbi/tblsection.htm
libs/web/luasrc/view/cbi/tsection.htm
libs/web/luasrc/view/cbi/tvalue.htm
libs/web/luasrc/view/cbi/ucisection.htm
libs/web/luasrc/view/cbi/upload.htm
libs/web/luasrc/view/cbi/value.htm
libs/web/luasrc/view/cbi/valuefooter.htm
libs/web/luasrc/view/cbi/valueheader.htm

index 8598dfe00623e42fe6df64013a0a61e5ac535b17..78df97e9381bdb53f35d5a16fa971f7b03de0f23 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <% export("cbi_apply_xhr", function(id, configs, redirect) -%>
 <fieldset class="cbi-section" id="cbi-apply-<%=id%>">
        <legend><%:Applying changes%></legend>
index 08df483b5458743611902ef2960a8e46cf9ce4af..e4a4077d55bb9317aa79365104a49aedfd616516 100644 (file)
@@ -1,21 +1,4 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
-<%
-       local v = self:cfgvalue(section)
--%>
+<% local v = self:cfgvalue(section) -%>
 <%+cbi/valueheader%>
        <input class="cbi-input-text" type="text"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> />
        <script type="text/javascript">
index 4edb4612a3b804bcc1691418f86f589e358d58b2..88e63d59df405333ac113f155bcdf3c26d9e7025 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
        <% if self:cfgvalue(section) ~= false then %>
                <input class="cbi-input-<%=self.inputstyle or "button" %>" type="submit"<%= attr("name", cbid) .. attr("id", cbid) .. attr("value", self.inputtitle or self.title)%> />
index c325e49cb40cb39197f828d35898bcedd9fcb0cf..220ebd42bac79cd9756d125bdb19aad93c3f7fc2 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 </div>
 <div id="cbip-<%=self.config.."-"..section.."-"..self.option%>"></div>
 </td>
@@ -31,4 +17,4 @@ $Id$
                        }, "cbip-<%=self.config.."-"..section.."-"..self.option%>");
                <%- end %>
        </script>
-<%- end %>
\ No newline at end of file
+<%- end %>
index 0f24f1f764840c5529989747927c6944f29ac804..9e2e145ddbaef17cef141446c25f5da3d488606b 100644 (file)
@@ -1,17 +1,2 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <td class="cbi-value-field<% if self.error and self.error[section] then %> cbi-value-error<% end %>">
 <div id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
index fbd5a0a073cc244f7b488b2670c4042114d100f3..12d02bb1d886fd37ce55fd23b6491d662997dd18 100644 (file)
@@ -1,14 +1 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Steven Barth <steven@midlink.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-<%- self:render_children() %>
\ No newline at end of file
+<%- self:render_children() %>
index ed7c6b4ea23eef4b4c4a637783483d0eadde5f89..4fd19265d83a511f4ffe9f4c0921975cffb8e62a 100644 (file)
@@ -1,16 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Steven Barth <steven@midlink.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%- self.active:render() %>
        <div class="cbi-page-actions">
                <input type="hidden" name="cbi.delg.current" value="<%=self.current%>" />
@@ -34,4 +21,4 @@ $Id$
 <% end %>
 <% end %>
                <script type="text/javascript">cbi_d_update();</script>
-       </div>
\ No newline at end of file
+       </div>
index 0a61dc24a195c20e1415da54c310a04f82e99726..78e6f323d7223be7246707ecfc6c1adcf834dd98 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <%+cbi/valueheader%>
 <% if self.href then %><a href="<%=self.href%>"><% end -%>
        <%
index ac9fe348290bef5952a0481835257570d81a277b..a9e77c7cce9d7db352e821bd18c7f13f24c90673 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008-2010 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
 <div>
 <%
index 40480ec9d941d6b75ebf3e121a87f5d656b76c78..a79beebba725a1bbb0432d52117ebc5880744476 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
index c032a683e597cd1e3222dc57d5b74398b8ce2bd7..debfddcc2960d7aefc37f2206bf5bff6e2764262 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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: firewall_zonelist.htm 5651 2009-12-26 00:09:47Z jow $
-
--%>
-
 <%+cbi/valueheader%>
 
 <%-
index 3e066383a6f089aec79851562c4e783b2826cbea..ee38cadbe92529794575ccb9d561740142abb919 100644 (file)
@@ -1,16 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
 
 <%-
index eb79f2419bd9b44eb00981d71362f97cc42491ad..ef6776114bd1a0ea090660a620a16950ff4a3056 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
        <%- if pageaction then -%>
        <div class="cbi-page-actions">
                <% if redirect then %>
index 18b2f2d76ed3cd034052abecd70a2e07c50ef12b..4876fbcc99789dd095e50ac7a5c2fdbe5ea94a78 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
                <% if self.description and #self.description > 0 then -%>
                        <% if not luci.util.instanceof(self, luci.cbi.DynamicList) and (not luci.util.instanceof(self, luci.cbi.Flag) or self.orientation == "horizontal") then -%>
                                <br />
index ecd40149832162f8c4f5acc40fa596f86370184d..e3711f0271f2296c0d85d627506ca4ac5fe67177 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <div class="cbi-value<% if self.error and self.error[section] then %> cbi-value-error<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
        <%- if self.title and #self.title > 0 then -%>
        <label class="cbi-value-title"<%= attr("for", cbid) %>>
index df96fe2c6f79ed38284048e32e982dc13884285a..a1e0808e8d3e8bf1845d4838b244ed6bb0b605f2 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008-2010 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
        <input type="hidden" value="1"<%=
                attr("name", "cbi.cbe." .. self.config .. "." .. section .. "." .. self.option)
index fd1ab8bd1a4d4069d82d5371b2e65c5568145923..2bddaba61a3e41683f0a23b3027b1e7e527277fc 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008-2010 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <%+header%>
 <form method="post" name="cbi" action="<%=REQUEST_URI%>" enctype="multipart/form-data" onreset="return cbi_validate_reset(this)" onsubmit="return cbi_validate_form(this, '<%:Some fields are invalid, cannot save values!%>')">
        <div>
index 3bc3d0929af9de30715a3f97bd4d5e652638a132..8cc086db422b2807f49f4700cb0a5b589570c06b 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
 <% if self.widget == "select" then %>
        <select class="cbi-input-select" onchange="cbi_d_update(this.id)"<%= attr("id", cbid) .. attr("name", cbid) .. ifattr(self.size, "size") %>>
index d3fc65bd22dc5cfd9e3da7b1438ad6c4989cce76..053220d185f18619154f1ff23e91a45169b0eeca 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%>
        <div class="errorbox"><%=pcdata(msg)%></div>
 <%- end end -%>
index 3812a3f7ef476fbcfbdcab6a76b43cd29e2c594e..8b1afde943dc1a5c1c53da1c13941ee8670c580f 100644 (file)
@@ -1,20 +1,4 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-<%
-local v = self:valuelist(section) or {}
-%>
+<% local v = self:valuelist(section) or {} -%>
 <%+cbi/valueheader%>
 <% if self.widget == "select" then %>
        <select class="cbi-input-select" multiple="multiple"<%= attr("name", cbid) .. ifattr(self.size, "size") %>>
index 9e3acc11211d58d458cda9d5c8fbe50b8a72a697..0dc93f9687a2fae8d36f08f20ea89466c6952a08 100644 (file)
@@ -1,16 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
 
 <%-
index a0343f0e77b06c9a9956ba8ab2fd9d87c456bd28..19e98c0192d63d3820e751826665f64cba7b3950 100644 (file)
@@ -1,16 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
--%>
-
 <%+cbi/valueheader%>
 
 <%-
index 8840c3d07b9e5fe627c2ab95c3e3411e7ce236a8..882b86a65ace9ef4091da7aaf7512f9c4772f233 100644 (file)
@@ -1,16 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
 
 <%-
index 1d231c54242b6b9949b6295f9e21c10abd4d5f67..e34e0f383e338092704da0327d6c042e73ce3ee7 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008-2009 Jo-Philipp Wich <xm@subsignal>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <% if self:cfgvalue(self.section) then section = self.section %>
        <fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=section%>">
                <% if self.title and #self.title > 0 then -%>
index f1c715b40818ea5c4981b597e0ffad2d9dc7b086..063e7e6e613c7cd5954973ec923a5dc0ea58fc31 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
                <fieldset class="cbi-section">
                        <% if self.title and #self.title > 0 then -%>
                                <legend><%=self.title%></legend>
index 9c40f8290c1da636eda3883270deabd6f7570b3c..cc6ecb958af9c7927e78cc88481618f281cdb834 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <% if not self.embedded then %>
 <form method="post" action="<%=REQUEST_URI%>">
        <div>
index 5f1a80d610e88bf4aace69ddbd5b8c3283190c5a..38c435d6a112e69b3240e5cc290bec365fa4d4a0 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <% for tab, data in pairs(self.tabs) do %>
        <div class="cbi-tabcontainer" id="container.<%=self.config%>.<%=section%>.<%=tab%>"<% if tab ~= self.selected_tab then %> style="display:none"<% end %>>
                <% if data.description then %><div class="cbi-tab-descr"><%=data.description%></div><% end %>
index 7648fe011b402d941ae0e850ca954cbb1119e683..b96ac9ce4b513f427a06fec535e600ba8beca7bf 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2009 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <%- if self.tabs then %>
        <ul class="cbi-tabmenu">
        <%- self.selected_tab = luci.http.formvalue("tab." .. self.config .. "." .. section) %>
index 63214467f64fbf15869dc9bb3a646224fb77efe9..6633b9bba41e62092ad813b9b3413da16c23b3dc 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%-
 local rowcnt = 1
 function rowstyle()
index 549934303d054a0c2a9b54185242b63499e6668b..29f3c163422cf40a4ac6abac02bfe2901ce9b47c 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=self.sectiontype%>">
        <% if self.title and #self.title > 0 then -%>
                <legend><%=self.title%></legend>
index b628c5c524adbc80fe9b3bf9600284744dc77377..fcf7a6c94c9e3060a3b5138198c0d54fd041915d 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
        <textarea class="cbi-input-textarea" <% if not self.size then %> style="width: 100%"<% else %> cols="<%=self.size%>"<% end %> onchange="cbi_d_update(this.id)"<%= attr("name", cbid) .. attr("id", cbid) .. ifattr(self.rows, "rows") .. ifattr(self.wrap, "wrap") %>>
        <%-=pcdata(self:cfgvalue(section))-%>
index db32c904390734f8f442e75723f5d6aee1e8ba76..3b69f12f2ec8da9dc389a85ad373326f520c0495 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <%-
        if type(self.hidden) == "table" then
                for k, v in pairs(self.hidden) do
index f5baa33fe4e9912729687f9e2fbad4d21c16eeb2..d57a032c77c4c2a19aead5a4a93cc4dff2cca30b 100644 (file)
@@ -1,18 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008-2009 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <%
        local t = require("luci.tools.webadmin")
        local v = self:cfgvalue(section)
index d94863e9002e490b5a7c5cb83a5906a98200ebcb..180b16048b60d283284b2a3ab09026ba19b8d38d 100644 (file)
@@ -1,17 +1,3 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008-2010 Jo-Philipp Wich <xm@subsignal.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
 <%+cbi/valueheader%>
        <input type="<%=self.password and 'password" class="cbi-input-password' or 'text" class="cbi-input-text' %>" onchange="cbi_d_update(this.id)"<%=
                attr("name", cbid) .. attr("id", cbid) .. attr("value", self:cfgvalue(section) or self.default) ..
index a65c7a387494cb3dacbd4728cb3710655dd8197c..805312e4513d69ae870c4579fcc2cfe5af0c0a13 100644 (file)
@@ -1,16 +1 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <% include( valuefooter or "cbi/full_valuefooter" ) %>
index f3da909e668374b5372e77a8aab951fbd3e24f81..761a54aed0d8e36bc3a95fae5187159871b7b4f1 100644 (file)
@@ -1,16 +1 @@
-<%#
-LuCI - Lua Configuration Interface
-Copyright 2008 Steven Barth <steven@midlink.org>
-Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this 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$
-
--%>
-
 <% include( valueheader or "cbi/full_valueheader" ) %>