setup-features.jsp 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  4. <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
  5. <%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
  6. <html>
  7. <head profile="<c:url value="/profile.txt"/>">
  8. <title><fmt:message key="setup.features.title"/></title>
  9. <link media="screen" href="<c:url value="/css/global.css"/>" type="text/css" rel="stylesheet" />
  10. </head>
  11. <body>
  12. <h1><fmt:message key="setup.features.title"/></h1>
  13. <p><fmt:message key="setup.features.intro"/></p>
  14. <form method="post" action="<c:url value="/setup/wizard.do"/>">
  15. <dl class="menu">
  16. <spring:nestedPath path="command">
  17. <dt><fmt:message key="setup.feature.registration.displayName"/></dt>
  18. <dd>
  19. <spring:bind path="settings['feature.registration']">
  20. <input type="hidden"
  21. name="_<c:out value="${status.expression}"/>"
  22. value="visible"/>
  23. <input class="setting" type="checkbox"
  24. name="<c:out value="${status.expression}"/>"
  25. value="true" <c:if test="${status.value == 'true'}">checked="checked"</c:if>/>
  26. </spring:bind>
  27. <fmt:message key="setup.feature.registration.caption"/>
  28. </dd>
  29. <dt><fmt:message key="setup.feature.anonymous.displayName"/></dt>
  30. <dd>
  31. <spring:bind path="settings['feature.anonymous']">
  32. <input type="hidden"
  33. name="_<c:out value="${status.expression}"/>"
  34. value="visible"/>
  35. <input class="setting" type="checkbox"
  36. name="<c:out value="${status.expression}"/>"
  37. value="true" <c:if test="${status.value == 'true'}">checked="checked"</c:if>/>
  38. </spring:bind>
  39. <fmt:message key="setup.feature.anonymous.caption"/>
  40. </dd>
  41. <dt><fmt:message key="setup.feature.comments.displayName"/></dt>
  42. <dd>
  43. <spring:bind path="settings['feature.comments']">
  44. <input type="hidden"
  45. name="_<c:out value="${status.expression}"/>"
  46. value="visible"/>
  47. <input class="setting" type="checkbox"
  48. name="<c:out value="${status.expression}"/>"
  49. value="true" <c:if test="${status.value == 'true'}">checked="checked"</c:if>/>
  50. </spring:bind>
  51. <fmt:message key="setup.feature.comments.caption"/>
  52. </dd>
  53. <dt><fmt:message key="setup.feature.recipeimages.displayName"/></dt>
  54. <dd>
  55. <spring:bind path="settings['feature.recipeimages']">
  56. <input type="hidden"
  57. name="_<c:out value="${status.expression}"/>"
  58. value="visible"/>
  59. <input class="setting" type="checkbox"
  60. name="<c:out value="${status.expression}"/>"
  61. value="true" <c:if test="${status.value == 'true'}">checked="checked"</c:if>/>
  62. </spring:bind>
  63. <fmt:message key="setup.feature.recipeimages.caption"/>
  64. </dd>
  65. </spring:nestedPath>
  66. </dl>
  67. <div>
  68. <input type="submit" name="_target2" value="<fmt:message key="continue.displayName"/>"/>
  69. </div>
  70. </form>
  71. </body>
  72. </html>