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-vypisySeznam.latte--2391763718.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/vypisySeznam.latte */ final class Template2391763718 extends Latte\Runtime\Template { public function main(): array { extract($this->params); if (count($vypisy_seznam)) /* line 1 */ { echo ' <table class="table table-striped"> <tr> <th>označení výpisu</th> <th>období</th> <th>položky</th> <th>smaž</th> </tr> '; $iterations = 0; foreach ($vypisy_seznam as $vypis) /* line 9 */ { echo ' <tr id="table-akce-tr-'; echo LR\Filters::escapeHtmlAttr($vypis->id) /* line 10 */; echo '"> <td>'; echo LR\Filters::escapeHtmlText($vypis->vypis) /* line 11 */; echo '</td> <td class="text-end">'; echo LR\Filters::escapeHtmlText(($this->filters->date)($vypis->fromDate, 'd.m.Y')) /* line 12 */; echo '<br>'; echo LR\Filters::escapeHtmlText(($this->filters->date)($vypis->toDate, 'd.m.Y')) /* line 12 */; echo '</td> <td id="vypis-'; echo LR\Filters::escapeHtmlAttr($vypis->id) /* line 13 */; echo '" class="text-center" style="width: 3rem;"> <button class="btn btn-sm" onclick="vypisXmlPolozky('; echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($vypis->id)) /* line 14 */; echo ')"><i class="fa-solid fa-list-check text-primary"></i></button> </td> <td class="text-center" style="width: 3rem;"> <button class="btn btn-sm" onclick="vypisySmazDlg('; echo LR\Filters::escapeHtmlAttr(LR\Filters::escapeJs($vypis->id)) /* line 17 */; echo ')"><i class="fa-regular fa-trash-can text-danger"></i></button> </td> </tr> '; $iterations++; } echo ' </table> '; } else /* line 22 */ { echo ' <h4>Prozatím žádný výpis.</h4> '; } echo ' <script src="assets/js/vypisy.js"></script>'; return get_defined_vars(); } public function prepare(): void { extract($this->params); if (!$this->getReferringTemplate() || $this->getReferenceType() === "extends") { foreach (array_intersect_key(['vypis' => '9'], $this->params) as $ʟ_v => $ʟ_l) { trigger_error("Variable \$$ʟ_v overwritten in foreach on line $ʟ_l"); } } } }