0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
midiatech
/
cache
/
96
/
[
Home
]
File: 961e1925ae53b0219679c003075fcb1f26a9db35a3534550c605f11e15af5b73.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; /* audio-designer-javascript.twig */ class __TwigTemplate_5cf2910677ea9ce8eb6c453dd988def30036f84e27605ecb3d64dc6f5fda67fd extends \Twig\Template { public function __construct(Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { // line 8 echo "<script type=\"text/javascript\"> // Runs after form opens function audio_form_edit_open() { let form = \$(this).find('form'); // Set command code field, using the helper () formHelpers.setupConditionalInputFields( form.find('#duration, #useDuration'), //triggerFields form.find('.loop-fields'), //targetFields form.data('mediaDuration'), //compareValue (compare) => { const valueComparison = parseFloat(form.find('#duration').val()) > parseFloat(compare); const useDurationIsChecked = form.find('#useDuration').is(':checked'); return valueComparison && useDurationIsChecked; } //conditionTest ); // Set duration field, using the helper () formHelpers.setupCheckboxInputFields(form, '#useDuration', '.duration-fields'); formHelpers.mediaEditFormOpen(this); } </script>"; } public function getTemplateName() { return "audio-designer-javascript.twig"; } public function getDebugInfo() { return array ( 30 => 8,); } /** @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("", "audio-designer-javascript.twig", "/home/mgatv524/public_html/midiatech/modules/audio-designer-javascript.twig"); } }