0byt3m1n1
Path:
/
home
/
mgatv524
/
public_html
/
edurocha
/
cache
/
b2
/
[
Home
]
File: b2b23661891916ba29d0e1914f6d039d444dbea4ae973fa8bdcdcb09cfdd9676.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* notification-page.twig */ class __TwigTemplate_decdbe9e8aa2a48fb5874cb0a14de911d1f11daa0ce42c23ecf2488d460a4431 extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->blocks = [ 'actionMenu' => [$this, 'block_actionMenu'], 'pageContent' => [$this, 'block_pageContent'], 'javaScript' => [$this, 'block_javaScript'], ]; } protected function doGetParent(array $context) { // line 9 return "authed.twig"; } protected function doDisplay(array $context, array $blocks = []) { // line 10 $context["inline"] = $this->loadTemplate("inline.twig", "notification-page.twig", 10)->unwrap(); // line 9 $this->parent = $this->loadTemplate("authed.twig", "notification-page.twig", 9); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 12 public function block_actionMenu($context, array $blocks = []) { // line 13 echo " <ul class=\"nav nav-pills pull-right\"> <li class=\"btn btn-success btn-xs\"><a class=\"XiboFormButton btns\" href=\""; // line 14 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("notification.add.form"), "html", null, true); echo "\"><i class=\"fa fa-plus-circle\" aria-hidden=\"true\"></i> "; echo __("Add Notification"); echo "</a></li> </ul> "; } // line 19 public function block_pageContent($context, array $blocks = []) { // line 20 echo " <div class=\"widget\"> <div class=\"widget-title\">"; // line 21 echo __("Notification Centre"); 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=\"notifications\" class=\"table table-striped\"> <thead> <tr> <th>"; // line 35 echo __("Subject"); echo "</th> <th>"; // line 36 echo __("Date"); echo "</th> <th>"; // line 37 echo __("Email?"); echo "</th> <th>"; // line 38 echo __("Interrupt?"); echo "</th> <th>"; // line 39 echo __("Row Menu"); echo "</th> </tr> </thead> <tbody> </tbody> </table> </div> </div> </div> </div> "; } // line 52 public function block_javaScript($context, array $blocks = []) { // line 53 echo " <script type=\"text/javascript\"> var table = \$(\"#notifications\").DataTable({ \"language\": dataTablesLanguage, serverSide: true, stateSave: true, stateDuration: 0, stateLoadCallback: function (settings, callback) { var data = {}; \$.ajax({ type: \"GET\", async: false, url: \""; // line 61 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("user.pref"), "html", null, true); echo "?preference=notificationGrid\", dataType: 'json', success: function (json) { try { if (json.success) { data = JSON.parse(json.data.value); } } catch (e) { // Do nothing } } }); return data; }, stateSaveCallback: function (settings, data) { \$.ajax({ type: \"POST\", url: \""; // line 78 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("user.pref"), "html", null, true); echo "\", data: { preference: [{ option: \"notificationGrid\", value: JSON.stringify(data) }] } }); }, filter: false, searchDelay: 3000, \"order\": [[ 1, \"desc\"]], ajax: { \"url\": \""; // line 91 echo twig_escape_filter($this->env, $this->env->getExtension('Slim\Views\TwigExtension')->urlFor("notification.search"), "html", null, true); echo "\", \"data\": function(d) { \$.extend(d, \$(\"#notifications\").closest(\".XiboGrid\").find(\".FilterDiv form\").serializeObject()); } }, \"columns\": [ { \"data\": \"subject\" }, { \"data\": \"releaseDt\", \"render\": dataTableDateFromUnix }, { \"data\": \"isEmail\", \"render\": dataTableTickCrossColumn }, { \"data\": \"isInterrupt\", \"render\": dataTableTickCrossColumn }, { \"orderable\": false, \"data\": dataTableButtonsColumn } ] }); table.on('draw', dataTableDraw); table.on('processing.dt', dataTableProcessing); dataTableAddButtons(table, \$('#notifications_wrapper').find('.col-sm-6').eq(1)); </script> "; } public function getTemplateName() { return "notification-page.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 166 => 91, 150 => 78, 130 => 61, 120 => 53, 117 => 52, 101 => 39, 97 => 38, 93 => 37, 89 => 36, 85 => 35, 70 => 23, 65 => 21, 62 => 20, 59 => 19, 50 => 14, 47 => 13, 44 => 12, 39 => 9, 37 => 10, 31 => 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 Source("", "notification-page.twig", "/home/mgatv524/public_html/edurocha/views/notification-page.twig"); } }