Changeset 8224 for luci/trunk
- Timestamp:
- 02/13/12 01:44:56 (15 months ago)
- Files:
-
- 1 modified
-
luci/trunk/libs/web/luasrc/view/cbi/tblsection.htm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
luci/trunk/libs/web/luasrc/view/cbi/tblsection.htm
r8223 r8224 95 95 <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap"> 96 96 <%- if self.extedit then -%> 97 <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>" onclick="window.location='97 <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>" 98 98 <%- if type(self.extedit) == "string" then -%> 99 <%=self.extedit:format(section)%>99 onclick="window.location='<%=self.extedit:format(section)%>'" 100 100 <%- elseif type(self.extedit) == "function" then -%> 101 <%=self:extedit(section)%>101 onclick="window.location='<%=self:extedit(section)%>'" 102 102 <%- end -%> 103 '"alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" />103 alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> 104 104 <%- end; if self.addremove then %> 105 105 <input class="cbi-button cbi-button-add" type="button" value="<%:Delete%>" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" style="text-align: center;background-image:url(<%=resource%>/cbi/remove.gif)" />
