当前位置: 首页>>代码示例>>PHP>>正文


PHP NTemplateHelpers::escapeHtmlComment方法代码示例

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


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

示例1: htmlSpecialChars

if (!function_exists($_l->blocks['obsah'][] = '_lb6fc032ae8f_obsah')) { function _lb6fc032ae8f_obsah($_l, $_args) { foreach ($_args as $__k => $__v) $$__k = $__v
;if ($existuji_vysledky): ?>
<img src="<?php echo htmlSpecialChars($basePath) ?>/css/result.png" alt="Výsledky jsou nahrány" title="Výsledky jsou nahrány" align="left" /> Elektronické výsledky těchto závodů jsou nahrány. Přejete-li si je změnit, je potřeba je nejprve smazat a nahrát upravenou verzi.
<div class="bottom_nav">
    <a href="<?php echo htmlSpecialChars($_control->link("detail", array($akce->id))) ?>
">Zpět</a>
    <a href="<?php echo htmlSpecialChars($_control->link("exportVysledku", array($akce->id))) ?>
">Stáhnout</a>
    <a onclick="if(!confirm('Opravdu smazat výsledky?')) return false;" href="<?php echo htmlSpecialChars($_control->link("deleteVysledky", array($akce->id))) ?>
">Smazat</a>
</div>
<?php else: ?>
<div class="ico-info">

    <!--<img src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/info-big.png" align="left">-->
Podporovány jsou výsledky jednotlivců a družstev ve sportech "Sportovní gymnastika mužů" a "Sportovní gymnastika žen". Nahrávaný soubor musí být ve formátu xlsx. Všechny kategorie musí být v jednom souboru, každá kategorie na vlastním listu. Název listu musí začínat číslem kategorie a podtržítkem ( _ ).
</div>
<br />
<?php $_ctrl = $_control->getComponent("nahratVysledkyForm"); if ($_ctrl instanceof IRenderable) $_ctrl->validateControl(); $_ctrl->render() ;endif ;
}}
开发者ID:krecek,项目名称:nrsn,代码行数:20,代码来源:_Zavody.vysledky.latte-effedbc1a5ae27d0678e78a149675dc3.php

示例2:

">

	<script> document.body.className+=' js' </script>

	<div class="mainpage">
		<header class="page-header">
			<div class="wrapper">
			    <!--a href="<?php 
echo NTemplateHelpers::escapeHtmlComment($homeUrl);
?>
" class="logo">
	                <img src="<?php 
echo NTemplateHelpers::escapeHtmlComment($themeOptions->general->logo_img);
?>
" alt="<?php 
echo NTemplateHelpers::escapeHtmlComment($themeOptions->general->tagline);
?>
">
	            </a-->

				<div class="main-navigation clearfix right">
					<aside class="quick-info right">
	                    <div class="phone-number right"><?php 
echo $themeOptions->general->phone_number;
?>
</div>
	                    <div class="email-info right"><?php 
echo $themeOptions->general->email;
?>
</div>
开发者ID:ssuhss,项目名称:Begara,代码行数:30,代码来源:_Templates.header.php-69908fa10399aa34e465b028cc8af3dd.php

示例3: foreach

<setpageheader name="XX" value="on"  />

mpdf-->
<pagebreak margin-top="100">
   
    <table>
<?php $iterations = 0; foreach ($terminova_listina_XX as $akce): ?>
            <tr>
                    <td><?php echo NTemplateHelpers::escapeHtml($template->datumKonani($akce['od'], $akce['do']), ENT_NOQUOTES) ?></td>
                    <td><?php echo NTemplateHelpers::escapeHtml($akce['nazev'], ENT_NOQUOTES) ?></td>
                    <td><?php echo NTemplateHelpers::escapeHtml($akce['misto'], ENT_NOQUOTES) ?></td>
            </tr>
<?php $iterations++; endforeach ?>
    </table>
<?php endif ;$iterations = 0; foreach ($terminovaListina as $sport=>$seznam_akci): if ($sport!='XX'): ?>
<!--mpdf
<setpageheader name="<?php echo NTemplateHelpers::escapeHtmlComment($sporty[$sport]) ?>" value="on" />
<setpagefooter name="paticka" value="on" />
mpdf-->
<pagebreak pagenumstyle='1' margin-top="100" >
<h2><?php echo NTemplateHelpers::escapeHtml($template->firstUpper($sporty[$sport]->sport), ENT_NOQUOTES) ?></h2>
<table>
<?php $iterations = 0; foreach ($seznam_akci as $akce): ?>
    <tr>
        <td><?php echo NTemplateHelpers::escapeHtml($template->datumKonani($akce['od'], $akce['do']), ENT_NOQUOTES) ?></td>
        <td><?php echo NTemplateHelpers::escapeHtml($akce['nazev'], ENT_NOQUOTES) ?></td>
        <td><?php echo NTemplateHelpers::escapeHtml($akce['misto'], ENT_NOQUOTES) ?></td>
    </tr>
<?php $iterations++; endforeach ?>
</table>
<?php endif ;$iterations++; endforeach ;
开发者ID:krecek,项目名称:nrsn,代码行数:31,代码来源:_Kalendar.terminovaListinaPdf.latte-9e1def86fe8aa10066800dcf6715c2e4.php

示例4: array


//.........这里部分代码省略.........
"><?php echo NTemplateHelpers::escapeHtml($osoba['id'], ENT_NOQUOTES) ?></a><?php else: echo NTemplateHelpers::escapeHtml($osoba['id'], ENT_NOQUOTES) ;endif ?></td>
            
            <td><?php echo NTemplateHelpers::escapeHtml($osoba['prijmeni'], ENT_NOQUOTES) ?>
 <?php echo NTemplateHelpers::escapeHtml($osoba['jmeno'], ENT_NOQUOTES) ?> </td>
            <td class="center"><?php echo NTemplateHelpers::escapeHtml($template->date($osoba['narozeni'], "Y"), ENT_NOQUOTES) ?></td>
            <td class="center">
<?php if (isset($osoba['registrace']) && ($opravneni['evidence_edit'] || ($opravneni['individualni_clen'] && $osoba['id']==$user->getIdentity()->id))): if (!$osoba['registrace'] && $osoba['od']>=$dnes): ?>
                       <a href="<?php echo htmlSpecialChars($_control->link("zrusitEvidenci", array('id_osoby'=> $osoba['id'], 'rok'=>$filtr['rok']))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-del.gif" alt="zrušit evidenci" title="zrušit evidenci" /></a>
<?php endif ;if ($opravneni['individualni_clen'] && $osoba['od']<$dnes): ?>
                       <a href="<?php echo htmlSpecialChars($_control->link("registraceIndividualniPdf", array($oddil['id'], $osoba['id']))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-pdf.gif" alt="pdf" title="pdf" /></a>
                     <?php else: ?>&nbsp;
<?php endif ?>
                <?php else: ?>&nbsp;       
                <?php endif ?></td>  
            <td class="center">
             <?php if ((!$opravneni['individualni_clen'])): ?>    <a style="text-decoration:none;" href="<?php echo htmlSpecialChars($_control->link("upravitOsobu", array($oddil['id'], $osoba['id']))) ?>
"><?php endif ?>

<?php if ($osoba['mobil'] || $osoba['telefon']): ?>
                        <img src="<?php echo htmlSpecialChars($basePath) ?>/css/phone-blue.png" alt="" title="<?php echo htmlSpecialChars($osoba['mobil']) ;if ($osoba['mobil']&&$osoba['telefon']): ?>
, <?php endif ;echo htmlSpecialChars($osoba['telefon']) ?>" />
                     <?php else: ?><img src="<?php echo htmlSpecialChars($basePath) ?>/css/phone-grey.png" alt="" title="nezadáno" />
<?php endif ;if ($osoba['ulice'] && $osoba['obec'] && $osoba['psc']): ?>
                               <img src="<?php echo htmlSpecialChars($basePath) ?>
/css/home-blue.png" alt="" title="<?php echo htmlSpecialChars($osoba['ulice']) ?>
, <?php echo htmlSpecialChars($osoba['obec']) ?>, <?php echo htmlSpecialChars($osoba['psc']) ?>" />
                      <?php else: ?>   <img src="<?php echo htmlSpecialChars($basePath) ?>/css/home-grey.png" alt="" title="nezadáno" />
<?php endif ;if ($osoba['email']): ?>
                      <img src="<?php echo htmlSpecialChars($basePath) ?>/css/mail-blue.png" alt="" title="<?php echo htmlSpecialChars($osoba['email']) ?>" />
                      <?php else: ?><img src="<?php echo htmlSpecialChars($basePath) ?>/css/mail-grey.png" alt="" title="nezadáno" />
<?php endif ?>
<!--                     <img src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/ico-edit.gif" alt="upravit" title="upravit"/>-->
            <?php if ((!$opravneni['individualni_clen'])): ?>  </a><?php endif ?>

            </td>
        </tr>
        <?php if ($opravneni['individualni_clen'] && $osoba['id']== $user->getIdentity()->id): $evidovany = TRUE ;endif ?>

       
<?php $iterations++; endforeach ?>
 </table>
</div> 
<div>
    Počet evidovaných členů: <?php echo NTemplateHelpers::escapeHtml($osoby->rowCount(), ENT_NOQUOTES) ?> &nbsp;&nbsp;
<?php if ($oddil['id']!=$id_individualni_clenove): ?>
    <br />
    Evidenční poplatek za rok <?php echo NTemplateHelpers::escapeHtml($rok, ENT_NOQUOTES) ?>
: <?php echo NTemplateHelpers::escapeHtml($template->poplatky($osoby->rowCount()), ENT_NOQUOTES) ?> Kč<br />
    Číslo účtu: 121230339/0800 VS <?php echo NTemplateHelpers::escapeHtml($oddil['id'], ENT_NOQUOTES) ?>

<?php endif ;if ($oddil['id']==$id_individualni_clenove && $rok == date('Y')): ?>
    <a href="<?php echo htmlSpecialChars($_control->link("registraceIndividualniPdf", array($oddil['id']))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-pdf.gif" alt="pdf" title="pdf" /></a>
<?php endif ;if ($osoby && $osoby->rowCount()): ?>
    <br /><a href="<?php echo htmlSpecialChars($_control->link("evidenceExport", array($oddil['id'], $rok))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-xls.gif" alt="export do xls" title="export do xls" />&nbsp;Export evidence do xls</a>
    <br /><a href="<?php echo htmlSpecialChars($_control->link("evidenceExportWord", array($oddil['id'], $rok))) ?>
"><img src="<?php echo htmlSpecialChars($basePath) ?>/css/ico-doc.gif" alt="export do docx" title="export do docx" />&nbsp;Export evidence do docx</a>
<?php endif ?>
</div>
<?php if ($rok >= date('Y') && $opravneni['evidence_edit']): ?>
<br />
<div>
    <h3>Přidat do evidence:</h3>
开发者ID:krecek,项目名称:nrsn,代码行数:67,代码来源:_Oddily.evidence.latte-95ca5c0b8f9b581a28c54bd0253e5f93.php

示例5: list

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

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

//
// main template
//
?>
<h3 class="oddelit">Reklama</h3>
<div class="obr-box">
<!--<a href='http://www.satoya.cz/' target='_blank'><img src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/images/satoya.jpg" alt='SATURN-TOYA ' title='SATURN-TOYA'/></a>-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- gymfed -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-3888879872337767"
     data-ad-slot="4840850732"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push( { } );
</script>
</div>
开发者ID:krecek,项目名称:nrsn,代码行数:29,代码来源:_templates.reklama.latte-f648f4b4bd4a9d589dcf021aa625a7ea.php

示例6: htmlSpecialChars

        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/tiny_mce/tiny_mce.js"></script>
        
        <!--<script src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/js/jquery-ui-1.10.3.custom.js"></script>-->
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/jquery-ui-1.10.4.custom.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/netteForms.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/live-form-validation.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/main.js"></script>
        <title><?php if ($_l->extends) { ob_end_clean(); return NCoreMacros::includeTemplate($_l->extends, get_defined_vars(), $template)->render(); }
ob_start(); call_user_func(reset($_l->blocks['title']), $_l, get_defined_vars()); echo $template->striptags(ob_get_clean())  ?></title>

        <link rel="stylesheet" media="screen,projection,tv" href="<?php echo htmlSpecialChars($basePath) ?>/css/screen.css" />
  <!--[if IE 7]>
 <link rel="stylesheet" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/styleIE7.css">
<![endif]-->
<!--[if gte IE 9]>
<link rel="stylesheet" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/styleIE9.css">
<![endif]-->
        <link rel="stylesheet" media="screen,projection,tv" href="<?php echo htmlSpecialChars($basePath) ?>/css/ui-lightness/jquery-ui-1.10.3.custom.css" />
        <link rel="stylesheet" media="print" href="<?php echo htmlSpecialChars($basePath) ?>/css/print.css" />
       	<link rel="shortcut icon" href="<?php echo htmlSpecialChars($basePath) ?>/favicon.ico" />
	<?php call_user_func(reset($_l->blocks['head']), $_l, get_defined_vars())  ?>

    </head>

    <body<?php if ($debugMod): ?> class="demo"<?php endif ?>>
        <div id="container">
            <script> document.documentElement.className+=' js' </script>
<?php if ($user->isLoggedIn()): ?>
            <div class="top inner"><span id="pos"><a class="home" title="Home" href="<?php echo htmlSpecialChars($_control->link("Homepage:")) ?>
"><span>&nbsp;</span></a></span>
                <div class="user">
开发者ID:krecek,项目名称:nrsn,代码行数:31,代码来源:_templates._layout.latte-7f894fa5740ded17d9df16cd3d6bc6f6.php

示例7: _lb32e6997950_content


//.........这里部分代码省略.........
                echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 629, 'h' => 250), "", "&amp;");
                ?>
" alt="" />
<?php 
            }
            ?>
		</div>
	</a>
<?php 
        }
        ?>

	<div class="entry-meta">
		<span class="sep blog-date"><?php 
        echo NTemplateHelpers::escapeHtml(__('On:', 'ait'), ENT_NOQUOTES);
        ?>
 </span>
		<a href="<?php 
        echo WpLatteFunctions::getDayLink($post->date);
        ?>
" title="<?php 
        echo htmlSpecialChars($template->date($post->date, $site->dateFormat));
        ?>
" rel="bookmark"><time class="entry-date" datetime="<?php 
        echo htmlSpecialChars($template->date($post->date, $site->dateFormat));
        ?>
" pubdate=""><?php 
        echo NTemplateHelpers::escapeHtml($template->date($post->date, $site->dateFormat), ENT_NOQUOTES);
        ?>
</time></a>

<?php 
        if ($post->type == 'post' && $post->categories) {
            ?>
		<span class="cat-links">
			<span class="sep blog-categories entry-utility-prep entry-utility-prep-cat-links"><?php 
            echo NTemplateHelpers::escapeHtml(__('Posted in', 'ait'), ENT_NOQUOTES);
            ?>
</span>
			<?php 
            echo $post->categories;
            ?>

		</span>
<?php 
        }
        ?>
		
		<div class="comments-link">
			<a href="<?php 
        echo $post->permalink;
        ?>
#comments" title="<?php 
        echo htmlSpecialChars(__('Comment on', 'ait'));
        ?>
 <?php 
        echo htmlSpecialChars($post->title);
        ?>
"><?php 
        echo NTemplateHelpers::escapeHtml($post->commentsCount, ENT_NOQUOTES);
        ?>
</a>
		</div>
		<span class="edit-link"><?php 
        edit_post_link(__("Edit", "ait"), "<span class=\"edit-link\">", "</span>", $post->id);
        ?>
</span>
	</div>
	
	<div class="entry-content">
		<?php 
        echo $post->content;
        ?>

	</div>

</article><!-- /#post-<?php 
        echo NTemplateHelpers::escapeHtmlComment($post->id);
        ?>
 -->

<?php 
        NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['jt4zb7i7un'])->render();
        ?>

<?php 
        if (isset($themeOptions->advertising->showBox4)) {
            ?>
<div id="advertising-box-4" class="advertising-box">
    <?php 
            echo $themeOptions->advertising->box4Content;
            ?>

</div>
<?php 
        }
        ?>

<?php 
    }
开发者ID:kivivuori,项目名称:jotain,代码行数:101,代码来源:_Templates.single.php-e6ad320deaaf25612081d03947f5f59c.php

示例8: htmlSpecialChars

						<div>
							<?php 
                    echo $wProduct->options->productDescription;
                    ?>

						</div>
					</div>
<?php 
                } else {
                    ?>
					<div class="tabs-content sc-column sc-column-last three-fourth-last tab-<?php 
                    echo htmlSpecialChars($iterator->getCounter());
                    ?>
" style="display: none">
						<!-- <h2><?php 
                    echo NTemplateHelpers::escapeHtmlComment($options->productsTitle);
                    ?>
</h2> -->
						<div>
							<?php 
                    echo $wProduct->options->productDescription;
                    ?>

						</div>
					</div>
<?php 
                }
            }
            $iterations++;
        }
        array_pop($_l->its);
开发者ID:ssuhss,项目名称:Begara,代码行数:31,代码来源:_snippets.products.php-f8c7565ce45514a6a8863347f43bbf5f.php

示例9: _lbe5d497be66_content

    function _lbe5d497be66_content($_l, $_args)
    {
        extract($_args);
        ?>
<article id="post-<?php 
        echo htmlSpecialChars($post->id);
        ?>
" class="<?php 
        echo htmlSpecialChars($post->htmlClasses);
        ?>
">

	<header class="entry-header">

		<h1 class="entry-title">
			<a href="<?php 
        echo htmlSpecialChars($post->permalink);
        ?>
" title="<?php 
        echo htmlSpecialChars(__('Permalink to', 'ait'));
        ?>
 <?php 
        echo htmlSpecialChars($post->title);
        ?>
" rel="bookmark"><?php 
        echo NTemplateHelpers::escapeHtml($post->title, ENT_NOQUOTES);
        ?>
</a>
		</h1>

	</header>
	
<?php 
        if ($post->thumbnailSrc) {
            ?>
	<a href="<?php 
            echo $post->thumbnailSrc;
            ?>
">
<?php 
            if (isset($fullwidth)) {
                ?>
		<div class="entry-thumbnail"><img src="<?php 
                echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 940, 'h' => 250), "", "&amp;");
                ?>
" alt="" /></div>
<?php 
            } else {
                ?>
		<div class="entry-thumbnail"><img src="<?php 
                echo TIMTHUMB_URL . "?" . http_build_query(array('src' => $post->thumbnailSrc, 'w' => 629, 'h' => 250), "", "&amp;");
                ?>
" alt="" /></div>
<?php 
            }
            ?>
	</a>
<?php 
        }
        ?>

	<div class="entry-content">
		<?php 
        echo $post->content;
        ?>

	</div>

</article><!-- /#post-<?php 
        echo NTemplateHelpers::escapeHtmlComment($post->id);
        ?>
 -->

<?php 
        NCoreMacros::includeTemplate("comments.php", array('closeable' => $themeOptions->general->closeComments, 'defaultState' => $themeOptions->general->defaultPosition) + $template->getParams(), $_l->templates['vtzdkbc282'])->render();
        ?>

<?php 
        if (isset($themeOptions->advertising->showBox4)) {
            ?>
<div id="advertising-box-4" class="advertising-box">
    <?php 
            echo $themeOptions->advertising->box4Content;
            ?>

</div>
<?php 
        }
        ?>

<?php 
    }
开发者ID:kivivuori,项目名称:jotain,代码行数:92,代码来源:_Templates.page.php-cb1db7f4d9a2397c8aa5be00d7219933.php

示例10: htmlSpecialChars

        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/jquery.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/jquery-ui-1.10.3.custom.js"></script>
        <!--<script src="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/js/jquery.nette.js"></script>-->
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/nette.ajax.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/web.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/menu.js"></script>
        <script src="<?php echo htmlSpecialChars($basePath) ?>/js/lytebox/lytebox.js"></script>
        <script type="text/javascript" src="<?php echo htmlSpecialChars($basePath) ?>/js/tablesorter/jquery.tablesorter.js"></script>
        <link rel="stylesheet" media="screen,projection,tv" href="<?php echo htmlSpecialChars($basePath) ?>/css/custom-theme/jquery-ui-1.10.4.custom.css" />
        <link rel="stylesheet" href="<?php echo htmlSpecialChars($basePath) ?>/js/lytebox/lytebox.css" type="text/css" media="screen" />
        <link rel="stylesheet" media="screen,projection,tv,print" href="<?php echo htmlSpecialChars($basePath) ?>/css/web.css" />
        <!--[if IE 7]>
        <link rel="stylesheet" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/web-ie.css">
        <![endif]-->
         <!-- link rel="stylesheet" media="print" href="<?php echo NTemplateHelpers::escapeHtmlComment($basePath) ?>/css/print.css" -->
        <link rel="shortcut icon" href="<?php echo htmlSpecialChars($basePath) ?>/favicon2.ico" />
        <?php echo $pozadi ?>

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

    </head>

    
    <body>
        <script>
          (function(i,s,o,g,r,a,m){ i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          ( i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
          } ) ( window,document,'script','//www.google-analytics.com/analytics.js','ga');
开发者ID:krecek,项目名称:nrsn,代码行数:29,代码来源:_templates._layout.latte-2abf8da8d1ded21778ab2c44c0dcac39.php

示例11: list

//netteCache[01]000474a:2:{s:4:"time";s:21:"0.05633100 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:85:"/Users/jesse/Sites/localhost/vihreet/wp-content/themes/directory/Templates/header.php";i:2;i:1449948815;}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/header.php
list($_l, $_g) = NCoreMacros::initRuntime($template, 'p43q75hso3');
// snippets support
if (!empty($control->snippetMode)) {
    return NUIMacros::renderSnippets($control, $_l, get_defined_vars());
}
//
// main template
//
?>
<!doctype html>

<!--[if IE 8]><html class="no-js oldie ie8 ie" lang="<?php 
echo NTemplateHelpers::escapeHtmlComment($site->language);
?>
"><![endif]-->
<!--[if gte IE 9]><!--><html class="no-js" lang="<?php 
echo htmlSpecialChars($site->language);
?>
"><!--<![endif]-->

	<head>
		<meta charset="<?php 
echo htmlSpecialChars($site->charset);
?>
" />
<script type='text/javascript'>var ua = navigator.userAgent; var meta = document.createElement('meta');if((ua.toLowerCase().indexOf('android') > -1 && ua.toLowerCase().indexOf('mobile')) || ((ua.match(/iPhone/i)) || (ua.match(/iPad/i)))){ meta.name = 'viewport';	meta.content = 'target-densitydpi=device-dpi, width=device-width'; }var m = document.getElementsByTagName('meta')[0]; m.parentNode.insertBefore(meta,m);</script> 		<meta name="Author" content="www.helsinginvihreat.fi" />

		<title><?php 
开发者ID:kivivuori,项目名称:jotain,代码行数:30,代码来源:_Templates.header.php-c7be931652957f2fec5d4f3448c6f6f3.php

示例12: list

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

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

//
// main template
//
?>
<div class='pg-clanky'>
  <ul>
<?php $iterations = 0; foreach ($clanky as $clanek): ?>
        <!--div class="clanek vypis">
         <a href="<?php echo NTemplateHelpers::escapeHtmlComment($_presenter->link("Clanky:", array($clanek['url']))) ?>">
             <strong><?php echo NTemplateHelpers::escapeHtmlComment($clanek['nadpis']) ?></strong>
         </a>   
        </div -->
        <li><a href="<?php echo htmlSpecialChars($_presenter->link("Clanky:", array($clanek['url']))) ?>">
        <?php echo NTemplateHelpers::escapeHtml($clanek['nadpis'], ENT_NOQUOTES) ?>

         </a></li>   
<?php $iterations++; endforeach ?>
  </ul>
</div>
开发者ID:krecek,项目名称:nrsn,代码行数:30,代码来源:_souvisejiciClanky.souvisejiciClanky.latte-ab1b157f872a9eab7064e8edf1428187.php


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