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


PHP Gdn_Theme::Breadcrumbs方法代码示例

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


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

示例1: smarty_function_breadcrumbs

/**
 * Render a breadcrumb trail for the user based on the page they are on.
 */
function smarty_function_breadcrumbs($Params, &$Smarty)
{
    $Breadcrumbs = $Smarty->Controller->Data('Breadcrumbs');
    if (is_array($Breadcrumbs)) {
        return Gdn_Theme::Breadcrumbs($Breadcrumbs);
    }
}
开发者ID:seedbank,项目名称:old-repo,代码行数:10,代码来源:function.breadcrumbs.php

示例2: smarty_function_breadcrumbs

/**
 * Render a breadcrumb trail for the user based on the page they are on.
 */
function smarty_function_breadcrumbs($Params, &$Smarty)
{
    $Breadcrumbs = $Smarty->Controller->Data('Breadcrumbs');
    if (!is_array($Breadcrumbs)) {
        $Breadcrumbs = array();
    }
    return Gdn_Theme::Breadcrumbs($Breadcrumbs, GetValue('homelink', $Params, TRUE));
}
开发者ID:elpum,项目名称:TgaForumBundle,代码行数:11,代码来源:function.breadcrumbs.php

示例3: smarty_function_breadcrumbs

/**
 * Render a breadcrumb trail for the user based on the page they are on.
 */
function smarty_function_breadcrumbs($Params, &$Smarty)
{
    $Breadcrumbs = $Smarty->Controller->Data('Breadcrumbs');
    if (!is_array($Breadcrumbs)) {
        $Breadcrumbs = array();
    }
    $Options = ArrayTranslate($Params, array('homeurl' => 'HomeUrl', 'hidelast' => 'HideLast'));
    return Gdn_Theme::Breadcrumbs($Breadcrumbs, GetValue('homelink', $Params, TRUE), $Options);
}
开发者ID:karanjitsingh,项目名称:iecse-forum,代码行数:12,代码来源:function.breadcrumbs.php

示例4: userPhoto

             <div class="Item-Body Media">
                 <?php 
 $Photo = userPhoto($Row, array('LinkClass' => 'Img'));
 if ($Photo) {
     echo $Photo;
 }
 ?>
                 <div class="Media-Body">
                     <div class="Meta">
                         <?php 
 echo ' <span class="MItem-Author">' . sprintf(t('by %s'), userAnchor($Row)) . '</span>';
 echo Bullet(' ');
 echo ' <span clsss="MItem-DateInserted">' . Gdn_Format::date($Row['DateInserted'], 'html') . '</span> ';
 if (isset($Row['Breadcrumbs'])) {
     echo Bullet(' ');
     echo ' <span class="MItem-Location">' . Gdn_Theme::Breadcrumbs($Row['Breadcrumbs'], false) . '</span> ';
 }
 if (isset($Row['Notes'])) {
     echo ' <span class="Aside Debug">debug(' . $Row['Notes'] . ')</span>';
 }
 ?>
                     </div>
                     <div class="Summary">
                         <?php 
 echo $Row['Summary'];
 ?>
                     </div>
                     <?php 
 $Count = val('Count', $Row);
 //            $i = 0;
 //            if (isset($Row['Children'])) {
开发者ID:caidongyun,项目名称:vanilla,代码行数:31,代码来源:results.php


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