From 5e9da8240f475a227c2897f4947397a74f36b2c3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 6 Oct 2015 13:29:43 +0200 Subject: Globally convert headline anchors into name attributes. Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/error.htm | 2 +- modules/luci-base/luasrc/view/cbi/map.htm | 2 +- modules/luci-base/luasrc/view/cbi/simpleform.htm | 2 +- modules/luci-base/luasrc/view/error404.htm | 2 +- modules/luci-base/luasrc/view/error500.htm | 2 +- modules/luci-base/luasrc/view/sysauth.htm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/luci-base/luasrc/view') diff --git a/modules/luci-base/luasrc/view/cbi/error.htm b/modules/luci-base/luasrc/view/cbi/error.htm index 2acb96924e..75ec1082aa 100644 --- a/modules/luci-base/luasrc/view/cbi/error.htm +++ b/modules/luci-base/luasrc/view/cbi/error.htm @@ -1,5 +1,5 @@
- <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> + <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %>

diff --git a/modules/luci-base/luasrc/view/cbi/map.htm b/modules/luci-base/luasrc/view/cbi/map.htm index 053220d185..e90c3f589f 100644 --- a/modules/luci-base/luasrc/view/cbi/map.htm +++ b/modules/luci-base/luasrc/view/cbi/map.htm @@ -5,7 +5,7 @@ <%-+cbi/apply_xhr-%>

- <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> + <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <%- if firstmap and applymap then cbi_apply_xhr(self.config, parsechain, redirect) end -%> <%- self:render_children() %> diff --git a/modules/luci-base/luasrc/view/cbi/simpleform.htm b/modules/luci-base/luasrc/view/cbi/simpleform.htm index 5216cd50f1..437a07a8bd 100644 --- a/modules/luci-base/luasrc/view/cbi/simpleform.htm +++ b/modules/luci-base/luasrc/view/cbi/simpleform.htm @@ -6,7 +6,7 @@
<% end %>
- <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> + <% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> <% self:render_children() %>
diff --git a/modules/luci-base/luasrc/view/error404.htm b/modules/luci-base/luasrc/view/error404.htm index c2be29ed58..bc74226830 100644 --- a/modules/luci-base/luasrc/view/error404.htm +++ b/modules/luci-base/luasrc/view/error404.htm @@ -5,7 +5,7 @@ -%> <%+header%> -

404 <%:Not Found%>

+

404 <%:Not Found%>

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

<%:Unable to dispatch%>: <%=luci.http.request.env.PATH_INFO%> <%+footer%> diff --git a/modules/luci-base/luasrc/view/error500.htm b/modules/luci-base/luasrc/view/error500.htm index 8fb18ed076..34a52cda84 100644 --- a/modules/luci-base/luasrc/view/error500.htm +++ b/modules/luci-base/luasrc/view/error500.htm @@ -5,7 +5,7 @@ -%> <%+header%> -

500 <%:Internal Server Error%>

+

500 <%:Internal Server Error%>

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

<%=message%>
<%+footer%> diff --git a/modules/luci-base/luasrc/view/sysauth.htm b/modules/luci-base/luasrc/view/sysauth.htm index 7f0f0a622b..e207504911 100644 --- a/modules/luci-base/luasrc/view/sysauth.htm +++ b/modules/luci-base/luasrc/view/sysauth.htm @@ -8,7 +8,7 @@
">
-

<%:Authorization Required%>

+

<%:Authorization Required%>

<%:Please enter your username and password.%> <%- if fuser then %> -- cgit v1.2.3