<?php
// source: C:\wamp\www\bpzk2\app\AdminModule/templates/Vystavy/list.latte

class Templatef4268062842fa239077bcd011f6e473d extends Latte\Template {
function render() {
foreach ($this->params as $__k => $__v) $$__k = $__v; unset($__k, $__v);
// prolog Latte\Macros\CoreMacros
list($_b, $_g, $_l) = $template->initialize('7c6c388dfc', 'html')
;
// prolog Latte\Macros\BlockMacros
//
// block content
//
if (!function_exists($_b->blocks['content'][] = '_lbb96764e155_content')) { function _lbb96764e155_content($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><h1>Výsledky výstav</h1>
<?php $_l->tmp = $_control->getComponent("vybratRokForm"); if ($_l->tmp instanceof Nette\Application\UI\IRenderable) $_l->tmp->redrawControl(NULL, FALSE); $_l->tmp->render() ?>

<div class="zpravylist">
<?php $iterations = 0; foreach ($vystavy as $vystava) { ?>
        <div class="zpritem"> <a class="zprava" href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("Vystavy:detailVystavy", array($vystava->id)), ENT_COMPAT) ?>
"><?php echo Latte\Runtime\Filters::escapeHtml($vystava->nazev, ENT_NOQUOTES) ?>
</a><a class="zpravydel" href="<?php echo Latte\Runtime\Filters::escapeHtml($_control->link("deleteVystava!", array($vystava->id)), ENT_COMPAT) ?>
">Smazat</a> </div>
    
<?php $iterations++; } ?>
</div>

<div class="addVform">
    <b>Vložit novou výstavu:</b>
<?php $_l->tmp = $_control->getComponent("addVystavaForm"); if ($_l->tmp instanceof Nette\Application\UI\IRenderable) $_l->tmp->redrawControl(NULL, FALSE); $_l->tmp->render() ?>
</div>
    
<?php
}}

//
// block breadcrumb
//
if (!function_exists($_b->blocks['breadcrumb'][] = '_lbd3ecc0fc2f_breadcrumb')) { function _lbd3ecc0fc2f_breadcrumb($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?>    &nbsp;&nbsp; > &nbsp;&nbsp; Informace o sekci  &nbsp;&nbsp; > &nbsp;&nbsp; Výsledky výstav 
<?php
}}

//
// block scripts
//
if (!function_exists($_b->blocks['scripts'][] = '_lb9988a38ffa_scripts')) { function _lb9988a38ffa_scripts($_b, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?><script type="text/javascript" src="<?php echo Latte\Runtime\Filters::escapeHtml(Latte\Runtime\Filters::safeUrl($basePath), ENT_COMPAT) ?>/js/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
    tinymce.init({
        selector: "textarea[name=poznamka]",  
       
        forced_root_block : "", automatic_uploads: 'true',
  
  menubar: "false"
  ,fontsize_formats: "8pt 10pt 12pt 14pt 18pt 24pt 36pt",


        
        plugins: [
           
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table link paste "
        ],
        toolbar: " undo redo | fontsizeselect | bold italic underline link ",
        entities: "160,nbsp",
        entity_encoding: "named",relative_urls: false,
       
        
});
//jbimages link


</script>
<?php
}}

//
// end of blocks
//

// template extending

$_l->extends = empty($_g->extended) && isset($_control) && $_control instanceof Nette\Application\UI\Presenter ? $_control->findLayoutTemplateFile() : NULL; $_g->extended = TRUE;

if ($_l->extends) { ob_start();}

// prolog Nette\Bridges\ApplicationLatte\UIMacros

// snippets support
if (empty($_l->extends) && !empty($_control->snippetMode)) {
	return Nette\Bridges\ApplicationLatte\UIRuntime::renderSnippets($_control, $_b, get_defined_vars());
}

//
// main template
//
if ($_l->extends) { ob_end_clean(); return $template->renderChildTemplate($_l->extends, get_defined_vars()); }
call_user_func(reset($_b->blocks['content']), $_b, get_defined_vars())  ?>

<?php call_user_func(reset($_b->blocks['breadcrumb']), $_b, get_defined_vars())  ?>

<?php call_user_func(reset($_b->blocks['scripts']), $_b, get_defined_vars()) ; 
}}