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

PHP include_slot函数代码示例

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

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



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

示例1: seo_admin_bar

/**
 * seo_admin_bar
 *
 * @return includes an SEO menu bar in your project to edit meta and sitemap data
 * @author Brent Shaffer
 */
function seo_admin_bar()
{
    if (has_slot('seo_admin_bar')) {
        include_slot('seo_admin_bar');
    } else {
        include_component('csSEO', 'seo_admin_bar');
    }
}
开发者ID:bshaffer,项目名称:Symplist,代码行数:14,代码来源:SeoHelper.php


示例2: include_slot

<?php

if (has_slot('a-footer')) {
    ?>
  <?php 
    include_slot('a-footer');
} else {
    ?>
  <?php 
    a_slot('footer', 'aRichText', array("global" => true));
}
// Feel free to shut this off in app.yml or override the footer partial in your app
if (sfConfig::get('app_a_credit', true)) {
    ?>
<div class="a-attribution">Built with <a href="http://www.apostrophenow.com/">Apostrophe</a></div>
<?php 
}
开发者ID:verenate,项目名称:gri,代码行数:17,代码来源:_footer.php


示例3: slot

<?php 
slot('title');
echo __('Inactive Apps');
end_slot();
?>

<?php 
if ($pager->getNbResults()) {
    slot('pager');
    op_include_pager_navigation($pager, '@op_opensocial_inactive_list?page=%d');
    end_slot();
    include_slot('pager');
    ?>
<ul>
<?php 
    foreach ($pager->getResults() as $application) {
        ?>
<li><?php 
        echo link_to($application->getTitle(), '@op_opensocial_info?id=' . $application->getId());
        ?>
</li>
<?php 
    }
    ?>
</ul>
<?php 
    include_slot('pager');
} else {
    echo __('There are no inactive app.');
}
开发者ID:niryuu,项目名称:opOpenSocialPlugin,代码行数:30,代码来源:inactiveListSuccess.php


示例4: include_partial

?>
          </div>
          <!--content ends-->
          
          <?php 
include_partial('global/sidebar');
?>

        </div>
        <!--main ends-->
        
        <?php 
include_partial('global/header');
?>
        <?php 
include_partial('global/footer');
?>
        
      </div>
    </div>
  </div>
  <!--wrapper ends-->
  <?php 
if (has_slot('popup')) {
    include_slot('popup');
}
?>
</body>
</html>

开发者ID:yasirgit,项目名称:afids,代码行数:29,代码来源:footer.php


示例5: use_helper

<?php

use_helper('I18N');
if (has_slot('sf_apply_login')) {
    ?>
  <?php 
    include_slot('sf_apply_login');
} else {
    ?>
  <?php 
    if ($loggedIn) {
        ?>
    <?php 
        include_partial('sfApply/logoutPrompt');
        ?>
  <?php 
    } else {
        ?>
    <?php 
        include_partial('sfApply/loginPrompt', array("form" => $form));
        ?>
  <?php 
    }
}
开发者ID:cpf,项目名称:eBot-CSGO-Web,代码行数:24,代码来源:_login.php


示例6: include_slot

include_slot('about');
?>
                    </div>
                    <div id="pricing">
                        <?php 
include_slot('pricing');
?>
                    </div>
                    <div id="trial">
			<?php 
include_slot('trial');
?>
                    </div>
                    <div id="getting_started">
                        <?php 
include_slot('getting_started');
?>
                    </div>
		</div>
            </td>
            <td>
                <div class="side_content">
                    <?php 
include_partial("public/eclassroom/eclassroom_nav");
?>
                    <div id="side_content_data">
                        <?php 
include_partial("public/eclassroom/supported");
?>
                    </div>
		</div>
开发者ID:janaece,项目名称:globalclassroom4_clean,代码行数:31,代码来源:layout_eclassroomsolutions.php


示例7: include_component

  </head>

  <body>

    <div class="navbar navbar-fixed-top navbar-inverse">
      <?php include_component('sfAdminDash','header'); ?>
    </div> <!-- /navbar -->

    <div class="container">
            
      <div class="hidden-desktop">
      <?php include_slot('breadcrump') ?>
      </div>

      <div class="row">
        <div class="span2 visible-desktop">
          <?php if (!include_slot('sidebar')): ?>
          <?php endif ?>
        </div>
        <div class="span10">
      
          <?php include_partial('global/flashes') ?>  
      
          <?php echo $sf_content ?>
            
        </div> <!-- /main -->
      </div>
    </div> <!-- /container -->

  </body>
</html>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:31,代码来源:__bootstrap_2_10.php


示例8: include_slot

        ?>
" />                
                                </div>
                    <?php 
    }
    ?>
 
                </p>

            </fieldset>

        </form>
        </div>
</div>
<?php 
    include_slot('define_work_week_end');
}
?>
<script type="text/javascript">
        //<![CDATA[
        var permissions = {
            canRead: <?php 
echo $workWeekPermissions->canRead() ? 'true' : 'false';
?>
,
            canCreate: <?php 
echo $workWeekPermissions->canCreate() ? 'true' : 'false';
?>
,            
            canUpdate: <?php 
echo $workWeekPermissions->canUpdate() ? 'true' : 'false';
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:defineWorkWeekSuccess.php


示例9: include_slot

</td>
<?php 
    }
    ?>

</tr>
<?php 
}
?>

</tbody>
</table>

<div class="block bottomBox">
<?php 
include_slot('calendar_pager');
?>
</div>

<?php 
if ($is_community || $isSelf) {
    ?>
<div class="partsInfo">
<?php 
    if ($add_schedule) {
        ?>
<p class="note_schedule">※<?php 
        echo __('You can add schedule to click %img%.', array('%img%' => image_tag('/opCalendarPlugin/images/icon_schedule.gif', array('alt' => __('Add schedule')))));
        ?>
</p>
<?php 
开发者ID:nise-nabe,项目名称:opCalendarPlugin,代码行数:31,代码来源:indexSuccess.php


示例10: include_slot

"><?php 
echo sfConfig::get('app_site_name');
?>
</a></h1>
		<p id="slogan"><?php 
echo sfConfig::get('app_site_slogan');
?>
</p>
	</div>

	<!-- content-wrap starts here -->
	<div id="content-wrap"><div id="content">
              <div id="sidebar" >
                  <h3>About this file</h3>
                  <?php 
include_slot('SideBar');
?>
		</div>
		<div id="main">
    <?php 
echo $sf_content;
?>
                    	</div>

	<!-- content-wrap ends here -->
	</div></div>

	<?php 
include_partial('global/footer');
?>
  </body>
开发者ID:jamespaulmuir,项目名称:cotinga,代码行数:31,代码来源:previewlayout.php


示例11: include_slot

<h1><?php 
include_slot('header', 'All Articles');
?>
</h1>

<?php 
include_partial('hello/articles', array('articles' => $articles));
开发者ID:rightsymfony,项目名称:msad,代码行数:7,代码来源:articleSuccess.php


示例12: __

echo __('Bug Tracker');
?>
</a></li>                        
                    </ul>
                </div>-->
            </div> <!-- branding -->      
            
            <?php 
include_component('core', 'mainMenu');
?>

            <div id="content">

                  <?php 
echo $sf_content;
?>

            </div> <!-- content -->
          
        </div> <!-- wrapper -->
        
        <div id="footer">
            <?php 
include_partial('global/copyright');
?>
        </div> <!-- footer -->        
        
        
<?php 
include_slot('footer', get_partial('global/footer'));
开发者ID:EFForg,项目名称:lemonhrm,代码行数:30,代码来源:freshorange.php


示例13: include_slot

          </td>
          <td class="column_right">


            <?php 
include_slot('blogWidget');
?>

            <?php 
include_slot('bannersOnRightWidget');
?>



            <?php 
include_slot('bannersOnRightBWidget');
?>
            <div class="boxseparator"></div>



        <?php 
//include_partial('global/topbox')
?>
        <?php 
//include_partial('global/centerbox')
?>
        <?php 
include_partial('global/footer');
?>
</body>
开发者ID:vcgato29,项目名称:poff,代码行数:31,代码来源:layout_old.php


示例14: include_slot

		<div id="header">
			<div class="content">
				<h1>
				</h1>
				<div id="opcions">
					<?php 
include_slot('opcions');
?>
				</div>
			</div>
		</div>
		<div id="content">
			<div id="central">	
				<div class="sidebar">
					<?php 
include_slot('sidebar');
?>
				</div>
				<div class="content">
					<?php 
echo $sf_content;
?>
				</div>
			</div>
			<div id="footer">
				<div class="content">
					<span class="footer_bar">
						<?php 
include_component('index', 'footer');
?>
					</span>
开发者ID:vmorant,项目名称:ttupf,代码行数:31,代码来源:index_contingut_layout.php


示例15: include_customizes

echo $options->getRaw('lastRow');
include_customizes($id, 'lastRow');
?>
</table>
<?php 
end_slot();
?>

<?php 
if ($hasRequiredField) {
    echo __('%0% is required field.', array('%0%' => '<strong>*</strong>'));
}
?>

<?php 
include_slot('form_table');
?>

<div class="operation">
<ul class="moreInfo button">
<li>
<?php 
foreach ($forms as $form) {
    echo $form->renderHiddenFields();
}
?>
<input type="submit" class="input_submit" value="<?php 
echo $options['button'];
?>
" />
</li>
开发者ID:te-koyama,项目名称:openpne,代码行数:31,代码来源:_partsForm.php


示例16: include_http_metas

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
  <head>
    <?php 
include_http_metas();
?>
    <?php 
include_metas();
?>
    <title><?php 
include_slot('title', 'COPIsim - Administration');
?>
</title>
    <link rel="shortcut icon" href="<?php 
echo $sf_request->getRelativeUrlRoot();
?>
/images/favicon.ico" />
    <?php 
include_stylesheets();
?>
    <?php 
include_javascripts();
?>
  </head>
  <body>
    <div id="container">
      <div id="header">
	<span id="titre"><a href="<?php 
echo url_for('@homepage');
?>
"><?php 
开发者ID:googlecode-mirror,项目名称:copisim,代码行数:31,代码来源:layout.php


示例17: end_slot

?>
~<?php 
echo $form['value_max']->render();
?>
</td>
</tr>
</table>
<?php 
end_slot();
?>

<?php 
if ($formType === 'input' || $formType === 'textarea') {
    include_slot('advanced_settings_text');
} elseif ($formType === 'date') {
    include_slot('advanced_settings_date');
}
?>

<?php 
echo $form->renderHiddenFields();
?>
<input type="submit" value="<?php 
echo $form->isNew() ? __('Add') : __('Modify');
?>
" />
</form>
</div>

<?php 
echo javascript_tag('
开发者ID:shotaatago,项目名称:OpenPNE3,代码行数:31,代码来源:editSuccess.php


示例18: include_component

    <div class="navbar navbar-fixed-top navbar-inverse">
      <?php include_component('sfAdminDash','header'); ?>
    </div> <!-- /navbar -->

    <div class="container">
            
      <div class="hidden-desktop">
      <?php include_slot('breadcrump') ?>
      </div>

      <div class="row">
        <div class="span2 visible-desktop">
          <?php if (!include_slot('sidebar')): ?>
            --no sidebar--
          <?php endif ?>
        </div>
        <div class="span10">
      
          <?php include_partial('global/flashes') ?>  

          <h1><?php include_slot('header') ?></h1>
      
          <?php echo $sf_content ?>
            
        </div> <!-- /main -->
      </div>
    </div> <!-- /container -->

  </body>
</html>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:30,代码来源:__bootstrap.php


示例19: include_http_metas

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
include_http_metas();
include_metas();
?>

<title><?php 
if (!include_slot('title')) {
    ?>
JoTAG<?php 
}
?>
</title>
<link rel="shortcut icon" href="/favicon.ico" />
<!--[if IE]>
	<script type="text/javascript" src="<?php 
echo sfConfig::get("app_general_base_path");
?>
js/jotag/iepngfix_tilebg.js"></script>
<![endif]-->
</head>
<body>
<div id="startwrapper">
	<?php 
echo $sf_content;
?>
</div>
</body>
开发者ID:psskhal,项目名称:symfony-sample,代码行数:31,代码来源:layout_simple.php


示例20: include_slot

<div class="centerboxleft">
        <?php 
include_slot('bannerCycleWidget');
?>
        <?php 
include_slot('productGroupsPics');
?>


		<?php 
include_slot('newsArchivePage');
?>
		<?php 
include_slot('searchResults');
?>
        <?php 
include_slot('article');
?>
        <?php 
include_slot('productPage');
?>
    
        

        
</div>
开发者ID:vcgato29,项目名称:poff,代码行数:26,代码来源:_centerboxleft.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP include_spip函数代码示例发布时间:2022-05-15
下一篇:
PHP include_partial_from_folder函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap