luci-mod-admin-full: canonicalize configured static lease MAC
[project/luci.git] / modules / luci-mod-admin-full / luasrc / view / admin_system / packages.htm
index fbb8235..88e0fff 100644 (file)
@@ -69,7 +69,7 @@ end
                                <% if querypat then %>
                                <div class="cbi-value">
                                        <%:Displaying only packages containing%> <strong>"<%=pcdata(query)%>"</strong>
-                                       <input type="button" onclick="location.href='?display=<%=pcdata(display)%>'" href="#" class="cbi-button cbi-button-reset" style="margin-left:1em" value="<%:Reset%>" />
+                                       <input type="button" onclick="location.href='?display=<%=luci.http.urlencode(display)%>'" href="#" class="cbi-button cbi-button-reset" style="margin-left:1em" value="<%:Reset%>" />
                                        <br style="clear:both" />
                                </div>
                                <% end %>
@@ -102,7 +102,7 @@ end
                                        <label class="cbi-value-title"><%:Download and install package%>:</label>
                                        <div class="cbi-value-field">
                                                <input type="text" name="url" size="30" value="" />
-                                               <input class="cbi-button cbi-input-save" type="submit" name="exec" value="<%:OK%>" />
+                                               <input class="cbi-button cbi-input-save" type="submit" name="go" value="<%:OK%>" />
                                        </div>
                                </div>
 
@@ -141,7 +141,7 @@ end
                                                        <input type="hidden" name="exec" value="1" />
                                                        <input type="hidden" name="token" value="<%=token%>" />
                                                        <input type="hidden" name="remove" value="<%=pcdata(n)%>" />
-                                                       <a onclick="window.confirm('<%:Remove%> &quot;<%=luci.util.pcdata(n)%>&quot; ?') && this.parentNode.submit(); return false" href="#"><%:Remove%></a>
+                                                       <a onclick="window.confirm('<%:Remove%> &quot;<%=luci.util.pcdata(n)%>&quot; ?') &#38;&#38; this.parentNode.submit(); return false" href="#"><%:Remove%></a>
                                                </form>
                                        </td>
                                        <td style="text-align:left"><%=luci.util.pcdata(n)%></td>
@@ -183,7 +183,7 @@ end
                                                        <input type="hidden" name="exec" value="1" />
                                                        <input type="hidden" name="token" value="<%=token%>" />
                                                        <input type="hidden" name="install" value="<%=pcdata(n)%>" />
-                                                       <a onclick="window.confirm('<%:Install%> &quot;<%=luci.util.pcdata(n)%>&quot; ?') && this.parentNode.submit(); return false" href="#"><%:Install%></a>
+                                                       <a onclick="window.confirm('<%:Install%> &quot;<%=luci.util.pcdata(n)%>&quot; ?') &#38;&#38; this.parentNode.submit(); return false" href="#"><%:Install%></a>
                                                </form>
                                        </td>
                                        <td style="text-align:left"><%=luci.util.pcdata(n)%></td>