2761bba8eeefb15248eb807bb6ed.php 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?php
  2. /* SensioDistributionBundle::Configurator/final.html.twig */
  3. class __TwigTemplate_ed782761bba8eeefb15248eb807bb6ed extends Twig_Template
  4. {
  5. protected $parent;
  6. public function __construct(Twig_Environment $env)
  7. {
  8. parent::__construct($env);
  9. $this->parent = array();
  10. $this->blocks = array(
  11. 'content_class' => array($this, 'block_content_class'),
  12. 'content' => array($this, 'block_content'),
  13. );
  14. }
  15. public function getParent(array $context)
  16. {
  17. $parent = "SensioDistributionBundle::Configurator/layout.html.twig";
  18. if ($parent instanceof Twig_Template) {
  19. $name = $parent->getTemplateName();
  20. $this->parent[$name] = $parent;
  21. $parent = $name;
  22. } elseif (!isset($this->parent[$parent])) {
  23. $this->parent[$parent] = $this->env->loadTemplate($parent);
  24. }
  25. return $this->parent[$parent];
  26. }
  27. protected function doDisplay(array $context, array $blocks = array())
  28. {
  29. $context = array_merge($this->env->getGlobals(), $context);
  30. $this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
  31. }
  32. // line 3
  33. public function block_content_class($context, array $blocks = array())
  34. {
  35. echo "config_done";
  36. }
  37. // line 4
  38. public function block_content($context, array $blocks = array())
  39. {
  40. // line 5
  41. echo " <h1>Well done!</h1>
  42. ";
  43. // line 6
  44. if ($this->getContext($context, 'is_writable')) {
  45. // line 7
  46. echo " <h2>Your distribution is configured!</h2>
  47. ";
  48. } else {
  49. // line 9
  50. echo " <h2 class=\"configure-error\">Your distribution is almost configured but...</h2>
  51. ";
  52. }
  53. // line 11
  54. echo " <h3>
  55. <span>
  56. ";
  57. // line 13
  58. if ($this->getContext($context, 'is_writable')) {
  59. // line 14
  60. echo " Your parameters.ini has been overwritten with these parameters (in <em>";
  61. echo twig_escape_filter($this->env, $this->getContext($context, 'ini_path'), "html");
  62. echo "</em>):
  63. ";
  64. } else {
  65. // line 16
  66. echo " Your parameters.ini file is not writeable! Here are the parameters you can copy and paste in <em>";
  67. echo twig_escape_filter($this->env, $this->getContext($context, 'ini_path'), "html");
  68. echo "</em>:
  69. ";
  70. }
  71. // line 18
  72. echo " </span>
  73. </h3>
  74. <textarea class=\"symfony-configuration\">";
  75. // line 21
  76. echo twig_escape_filter($this->env, $this->getContext($context, 'parameters'), "html");
  77. echo "</textarea>
  78. ";
  79. // line 23
  80. if ($this->getContext($context, 'welcome_url')) {
  81. // line 24
  82. echo " <ul>
  83. <li><a href=\"";
  84. // line 25
  85. echo twig_escape_filter($this->env, $this->getContext($context, 'welcome_url'), "html");
  86. echo "\">Go to the Welcome page</a></li>
  87. </ul>
  88. ";
  89. }
  90. }
  91. public function getTemplateName()
  92. {
  93. return "SensioDistributionBundle::Configurator/final.html.twig";
  94. }
  95. public function isTraitable()
  96. {
  97. return false;
  98. }
  99. }