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


PHP smarty_function_breadcrumbs函数代码示例

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


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

示例1: content_51f3dccd330343_74916793


//.........这里部分代码省略.........
    <!-- CONTENT -->
    <div id="contentWrapper">
      <?php 
        if ($_smarty_tpl->tpl_vars['display_slider']->value == "+") {
            ?>
        <div id="content" class="span-950">
      <?php 
        } else {
            ?>
        <div id="content" class="span-950 border">
      <?php 
        }
        ?>
      
          <!-- MAIN CONTENT -->
          <div id="main" class="twoColumns float-left">
            
            <!-- BREADCRUMBS -->
            <?php 
        if ($_smarty_tpl->tpl_vars['display_breadcrumbs']->value == "+") {
            ?>
            <div class="breadcrumbs">
              <?php 
            if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
                ?>
                 » <?php 
                echo $_smarty_tpl->tpl_vars['newstitle']->value;
                ?>

              <?php 
            } else {
                ?>
                <?php 
                echo smarty_function_breadcrumbs(array('starttext' => 'You are here', 'root' => 'Home', 'delimiter' => '&raquo;'), $_smarty_tpl);
                ?>

              <?php 
            }
            ?>
              <hr class="accessibility" />
            </div>
            <?php 
        }
        ?>
            <!-- END BREADCRUMBS -->

            <?php 
        if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['newstitle']->value;
            ?>
</h2>
            <?php 
        } else {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['pagetitle']->value;
            ?>
</h2>
            <?php 
        }
        ?>

            <?php 
        echo $_smarty_tpl->tpl_vars['capturedcontent']->value;
开发者ID:Alexkuva,项目名称:Beaupotager,代码行数:67,代码来源:parser1374936269^92a32c5fcb9e764779b9c12ad66b2e6d540dbbd1.template.24.php

示例2: array



<?php 
include "lib/tiki-dynamic-js.php";
?>
<script type="text/javascript" src="lib/tiki-js.js"></script>
<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "bidi.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<title>
<?php 
if ($this->_tpl_vars['trail']) {
    echo smarty_function_breadcrumbs(array('type' => 'fulltrail', 'loc' => 'head', 'crumbs' => $this->_tpl_vars['trail']), $this);
    ?>

<?php 
} else {
    echo $this->_tpl_vars['siteTitle'];
    ?>

<?php 
    if ($this->_tpl_vars['headtitle']) {
        ?>
 : <?php 
        echo $this->_tpl_vars['headtitle'];
        ?>

<?php 
开发者ID:noikiy,项目名称:owaspbwa,代码行数:29,代码来源:F7F34188%%header.tpl.php

示例3: smarty_function_signin_link

    echo smarty_function_signin_link(array(), $this);
    ?>

            </ul>
          <?php 
}
?>
        </div>
      </div>
    </nav>

    <section class="container">
      <div class="row">
        <main class="page-content" role="main">
          <?php 
echo smarty_function_breadcrumbs(array(), $this);
?>

          <?php 
if (InSection(array('CategoryList', 'CategoryDiscussionList', 'DiscussionList'))) {
    ?>
            <div class="well search-form"><?php 
    echo smarty_function_searchbox(array(), $this);
    ?>
</div>
          <?php 
}
?>
          <?php 
echo smarty_function_asset(array('name' => 'Content'), $this);
?>
开发者ID:audist,项目名称:ista-forum,代码行数:31,代码来源:vanilla^%%F6^F6F^F6F0ECB3%%default.master.tpl.php

示例4: smarty_function_breadcrumbs

<div class="wikitopline">
<table><tr>
<td style="vertical-align:top;">
<?php 
if ($this->_tpl_vars['feature_wiki_pageid'] == 'y') {
    ?>
	<small><a class="link" href="tiki-index.php?page_id=<?php 
    echo $this->_tpl_vars['page_id'];
    ?>
">page id: <?php 
    echo $this->_tpl_vars['page_id'];
    ?>
</a></small>
<?php 
}
echo smarty_function_breadcrumbs(array('type' => 'desc', 'loc' => 'page', 'crumbs' => $this->_tpl_vars['crumbs']), $this);
?>

<?php 
if ($this->_tpl_vars['cached_page'] == 'y') {
    ?>
<small>(cached)</small><?php 
}
?>
</td>
<?php 
if ($this->_tpl_vars['is_categorized'] == 'y' && $this->_tpl_vars['feature_categories'] == 'y' && $this->_tpl_vars['feature_categorypath'] == 'y') {
    ?>
	<td style="vertical-align:top;width:100px;"><?php 
    echo $this->_tpl_vars['display_catpath'];
    ?>
开发者ID:noikiy,项目名称:owaspbwa,代码行数:31,代码来源:746E86FB%%tiki-show_page.tpl.php

示例5: smarty_function_link

            <?php 
if (!$this->_tpl_vars['User']['SignedIn']) {
    ?>
                <li class="SignInItem"><?php 
    echo smarty_function_link(array('path' => 'signin', 'class' => 'SignIn'), $this);
    ?>
</li>
            <?php 
}
?>
        </ul>
    </div>
    <div id="Body">
        <div class="BreadcrumbsWrapper">
            <?php 
echo smarty_function_breadcrumbs(array('homelink' => '0'), $this);
?>

        </div>
        <div id="Content">
            <?php 
echo smarty_function_asset(array('name' => 'Content'), $this);
?>

        </div>
    </div>
    <div id="Foot">
        <div class="FootMenu">
            <?php 
echo smarty_function_nomobile_link(array('wrap' => 'span'), $this);
?>
开发者ID:karanjitsingh,项目名称:iecse-forum,代码行数:31,代码来源:vanilla^%%49^495^4956A154%%default.master.tpl.php

示例6: content_51f3bfcf494341_20472597

    function content_51f3bfcf494341_20472597($_smarty_tpl)
    {
        if (!is_callable('smarty_function_anchor')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.anchor.php';
        }
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        if (!is_callable('smarty_function_sitename')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.sitename.php';
        }
        if (!is_callable('smarty_function_breadcrumbs')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.breadcrumbs.php';
        }
        if (!is_callable('Search::function_plugin')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.search.php';
        }
        if (!is_callable('News::function_plugin')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.news.php';
        }
        if (!is_callable('smarty_function_valid_css')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.valid_css.php';
        }
        if (!is_callable('smarty_function_valid_xhtml')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.valid_xhtml.php';
        }
        if (!is_callable('smarty_function_global_content')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.global_content.php';
        }
        ?>
<body>
    <a id="top"></a>

    <!-- TEMPLATE BLOCKS --> 
<?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Header Slider", 'oneline' => "true", 'size' => "1", 'default' => "-", 'assign' => "display_slider", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_slider']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_slider"])) {
                $_smarty_tpl->tpl_vars["display_slider"] = clone $_smarty_tpl->tpl_vars["display_slider"];
                $_smarty_tpl->tpl_vars["display_slider"]->value = "-";
                $_smarty_tpl->tpl_vars["display_slider"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_slider"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_slider"] = new Smarty_variable("-", null, 0);
            }
        }
        ?>
 
    <?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', "galleryfolder", null);
        ob_start();
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "galleryfolder", 'oneline' => "true", 'label' => "Gallery Module foldername for Header Slideshow", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Breadcrumbs", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_breadcrumbs", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_breadcrumbs']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_breadcrumbs"])) {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = clone $_smarty_tpl->tpl_vars["display_breadcrumbs"];
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->value = "+";
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Sidebar Menu", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_sidebar_menu", 'tab' => 'Sidebar', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_sidebar_menu']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_sidebar_menu"])) {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = clone $_smarty_tpl->tpl_vars["display_sidebar_menu"];
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->value = "+";
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Search", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_search", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
//.........这里部分代码省略.........
开发者ID:Alexkuva,项目名称:Beaupotager,代码行数:101,代码来源:ad83cfdd496e0d74150f5e8179bf0ea1e88e3ac2.tpl_body.24.php


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