2 local t = require(
"luci.tools.webadmin")
3 local v = self:cfgvalue(section)
4 local s = v and nixio.fs.stat(v)
8 <%:Uploaded File%
> (<%=t.byte_format(s.size)%
>)
9 <input type=
"hidden"<%= attr(
"value", v) .. attr(
"name", cbid) .. attr(
"id", cbid) %
> />
10 <input class=
"cbi-button cbi-input-image" type=
"image" value=
"<%:Replace entry%>" name=
"cbi.rlf.<%=section .. ".
" .. self.option%>" alt=
"<%:Replace entry%>" title=
"<%:Replace entry%>" src=
"<%=resource%>/cbi/reload.gif" />
12 <input class=
"cbi-input-file" type=
"file"<%= attr(
"name", cbid) .. attr(
"id", cbid) %
> />