0byt3m1n1
Path:
/
home
/
mgatv524
/
mixmidia.mgaplay.com.br
/
cache
/
da
/
[
Home
]
File: dae4d2f7659f3b27af783b9523dc7c5365c4501d832a6fdf6cb134b38f274ebc.php
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; 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; /* usergroup-form-acl.twig */ class __TwigTemplate_1fa58927ad016f9eb00dd69d9115e604ba96984ab75301b8f63d504a8ed40532 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->blocks = [ 'formTitle' => [$this, 'block_formTitle'], 'formButtons' => [$this, 'block_formButtons'], 'callBack' => [$this, 'block_callBack'], 'formHtml' => [$this, 'block_formHtml'], ]; } protected function doGetParent(array $context) { // line 24 return "form-base.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 25 $macros["forms"] = $this->macros["forms"] = $this->loadTemplate("forms.twig", "usergroup-form-acl.twig", 25)->unwrap(); // line 26 $macros["flow"] = $this->macros["flow"] = $this; // line 24 $this->parent = $this->loadTemplate("form-base.twig", "usergroup-form-acl.twig", 24); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 28 public function block_formTitle($context, array $blocks = []) { $macros = $this->macros; // line 29 echo " "; /* xgettext:no-php-format */ echo strtr(__("Turn Features on/off for %group%"), array("%group%" => ($context["group"] ?? null), )); } // line 32 public function block_formButtons($context, array $blocks = []) { $macros = $this->macros; // line 33 echo " "; echo __("Help"); echo ", XiboHelpRender(\""; echo twig_escape_filter($this->env, ($context["help"] ?? null), "html", null, true); echo "\") "; // line 34 echo __("Cancel"); echo ", XiboDialogClose() "; // line 35 echo __("Save"); echo ", \$(\"#AclForm\").submit() "; } // line 38 public function block_callBack($context, array $blocks = []) { $macros = $this->macros; echo "featureAclFormOpen"; } // line 77 public function block_formHtml($context, array $blocks = []) { $macros = $this->macros; // line 78 echo " <div class=\"row\"> <div class=\"col-md-12\"> "; // line 82 ob_start(function () { return ''; }); echo __("Check or un-check the options against each item to control whether access to a Feature is allowed or not."); $context["helpText"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 83 echo " "; echo twig_call_macro($macros["forms"], "macro_message", [($context["helpText"] ?? null)], 83, $context, $this->getSourceContext()); echo " <ul class=\"nav nav-tabs\" role=\"tablist\"> <li class=\"nav-item\"><a class=\"nav-link active\" href=\"#mediaTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 86 echo __("Content"); echo "</span></a></li> <li class=\"nav-item\"><a class=\"nav-link\" href=\"#displaysTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 87 echo __("Displays"); echo "</span></a></li> <li class=\"nav-item\"><a class=\"nav-link\" href=\"#homepagesTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 88 echo __("Reports"); echo "</span></a></li> <li class=\"nav-item\"><a class=\"nav-link\" href=\"#usersTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 89 echo __("Users"); echo "</span></a></li> <li class=\"nav-item\"><a class=\"nav-link\" href=\"#systemTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 90 echo __("System"); echo "</span></a></li> <li class=\"nav-item\"><a class=\"nav-link\" href=\"#customTab\" role=\"tab\" data-toggle=\"tab\"><span>"; // line 91 echo __("Custom"); echo "</span></a></li> </ul> <form id=\"AclForm\" class=\"XiboForm form-horizontal\" method=\"post\" action=\""; // line 93 echo twig_escape_filter($this->env, $this->env->getRuntime('Slim\Views\TwigRuntimeExtension')->urlFor("group.acl", ["id" => ($context["groupId"] ?? null)]), "html", null, true); echo "\"> <div class=\"tab-content\"> <div class=\"tab-pane\" id=\"homepagesTab\"> <table class=\"table table-bordered\"> <thead> <tr> <th>"; // line 99 echo twig_escape_filter($this->env, __("Feature"), "html", null, true); echo "</th> <th> "; // line 101 echo __("Enabled?"); // line 102 echo " <i class=\"fa fa-info-circle\" title=\""; echo "Check this box to give this User access to this Feature."; echo "\"></i> </th> "; // line 104 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 105 echo " <th> "; // line 106 echo __("Inherited?"); // line 107 echo " <i class=\"fa fa-info-circle\" title=\""; echo "If checked this User already has access to this Feature due to the User Groups they belong to."; echo "\"></i> </th> "; } // line 110 echo " </tr> </thead> <tbody class=\"feature-group\"> "; // line 114 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Reporting"), __("Run reporting on a variety of different KPI's and metrics applicable to the Features enabled."), ($context["isUserSpecific"] ?? null)], 114, $context, $this->getSourceContext()); echo " "; // line 115 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "reporting"], "method", false, false, false, 115)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 116 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 116), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 116), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 116, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 118 echo " </tbody> </table> </div> <div class=\"tab-pane active\" id=\"mediaTab\"> <table class=\"table table-bordered\"> <thead> <tr> <th>"; // line 125 echo twig_escape_filter($this->env, __("Feature"), "html", null, true); echo "</th> <th> "; // line 127 echo __("Enabled?"); // line 128 echo " <i class=\"fa fa-info-circle\" title=\""; echo "Check this box to give this User access to this Feature."; echo "\"></i> </th> "; // line 130 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 131 echo " <th> "; // line 132 echo __("Inherited?"); // line 133 echo " <i class=\"fa fa-info-circle\" title=\""; echo "If checked this User already has access to this Feature due to the User Groups they belong to."; echo "\"></i> </th> "; } // line 136 echo " </tr> </thead> <tbody class=\"feature-group\"> "; // line 140 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Folders"), __("Organise content sharing with Folders"), ($context["isUserSpecific"] ?? null)], 140, $context, $this->getSourceContext()); echo " "; // line 141 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "folders"], "method", false, false, false, 141)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 142 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 142), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 142), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 142, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 144 echo " </tbody> <tbody class=\"feature-group\"> "; // line 147 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Library"), __("Media Library that stores file based content for use in Layouts, DataSets, Playlists and Menu Boards"), ($context["isUserSpecific"] ?? null)], 147, $context, $this->getSourceContext()); echo " "; // line 148 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "library"], "method", false, false, false, 148)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 149 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 149), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 149), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 149, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 151 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "playlist-design"], "method", false, false, false, 151)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 152 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 152), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 152), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 152, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 154 echo " "; $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "menuboard-design"], "method", false, false, false, 154)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 155 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 155), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 155), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 155, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 157 echo " </tbody> <tbody class=\"feature-group\"> "; // line 160 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Layout Design"), __("Allow content creators to create Layouts - which hold the content you want to show on your Displays"), ($context["isUserSpecific"] ?? null)], 160, $context, $this->getSourceContext()); echo " "; // line 161 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "layout-design"], "method", false, false, false, 161)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 162 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 162), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 162), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 162, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 164 echo " </tbody> <tbody class=\"feature-group\"> "; // line 167 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Campaigns"), __("Ensure ordering by grouping Layouts into Campaigns"), ($context["isUserSpecific"] ?? null)], 167, $context, $this->getSourceContext()); echo " "; // line 168 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "campaigns"], "method", false, false, false, 168)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 169 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 169), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 169), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 169, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 171 echo " </tbody> <tbody class=\"feature-group\"> "; // line 174 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Tagging"), __("Organise and filter items by using Tags"), ($context["isUserSpecific"] ?? null)], 174, $context, $this->getSourceContext()); echo " "; // line 175 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "tagging"], "method", false, false, false, 175)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 176 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 176), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 176), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 176, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 178 echo " </tbody> </table> </div> <div class=\"tab-pane\" id=\"displaysTab\"> <table class=\"table table-bordered\"> <thead> <tr> <th>"; // line 185 echo twig_escape_filter($this->env, __("Feature"), "html", null, true); echo "</th> <th> "; // line 187 echo __("Enabled?"); // line 188 echo " <i class=\"fa fa-info-circle\" title=\""; echo "Check this box to give this User access to this Feature."; echo "\"></i> </th> "; // line 190 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 191 echo " <th> "; // line 192 echo __("Inherited?"); // line 193 echo " <i class=\"fa fa-info-circle\" title=\""; echo "If checked this User already has access to this Feature due to the User Groups they belong to."; echo "\"></i> </th> "; } // line 196 echo " </tr> </thead> <tbody class=\"feature-group\"> "; // line 200 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Scheduling"), __("Create and manage Scheduled Events for Displays and Display Groups"), ($context["isUserSpecific"] ?? null)], 200, $context, $this->getSourceContext()); echo " "; // line 201 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "scheduling"], "method", false, false, false, 201)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 202 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 202), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 202), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 202, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 204 echo " </tbody> <tbody class=\"feature-group\"> "; // line 207 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Display Management"), __("Connect and manage Displays."), ($context["isUserSpecific"] ?? null)], 207, $context, $this->getSourceContext()); echo " "; // line 208 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "displays"], "method", false, false, false, 208)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 209 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 209), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 209), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 209, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 211 echo " </tbody> </table> </div> <div class=\"tab-pane\" id=\"usersTab\"> <table class=\"table table-bordered\"> <thead> <tr> <th>"; // line 219 echo twig_escape_filter($this->env, __("Feature"), "html", null, true); echo "</th> <th> "; // line 221 echo __("Enabled?"); // line 222 echo " <i class=\"fa fa-info-circle\" title=\""; echo "Check this box to give this User access to this Feature."; echo "\"></i> </th> "; // line 224 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 225 echo " <th> "; // line 226 echo __("Inherited?"); // line 227 echo " <i class=\"fa fa-info-circle\" title=\""; echo "If checked this User already has access to this Feature due to the User Groups they belong to."; echo "\"></i> </th> "; } // line 230 echo " </tr> </thead> <tbody class=\"feature-group\"> "; // line 234 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("User functions"), __("User profile preferences for the logged in User"), ($context["isUserSpecific"] ?? null)], 234, $context, $this->getSourceContext()); echo " "; // line 235 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "users"], "method", false, false, false, 235)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 236 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 236), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 236), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 236, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 238 echo " </tbody> <tbody class=\"feature-group\"> "; // line 241 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Notifications"), __("Notification Centre allows for users to to create/edit Notifications sent to other Users or used in Layouts"), ($context["isUserSpecific"] ?? null)], 241, $context, $this->getSourceContext()); echo " "; // line 242 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "notifications"], "method", false, false, false, 242)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 243 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 243), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 243), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 243, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 245 echo " </tbody> <tbody class=\"feature-group\"> "; // line 248 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("User Management"), __("Manage Users that can authenticate with the CMS. Create and organise them into User Groups to enable 'Group Features'"), ($context["isUserSpecific"] ?? null)], 248, $context, $this->getSourceContext()); echo " "; // line 249 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "users-management"], "method", false, false, false, 249)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 250 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 250), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 250), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 250, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 252 echo " </tbody> <tbody class=\"feature-group\"> "; // line 255 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Dashboards"), __("Dashboards bring together key features for Users"), ($context["isUserSpecific"] ?? null)], 255, $context, $this->getSourceContext()); echo " "; // line 256 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "dashboards"], "method", false, false, false, 256)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 257 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 257), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 257), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 257, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 259 echo " </tbody> </table> </div> <div class=\"tab-pane\" id=\"systemTab\"> <table class=\"table table-bordered\"> <thead> <tr> <th>"; // line 267 echo twig_escape_filter($this->env, __("Feature"), "html", null, true); echo "</th> <th> "; // line 269 echo __("Enabled?"); // line 270 echo " <i class=\"fa fa-info-circle\" title=\""; echo "Check this box to give this User access to this Feature."; echo "\"></i> </th> "; // line 272 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 273 echo " <th> "; // line 274 echo __("Inherited?"); // line 275 echo " <i class=\"fa fa-info-circle\" title=\""; echo "If checked this User already has access to this Feature due to the User Groups they belong to."; echo "\"></i> </th> "; } // line 278 echo " </tr> </thead> <tbody class=\"feature-group\"> "; // line 282 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Configuration"), __("Restricted high level access advised - potentially damaging system settings"), ($context["isUserSpecific"] ?? null)], 282, $context, $this->getSourceContext()); echo " "; // line 283 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "system"], "method", false, false, false, 283)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 284 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 284), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 284), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 284, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 286 echo " </tbody> <tbody class=\"feature-group\"> "; // line 289 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Troubleshooting"), __("Tools to diagnose problems when seeking help"), ($context["isUserSpecific"] ?? null)], 289, $context, $this->getSourceContext()); echo " "; // line 290 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "troubleshooting"], "method", false, false, false, 290)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 291 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 291), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 291), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 291, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 293 echo " </tbody> </table> </div> <div class=\"tab-pane\" id=\"customTab\"> <table class=\"table table-bordered\"> <thead> <tr> <th>"; // line 301 echo twig_escape_filter($this->env, __("Feature"), "html", null, true); echo "</th> <th> "; // line 303 echo __("Enabled?"); // line 304 echo " <i class=\"fa fa-info-circle\" title=\""; echo "Check this box to give this User access to this Feature."; echo "\"></i> </th> "; // line 306 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 307 echo " <th> "; // line 308 echo __("Inherited?"); // line 309 echo " <i class=\"fa fa-info-circle\" title=\""; echo "If checked this User already has access to this Feature due to the User Groups they belong to."; echo "\"></i> </th> "; } // line 312 echo " </tr> </thead> <tbody class=\"feature-group\"> "; // line 316 echo twig_call_macro($macros["flow"], "macro_featureTitleRow", [__("Custom"), __("Third party extensions to the platform."), ($context["isUserSpecific"] ?? null)], 316, $context, $this->getSourceContext()); echo " "; // line 317 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["userGroupFactory"] ?? null), "getFeaturesByGroup", [0 => "custom"], "method", false, false, false, 317)); foreach ($context['_seq'] as $context["_key"] => $context["customFeature"]) { // line 318 echo " "; echo twig_call_macro($macros["flow"], "macro_featureRow", [twig_get_attribute($this->env, $this->source, $context["customFeature"], "feature", [], "any", false, false, false, 318), twig_get_attribute($this->env, $this->source, $context["customFeature"], "title", [], "any", false, false, false, 318), ($context["features"] ?? null), ($context["inheritedFeatures"] ?? null), ($context["isUserSpecific"] ?? null)], 318, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['customFeature'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 320 echo " </tbody> </table> </div> </div> </form> </div> </div> "; } // line 40 public function macro_hasFeature($__features__ = null, $__feature__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "features" => $__features__, "feature" => $__feature__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(function () { return ''; }); try { // line 41 echo " "; if (twig_in_filter(($context["feature"] ?? null), ($context["features"] ?? null))) { // line 42 echo " checked "; } return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } // line 46 public function macro_featureTitleRow($__title__ = null, $__description__ = null, $__isUserSpecific__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "title" => $__title__, "description" => $__description__, "isUserSpecific" => $__isUserSpecific__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(function () { return ''; }); try { // line 47 echo " <tr class=\"feature-group-row\"> <td class=\"feature-group-header-cell closed\"> <strong>"; // line 49 echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "</strong> <i class=\"fa fa-arrow-circle-down\"></i> <p class=\"feature-group-description\"> "; // line 51 echo twig_escape_filter($this->env, ($context["description"] ?? null), "html", null, true); echo " </p> </td> <td><input class=\"feature-select-all\" type=\"checkbox\" /></td> "; // line 55 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 56 echo " <td> <input type=\"checkbox\" class=\"inherit-group-all\" disabled> </td> "; } // line 60 echo " </tr> "; return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } // line 63 public function macro_featureRow($__feature__ = null, $__title__ = null, $__features__ = null, $__inheritedFeatures__ = null, $__isUserSpecific__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "feature" => $__feature__, "title" => $__title__, "features" => $__features__, "inheritedFeatures" => $__inheritedFeatures__, "isUserSpecific" => $__isUserSpecific__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(function () { return ''; }); try { // line 64 echo " <tr class=\"feature-row\"> <td>"; // line 65 echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true); echo "</td> <td> <input type=\"checkbox\" name=\"features[]\" value=\""; // line 67 echo twig_escape_filter($this->env, ($context["feature"] ?? null), "html", null, true); echo "\" "; echo twig_call_macro($macros["flow"], "macro_hasFeature", [($context["features"] ?? null), ($context["feature"] ?? null)], 67, $context, $this->getSourceContext()); echo "> </td> "; // line 69 if ((0 === twig_compare(($context["isUserSpecific"] ?? null), 1))) { // line 70 echo " <td> <input type=\"checkbox\" class=\"inherit-group\" disabled "; // line 71 echo twig_call_macro($macros["flow"], "macro_hasFeature", [($context["inheritedFeatures"] ?? null), ($context["feature"] ?? null)], 71, $context, $this->getSourceContext()); echo "> </td> "; } // line 74 echo " </tr> "; return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "usergroup-form-acl.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 852 => 74, 846 => 71, 843 => 70, 841 => 69, 834 => 67, 829 => 65, 826 => 64, 809 => 63, 799 => 60, 793 => 56, 791 => 55, 784 => 51, 779 => 49, 775 => 47, 760 => 46, 749 => 42, 746 => 41, 732 => 40, 720 => 320, 711 => 318, 707 => 317, 703 => 316, 697 => 312, 690 => 309, 688 => 308, 685 => 307, 683 => 306, 677 => 304, 675 => 303, 670 => 301, 660 => 293, 651 => 291, 647 => 290, 643 => 289, 638 => 286, 629 => 284, 625 => 283, 621 => 282, 615 => 278, 608 => 275, 606 => 274, 603 => 273, 601 => 272, 595 => 270, 593 => 269, 588 => 267, 578 => 259, 569 => 257, 565 => 256, 561 => 255, 556 => 252, 547 => 250, 543 => 249, 539 => 248, 534 => 245, 525 => 243, 521 => 242, 517 => 241, 512 => 238, 503 => 236, 499 => 235, 495 => 234, 489 => 230, 482 => 227, 480 => 226, 477 => 225, 475 => 224, 469 => 222, 467 => 221, 462 => 219, 452 => 211, 443 => 209, 439 => 208, 435 => 207, 430 => 204, 421 => 202, 417 => 201, 413 => 200, 407 => 196, 400 => 193, 398 => 192, 395 => 191, 393 => 190, 387 => 188, 385 => 187, 380 => 185, 371 => 178, 362 => 176, 358 => 175, 354 => 174, 349 => 171, 340 => 169, 336 => 168, 332 => 167, 327 => 164, 318 => 162, 314 => 161, 310 => 160, 305 => 157, 296 => 155, 291 => 154, 282 => 152, 277 => 151, 268 => 149, 264 => 148, 260 => 147, 255 => 144, 246 => 142, 242 => 141, 238 => 140, 232 => 136, 225 => 133, 223 => 132, 220 => 131, 218 => 130, 212 => 128, 210 => 127, 205 => 125, 196 => 118, 187 => 116, 183 => 115, 179 => 114, 173 => 110, 166 => 107, 164 => 106, 161 => 105, 159 => 104, 153 => 102, 151 => 101, 146 => 99, 137 => 93, 132 => 91, 128 => 90, 124 => 89, 120 => 88, 116 => 87, 112 => 86, 105 => 83, 101 => 82, 95 => 78, 91 => 77, 84 => 38, 78 => 35, 74 => 34, 67 => 33, 63 => 32, 58 => 29, 54 => 28, 49 => 24, 47 => 26, 45 => 25, 38 => 24,); } public function getSourceContext() { return new Source("", "usergroup-form-acl.twig", "/home/mgatv524/mixmidia.mgaplay.com.br/views/usergroup-form-acl.twig"); } }