Current Path : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/ |
Current File : /data/web/virtuals/51568/virtual/www/subdom/srps/src/runtime/latte/src-views-vypisy.latte--3546fe926e.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/vypisy.latte */ final class Template3546fe926e extends Latte\Runtime\Template { protected const BLOCKS = [ ['content' => 'blockContent'], ]; public function main(): array { extract($this->params); echo "\n"; if ($this->getParentName()) { return get_defined_vars(); } $this->renderBlock('content', get_defined_vars()) /* line 3 */; return get_defined_vars(); } public function prepare(): void { extract($this->params); if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") { foreach (array_intersect_key(['akceSelect' => '11'], $this->params) as $ʟ_v => $ʟ_l) { trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l"); } } $this->parentName = '_layout.latte'; } /** {block content} on line 3 */ public function blockContent(array $ʟ_args): void { extract($this->params); extract($ʟ_args); unset($ʟ_args); echo '<div id="content-vypisy" class="d-flex" data-idakce="'; echo LR\Filters::escapeHtmlAttr($akce_0) /* line 4 */; echo '"> <div class="me-3" style="min-width: 32rem; max-width: 34rem;"> <div class="my-2 py-2 border-top border-bottom"> '; if ($akce_pocet) /* line 7 */ { echo ' <label class="h5">Zvol akci pro načtení výpisů</label> <div class="d-flex gap-2"> <select id="akce-select" name="akce-select" class="form-select rounded-0" > '; $iterations = 0; foreach ($akce as $akceSelect) /* line 11 */ { echo ' <option value="'; echo LR\Filters::escapeHtmlAttr($akceSelect->id) /* line 12 */; echo '">'; echo LR\Filters::escapeHtmlText($akceSelect->akce) /* line 12 */; echo ' ('; echo LR\Filters::escapeHtmlText($akceSelect->rok) /* line 12 */; echo ' - '; echo LR\Filters::escapeHtmlText($akceSelect->mesic) /* line 12 */; echo ')</option> '; $iterations++; } echo '} </select> <button id="btn-vypis-novy" class="btn btn-outline-primary text-nowrap rounded-0" onclick="vypisNovyDlg()">Nový výpis</button> </div> '; } else /* line 17 */ { echo ' <h4>Seznam výpisů: není vytvořena žádná akce.</h4> '; } echo ' </div> '; if ($akce_pocet) /* line 21 */ { echo ' <div id="vypisy-seznam"> '; echo $vypisy_seznam /* line 23 */; echo ' </div> '; } echo ' </div> <div id="vypisy-detail" class="w-100"></div> </div> <div id="vypisy-dlg"></div> <script src="assets/js/global/formCheck.js"></script> <script src="assets/js/vypisy.js"></script> '; } }