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

PHP tpl_includeFile函数代码示例

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

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



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

示例1: tpl_includeFile

            <?php 
tpl_includeFile('pageheader.html');
?>
            <article class="page">
                <!-- wikipage start -->
                <?php 
tpl_content();
?>
                <!-- wikipage stop -->
                <!--<div class="clearer"></div>-->
            </article><!-- /.page -->
            <?php 
tpl_flush();
?>
            <?php 
tpl_includeFile('pagefooter.html');
?>
        </div><!-- /.pad -->
    </div><!-- /#dokuwiki__content -->
    <!--<div class="clearer"></div>-->
    <hr class="a11y" />
    <!-- PAGE ACTIONS -->
    <?php 
if ($showTools) {
    ?>
        <div id="dokuwiki__pagetools">
            <h3 class="a11y"><?php 
    echo $lang['page_tools'];
    ?>
</h3>
            <ul>
开发者ID:geekitude,项目名称:dokuwiki-template-mixture,代码行数:31,代码来源:tpl_layout_classic.old.php


示例2: strip_tags

?>
        [<?php 
echo strip_tags($conf['title']);
?>
]
    </title>
    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
    <?php 
tpl_metaheaders();
?>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <?php 
echo tpl_favicon(array('favicon', 'mobile'));
?>
    <?php 
tpl_includeFile('meta.html');
?>
</head>

<body>
    <!--[if IE 6 ]><div id="IE6"><![endif]--><!--[if IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
    <div id="dokuwiki__detail" class="dokuwiki">
        <?php 
html_msgarea();
?>

        <?php 
if ($ERROR) {
    print $ERROR;
} else {
    ?>
开发者ID:cpolzer,项目名称:dokutwitterbootstrap,代码行数:31,代码来源:detail.php


示例3: bootstrap3_conf

    bootstrap3_conf('semantic') ? 'itemprop="license"' : '';
    ?>
>
      <?php 
    echo tpl_license('');
    ?>
    </div>
    <?php 
}
?>

    <?php 
// DokuWiki badges
require_once 'tpl_badges.php';
// Footer hook
tpl_includeFile('footer.html');
// Footer DokuWiki page
require_once 'tpl_footer.php';
// Cookie-Law banner
require_once 'tpl_cookielaw.php';
// Provide DokuWiki housekeeping, required in all templates
tpl_indexerWebBug();
?>

    <a href="#dokuwiki__top" class="back-to-top hidden-print btn btn-default btn-sm" title="<?php 
echo $lang['skip_to_content'];
?>
" accesskey="t"><i class="fa fa-chevron-up"></i></a>

    <div id="screen__mode"><?php 
/* helper to detect CSS media query in script.js */
开发者ID:huksley,项目名称:dokuwiki-template-bootstrap3,代码行数:31,代码来源:main.php


示例4: tpl_includeFile

<!-- ********** ASIDE ********** -->
<aside id="<?php 
echo $sidebar_id;
?>
" class="dw__sidebar <?php 
echo $sidebar_class;
?>
 hidden-print">
  <div class="content">
    <div class="toogle hidden-lg hidden-md hidden-sm" data-toggle="collapse" data-target="#<?php 
echo $sidebar_id;
?>
 .collapse">
      <i class="glyphicon glyphicon-th-list"></i> <?php 
echo $lang['sidebar'];
?>
    </div>
    <div class="collapse in">
      <?php 
tpl_includeFile($sidebar_header);
?>
      <?php 
bootstrap_sidebar(tpl_include_page($sidebar_page, 0, 1));
?>
      <?php 
tpl_includeFile($sidebar_footer);
?>
    </div>
  </div>
</aside>
开发者ID:HavocKKS,项目名称:dokuwiki-template-bootstrap3,代码行数:30,代码来源:tpl_sidebar.php


示例5: tpl_action

if ($isLoggedIn) {
    tpl_action('recent', 1, 'li');
    tpl_action('media', 1, 'li');
}
tpl_action('index', 1, 'li');
?>
        </ul>
      </div>

    </div>

    <!-- TOPBAR - @tpl_mtb_schotland_2016-template@ -->
    <div class="topbar">
      <?php 
if (tpl_getConf("tpl_mtb_schotland_2016:htmltopbar")) {
    tpl_includeFile('topbar.php');
} else {
    tpl_include_page(tpl_getConf("tpl_mtb_schotland_2016:pagetopbar"), 1, 1);
}
?>
    </div>

    <!-- BREADCRUMBS -->
    <?php 
if ($conf['breadcrumbs'] || $conf['youarehere']) {
    ?>
      <div class="breadcrumbs">
        <?php 
    if ($conf['youarehere']) {
        ?>
          <div class="youarehere"><?php 
开发者ID:RobBosman,项目名称:private.tpl_mtb_schotland_2016,代码行数:31,代码来源:tpl_header.php


示例6: tpl_includeFile

<?php

/**
 * Template header, included in the main and detail files
 */
// must be run from within DokuWiki
if (!defined('DOKU_INC')) {
    die;
}
?>

<!-- ********** HEADER ********** -->
<div id="dokuwiki__header"><div class="pad group">

    <?php 
tpl_includeFile('header.html');
?>

<?php 
/*
    <div class="headings group">
        <ul class="a11y skip">
            <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
        </ul>

        <h1><?php
            // get logo either out of the template images folder or data/media folder
            $logoSize = array();
            $logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);

            // display logo and wiki title in a link to the home page
开发者ID:learningendless,项目名称:web-wiki,代码行数:31,代码来源:tpl_header.php


示例7: tpl_action

            <ul>
                <?php 
tpl_action('recent', 1, 'li');
tpl_action('media', 1, 'li');
tpl_action('index', 1, 'li');
?>
            </ul>
        </div>

    </div>
    
    <!-- TOPBAR - @20cones-template@ -->
    <div class="topbar">
      <?php 
if (tpl_getConf("20cones_htmltopbar")) {
    tpl_includeFile('topbar.html');
} else {
    tpl_include_page(tpl_getConf("20cones_pagetopbar"), 1, 1);
}
?>
    </div>

    <!-- BREADCRUMBS -->
    <?php 
if ($conf['breadcrumbs'] || $conf['youarehere']) {
    ?>
        <div class="breadcrumbs">
            <?php 
    if ($conf['youarehere']) {
        ?>
                <div class="youarehere"><?php 
开发者ID:jbschafer,项目名称:LearningLabServer,代码行数:31,代码来源:tpl_header.php


示例8: tpl_link

$tagline = $conf['tagline'] ? '<span id="dw__tagline">' . $conf['tagline'] . '</span>' : '';
$logo_size = 'width="20" height="20"';
if ($tagline) {
    $logo_size = 'width="32" height="32" style="margin-top:-5px"';
}
// display logo and wiki title in a link to the home page
tpl_link(wl(), '<img src="/sprout.svg" alt="' . $title . '" class="pull-left" style="width: 30px; height: 30px; margin-right: 8px; margin-top:-5px;" /><span id="dw__title" style="color: #fff; margin-right:5px;">sprout wiki</span><i class="fa fa-lg fa-terminal"></i>', 'accesskey="h" title="' . $title . '" class="navbar-brand"');
?>

    </div>

    <div class="collapse navbar-collapse">

      <ul class="nav navbar-nav" id="dw__navbar">
        <?php 
tpl_includeFile('navbar.html');
?>
      </ul>

      <div class="navbar-right">

        <?php 
if ($showSearchForm) {
    ?>
          <?php 
    bootstrap3_searchform();
    ?>
        <?php 
}
?>
开发者ID:sproutfund,项目名称:dokuwiki-template-bootstrap3,代码行数:30,代码来源:tpl_navbar.php


示例9: hsc

if (!defined('DOKU_INC')) die();

?><!DOCTYPE html>
<html lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction'] ?>" class="popup no-js">
<head>
    <meta charset="utf-8" />
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
    <title>
        <?php echo hsc($lang['mediaselect'])?>
        [<?php echo strip_tags($conf['title'])?>]
    </title>
    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
    <?php tpl_metaheaders()?>
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
    <?php tpl_includeFile('meta.html') ?>
</head>

<body>
    <!--[if lte IE 7 ]><div id="IE7"><![endif]--><!--[if IE 8 ]><div id="IE8"><![endif]-->
    <div id="media__manager" class="dokuwiki">
        <?php html_msgarea() ?>
        <div id="mediamgr__aside"><div class="pad">
            <h1><?php echo hsc($lang['mediaselect'])?></h1>

            <?php /* keep the id! additional elements are inserted via JS here */?>
            <div id="media__opts"></div>

            <?php tpl_mediaTree() ?>
        </div></div>
开发者ID:neutrinog,项目名称:Door43,代码行数:30,代码来源:mediamanager.php


示例10: tpl_flush

                <?php 
if ($showSidebar) {
    ?>
                <!-- ********** ASIDE ********** -->
                    <div class="codo_side_content">
                        <?php 
    tpl_flush();
    ?>
                        <?php 
    tpl_includeFile('sidebarheader.html');
    ?>
                        <?php 
    tpl_include_page($conf['sidebar'], 1, 1);
    ?>
                        <?php 
    tpl_includeFile('sidebarfooter.html');
    ?>
                    </div>
                
            <?php 
}
?>
            
            <!--below div is end WEST pane-->
            </div>
    
   
    <!--below div is end content-->
    </div>
    <div style="display:none"><script type="text/javascript">
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
开发者ID:HonorLee-cn,项目名称:DwarfFortressWiki,代码行数:31,代码来源:main.php


示例11: tpl_includeFile

<?php
/**
 * Template header, included in the main and detail files
 */

// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
?>

<!-- ********** HEADER ********** -->
<div id="dokuwiki__header"><div class="pad group">

    <?php tpl_includeFile('header.html') ?>

    <div class="headings group">
        <ul class="a11y skip">
            <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
        </ul>

        <h1><?php
            // get logo either out of the template images folder or data/media folder
            $logoSize = array();
            $logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);

            // display logo and wiki title in a link to the home page
            tpl_link(
                wl(),
                '<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span>'.$conf['title'].'</span>',
                'accesskey="h" title="[H]"'
            );
        ?></h1>
开发者ID:neutrinog,项目名称:Door43,代码行数:31,代码来源:tpl_header.php


示例12: tpl_license

<?php
/**
 * Template footer, included in the main and detail files
 */

// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
?>

<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer"><div class="pad">
    <?php tpl_license(''); // license text ?>

    <div class="buttons">
        <?php
            tpl_license('button', true, false, false); // license button, no wrapper
            $target = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : '';
        ?>
    </div>
</div></div><!-- /footer -->

<?php tpl_includeFile('footer.html') ?>
开发者ID:neutrinog,项目名称:Door43,代码行数:22,代码来源:tpl_footer.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP tpl_include_page函数代码示例发布时间:2022-05-23
下一篇:
PHP tpl_incdir函数代码示例发布时间: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