0byt3m1n1
Path:
/
home
/
mgatv524
/
atvcms.com.br
/
maisqtv
/
cache
/
a9
/
[
Home
]
File: a9067fef5b606e70734475b973257c389eae8f3cbab0715ebe20fb3eaf0e5532.php
<?php /* help-page.twig */ class __TwigTemplate_0ce3c9b82f48175f4ae9039443ebff3b70904a9fda4e7d322126884d0001e572 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 9 $this->parent = $this->loadTemplate("authed.twig", "help-page.twig", 9); $this->blocks = array( 'actionMenu' => array($this, 'block_actionMenu'), 'pageContent' => array($this, 'block_pageContent'), 'javaScript' => array($this, 'block_javaScript'), ); } protected function doGetParent(array $context) { return "authed.twig"; } protected function doDisplay(array $context, array $blocks = array()) { // line 10 $context["inline"] = $this->loadTemplate("inline.twig", "help-page.twig", 10); // line 9 $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 12 public function block_actionMenu($context, array $blocks = array()) { // line 13 echo " <ul class=\"nav nav-pills pull-right\"> <li class=\"btn btn-info btn-xs\"><a class=\"XiboFormButton btns\" title=\""; // line 14 echo __("Add a new Help page"); echo "\" href=\""; echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("help.add.form"), "html", null, true); echo "\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> "; echo __("Add Help Link"); echo "</a></li> </ul> "; } // line 19 public function block_pageContent($context, array $blocks = array()) { // line 20 echo " <div class=\"widget\"> <div class=\"widget-title\">"; // line 21 echo __("Help Links"); echo "</div> <div class=\"widget-body\"> <div class=\"XiboGrid\" id=\""; // line 23 echo twig_escape_filter($this->env, twig_random($this->env), "html", null, true); echo "\"> <div class=\"XiboFilter\"> <div class=\"FilterDiv\" id=\"Filter\"> <form class=\"form-inline\"> </form> </div> </div> <div class=\"XiboData\"> <table id=\"helpLinks\" class=\"table table-striped\"> <thead> <tr> <th>"; // line 35 echo __("Topic"); echo "</th> <th>"; // line 36 echo __("Category"); echo "</th> <th>"; // line 37 echo __("Link"); echo "</th> <th></th> </tr> </thead> <tbody> </tbody> </table> </div> </div> </div> </div> "; } // line 51 public function block_javaScript($context, array $blocks = array()) { // line 52 echo " <script type=\"text/javascript\"> var table = \$(\"#helpLinks\").DataTable({ \"language\": dataTablesLanguage, serverSide: true, stateSave: true, stateDuration: 0, stateLoadCallback: function (settings, callback) { var data; \$.ajax({ type: \"GET\", async: false, url: \""; // line 60 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("user.pref"), "html", null, true); echo "?preference=helpGrid\", dataType: 'json', success: function (json) { if (json.success) data = JSON.parse(json.data.value); } }); return data; }, stateSaveCallback: function (settings, data) { \$.ajax({ type: \"POST\", url: \""; // line 72 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("user.pref"), "html", null, true); echo "\", data: { preference: [{ option: \"helpGrid\", value: JSON.stringify(data) }] } }); }, filter: false, searchDelay: 3000, \"order\": [[ 1, \"asc\"]], ajax: { \"url\": \""; // line 85 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("help.search"), "html", null, true); echo "\", \"data\": function(d) { \$.extend(d, \$(\"#helpLinks\").closest(\".XiboGrid\").find(\".FilterDiv form\").serializeObject()); } }, \"columns\": [ { \"data\": \"topic\"}, { \"data\": \"category\"}, { \"data\": \"link\"}, { \"orderable\": false, \"data\": dataTableButtonsColumn } ] }); table.on('draw', dataTableDraw); table.on('processing.dt', dataTableProcessing); </script> "; } public function getTemplateName() { return "help-page.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 145 => 85, 129 => 72, 114 => 60, 104 => 52, 101 => 51, 84 => 37, 80 => 36, 76 => 35, 61 => 23, 56 => 21, 53 => 20, 50 => 19, 39 => 14, 36 => 13, 33 => 12, 29 => 9, 27 => 10, 11 => 9,); } /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */ public function getSource() { @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED); return $this->getSourceContext()->getCode(); } public function getSourceContext() { return new Twig_Source("{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (\${FILE_NAME}) */ #} {% extends \"authed.twig\" %} {% import \"inline.twig\" as inline %} {% block actionMenu %} <ul class=\"nav nav-pills pull-right\"> <li class=\"btn btn-info btn-xs\"><a class=\"XiboFormButton btns\" title=\"{% trans \"Add a new Help page\" %}\" href=\"{{ urlFor(\"help.add.form\") }}\"><i class=\"fa fa-question-circle\" aria-hidden=\"true\"></i> {% trans \"Add Help Link\" %}</a></li> </ul> {% endblock %} {% block pageContent %} <div class=\"widget\"> <div class=\"widget-title\">{% trans \"Help Links\" %}</div> <div class=\"widget-body\"> <div class=\"XiboGrid\" id=\"{{ random() }}\"> <div class=\"XiboFilter\"> <div class=\"FilterDiv\" id=\"Filter\"> <form class=\"form-inline\"> </form> </div> </div> <div class=\"XiboData\"> <table id=\"helpLinks\" class=\"table table-striped\"> <thead> <tr> <th>{% trans \"Topic\" %}</th> <th>{% trans \"Category\" %}</th> <th>{% trans \"Link\" %}</th> <th></th> </tr> </thead> <tbody> </tbody> </table> </div> </div> </div> </div> {% endblock %} {% block javaScript %} <script type=\"text/javascript\"> var table = \$(\"#helpLinks\").DataTable({ \"language\": dataTablesLanguage, serverSide: true, stateSave: true, stateDuration: 0, stateLoadCallback: function (settings, callback) { var data; \$.ajax({ type: \"GET\", async: false, url: \"{{ urlFor(\"user.pref\") }}?preference=helpGrid\", dataType: 'json', success: function (json) { if (json.success) data = JSON.parse(json.data.value); } }); return data; }, stateSaveCallback: function (settings, data) { \$.ajax({ type: \"POST\", url: \"{{ urlFor(\"user.pref\") }}\", data: { preference: [{ option: \"helpGrid\", value: JSON.stringify(data) }] } }); }, filter: false, searchDelay: 3000, \"order\": [[ 1, \"asc\"]], ajax: { \"url\": \"{{ urlFor(\"help.search\") }}\", \"data\": function(d) { \$.extend(d, \$(\"#helpLinks\").closest(\".XiboGrid\").find(\".FilterDiv form\").serializeObject()); } }, \"columns\": [ { \"data\": \"topic\"}, { \"data\": \"category\"}, { \"data\": \"link\"}, { \"orderable\": false, \"data\": dataTableButtonsColumn } ] }); table.on('draw', dataTableDraw); table.on('processing.dt', dataTableProcessing); </script> {% endblock %}", "help-page.twig", "/home/mgatv524/atvcms.com.br/maisqtv/views/help-page.twig"); } }