function _cbb7181770a47_js($_cb)
    {
        extract(func_get_arg(1));
        LatteMacros::callBlockParent($_cb, 'js', $template->getParams());
        ?>
    <script type="text/javascript" src="<?php 
        echo TemplateHelpers::escapeHtml($basePath);
        ?>
/js/widgets/datagrid/datagrid.js"></script>
<?php 
    }
            ?>
</a>
<?php 
        }
        array_pop($_cb->its);
        $iterator = end($_cb->its);
    }
}
//
// end of blocks
//
if ($_cb->extends) {
    ob_start();
} elseif (isset($presenter, $control) && $presenter->isAjax()) {
    LatteMacros::renderSnippets($control, $_cb, get_defined_vars());
}
if (SnippetHelper::$outputAllowed) {
    ?>
/**
 * @version default.phtml 25.2.2010
 */
<?php 
    $heading = 'My courses';
    if (!$_cb->extends) {
        call_user_func(reset($_cb->blocks['content']), $_cb, $template->getParams());
    }
}
if ($_cb->extends) {
    ob_end_clean();
    LatteMacros::includeTemplate($_cb->extends, get_defined_vars(), $template)->render();
}
Пример #3
0
 /**
  * @return void
  */
 public function templatePrepareFilters($template)
 {
     LatteMacros::$defaultMacros = OldLatteMacros::$defaultMacros + LatteMacros::$defaultMacros;
     $filter = new LatteFilter();
     $template->registerFilter($filter->setHandler(new OldLatteMacros()));
 }
		text-decoration: underline;
	    }
	</style>
</head>

<body>
	<?php 
    foreach ($iterator = $_cb->its[] = new SmartCachingIterator($flashes) as $flash) {
        ?>
<div class="flash <?php 
        echo TemplateHelpers::escapeHtml($flash->type);
        ?>
"><?php 
        echo TemplateHelpers::escapeHtml($flash->message);
        ?>
</div><?php 
    }
    array_pop($_cb->its);
    $iterator = end($_cb->its);
    ?>


	<?php 
}
LatteMacros::callBlock($_cb, 'content', $template->getParams());
if (SnippetHelper::$outputAllowed) {
    ?>
</body>
</html>
<?php 
}
<?php

//netteCache[01]000203a:2:{s:4:"time";s:21:"0.69509300 1267235076";s:9:"callbacks";a:1:{i:0;a:3:{i:0;a:2:{i:0;s:5:"Cache";i:1;s:9:"checkFile";}i:1;s:48:"D:\www\skusky\app\components\Datagrid/grid.phtml";i:2;i:1263349006;}}}
// file D:\www\skusky\app\components\Datagrid/grid.phtml
//
$_cb = LatteMacros::initRuntime($template, NULL, 'fc280d5fed');
unset($_extends);
if (isset($presenter, $control) && $presenter->isAjax()) {
    LatteMacros::renderSnippets($control, $_cb, get_defined_vars());
}
if (SnippetHelper::$outputAllowed) {
}
if ($_cb->foo = SnippetHelper::create($control, "grid")) {
    $_cb->snippets[] = $_cb->foo;
    ?>

<?php 
    foreach ($iterator = $_cb->its[] = new SmartCachingIterator($flashes) as $flash) {
        ?>
<div class="flash <?php 
        echo TemplateHelpers::escapeHtml($flash->type);
        ?>
"><?php 
        echo TemplateHelpers::escapeHtml($flash->message);
        ?>
</div>
<?php 
    }
    array_pop($_cb->its);
    $iterator = end($_cb->its);
    ?>
if (SnippetHelper::$outputAllowed) {
    foreach ($iterator = $_cb->its[] = new SmartCachingIterator($items) as $item) {
        if ($iterator->isFirst()) {
            ?>
                <ul>
<?php 
        }
        ?>
        <li><a href="<?php 
        echo TemplateHelpers::escapeHtml($item->url);
        ?>
"><?php 
        echo TemplateHelpers::escapeHtml($template->translate($item->label));
        ?>
</a>
<?php 
        if (count($item->items)) {
            LatteMacros::includeTemplate($template->getFile(), array('items' => $item->items) + $template->getParams(), $_cb->templates['92fb8c0f19'])->render();
        }
        ?>
        </li>
<?php 
        if ($iterator->isLast()) {
            ?>
                </ul>
<?php 
        }
    }
    array_pop($_cb->its);
    $iterator = end($_cb->its);
}