/mnt/data/shnoulle/nginx/www/3LTS/upload/themes/survey/testDiv_vanilla/views/subviews/messages/welcome.twig(30)
18 In this file, you have access to the array aSurveyInfo that contains the datas of the current survey 19 To see what's inside aSurveyInfo, turn debug mode on and copy the following line to the end of this file: 20 {{ dump(aSurveyInfo) }} 21 22 #} 23 24 <!-- Welcome Message --> 25 <div id="{{ aSurveyInfo.id.welcomecontainer }}" class="{{ aSurveyInfo.class.welcomecontainer }}" {{ aSurveyInfo.attr.welcomecontainer }}> 26 27 <!-- Survey Name --> 28 {{ C.Html.tag('h1', ({ 29 'class':aSurveyInfo.class.surveyname ~ " text-center", 30 }), processString(aSurveyInfo.name,1) ) 31 }} 32 <!-- Survey description --> 33 <div class="{{ aSurveyInfo.class.description }} text-info text-center" {{ aSurveyInfo.attr.description }}> 34 {{ processString(aSurveyInfo.description,1) }} 35 </div> 36 37 <!-- Welcome text --> 38 <div class="{{ aSurveyInfo.class.welcome }} h4 text-primary" {{ aSurveyInfo.attr.welcome }}> 39 {{ processString(aSurveyInfo.welcome,1) }} 40 </div> 41 42 <!-- Question count -->
#0 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Extension/SandboxExtension.php(83): Twig\Sandbox\SecurityPolicy->checkMethodAllowed(ETwigViewRendererStaticClassProxy, "tag") 78 } 79 80 public function checkMethodAllowed($obj, $method) 81 { 82 if ($this->isSandboxed()) { 83 $this->policy->checkMethodAllowed($obj, $method); 84 } 85 } 86 87 public function checkPropertyAllowed($obj, $method) 88 { |
#1 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(695): Twig\Extension\SandboxExtension->checkMethodAllowed(ETwigViewRendererStaticClassProxy, "tag") 690 if ($isDefinedTest) { 691 return true; 692 } 693 694 if ($this->env->hasExtension('\Twig\Extension\SandboxExtension')) { 695 $this->env->getExtension('\Twig\Extension\SandboxExtension')->checkMethodAllowed($object, $method); 696 } 697 698 // Some objects throw exceptions when they have __call, and the method we try 699 // to call is not supported. If ignoreStrictCheck is true, we should return null. 700 try { |
#2 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/7e/7e22825108908072a48c48e6b779ed7cab587ba9d231aa54af3481c3333493e3.php(71):
Twig\Template->getAttribute(ETwigViewRendererStaticClassProxy,
"tag", array("h1", array("class" => " survey-name text-center"),
"Test broken theme"), "method") 66 <!-- Survey Name --> 67 "; 68 // line 28 69 echo $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["C"] ?? null), "Html", []), "tag", [0 => "h1", 1 => ["class" => ($this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute( // line 29 70 ($context["aSurveyInfo"] ?? null), "class", []), "surveyname", [])) . " text-center")], 2 => LS_Twig_Extension::processString($this->sandbox->ensureToStringAllowed($this->getAttribute( // line 30 71 ($context["aSurveyInfo"] ?? null), "name", [])), 1)], "method")); 72 // line 31 73 echo " 74 <!-- Survey description --> 75 <div class=\""; 76 // line 33 |
#3 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): __TwigTemplate_dc1e4d5098abc0087cc01c823d523fe1922f760e23cb58e84425fc46c6300941->doDisplay(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 450 } 451 452 protected function displayWithErrorHandling(array $context, array $blocks = []) 453 { 454 try { 455 $this->doDisplay($context, $blocks); 456 } catch (Error $e) { 457 if (!$e->getSourceContext()) { 458 $e->setSourceContext($this->getSourceContext()); 459 } 460 |
#4 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 417 return $this->blocks; 418 } 419 420 public function display(array $context, array $blocks = []) 421 { 422 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 423 } 424 425 public function render(array $context) 426 { 427 $level = ob_get_level(); |
#5 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(434): Twig\Template->display(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) 429 ob_start(); 430 } else { 431 ob_start(function () { return ''; }); 432 } 433 try { 434 $this->display($context); 435 } catch (\Exception $e) { 436 while (ob_get_level() > $level) { 437 ob_end_clean(); 438 } 439 |
#6 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Extension/CoreExtension.php(1591): Twig\Template->render(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) 1586 1587 throw $e; 1588 } 1589 1590 try { 1591 $ret = $loaded ? $loaded->render($variables) : ''; 1592 } catch (\Exception $e) { 1593 if ($isSandboxed && !$alreadySandboxed) { 1594 $sandbox->disableSandbox(); 1595 } 1596 |
#7 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/a0/a0f947abc78ede267d4f87b75f1e0be37a2ffb5adfd90a84a6769f21ebf69f91.php(83):
twig_include(Twig\Environment, array("oSurvey" =>
Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"G", "template" => "testDiv_vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...),
"./subviews/messages/welcome.twig") 78 echo " 79 80 "; 81 // line 33 82 echo " "; 83 echo twig_include($this->env, $context, "./subviews/messages/welcome.twig"); 84 echo " 85 86 87 "; 88 // line 36 |
#8 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): __TwigTemplate_d60686807098baeb450abd4f239e9766f42d251569857deea587b27353aee3c5->doDisplay(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 450 } 451 452 protected function displayWithErrorHandling(array $context, array $blocks = []) 453 { 454 try { 455 $this->doDisplay($context, $blocks); 456 } catch (Error $e) { 457 if (!$e->getSourceContext()) { 458 $e->setSourceContext($this->getSourceContext()); 459 } 460 |
#9 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 417 return $this->blocks; 418 } 419 420 public function display(array $context, array $blocks = []) 421 { 422 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 423 } 424 425 public function render(array $context) 426 { 427 $level = ob_get_level(); |
#10 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(434): Twig\Template->display(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) 429 ob_start(); 430 } else { 431 ob_start(function () { return ''; }); 432 } 433 try { 434 $this->display($context); 435 } catch (\Exception $e) { 436 while (ob_get_level() > $level) { 437 ob_end_clean(); 438 } 439 |
#11 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Extension/CoreExtension.php(1591): Twig\Template->render(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) 1586 1587 throw $e; 1588 } 1589 1590 try { 1591 $ret = $loaded ? $loaded->render($variables) : ''; 1592 } catch (\Exception $e) { 1593 if ($isSandboxed && !$alreadySandboxed) { 1594 $sandbox->disableSandbox(); 1595 } 1596 |
#12 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/b0/b08314c0ef2995dc2b595d9f38f7875fe411c5607082ad77b9c962a070753ef6.php(92):
twig_include(Twig\Environment, array("oSurvey" =>
Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format" =>
"G", "template" => "testDiv_vanilla", "language" => "en", ...),
"App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...),
"./subviews/content/firstpage.twig") 87 // line 28 88 echo " "; 89 if ((($context["include_content"] ?? null) != "./subviews/content/")) { 90 // line 29 91 echo " "; 92 echo twig_include($this->env, $context, $this->sandbox->ensureToStringAllowed(($context["include_content"] ?? null))); 93 echo " 94 "; 95 } 96 // line 31 97 echo " |
#13 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): __TwigTemplate_2100e0e527366063587d139ceb31f49e7db80c1001b9f46aa2f1830b1275ca22->doDisplay(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 450 } 451 452 protected function displayWithErrorHandling(array $context, array $blocks = []) 453 { 454 try { 455 $this->doDisplay($context, $blocks); 456 } catch (Error $e) { 457 if (!$e->getSourceContext()) { 458 $e->setSourceContext($this->getSourceContext()); 459 } 460 |
#14 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 417 return $this->blocks; 418 } 419 420 public function display(array $context, array $blocks = []) 421 { 422 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 423 } 424 425 public function render(array $context) 426 { 427 $level = ob_get_level(); |
#15 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/6d/6d28fc70fb683d2c8c5920de9f9e82c0eb09c10952a479085414e729322dee76.php(73):
Twig\Template->display(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) 68 echo $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["aSurveyInfo"] ?? null), "attr", []), "outerframe", [])); 69 echo " > 70 "; 71 // line 23 72 echo " "; 73 $this->loadTemplate("./subviews/content/mainrow.twig", "./subviews/content/outerframe.twig", 23)->display(twig_array_merge($context, ["include_content" => ($context["include_content"] ?? null)])); 74 // line 24 75 echo "</div> 76 "; 77 } 78 |
#16 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): __TwigTemplate_f2600f2b5f193a973fdabcc0ecae870a64d169de241555f69e1ebf97bcbe63c6->doDisplay(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 450 } 451 452 protected function displayWithErrorHandling(array $context, array $blocks = []) 453 { 454 try { 455 $this->doDisplay($context, $blocks); 456 } catch (Error $e) { 457 if (!$e->getSourceContext()) { 458 $e->setSourceContext($this->getSourceContext()); 459 } 460 |
#17 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array()) 417 return $this->blocks; 418 } 419 420 public function display(array $context, array $blocks = []) 421 { 422 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 423 } 424 425 public function render(array $context) 426 { 427 $level = ob_get_level(); |
#18 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/f1/f18a1b3bff3a8e501baf497abb5e02c7334dadc89087de7ee4ff0beca382279a.php(237):
Twig\Template->display(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...)) 232 // line 107 233 echo " "; 234 $context["sViewContent"] = (("./subviews/content/" . $this->sandbox->ensureToStringAllowed($this->getAttribute(($context["aSurveyInfo"] ?? null), "include_content", []))) . ".twig"); 235 // line 108 236 echo " "; 237 $this->loadTemplate("./subviews/content/outerframe.twig", "__string_template__a09e08bb0b857462a46d701f051c829efdae15a79a5fb58c93dbc75d2adce659", 108)->display(twig_array_merge($context, ["include_content" => ($context["sViewContent"] ?? null)])); 238 // line 109 239 echo " "; 240 } 241 242 // line 126 |
#19 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(216): __TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279->block_content(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_head"), "pjaxbegin" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_body"), "nav_bar" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_nav_bar"), ...)) 211 throw new \LogicException('A block must be a method on a \Twig\Template instance.'); 212 } 213 214 if (null !== $template) { 215 try { 216 $template->$block($context, $blocks); 217 } catch (Error $e) { 218 if (!$e->getSourceContext()) { 219 $e->setSourceContext($template->getSourceContext()); 220 } 221 |
#20 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/f1/f18a1b3bff3a8e501baf497abb5e02c7334dadc89087de7ee4ff0beca382279a.php(183):
Twig\Template->displayBlock("content",
array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail"
=> "Y", "format" => "G", "template" => "testDiv_vanilla",
"language" => "en", ...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_head"), "pjaxbegin" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_body"), "nav_bar" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_nav_bar"), ...)) 178 // line 100 179 echo " 180 <!-- Outer Frame Container --> 181 "; 182 // line 102 183 $this->displayBlock('content', $context, $blocks); 184 // line 110 185 echo " 186 "; 187 // line 112 188 echo " "; |
#21 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(216): __TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279->block_body(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_head"), "pjaxbegin" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_body"), "nav_bar" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_nav_bar"), ...)) 211 throw new \LogicException('A block must be a method on a \Twig\Template instance.'); 212 } 213 214 if (null !== $template) { 215 try { 216 $template->$block($context, $blocks); 217 } catch (Error $e) { 218 if (!$e->getSourceContext()) { 219 $e->setSourceContext($template->getSourceContext()); 220 } 221 |
#22 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/tmp/runtime/twig_cache/f1/f18a1b3bff3a8e501baf497abb5e02c7334dadc89087de7ee4ff0beca382279a.php(117):
Twig\Template->displayBlock("body",
array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail"
=> "Y", "format" => "G", "template" => "testDiv_vanilla",
"language" => "en", ...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_head"), "pjaxbegin" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_body"), "nav_bar" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_nav_bar"), ...)) 112 // line 88 113 echo $this->sandbox->ensureToStringAllowed($this->getAttribute($this->getAttribute(($context["aSurveyInfo"] ?? null), "id", []), "dynamicreload", [])); 114 echo "\"> 115 "; 116 // line 89 117 $this->displayBlock('body', $context, $blocks); 118 // line 123 119 echo " </div> 120 121 </article> 122 "; |
#23 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(455): __TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279->doDisplay(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_head"), "pjaxbegin" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_body"), "nav_bar" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_nav_bar"), ...)) 450 } 451 452 protected function displayWithErrorHandling(array $context, array $blocks = []) 453 { 454 try { 455 $this->doDisplay($context, $blocks); 456 } catch (Error $e) { 457 if (!$e->getSourceContext()) { 458 $e->setSourceContext($this->getSourceContext()); 459 } 460 |
#24 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(422): Twig\Template->displayWithErrorHandling(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...), "App" => LSYii_Application, "C" =>
ETwigViewRendererYiiCoreStaticClassesProxy, ...), array("head" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_head"), "pjaxbegin" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_pjaxbegin"), "body" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_body"), "nav_bar" =>
array(__TwigTemplate_d63e16ab03658a8a6dcdc22acc497f7a6e4f7d7488f1e6548cc26cc89dcce279,
"block_nav_bar"), ...)) 417 return $this->blocks; 418 } 419 420 public function display(array $context, array $blocks = []) 421 { 422 $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks)); 423 } 424 425 public function render(array $context) 426 { 427 $level = ob_get_level(); |
#25 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/Template.php(434): Twig\Template->display(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...))) 429 ob_start(); 430 } else { 431 ob_start(function () { return ''; }); 432 } 433 try { 434 $this->display($context); 435 } catch (\Exception $e) { 436 while (ob_get_level() > $level) { 437 ob_end_clean(); 438 } 439 |
#26 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/third_party/twig/twig/src/TemplateWrapper.php(47): Twig\Template->render(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...)), false) 42 */ 43 public function render($context = []) 44 { 45 // using func_get_args() allows to not expose the blocks argument 46 // as it should only be used by internal code 47 return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []); 48 } 49 50 /** 51 * Displays the template. 52 * |
#27 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/LSETwigViewRenderer.php(346): Twig\TemplateWrapper->render(array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...)), false) 341 342 } 343 344 // Twig rendering 345 $oTwigTemplate = $twig->createTemplate($sString); 346 $sHtml = $oTwigTemplate->render($aDatas, false); 347 348 return $sHtml; 349 } 350 351 /** |
#28 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/core/LSETwigViewRenderer.php(42): LSETwigViewRenderer->convertTwigToHtml("{#
LimeSurvey
Copyright (C) 2007-2017 The LimeSurvey Pro...", array("oSurvey"
=> Survey, "aSurveyInfo" => array("htmlemail" => "Y", "format"
=> "G", "template" => "testDiv_vanilla", "language" => "en",
...)), TemplateConfiguration) 37 { 38 $oTemplate = Template::getLastInstance(); 39 $oLayoutTemplate = $this->getTemplateForView($sLayout, $oTemplate); 40 if ($oLayoutTemplate) { 41 $line = file_get_contents($oLayoutTemplate->viewPath.$sLayout); 42 $sHtml = $this->convertTwigToHtml($line, $aDatas, $oTemplate); 43 $sEmHiddenInputs = LimeExpressionManager::FinishProcessPublicPage(true); 44 if($sEmHiddenInputs) { 45 $sHtml = str_replace("<!-- emScriptsAndHiddenInputs -->","<!-- emScriptsAndHiddenInputs updated -->\n".$sEmHiddenInputs,$sHtml); 46 } 47 if ($bReturn) { |
#29 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/frontend_helper.php(2059): LSETwigViewRenderer->renderTemplateFromFile("layout_global.twig",
array("oSurvey" => Survey, "aSurveyInfo" => array("htmlemail"
=> "Y", "format" => "G", "template" => "testDiv_vanilla",
"language" => "en", ...)), false) 2054 $thissurvey['surveyUrl'] = Yii::app()->getController()->createUrl("survey/index", array("sid"=>$surveyid)); // For form action (will remove newtest) 2055 $thissurvey['attr']['welcomecontainer'] = $thissurvey['attr']['surveyname'] = $thissurvey['attr']['description'] = $thissurvey['attr']['welcome'] = $thissurvey['attr']['questioncount'] = ''; 2056 2057 $thissurvey['include_content'] = 'firstpage'; 2058 2059 Yii::app()->twigRenderer->renderTemplateFromFile("layout_global.twig", array('oSurvey'=>Survey::model()->findByPk($surveyid), 'aSurveyInfo'=>$thissurvey), false); 2060 } 2061 2062 /** 2063 * killSurveySession : reset $_SESSION part for the survey 2064 * @param int $iSurveyID |
#30 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/SurveyRuntimeHelper.php(958): display_first_page(array("htmlemail"
=> "Y", "format" => "G", "template" => "testDiv_vanilla",
"language" => "en", ...), array("htmlemail" => "Y", "format" =>
"G", "template" => "testDiv_vanilla", "language" => "en", ...))
953 $this->aSurveyInfo['datasecurity_notice_label'] = Survey::replacePolicyLink($this->aSurveyInfo['datasecurity_notice_label'],$this->aSurveyInfo['sid']); 954 } 955 956 if ($bDisplayFirstPage) { 957 $_SESSION[$this->LEMsessid]['test'] = time(); 958 display_first_page($this->thissurvey, $this->aSurveyInfo); 959 Yii::app()->end(); // So we can still see debug messages 960 } 961 } 962 963 private function checkForDataSecurityAccepted(){ |
#31 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/helpers/SurveyRuntimeHelper.php(107): SurveyRuntimeHelper->displayFirstPageIfNeeded() 102 103 if (!$this->previewgrp && !$this->previewquestion) { 104 $this->initMove(); // main methods to init session, LEM, moves, errors, etc 105 $this->checkForDataSecurityAccepted(); // must be called after initMove to allow LEM to be initialized 106 $this->checkQuotas(); // check quotas (then the process will stop here) 107 $this->displayFirstPageIfNeeded(); 108 $this->saveAllIfNeeded(); 109 $this->saveSubmitIfNeeded(); 110 // TODO: move somewhere else 111 $this->setNotAnsweredAndNotValidated(); 112 } else { |
#32 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/survey/index.php(595): SurveyRuntimeHelper->run("494552",
array("surveyid" => "494552", "thissurvey" => array("htmlemail"
=> "Y", "format" => "G", "template" => "testDiv_vanilla",
"language" => "en", ...), "thisstep" => null, "tokensexist" =>
0, ...)) 590 unset($redata); 591 $redata = compact(array_keys(get_defined_vars())); 592 Yii::import('application.helpers.SurveyRuntimeHelper'); 593 $tmp = new SurveyRuntimeHelper(); 594 // try { 595 $tmp->run($surveyid, $redata); 596 // } catch (WrongTemplateVersionException $ex) { 597 // echo $ex->getMessage(); 598 // } 599 } 600 |
#33 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/application/controllers/survey/index.php(24): index->action() 19 public $oTemplate; 20 21 public function run() 22 { 23 useFirebug(); 24 $this->action(); 25 } 26 27 public function action() 28 { 29 global $surveyid; |
#34 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#35 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(308): CAction->runWithParams(array("r" => "survey/index", "sid" => "494552", "newtest" => "Y", "lang" => "en")) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#36 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(286): CController->runAction(index) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#37 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CController.php(265): CController->runActionWithFilters(index, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#38 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(282): CController->run("index") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#39 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#40 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#41 |
+
–
/mnt/data/shnoulle/nginx/www/3LTS/index.php(194): CApplication->run() 189 require_once APPPATH . 'core/LSYii_Application' . EXT; 190 191 $config = require_once(APPPATH . 'config/internal' . EXT); 192 193 Yii::$enableIncludePath = false; 194 Yii::createApplication('LSYii_Application', $config)->run(); 195 196 /* End of file index.php */ 197 /* Location: ./index.php */ |