browser.htm 374 B

1234567
  1. <% local v = self:cfgvalue(section) -%>
  2. <%+cbi/valueheader%>
  3. <input class="cbi-input-text" type="text"<%= attr("value", v) .. attr("name", cbid) .. attr("id", cbid) %> />
  4. <script type="text/javascript">
  5. cbi_browser_init('<%=cbid%>', '<%=resource%>', '<%=url('admin/filebrowser')%>'<%=self.default_path and ", '"..self.default_path.."'"%>);
  6. </script>
  7. <%+cbi/valuefooter%>