modules/admin-core: fix stray servicectl button in modemenu
[project/luci.git] / modules / admin-core / luasrc / view / sysauth.htm
index 42f13fa..8e15fbc 100644 (file)
@@ -12,28 +12,28 @@ You may obtain a copy of the License at
 $Id$
 
 -%>
+
 <%+header%>
-<% luci.i18n.loadc("sysauth") %>
 
-<form method="post" action="<%=luci.http.getenv("REQUEST_URI")%>">
+<form method="post" action="<%=pcdata(luci.http.getenv("REQUEST_URI"))%>">
        <div class="cbi-map">
-               <h2><a id="content" name="content"><%:sysauth_head%></a></h2>
+               <h2><a id="content" name="content"><%:Authorization Required%></a></h2>
                <div class="cbi-map-descr">
-                       <%:sysauth_prompt%>
+                       <%:Please enter your username and password.%>
                        <%- if fuser then %>
-                       <div class="error"><%:sysauth_failed%></div>
+                       <div class="error"><%:Invalid username and/or password! Please try again.%></div>
                        <br />
                        <% end -%>
                </div>
                <fieldset class="cbi-section"><fieldset class="cbi-section-node">
                        <div class="cbi-value">
-                               <label class="cbi-value-title"><%:username%></label>
+                               <label class="cbi-value-title"><%:Username%></label>
                                <div class="cbi-value-field">
                                        <input class="cbi-input-user" type="text" name="username" value="<%=duser%>" />
                                </div>
                        </div>
                        <div class="cbi-value">
-                               <label class="cbi-value-title"><%:password%></label>
+                               <label class="cbi-value-title"><%:Password%></label>
                                <div class="cbi-value-field">
                                        <input class="cbi-input-password" type="password" name="password" />
                                </div>
@@ -42,8 +42,8 @@ $Id$
        </div>
 
        <div>
-               <input type="submit" value="<%:login%>" class="cbi-button cbi-button-apply" />
-               <input type="reset" value="<%:reset%>" class="cbi-button cbi-button-reset" />
+               <input type="submit" value="<%:Login%>" class="cbi-button cbi-button-apply" />
+               <input type="reset" value="<%:Reset%>" class="cbi-button cbi-button-reset" />
        </div>
 </form>
 <%+footer%>