diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-13 13:58:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-13 13:58:30 +0000 |
commit | cb1dee09e12ff5c62dfc1367f02f2ea6804fecfd (patch) | |
tree | 1a53cf2286e2b2bbe44f7df55e058ad261b97669 /modules/admin-full | |
parent | 0aa85e71313390dd07e1a6fb8c4d87b62c1f69a6 (diff) |
modules/admin-full: add a missing escape in packages template
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_system/packages.htm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/admin-full/luasrc/view/admin_system/packages.htm b/modules/admin-full/luasrc/view/admin_system/packages.htm index a1a8d698f..0b00324f4 100644 --- a/modules/admin-full/luasrc/view/admin_system/packages.htm +++ b/modules/admin-full/luasrc/view/admin_system/packages.htm @@ -61,7 +61,7 @@ local free_byte = space_free * fstat.frsize <div class="cbi-value"> <label class="cbi-value-title"><%:Filter%>:</label> <div class="cbi-value-field"> - <input type="text" name="query" size="20" value="<%=query%>" /> + <input type="text" name="query" size="20" value="<%=pcdata(query)%>" /> <input type="submit" class="cbi-input-find" name="search" value="<%:Find package%>" /> </div> </div> @@ -94,7 +94,7 @@ local free_byte = space_free * fstat.frsize </fieldset> <br /> - <h3><%:Installed packages%><% if query then %> (<%=luci.util.pcdata(query)%>)<% end %></h3> + <h3><%:Installed packages%><% if query then %> (<%=pcdata(query)%>)<% end %></h3> <fieldset class="cbi-section"> <table class="cbi-section-table" style="width:100%"> @@ -122,7 +122,7 @@ local free_byte = space_free * fstat.frsize <br /> - <h3><%:Available packages%><% if query then %> (<%=luci.util.pcdata(query)%>)<% end %></h3> + <h3><%:Available packages%><% if query then %> (<%=pcdata(query)%>)<% end %></h3> <fieldset class="cbi-section"> <table class="cbi-section-table" style="width:100%"> |