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


PHP link_to_home_page函数代码示例

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


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

示例1: body_tag

        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<?php 
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
?>
    <?php 
fire_plugin_hook('public_body', array('view' => $this));
?>
<!--     <header>
        <div class="container">
            <?php 
fire_plugin_hook('public_header', array('view' => $this));
?>
            <h1 class="site-title text-center"><?php 
echo link_to_home_page(theme_logo());
?>
</h1>
        </div>

        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#primary-navigation">
                        <span class="sr-only">Menu</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                </div>
开发者ID:joelsalisbury,项目名称:findyourvoice,代码行数:30,代码来源:header.php

示例2: link_to_home_page

                <ul class="nav navbar-nav navbar-right hidden-xs">
                    <li><a class="search-overlay-button"><span class="glyphicon glyphicon-search"></span> Search Archive</a></li>
                </ul>
            </div>
        </div>
    </nav>
    <header>
        <div class="overlay"></div>
        <div class="container">
            <?php 
if (!get_theme_option('Theme: Show')) {
    ?>
                <div class="logo">
                  <div class="branding">
                    <h1><?php 
    echo link_to_home_page();
    ?>
</h1>
                    <h4><?php 
    echo get_theme_option('Theme: Subtitle');
    ?>
</h4>
                  </div>
                <div>
            <?php 
}
?>
        </div>
    </header>
    <div class="content">
开发者ID:pyscajor,项目名称:cornishmemory-omeka,代码行数:30,代码来源:header.php

示例3: queue_js_file

<?php

queue_js_file('login');
$pageTitle = __('Log In');
echo head(array('bodyclass' => 'login', 'title' => $pageTitle), $header);
?>
<h1><?php 
echo $pageTitle;
?>
</h1>

<p id="login-links">
<span id="backtosite"><?php 
echo link_to_home_page(__('Go to Home Page'));
?>
</span>  |  <span id="forgotpassword"><?php 
echo link_to('users', 'forgot-password', __('Lost your password?'));
?>
</span>
</p>

<?php 
echo flash();
?>
    
<?php 
echo $this->form->setAction($this->url('users/login'));
?>

<?php 
echo foot(array(), $footer);
开发者ID:lchen01,项目名称:STEdwards,代码行数:31,代码来源:login.php

示例4: link_to_home_page

            </div>
            <!-- Menu topo -->
            <div class="row" style="background-color: #4AAAA5;display: flex; align-items: flex-end">
                <div id="logo" class="col-md-5 col-sm-12 hidden-xs col-md-offset-1 col-sm-offset-1">
                        <?php 
echo link_to_home_page('View Public Site', array('id' => 'public-link', 'class' => 'img-responsive'));
?>
<!--<img src="<?php 
echo img('logo.png');
?>
" /></a>-->
                </div>
                 <div id="logo_xs" class="hidden-md hidden-lg hidden-sm col-xs-12">
                        <?php 
echo link_to_home_page('View Public Site', array('id' => 'public-link2'));
?>
                </div>
                <div class="col-md-11 col-sm-offset-1 hidden-xs hidden-sm">
                    <div id="nav" class="nav nav-pills" role="menu">
                        <?php 
echo public_nav_main();
?>
   
                    </div>   
                </div>
            </div>
            <!--Fim do Menu topo-->
            <!--Menu topo sm -->
            <div class="row hidden-lg hidden-md hidden-xs" style="background-color: #283744;">
                <div class="col-sm-12">&nbsp;</div>
开发者ID:libraryman,项目名称:guarani,代码行数:30,代码来源:header.php

示例5: __

}
</style>
        <div class="htfd-voices container">
          <h2>Hartford Voices</h2>
          <div class="row">
            <div class="thumbnail col-md-3"><a href="#"><img class="img-responsive" src="/img/contemporary-voice.jpg"></a></div> 
            <div class="thumbnail col-md-3"><a href="#"><img class="img-responsive" src="/img/gwen-reed.jpg"></a></div>
            <div class="thumbnail col-md-3"><a href="#"><img class="img-responsive" src="/img/newtrad.jpg"></a></div>
            <div class="thumbnail col-md-3"><a href="#"><img class="img-responsive" src="/img/historydetective.jpg"></a></div>
          </div>
        </div>

        <div class="container">
            <p class="text-center">
                <?php 
echo __('Copyright &copy; ') . date('Y') . ' ' . link_to_home_page() . ', All Rights Reserved.';
?>
<br>
                <?php 
echo __('Proudly powered by <a href="http://omeka.org">Omeka</a>.');
?>
            </p>
        </div>

        <?php 
fire_plugin_hook('public_footer', array('view' => $this));
?>
 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.2.0/imagesloaded.pkgd.js"></script>       

        <script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/3.3.2/masonry.pkgd.min.js"></script>
        <script>
开发者ID:joelsalisbury,项目名称:findyourvoice,代码行数:31,代码来源:footer.php

示例6: metadata

"><?php 
echo metadata('item', array('Dublin Core', 'Title'));
?>
</a></div>
        <?php 
if ($rights != '') {
    ?>
        <p class="rights"><?php 
    echo __('Rights');
    ?>
<span class="explanation"><?php 
    echo $rights;
    ?>
</span></p>
        <?php 
}
?>
        <p class="source"><?php 
echo __('From: ');
echo link_to_home_page(null, array('target' => '_blank'));
?>
</p>
        <?php 
fire_plugin_hook('embed_codes_content', array('item' => $item, 'view' => $this));
?>
    </div>


</div>
</body>
</html>
开发者ID:jeau,项目名称:plugin-EmbedCodes,代码行数:31,代码来源:embed.php

示例7: body_tag

        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<?php 
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
fire_plugin_hook('public_body', array('view' => $this));
?>
<!-- CABEÇALHO -->
<div class="container-fluid">
    <header class="row">
            <!-- Menu topo -->
            <div class="row" style="background-color: #4AAAA5;display: flex; align-items: flex-end">
                <div id="logo1" class="col-md-5 col-sm-12 col-xs-12 col-md-offset-1 col-sm-offset-1">
                        <?php 
echo link_to_home_page('View Public Site', array('id' => 'public-link1', 'class' => 'img-responsive'));
?>
<!--<img src="<?php 
echo img('logo.png');
?>
" /></a>-->
                </div>
                <div class="col-md-11 col-sm-offset-1 hidden-xs hidden-sm">
                    <div id="nav" class="nav nav-pills" role="menu">
                        <?php 
echo public_nav_main();
?>
   
                    </div>   
                </div>
            </div>
开发者ID:libraryman,项目名称:guarani,代码行数:31,代码来源:show.php

示例8: head_js

<!-- JavaScripts -->
<?php 
echo head_js();
?>

</head>

<?php 
echo body_tag(array('id' => @$bodyid, 'class' => @$bodyclass));
?>

<header>
    <div class="container">
        <div id="site-title" class="two columns">
            <?php 
echo link_to_home_page(option('site_title'), array('target' => '_blank'));
?>
        </div>

        <nav>
            <?php 
echo common('global-nav');
?>
            
            <ul id="user-nav">
            <?php 
if ($user = current_user()) {
    ?>
                <?php 
    $name = html_escape($user->name);
    if (is_allowed($user, 'edit')) {
开发者ID:kwiliarty,项目名称:Omeka,代码行数:31,代码来源:header.php

示例9: mh_global_header

function mh_global_header()
{
    $html = '<h1 id="site-title" class="visuallyhidden">' . link_to_home_page() . '</h1>';
    $html .= '<div id="mobile-logo-container" class="clearfix">';
    $html .= '<div id="logo">';
    $html .= link_to_home_page(mh_the_logo());
    $html .= '</div>';
    $html .= '<div id="mobile-menu-button"><a class="icon-reorder"><span class="visuallyhidden"> Menu</span></a></div>';
    $html .= '</div>';
    $html .= '<div id="mobile-menu-cluster" class="active">';
    $html .= '<nav id="primary-nav">';
    $html .= mh_global_nav();
    $html .= '</nav>';
    $html .= '<div id="search-wrap">';
    $html .= mh_simple_search($formProperties = array('id' => 'header-search'));
    $html .= '</div>';
    $html .= random_item_link();
    $html .= '</div>';
    // end mobile-menu-cluster
    return $html;
}
开发者ID:ebellempire,项目名称:curatescape_gardens,代码行数:21,代码来源:custom.php

示例10: __

    </div>
    <!-- FOOTER -->
    <div class="container-fluid">
        <footer>
            <div class="row">
                <!--<div class="col-md-12 rodape"><p><?php 
echo __('Copyright &copy; ') . date('Y') . ' ' . link_to_home_page() . ', Todos os direitos reservados.';
?>
</p></div>-->
  <div class="col-md-12 rodape"><p><?php 
echo __('<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
<img alt=“Licença Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a>
<br><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">A não ser que indicado contrariamente,
todo o conteúdo disponível no CultCampinas</span>
está disponível com uma licença <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">
Creative Commons Atribuição-Compartilhamento Igual 4.0 Internacional</a>');
?>
</p></div>
            </div>
        </footer>
    </div>
    <!-- /FOOTER -->

    <script type="text/javascript">
      /* Change contend div*/
    $('.content:not(:first)').hide();
    $( ".cog-navigation .cog-nav-link a" ).on('click', function(event){
    event.preventDefault();
    var index= $(this).attr('class');
    $('.content').hide();                       
    $('#'+index+'.content').show();
开发者ID:libraryman,项目名称:guarani,代码行数:31,代码来源:footer.php


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