cbi_color.htm 324 B

123456789101112131415161718
  1. <%+cbi/valueheader%>
  2. <%
  3. if (self:cfgvalue(section) == translate("Disabled")) then
  4. %>
  5. <span id="<%=cbid%>.disabled" style="background-color:red;"><%=self:cfgvalue(section)%></span>
  6. <%
  7. else
  8. %>
  9. <span id="<%=cbid%>.disabled" style="background-color:lime;"><%=self:cfgvalue(section)%></span>
  10. <%
  11. end
  12. %>
  13. <%+cbi/valuefooter%>