summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view/admin_system
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-13 13:58:30 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-13 13:58:30 +0000
commitcb1dee09e12ff5c62dfc1367f02f2ea6804fecfd (patch)
tree1a53cf2286e2b2bbe44f7df55e058ad261b97669 /modules/admin-full/luasrc/view/admin_system
parent0aa85e71313390dd07e1a6fb8c4d87b62c1f69a6 (diff)
modules/admin-full: add a missing escape in packages template
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_system')
-rw-r--r--modules/admin-full/luasrc/view/admin_system/packages.htm6
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 a1a8d698f7..0b00324f46 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%">