requirements.tpl 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {% extends 'layout.tpl' %}
  2. {% block content %}
  3. <h3> {{ 'Requirements' | trans }} </h3>
  4. <div>
  5. {{ 'ReadThoroughly' | trans }}
  6. </div>
  7. {{ 'MoreDetails' | trans }}
  8. <a href="{{ app.request.baseUrl }}../../../documentation/installation_guide.html" target="_blank">
  9. {{ 'ReadTheInstallGuide' | trans }}
  10. </a>
  11. <h3> {{ 'ServerRequirements' | trans }}</h3>
  12. <table class="table">
  13. <tr>
  14. <td>{{ 'PHPVersion' | trans }} >= {{ required_php_version }} </td>
  15. <td>
  16. {% if required_php_version_validation %}
  17. <strong><font color="red">{{ 'PHPVersionError' | trans }}</font></strong>
  18. {% else %}
  19. <strong><font color="green">{{ 'PHPVersionOK' | trans }} {{ php_version }}</font></strong>
  20. {% endif %}
  21. </td>
  22. </tr>
  23. {% autoescape false %}
  24. {{ requirements }}
  25. {% endautoescape %}
  26. </table>
  27. <h3> {{ 'PHPSettings' | trans }}</h3>
  28. <table class="table">
  29. <tr>
  30. <td>{{ 'Name' | trans }}</td>
  31. <td>{{ 'Recommended' | trans }}</td>
  32. <td>{{ 'Current' | trans }}</td>
  33. </tr>
  34. {% autoescape false %}
  35. {{ options }}
  36. {% endautoescape %}
  37. </table>
  38. <h3> {{ 'DirectoryAndFilePermissions' | trans }}</h3>
  39. {% autoescape false %}
  40. {{ permissions }}
  41. {% endautoescape %}
  42. <form action="#" method="post">
  43. {{ form_widget(form) }}
  44. </form>
  45. {% endblock %}