Current File : /home/escuelai/public_html/it/files/_cache/templates/ce/ce69e16deb51ca63f20f295909a4576e.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;

/* @gdrive/config.html.twig */
class __TwigTemplate_d3648a46ee5a6c120689c894f8a2f333 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo "<!--
-------------------------------------------------------------------------
Gdrive plugin for GLPI
Copyright (C) 2023 by the TICgal Team.
https://github.com/pluginsGLPI/gdrive
-------------------------------------------------------------------------
LICENSE
This file is part of the Gdrive plugin.
Gdrive plugin is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Gdrive plugin is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gdrive. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
@package   gdrive
@author    the TICgal team
@copyright Copyright (c) 2023 TICgal team
@license   AGPL License 3.0 or (at your option) any later version
http://www.gnu.org/licenses/agpl-3.0-standalone.html
@link      https://tic.gal
@since     2018
---------------------------------------------------------------------- 
-->

";
        // line 30
        $macros["fields"] = $this->macros["fields"] = $this->loadTemplate("components/form/fields_macros.html.twig", "@gdrive/config.html.twig", 30)->unwrap();
        // line 31
        $macros["buttons"] = $this->macros["buttons"] = $this->loadTemplate("components/form/buttons.html.twig", "@gdrive/config.html.twig", 31)->unwrap();
        // line 32
        echo "
";
        // line 33
        $context["no_header"] = ((array_key_exists("no_header", $context)) ? (_twig_default_filter(($context["no_header"] ?? null), ( !twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 33) &&  !((twig_get_attribute($this->env, $this->source, ($context["_get"] ?? null), "_in_modal", [], "any", true, true, false, 33)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["_get"] ?? null), "_in_modal", [], "any", false, false, false, 33), false)) : (false))))) : (( !twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "isNewItem", [], "method", false, false, false, 33) &&  !((twig_get_attribute($this->env, $this->source, ($context["_get"] ?? null), "_in_modal", [], "any", true, true, false, 33)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["_get"] ?? null), "_in_modal", [], "any", false, false, false, 33), false)) : (false)))));
        // line 34
        $context["bg"] = "";
        // line 35
        if (twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "isDeleted", [], "method", false, false, false, 35)) {
            // line 36
            $context["bg"] = "asset-deleted";
        }
        // line 38
        echo "
<div class=\"asset ";
        // line 39
        echo twig_escape_filter($this->env, ($context["bg"] ?? null), "html", null, true);
        echo "\">

    ";
        // line 41
        echo twig_include($this->env, $context, "components/form/header.html.twig", ["in_twig" => true, "no_header" => true]);
        echo "
    ";
        // line 42
        $context["params"] = (($context["params"]) ?? ([]));
        // line 43
        echo "
    <div class=\"card-body d-flex flex-wrap\">
        <div class=\"col-12 col-xxl-12 flex-column\">
            <div class=\"d-flex flex-row flex-wrap flex-xl-nowrap\">
                <div class=\"row flex-row align-items-start flex-grow-1\">
                    <div class=\"row flex-row\">

                        ";
        // line 50
        if (twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "isField", [0 => "developer_key"], "method", false, false, false, 50)) {
            // line 51
            echo "                        ";
            echo twig_call_macro($macros["fields"], "macro_textField", ["developer_key", (($__internal_compile_0 = twig_get_attribute($this->env, $this->source,             // line 53
($context["item"] ?? null), "fields", [], "any", false, false, false, 53)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0["developer_key"] ?? null) : null), __("The Browser API key obtained from the Google API Console", "gdrive"),             // line 55
($context["options"] ?? null)], 51, $context, $this->getSourceContext());
            // line 56
            echo "
                        ";
        }
        // line 58
        echo "
                        ";
        // line 59
        if (twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "isField", [0 => "client_id"], "method", false, false, false, 59)) {
            // line 60
            echo "                        ";
            echo twig_call_macro($macros["fields"], "macro_textField", ["client_id", (($__internal_compile_1 = twig_get_attribute($this->env, $this->source,             // line 62
($context["item"] ?? null), "fields", [], "any", false, false, false, 62)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1["client_id"] ?? null) : null), __("The Client ID obtained from the Google API Console", "gdrive"),             // line 64
($context["options"] ?? null)], 60, $context, $this->getSourceContext());
            // line 65
            echo "
                        ";
        }
        // line 67
        echo "
                        ";
        // line 68
        if (twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "isField", [0 => "app_id"], "method", false, false, false, 68)) {
            // line 69
            echo "                        ";
            echo twig_call_macro($macros["fields"], "macro_textField", ["app_id", (($__internal_compile_2 = twig_get_attribute($this->env, $this->source,             // line 71
($context["item"] ?? null), "fields", [], "any", false, false, false, 71)) && is_array($__internal_compile_2) || $__internal_compile_2 instanceof ArrayAccess ? ($__internal_compile_2["app_id"] ?? null) : null), __("See 'Project number' under 'IAM & Admin' > 'Settings'", "gdrive"),             // line 73
($context["options"] ?? null)], 69, $context, $this->getSourceContext());
            // line 74
            echo "
                        ";
        }
        // line 76
        echo "
                    </div> ";
        // line 78
        echo "                </div> ";
        // line 79
        echo "            </div> ";
        // line 80
        echo "        </div> ";
        // line 81
        echo "    </div> ";
        // line 82
        echo "
    ";
        // line 83
        echo twig_include($this->env, $context, "components/form/buttons.html.twig");
        echo "
</div>";
    }

    public function getTemplateName()
    {
        return "@gdrive/config.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  160 => 83,  157 => 82,  155 => 81,  153 => 80,  151 => 79,  149 => 78,  146 => 76,  142 => 74,  140 => 73,  139 => 71,  137 => 69,  135 => 68,  132 => 67,  128 => 65,  126 => 64,  125 => 62,  123 => 60,  121 => 59,  118 => 58,  114 => 56,  112 => 55,  111 => 53,  109 => 51,  107 => 50,  98 => 43,  96 => 42,  92 => 41,  87 => 39,  84 => 38,  81 => 36,  79 => 35,  77 => 34,  75 => 33,  72 => 32,  70 => 31,  68 => 30,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@gdrive/config.html.twig", "/home/escuelai/public_html/it/marketplace/gdrive/templates/config.html.twig");
    }
}