2
0

dvalue.htm 385 B

12345678910111213
  1. <%+cbi/valueheader%>
  2. <% if self.href then %><a href="<%=self.href%>"><% end -%>
  3. <%
  4. local val = self:cfgvalue(section) or self.default or ""
  5. if not self.rawhtml then
  6. write(pcdata(val))
  7. else
  8. write(val)
  9. end
  10. %>
  11. <%- if self.href then %></a><%end%>
  12. <input type="hidden" id="<%=cbid%>" value="<%=pcdata(self:cfgvalue(section) or self.default or "")%>" />
  13. <%+cbi/valuefooter%>