• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP NCoreMacros类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中NCoreMacros的典型用法代码示例。如果您正苦于以下问题:PHP NCoreMacros类的具体用法?PHP NCoreMacros怎么用?PHP NCoreMacros使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了NCoreMacros类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: _lbbee78bef56_content

    function _lbbee78bef56_content($_l, $_args)
    {
        extract($_args);
        ?>

<section class="section content-section blog-section not-found-section">

	<div id="container" class="subpage blog 404 wrapper <?php 
        if (is_active_sidebar("blog-sidebar")) {
        } else {
            ?>
onecolumn<?php 
        }
        ?>
">

		<div id="content" class="entry-content clearfix" role="main">
			<div class="content-wrapper">
<?php 
        NCoreMacros::includeTemplate("snippets/nothing-found.php", $template->getParams(), $_l->templates['pemu234rbc'])->render();
        ?>
			</div> <!-- /.content-wrapper -->
		</div> <!-- /#content -->

	</div> <!-- /#container -->

</section>

<?php 
    }
开发者ID:ssuhss,项目名称:Begara,代码行数:30,代码来源:_Templates.404.php-afc161dc94512f8d58ada44440871ec5.php


示例2: __construct

	public function __construct()
	{
		$this->parser = new NParser;
		NCoreMacros::install($this->parser);
		$this->parser->addMacro('cache', new NCacheMacro($this->parser));
		NUIMacros::install($this->parser);
		NFormMacros::install($this->parser);
	}
开发者ID:rinaldinoor,项目名称:scoreBoard,代码行数:8,代码来源:Engine.php


示例3: if

if (!function_exists($_l->blocks['pravy_blok'][] = '_lb6fc8a9f5af_pravy_blok')) { function _lb6fc8a9f5af_pravy_blok($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
?>    <div class="box-3 hidden-print">
    <!--    pravý blok-->
<?php $_ctrl = $_control->getComponent("vyhledavani"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;$_ctrl = $_control->getComponent("neprehlednete"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;$_ctrl = $_control->getComponent("post"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;NCoreMacros::includeTemplate("sponzori.latte", $template->getParameters(), $_l->templates['jm4gabvjw5'])->render() ?>
    <!--  -->  
	<?php call_user_func(reset($_l->blocks['scripts']), $_l, get_defined_vars())  ?>
    </div>
<?php
}}
开发者ID:krecek,项目名称:nrsn,代码行数:9,代码来源:_templates._layout.latte-2abf8da8d1ded21778ab2c44c0dcac39.php


示例4: __construct

	public function __construct()
	{
		$this->parser = new NParser;
		$this->compiler = new NLatteCompiler;
		$this->compiler->defaultContentType = NLatteCompiler::CONTENT_XHTML;

		NCoreMacros::install($this->compiler);
		$this->compiler->addMacro('cache', new NCacheMacro($this->compiler));
		NUIMacros::install($this->compiler);
		NFormMacros::install($this->compiler);
	}
开发者ID:krecek,项目名称:nrsn,代码行数:11,代码来源:Engine.php


示例5: list

<?php //netteCache[01]000376a:2:{s:4:"time";s:21:"0.06762100 1430968071";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:87:"/home/svn/repos/gymfed/trunk/app/WebModule/templates/Kalendar/terminovaListinaPdf.latte";i:2;i:1415377191;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/WebModule/templates/Kalendar/terminovaListinaPdf.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, '09g6rzwbzj')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>
<link rel="stylesheet" media="print" href="<?php echo htmlSpecialChars($basePath) ?>/css/pdf.css" />
<!--mpdf
<?php $iterations = 0; foreach ($sporty as $zkr=>$sport): if ($zkr=='XX'): ?>
    <pageheader name="XX" content-right="Termínová listina"  header-style="font-size: 9pt; font-weight: bold; color: grey; font-style:italic;"/>
<?php else: ?>
    <pageheader name="<?php echo NTemplateHelpers::escapeHtmlComment($zkr) ?>"  content-right="<?php echo NTemplateHelpers::escapeHtmlComment($template->firstUpper($sport->sport)) ?>" header-style="font-size: 9pt; font-weight: bold; color: grey; font-style:italic;"/>
<?php endif ;$iterations++; endforeach ?>
<pagefooter name="paticka" content-left="Termínová listina" content-right="{PAGENO} / {nb}" footer-style="font-size: 9pt; font-weight: bold; color: grey; font-style:italic;"/>
mpdf-->
<div style="text-align:center;">
    <span style="text-transform: uppercase; letter-spacing: 1px; font-weight: bold; font-size: 150%;">Česká gymnastická federace</span><br />
<span><i>Zátopkova 100/2, 160 17 Praha 6, tel./fax:  242 429 260,  e-mail: [email protected]</i></span><br /><br /><br /><br />
开发者ID:krecek,项目名称:nrsn,代码行数:31,代码来源:_Kalendar.terminovaListinaPdf.latte-9e1def86fe8aa10066800dcf6715c2e4.php


示例6: list

<?php //netteCache[01]000361a:2:{s:4:"time";s:21:"0.79017400 1429781019";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:72:"/home/svn/repos/gymfed/trunk/app/GisModule/templates/M2m/startovka.latte";i:2;i:1428681070;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/GisModule/templates/M2m/startovka.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'hf5gnkr7ts')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
$netteHttpResponse->setHeader("Content-Type", 'application/xml') ?>
<<?php ?>?xml version="1.0" encoding="UTF-8"?>
<gis>
<?php $iterations = 0; foreach ($iterator = $_l->its[] = new NSmartCachingIterator($kategorie) as $id=>$kat): ?>
    <kategorie>
        <id><?php echo NTemplateHelpers::escapeXml($id) ?></id>
        <nazev><?php echo NTemplateHelpers::escapeXml($kat->nazev) ?></nazev>
        <sport><?php echo NTemplateHelpers::escapeXml($kat->sport) ?></sport>
        <typ><?php if ($kat->druzstvo==1): ?>jednotlivci<?php else: ?>družstva<?php endif ?></typ>
<?php $iterations = 0; foreach ($iterator = $_l->its[] = new NSmartCachingIterator($kat['prihlasky']) as $prihlaska): ?>
        <?php if ($iterator->isFirst()): if ($kat->druzstvo<>1): ?>
        <druzstvo>
            <id><?php echo NTemplateHelpers::escapeXml($prihlaska['druzstvo']) ?></id>
开发者ID:krecek,项目名称:nrsn,代码行数:31,代码来源:_M2m.startovka.latte-feaa56548d8ec796d92f9e61276640d0.php


示例7: list

<?php //netteCache[01]000364a:2:{s:4:"time";s:21:"0.64700100 1429520478";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:75:"/home/svn/repos/gymfed/trunk/app/WebModule/components/webMenu/webMenu.latte";i:2;i:1398666033;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/WebModule/components/webMenu/webMenu.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'a2t4mr3c7j')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>

<ul class="menu naradek">
    <li><a href="<?php echo htmlSpecialChars($_presenter->link("Homepage:default")) ?>">Hlavní strana</a></li>
    <li><a href="<?php echo htmlSpecialChars($_presenter->link("Homepage:rubriky", array('o-nas'))) ?>">O nás</a></li>
    <li><a href="<?php echo htmlSpecialChars($_presenter->link("Homepage:rubriky", array('media'))) ?>">Media</a></li>
    <li><a href="<?php echo htmlSpecialChars($_presenter->link("Clanky:default", array('3-kontakt'))) ?>">Kontakt</a></li>
    <li><a href="<?php echo htmlSpecialChars($_presenter->link("Homepage:rubriky", array('o-nas/zpravodaj-cgf'))) ?>">Zpravodaj ČGF</a></li>
    <li><a href="https://gis.gymfed.cz" target="_blank">GIS</a></li>
 
</ul>
开发者ID:krecek,项目名称:nrsn,代码行数:29,代码来源:_webMenu.webMenu.latte-770c26cbb67d89de4eb391c2c0bdb743.php


示例8: list

<?php //netteCache[01]000364a:2:{s:4:"time";s:21:"0.76541100 1429520478";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:75:"/home/svn/repos/gymfed/trunk/app/WebModule/components/podmenu/podmenu.latte";i:2;i:1396269845;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/WebModule/components/podmenu/podmenu.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'agxft3dafj')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>
<h2>Menu</h2>
<ul class="naradek blok">
<?php $iterations = 0; foreach ($items as $item): ?>
    <li><a href="<?php echo htmlSpecialChars($item['url']) ?>"><?php echo NTemplateHelpers::escapeHtml($item['nazev'], ENT_NOQUOTES) ?></a></li>
<?php $iterations++; endforeach ?>
</ul>
开发者ID:krecek,项目名称:nrsn,代码行数:25,代码来源:_podmenu.podmenu.latte-6d6771c2d43e070c913f16fc613d6706.php


示例9: list

<?php //netteCache[01]000374a:2:{s:4:"time";s:21:"0.67031600 1429802538";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:85:"/home/svn/repos/gymfed/trunk/app/GisModule/components/PrehledPrav/nastaveniPrav.latte";i:2;i:1384333686;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/GisModule/components/PrehledPrav/nastaveniPrav.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'cjfwhxuzzu')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>
<table>
    <tr>
        <th>Jméno:</th>
        <td><?php echo NTemplateHelpers::escapeHtml($osoba['jmeno'], ENT_NOQUOTES) ?>
 <?php echo NTemplateHelpers::escapeHtml($osoba['prijmeni'], ENT_NOQUOTES) ?></td>
    </tr>
    <tr>
        <th>Evidenční číslo:</th>
        <td><?php echo NTemplateHelpers::escapeHtml($osoba['id'], ENT_NOQUOTES) ?></td>
    </tr>
    <tr>
        <th>Rok narození:</th>
开发者ID:krecek,项目名称:nrsn,代码行数:31,代码来源:_PrehledPrav.nastaveniPrav.latte-311aa1097556dcf08ed40dcc2618ca2e.php


示例10: _lbbd8dd06e01_content

    function _lbbd8dd06e01_content($_l, $_args)
    {
        extract($_args);
        ?>

<section class="section content-section blog-section category-section">

	<div id="container" class="subpage blog category wrapper <?php 
        if (is_active_sidebar("blog-sidebar")) {
        } else {
            ?>
onecolumn<?php 
        }
        ?>
">

<?php 
        if ($posts) {
            ?>

		<div id="content" class="entry-content clearfix" role="main">
			<div class="content-wrapper">

				<header class="subpage-header">
					<h1 class="page-title">
						<?php 
            echo NTemplateHelpers::escapeHtml(__('Category Archives:', 'ait'), ENT_NOQUOTES);
            ?>
<span><?php 
            echo NTemplateHelpers::escapeHtml($category->title, ENT_NOQUOTES);
            ?>
</span>
					</h1>

<?php 
            if (strlen($category->description) !== 0) {
                ?>
						<div class="category-archive-meta"><?php 
                echo $category->description;
                ?>
</div>
<?php 
            }
            ?>

				</header>

<?php 
            NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-above') + $template->getParams(), $_l->templates['yadarop70c'])->render();
            ?>

<?php 
            NCoreMacros::includeTemplate("snippets/content-loop.php", array('posts' => $posts) + $template->getParams(), $_l->templates['yadarop70c'])->render();
            ?>

<?php 
            NCoreMacros::includeTemplate("snippets/content-nav.php", array('location' => 'nav-below') + $template->getParams(), $_l->templates['yadarop70c'])->render();
            ?>

			</div> <!-- /.content-wrapper -->
		</div> <!-- /#content -->

<?php 
            if (is_active_sidebar("blog-sidebar")) {
                ?>
		<div class="page-sidebar blog-sidebar right clearfix">
<?php 
                dynamic_sidebar('blog-sidebar');
                ?>
		</div>
<?php 
            }
            ?>


<?php 
        } else {
            ?>

		<div id="content" class="entry-content" role="main">
			<div class="content-wrapper">

<?php 
            NCoreMacros::includeTemplate("snippets/nothing-found.php", $template->getParams(), $_l->templates['yadarop70c'])->render();
            ?>

			</div> <!-- /.content-wrapper -->
		</div> <!-- /#content -->

<?php 
        }
        ?>

	</div> <!-- /#container -->

</section>

<?php 
    }
开发者ID:ssuhss,项目名称:Begara,代码行数:99,代码来源:_Templates.category.php-20b5ba3237c6d4867163d25de5f0e531.php


示例11: _lb9392ba4007__sectionD

 function _lb9392ba4007__sectionD($_l, $_args)
 {
     extract($_args);
     NCoreMacros::includeTemplate("snippets/products.php", array('options' => $post->options('tabs')) + $template->getParams(), $_l->templates['kwjpuxbgc0'])->render();
 }
开发者ID:ssuhss,项目名称:Begara,代码行数:5,代码来源:_Templates.index.php-50426af63b2640ef6da7601e1c6a6d07.php


示例12: array_pop

            }
            $iterations++;
        }
        array_pop($_l->its);
        $iterator = end($_l->its);
        echo "</li>";
        echo str_repeat("</ul></li>", $depth - 1);
        if (isset($a["end"])) {
            echo $a["end"];
        } else {
            echo "</ol>";
        }
        ?>

<?php 
        NCoreMacros::includeTemplate("snippets/comments-pagination.php", array('location' => 'below') + $template->getParams(), $_l->templates['iw57ute96m'])->render();
        ?>

<?php 
    } elseif (!$post->hasOpenComments && $post->type != 'page' && $post->hasSupportFor('comments')) {
        ?>

	<p class="nocomments">Comments are closed.</p>

<?php 
    }
    ?>

<?php 
    comment_form(array());
    ?>
开发者ID:ssuhss,项目名称:Begara,代码行数:31,代码来源:_Templates.comments.php-9878c15a4c40d864682cd2aba968a593.php


示例13: list

<?php //netteCache[01]000386a:2:{s:4:"time";s:21:"0.99912400 1429520478";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:97:"/home/svn/repos/gymfed/trunk/app/WebModule/components/drobeckovaNavigace/drobeckovaNavigace.latte";i:2;i:1396870187;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/WebModule/components/drobeckovaNavigace/drobeckovaNavigace.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, '0w44ps6nj0')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>
<div class="naradek mini">
<?php $iterations = 0; foreach ($iterator = $_l->its[] = new NSmartCachingIterator($items) as $item): ?>
       <a href="<?php echo htmlSpecialChars($_presenter->link($item['url'], array($item['parametry']))) ?>
"><?php echo NTemplateHelpers::escapeHtml($item['nazev'], ENT_NOQUOTES) ?></a> <?php if (!$iterator->isLast()): ?>
&raquo;<?php endif ?>

<?php $iterations++; endforeach; array_pop($_l->its); $iterator = end($_l->its) ?>
</div>
开发者ID:krecek,项目名称:nrsn,代码行数:27,代码来源:_drobeckovaNavigace.drobeckovaNavigace.latte-641b1299f927877ee35064ac03b1ce40.php


示例14: list

<?php //netteCache[01]000393a:2:{s:4:"time";s:21:"0.88763000 1429785167";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:103:"/home/svn/repos/gymfed/trunk/app/WebModule/components/seznamOstatnichPriloh/seznamOstatnichPriloh.latte";i:2;i:1396434155;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/WebModule/components/seznamOstatnichPriloh/seznamOstatnichPriloh.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'g93hc68ezy')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
if ($prilohy): ?>
<h3>Ke stažení:</h3>
<div class="prilohy">
    <ul>
<?php $iterations = 0; foreach ($prilohy as $adresa=>$priloha): ?>
        <li><img src="<?php echo htmlSpecialChars($basePath) ?>/<?php echo htmlSpecialChars($priloha['nahled']) ?>
" alt="" title="zobrazit" /> <a href="<?php echo htmlSpecialChars($basePath) ?>/<?php echo htmlSpecialChars($adresa) ?>
"><?php echo NTemplateHelpers::escapeHtml($priloha['nazev'], ENT_NOQUOTES) ?></a></li>
<?php $iterations++; endforeach ?>
    </ul>
</div>
<?php endif ;
开发者ID:krecek,项目名称:nrsn,代码行数:30,代码来源:_seznamOstatnichPriloh.seznamOstatnichPriloh.latte-f8aba80c07d8daff8e51d73b657cf139.php


示例15: list

<?php //netteCache[01]000357a:2:{s:4:"time";s:21:"0.21944800 1429609577";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:68:"/home/svn/repos/gymfed/trunk/app/GisModule/templates/M2m/error.latte";i:2;i:1419947299;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/GisModule/templates/M2m/error.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'ri8tloj865')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
$netteHttpResponse->setHeader("Content-Type", 'application/xml') ?>
<<?php ?>?xml version="1.0" encoding="UTF-8"?>
<gis>
    <error><?php echo NTemplateHelpers::escapeXml($error) ?></error>
</gis>
开发者ID:krecek,项目名称:nrsn,代码行数:23,代码来源:_M2m.error.latte-728952319fe4f5bd7391aef7f95ac76a.php


示例16: list

<?php

//netteCache[01]000488a:2:{s:4:"time";s:21:"0.21630200 1449951217";s:9:"callbacks";a:3:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:99:"/Users/jesse/Sites/localhost/vihreet/wp-content/themes/directory/Templates/snippets/search-form.php";i:2;i:1449592963;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"eee17d5 released on 2011-08-13";}i:2;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:21:"WPLATTE_CACHE_VERSION";i:2;i:4;}}}
// source file: /Users/jesse/Sites/localhost/vihreet/wp-content/themes/directory/Templates/snippets/search-form.php
list($_l, $_g) = NCoreMacros::initRuntime($template, 'g2hfl4k1fk');
// snippets support
if (!empty($control->snippetMode)) {
    return NUIMacros::renderSnippets($control, $_l, get_defined_vars());
}
//
// main template
//
?>
<form method="get" id="searchform" action="<?php 
echo htmlSpecialChars($homeUrl);
?>
">
	<label for="s" class="assistive-text"><?php 
echo NTemplateHelpers::escapeHtml(_x('Search', 'assistive-text', 'ait'), ENT_NOQUOTES);
?>
</label>
	<input type="text" class="field" name="s" id="s" placeholder="<?php 
echo htmlSpecialChars(_x('Search', 'search field placeholder', 'ait'));
?>
" />
	<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php 
echo htmlSpecialChars(_x('Search', 'search button text', 'ait'));
?>
" />
</form>
开发者ID:kivivuori,项目名称:jotain,代码行数:30,代码来源:_snippets.search-form.php-468a7c665aa5d2e6ee0e0bcaf6a5322b.php


示例17: list

<?php //netteCache[01]000360a:2:{s:4:"time";s:21:"0.23190900 1429781040";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:71:"/home/svn/repos/gymfed/trunk/app/GisModule/templates/M2m/vysledky.latte";i:2;i:1428571673;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/GisModule/templates/M2m/vysledky.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, 'hgp5kynd75')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
$netteHttpResponse->setHeader("Content-Type", 'application/xml') ;echo $obsah ?>

开发者ID:krecek,项目名称:nrsn,代码行数:19,代码来源:_M2m.vysledky.latte-70d50662a4b30a11c8ece847e7562b19.php


示例18: list

<?php

//netteCache[01]000487a:2:{s:4:"time";s:21:"0.20916200 1449951217";s:9:"callbacks";a:3:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:98:"/Users/jesse/Sites/localhost/vihreet/wp-content/themes/directory/Templates/snippets/wpml-flags.php";i:2;i:1449592964;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"eee17d5 released on 2011-08-13";}i:2;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:21:"WPLATTE_CACHE_VERSION";i:2;i:4;}}}
// source file: /Users/jesse/Sites/localhost/vihreet/wp-content/themes/directory/Templates/snippets/wpml-flags.php
list($_l, $_g) = NCoreMacros::initRuntime($template, 'mk0fhnf3za');
// snippets support
if (!empty($control->snippetMode)) {
    return NUIMacros::renderSnippets($control, $_l, get_defined_vars());
}
//
// main template
//
?>
<!-- WPML plugin required -->
<?php 
if (function_exists('icl_get_languages')) {
    if (icl_get_languages('skip_missing=0')) {
        ?>
<div class="wpml-switch right">
    <div class="language-button">
        <span class="language-title">
<?php 
        $iterations = 0;
        foreach ($iterator = $_l->its[] = new NSmartCachingIterator(icl_get_languages('skip_missing=0')) as $lang) {
            ?>
            <?php 
            if ($lang['active'] == 1) {
                echo NTemplateHelpers::escapeHtml($lang['translated_name'], ENT_NOQUOTES);
            }
            ?>
开发者ID:kivivuori,项目名称:jotain,代码行数:30,代码来源:_snippets.wpml-flags.php-b2200ab091aa6a99e37f50bbdcc8f834.php


示例19: list

<?php //netteCache[01]000356a:2:{s:4:"time";s:21:"0.21446300 1429520518";s:9:"callbacks";a:2:{i:0;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:9:"checkFile";}i:1;s:67:"/home/svn/repos/gymfed/trunk/app/WebModule/templates/sponzori.latte";i:2;i:1421749170;}i:1;a:3:{i:0;a:2:{i:0;s:6:"NCache";i:1;s:10:"checkConst";}i:1;s:20:"NFramework::REVISION";i:2;s:30:"dc83a21 released on 2013-07-11";}}}?><?php

// source file: /home/svn/repos/gymfed/trunk/app/WebModule/templates/sponzori.latte

?><?php
// prolog NCoreMacros
list($_l, $_g) = NCoreMacros::initRuntime($template, '6d9g88yf7k')
;
// prolog NUIMacros

// snippets support
if (!empty($_control->snippetMode)) {
	return NUIMacros::renderSnippets($_control, $_l, get_defined_vars());
}

//
// main template
//
?>
<h3 class="oddelit">Sponzoři a partneři</h3>
<div class="obr-box sponzori">
<a href="http://www.manufaktura.cz/" target="_blank">MANUFAKTURA<br /><img src="<?php echo htmlSpecialChars($basePath) ?>/images/logo-manufaktura.png" alt="Manufaktura" title="Manufaktura" /></a>
<a href="http://www.prospect.cz/" target="_blank">PROSPECT<br /><img src="<?php echo htmlSpecialChars($basePath) ?>/images/logo-prospect.png" alt="Manufaktura" title="Prospect" /></a>
<a href="http://www.msmt.cz/" target="_blank">MŠMT (MINISTERSTVO ŠKOLSTVÍ, MLÁDEŽE A TĚLOVÝCHOVY)<br /><img src="<?php echo htmlSpecialChars($basePath) ?>/images/logo-MSMT.jpg" alt="MŠMT" title="MŠMT" /></a>
<a href="http://www.olympic.cz/" target="_blank">ČOV (ČESKÝ OLYMPIJSKÝ VÝBOR)<br /><img src="<?php echo htmlSpecialChars($basePath) ?>/images/logo-COV.png" alt="ČOV" title="ČOV" /></a>
<a href="https://www.fig-gymnastics.com/site/" target="_blank">FIG (MEZINÁRODNÍ GYMNASTICKÁ FEDERACE)<br /><img src="<?php echo htmlSpecialChars($basePath) ?>/images/logo_FIG.jpg" alt="FIG" title="FIG" /></a>
<a href="http://www.ueg.org/"  target="_blank">UEG (EVROPSKÁ GYMNASTICKÁ UNIE)<br /><img src="<?php echo htmlSpecialChars($basePath) ?>/images/logo-UEG.png" alt="UEG" title="UEG" /></a>
<a href="http://www.dionysports.com"  target="_blank">DIONY SPORTS<br /><img src="<?php echo htmlSpecialChars($basePath) ?>/images/logo-dionysports.png" alt="Diony sports" title="Diony sports" /></a>
</div>
开发者ID:krecek,项目名称:nrsn,代码行数:29,代码来源:_templates.sponzori.latte-f713ada8c3de422256534abb249ef04a.php


示例20: _lba3e8984406__sectionD

 function _lba3e8984406__sectionD($_l, $_args)
 {
     extract($_args);
     NCoreMacros::includeTemplate("snippets/products.php", array('options' => $post->options('tabs')) + $template->getParams(), $_l->templates['d17l81i8rg'])->render();
 }
开发者ID:ssuhss,项目名称:Begara,代码行数:5,代码来源:_Templates.page-fullwidth.php-320d66c0c68a4eb6b19b829e3bf2a65d.php



注:本文中的NCoreMacros类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP NDB_Client类代码示例发布时间:2022-05-23
下一篇:
PHP N2XmlHelper类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap