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-_layout_modal.latte--96674f5b00.php |
<?php use Latte\Runtime as LR; /** source: /data/web/virtuals/51568/virtual/www/subdom/srps/src/views/_layout_modal.latte */ final class Template96674f5b00 extends Latte\Runtime\Template { protected const BLOCKS = [ ['modal-body' => 'blockModal_body', 'modal-footer' => 'blockModal_footer'], ]; public function main(): array { extract($this->params); echo '<div class="modal '; if (isset($fade)) /* line 1 */ { echo LR\Filters::escapeHtmlAttr($fade) /* line 1 */; } else /* line 1 */ { echo 'fade'; } echo '" id="'; if (isset($idmodal)) /* line 2 */ { echo LR\Filters::escapeHtmlAttr($idmodal) /* line 2 */; } else /* line 2 */ { echo 'modal-window'; } echo '" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-scrollable '; if ($centered) /* line 4 */ { echo 'modal-dialog-centered'; } echo ' '; if ($size) /* line 4 */ { echo LR\Filters::escapeHtmlAttr($size) /* line 4 */; } echo '"> <div class="modal-content rounded-0 "> <div class="modal-header rounded-0 '; echo LR\Filters::escapeHtmlAttr($headerClasses) /* line 6 */; echo '"> <h5 class="modal-title" id="staticBackdropLabel">'; echo $titulek /* line 7 */; echo '</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body rounded-0 "> '; if ($this->getParentName()) { return get_defined_vars(); } $this->renderBlock('modal-body', get_defined_vars()) /* line 11 */; echo ' </div> '; $this->renderBlock('modal-footer', get_defined_vars()) /* line 13 */; echo ' </div> </div> </div> '; return get_defined_vars(); } /** {block modal-body} on line 11 */ public function blockModal_body(array $ʟ_args): void { } /** {block modal-footer} on line 13 */ public function blockModal_footer(array $ʟ_args): void { extract($this->params); extract($ʟ_args); unset($ʟ_args); if (!$hideFooter) /* line 14 */ { echo ' <div class="modal-footer rounded-0 "> <button type="button" class="btn btn-secondary rounded-0" data-bs-dismiss="modal">Storno</button> <button id="btn-submit-dlg" type="submit" class="btn btn-primary rounded-0" '; if ($btnSubmitDisabled) /* line 17 */ { echo 'disabled'; } echo '> '; if ($btnSubmitCaption) /* line 18 */ { echo LR\Filters::escapeHtmlText($btnSubmitCaption) /* line 18 */; } else /* line 18 */ { echo 'Uložit'; } echo ' </button> </div> '; } } }