var/cache/dev/twig/22/2206194cc4277bb295f1778d7e17a92ae1d8cc4516cf7b85828e51f13aecfc89.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* pages/awards.twig */
  14. class __TwigTemplate_c45682924dccdf64e9fb3bd87e9884d9b63081a248790977944756c2dc2fab11 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'cssAssets' => [$this'block_cssAssets'],
  24.             'jsAssets' => [$this'block_jsAssets'],
  25.             'pageTitle' => [$this'block_pageTitle'],
  26.             'content' => [$this'block_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "template.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/awards.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/awards.twig"));
  41.         $this->parent $this->loadTemplate("template.twig""pages/awards.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_cssAssets($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssAssets"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""cssAssets"));
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.     }
  61.     // line 6
  62.     public function block_jsAssets($context, array $blocks = [])
  63.     {
  64.         $macros $this->macros;
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsAssets"));
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""jsAssets"));
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.     }
  74.     // line 9
  75.     public function block_pageTitle($context, array $blocks = [])
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitle"));
  80.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageTitle"));
  82.         // line 10
  83.         echo "    Imperial Honours &amp; Awards
  84. ";
  85.         
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.     }
  90.     // line 13
  91.     public function block_content($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  96.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  98.         // line 14
  99.         echo "    <p>Through the ages, governments, militaries and organisations have found it necessary to award personnel for efficiency, loyalty, bravery and dedication. The most prominent method of this has been through the use of awards and decorations in the form of medals to adorn individuals and display their achievements. Upon the formation of the Galactic Empire, the Emperor instructed that all of the Republic decorations were to be disbanded and a new Imperial system was to be put in place. A council of military and government officials was put into place to create the Imperial Honours and Awards System (IHAS) to ensure that there were sufficient decorations for the purposes of the New Order.</p>
  100.     <p>The IHAS established an order of precedence and conditions for the order awards are to worn, and criteria and conditions for when they may be displayed. A consistent system for displaying multiples of a single award (where possible) was also established through the use of bronze, silver, and gold stars on ribbons and bars on full medals. A bronze star is worn on the ribbon for each additional awarding of an award, up to four bronze stars. Once the award is granted for a sixth time, all bronze stars are replaced with a single silver star which will increment again with each successive award until replaced by a single gold star on the tenth award, and so forth.</p>
  101.     <div class=\"container\" style=\"width: 80%; margin-left: auto; margin-right: auto;\">
  102.         <div class=\"head\">OOC Note</div>
  103.         <div class=\"body\">
  104.             <p>Within the IHAS, players and characters are awarded for both In Character (IC) or Out Of Character (OOC) events and contributions to the Empire. The Empire is of the view that those awards which have been granted for training courses, branch qualifications, time of service, and actions not conducted within (or focused on) the Darkness game engine are transferable between characters if they continue to serve in the Empire; these represent a player’s service and contributions to the community itself.</p>
  105.             <p>Those awards granted for activities within (or focused on) the game engine such as bravery awards, campaign medals, commendations for IC actions etc, are considered IC awards, and these are not transferable between characters.</p>
  106.         </div>
  107.     </div>
  108.     <div class=\"award-list\" style=\"font-size: smaller; margin-top: 30px;\">
  109.     ";
  110.         // line 27
  111.         $context['_parent'] = $context;
  112.         $context['_seq'] = twig_ensure_traversable((isset($context["awards"]) || array_key_exists("awards"$context) ? $context["awards"] : (function () { throw new RuntimeError('Variable "awards" does not exist.'27$this->source); })()));
  113.         foreach ($context['_seq'] as $context["_key"] => $context["award"]) {
  114.             // line 28
  115.             echo "    <div class=\"award\">
  116.         <div class=\"awardimage\">
  117.             ";
  118.             // line 30
  119.             echo twig_get_attribute($this->env$this->source$context["award"], "displayGEjs", [], "any"falsefalsefalse30);
  120.             echo "
  121.         </div>
  122.         <div class=\"awardname\">
  123.             ";
  124.             // line 33
  125.             echo twig_get_attribute($this->env$this->source$context["award"], "displayGEjs", [=> twig_constant("Empire\\Core\\Award::AWARD_GEJS_DISPLAY_SHORTNAME")], "method"falsefalsefalse33);
  126.             echo "
  127.         </div>
  128.     </div>
  129. ";
  130.         }
  131.         $_parent $context['_parent'];
  132.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['award'], $context['_parent'], $context['loop']);
  133.         $context array_intersect_key($context$_parent) + $_parent;
  134.         // line 37
  135.         echo "    </div>
  136. ";
  137.         
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  139.         
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  141.     }
  142.     public function getTemplateName()
  143.     {
  144.         return "pages/awards.twig";
  145.     }
  146.     public function isTraitable()
  147.     {
  148.         return false;
  149.     }
  150.     public function getDebugInfo()
  151.     {
  152.         return array (  167 => 37,  157 => 33,  151 => 30,  147 => 28,  143 => 27,  128 => 14,  118 => 13,  107 => 10,  97 => 9,  79 => 6,  61 => 3,  38 => 1,);
  153.     }
  154.     public function getSourceContext()
  155.     {
  156.         return new Source("{% extends 'template.twig' %}
  157. {% block cssAssets %}
  158. {% endblock %}
  159. {% block jsAssets %}
  160. {% endblock %}
  161. {% block pageTitle %}
  162.     Imperial Honours &amp; Awards
  163. {% endblock %}
  164. {% block content %}
  165.     <p>Through the ages, governments, militaries and organisations have found it necessary to award personnel for efficiency, loyalty, bravery and dedication. The most prominent method of this has been through the use of awards and decorations in the form of medals to adorn individuals and display their achievements. Upon the formation of the Galactic Empire, the Emperor instructed that all of the Republic decorations were to be disbanded and a new Imperial system was to be put in place. A council of military and government officials was put into place to create the Imperial Honours and Awards System (IHAS) to ensure that there were sufficient decorations for the purposes of the New Order.</p>
  166.     <p>The IHAS established an order of precedence and conditions for the order awards are to worn, and criteria and conditions for when they may be displayed. A consistent system for displaying multiples of a single award (where possible) was also established through the use of bronze, silver, and gold stars on ribbons and bars on full medals. A bronze star is worn on the ribbon for each additional awarding of an award, up to four bronze stars. Once the award is granted for a sixth time, all bronze stars are replaced with a single silver star which will increment again with each successive award until replaced by a single gold star on the tenth award, and so forth.</p>
  167.     <div class=\"container\" style=\"width: 80%; margin-left: auto; margin-right: auto;\">
  168.         <div class=\"head\">OOC Note</div>
  169.         <div class=\"body\">
  170.             <p>Within the IHAS, players and characters are awarded for both In Character (IC) or Out Of Character (OOC) events and contributions to the Empire. The Empire is of the view that those awards which have been granted for training courses, branch qualifications, time of service, and actions not conducted within (or focused on) the Darkness game engine are transferable between characters if they continue to serve in the Empire; these represent a player’s service and contributions to the community itself.</p>
  171.             <p>Those awards granted for activities within (or focused on) the game engine such as bravery awards, campaign medals, commendations for IC actions etc, are considered IC awards, and these are not transferable between characters.</p>
  172.         </div>
  173.     </div>
  174.     <div class=\"award-list\" style=\"font-size: smaller; margin-top: 30px;\">
  175.     {% for award in awards %}
  176.     <div class=\"award\">
  177.         <div class=\"awardimage\">
  178.             {{ award.displayGEjs|raw }}
  179.         </div>
  180.         <div class=\"awardname\">
  181.             {{ award.displayGEjs(constant('Empire\\\\Core\\\\Award::AWARD_GEJS_DISPLAY_SHORTNAME'))|raw }}
  182.         </div>
  183.     </div>
  184. {% endfor %}
  185.     </div>
  186. {% endblock %}""pages/awards.twig""/home/empire/public_html/dev/application/templates/pages/awards.twig");
  187.     }
  188. }