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


PHP template_partial函数代码示例

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


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

示例1: file_partial

echo '<link href="../admin/assets/global/plugins/jquery-file-upload/css/jquery.fileupload.css" rel="stylesheet"/>';
echo '<link href="../admin/assets/global/plugins/jquery-file-upload/css/jquery.fileupload-ui.css" rel="stylesheet"/>';
// END PAGE LEVEL SCRIPTS -->
// BEGIN THEME STYLES -->
echo '<link href="../admin/assets/global/css/components.css" id="style_components" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/global/css/plugins.css" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/admin/layout/css/layout.css" rel="stylesheet" type="text/css"/>';
echo '<link id="style_color" href="../admin/assets/admin/layout/css/themes/darkblue.css" rel="stylesheet" type="text/css"/>';
echo '<link href="../admin/assets/admin/layout/css/custom.css" rel="stylesheet" type="text/css"/>';
// END THEME STYLES -->
file_partial('css');
template_partial('css');
echo js_platform();
echo js_selectivizr();
echo js_jquery();
template_partial('head');
echo head_close_tag();
echo '<body class="page-header-fixed page-quick-sidebar-push-content page-quick-sidebar-full-height">';
?>

    
<?php 
file_partial('admin_navbar');
?>
        
<!-- BEGIN CONTAINER -->
<div class="page-container">
    <!-- BEGIN SIDEBAR -->
    <div class="page-sidebar-wrapper">
             <?php 
file_partial('admin_sidebar');
开发者ID:patilstar,项目名称:HMVC-WITH-CI,代码行数:31,代码来源:admin.php

示例2: template_body

?>

        <!-- Begin page content -->
        <div class="container" id="content-container">
<?php 
template_body();
?>
        </div>

    </div>

<?php 
file_partial('site_example_footer');
echo js_jquery_extra_selectors();
echo js_bp_plugins();
echo js_mbp_helper();
echo js_scale_fix_ios();
echo js_imgsizer();
echo js('lib/bootstrap-3/bootstrap.min.js');
echo js('lib/jasny-bootstrap-3/jasny-bootstrap.min.js');
echo js('lib/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js');
file_partial('scripts');
template_partial('scripts');
echo js('lib/google-code-prettify/prettify.js');
echo js('site_example.js');
echo div_debug();
if ($this->settings->get('google_analytics_enabled')) {
    file_partial('google_analytics');
}
echo body_close_tag();
echo html_close_tag();
开发者ID:Balamir,项目名称:starter-public-edition-3,代码行数:31,代码来源:site_example.php

示例3: template_partial

 * @license The MIT License, http://opensource.org/licenses/MIT
 */
?>

        <style>
            .bootstrap-dialog .modal-header.bootstrap-dialog-draggable {
                cursor: move;
            }
        </style>

        <section>

            <div class="container">

<?php 
template_partial('subnavbar');
?>

                <div class="page-header">
                    <h2><?php 
echo $template['page_title'];
?>
</h2>
                </div>

                <div class="text-center" style="margin-bottom: 20px;">
                    <button class="btn btn-default btn-sm" data-toggle="modal" id="assign_ratings" data-target="#ratings_modal"><i class="fa fa-star-o"></i> <?php 
echo $this->lang->line('ui_assign_rating');
?>
</button>
                </div>
开发者ID:Qnatz,项目名称:starter-public-edition-4,代码行数:31,代码来源:assign_rating.php

示例4: file_partial

<?php 
file_partial('store_navbar');
?>

        <!-- Begin page content -->
        <div class="container">
<?php 
echo noscript('<div class="alert alert-warning text-center">' . $this->lang->line('ui_noscript') . '</div>');
echo unsupported_browser('<div class="alert alert-warning text-center">' . $this->lang->line('ui_unsupported_browser') . '</div>');
template_body();
?>
        </div>

    </div>

<?php 
file_partial('store_footer');
echo js_jquery_extra_selectors();
echo js_bp_plugins();
echo js_mbp_helper();
echo js_scale_fix_ios();
echo js_imgsizer();
echo js('lib/bootstrap-3/bootstrap.min.js');
echo js('lib/jasny-bootstrap-3/jasny-bootstrap.min.js');
echo js('lib/jquery-ajax-queue/jquery-ajax-queue.js');
file_partial('scripts');
template_partial('scripts');
template_partial('handle_unauthenticated_ajax');
echo div_debug();
echo body_close_tag();
echo html_close_tag();
开发者ID:patilstar,项目名称:HMVC-WITH-CI,代码行数:31,代码来源:store.php

示例5: template_partial

</section>

<section class="item">
	<div class="content">
	
		<?php 
template_partial('filters');
?>
	
		<?php 
echo form_open('admin/users/action');
?>
		
			<div id="filter-stage">
				<?php 
template_partial('tables/users');
?>
			</div>
		
			<div class="table_action_buttons">
				<?php 
$this->load->view('admin/partials/buttons', array('buttons' => array('activate', 'delete')));
?>
			</div>
	
		<?php 
echo form_close();
?>
	</div>
</section>
开发者ID:blekedeg,项目名称:lbhpers,代码行数:30,代码来源:index.php

示例6: anchor

		</form>
		</div>
		
		<footer>
			Copyright &copy; 2010 PyroCMS<br />
			Version <?php echo CMS_VERSION .' '.CMS_EDITION; ?><br />
			Rendered in {elapsed_time} sec. using {memory_usage}.
		</footer>
	</section>
	<section id="content-wrapper">
		<header id="page-header">
			<h1><?php echo $module_details['name'] ? anchor('admin/' . $module_details['slug'], $module_details['name']) : lang('cp_admin_home_title'); ?></h1>
			<p><?php echo $module_details['description'] ? $module_details['description'] : ''; ?></p>
			<?php if($module_details['slug']): ?>
				<p id="page-header-help"><?php echo anchor('admin/help/'.$module_details['slug'], '?', array('title' => lang('help_label').'->'.$module_details['name'], 'class' => 'modal')); ?></p>
			<?php endif; ?>
		</header>

			<?php template_partial('shortcuts'); ?>

			<?php template_partial('filters'); ?>

			<?php file_partial('notices'); ?>

		<div id="content">
			<?php echo $template['body']; ?>
		</div>
	</section>
</div>
</body>
</html>
开发者ID:JamieLomas,项目名称:pyrocms,代码行数:31,代码来源:default.php

示例7: template_partial

</h4>
</section>

<section class="item">

	<?php 
template_partial('filters');
?>

	<?php 
echo form_open('admin/blog/action');
?>

		<div id="filter-stage">
			<?php 
template_partial('tables/posts');
?>
		</div>

		<div class="table_action_buttons">
			<?php 
$this->load->view('admin/partials/buttons', array('buttons' => array('delete', 'publish')));
?>
		</div>

	<?php 
echo form_close();
?>

</section>
开发者ID:namdum,项目名称:pyrocms,代码行数:30,代码来源:index.php

示例8: defined

<?php

defined('BASEPATH') or exit('No direct script access allowed.');
/**
 * @author Ivan Tcholakov <ivantcholakov@gmail.com>, 2015
 * @license The MIT License, http://opensource.org/licenses/MIT
 */
template_partial('pjax_subnavbar');
?>

        <section>

            <div class="container">

                <div class="page-header">
                    <h1><?php 
echo $template['page_title'];
?>
</h1>
                </div>

                <div class="row">

                    <div class="col-md-4">

                        <p>A page containing an image</p>

                        <p><img src="<?php 
echo image_path('playground.jpg');
?>
" class="thumbnail img-responsive" /></p>
开发者ID:Qnatz,项目名称:starter-public-edition-4,代码行数:31,代码来源:page_1.php

示例9: anchor

echo anchor('sites/logout', lang('cp_logout_label'));
?>
				<span id="settings"><?php 
echo anchor('sites/settings', lang('site.settings'), 'class="modal"');
?>
</span>
			</section>

		</header>

			<?php 
template_partial('shortcuts');
?>

			<?php 
template_partial('filters');
?>

			<?php 
file_partial('notices');
?>

		<div id="content">
			<?php 
echo $template['body'];
?>
		</div>
	</section>
	
	<footer>
		Copyright &copy; 2010 PyroCMS &nbsp; -- &nbsp;
开发者ID:phonglanpls,项目名称:jz-proj-2012,代码行数:31,代码来源:default.php

示例10: partial

 public function partial()
 {
     ob_start();
     template_partial($this->get_attribute(0));
     return ob_get_clean();
 }
开发者ID:acamboy,项目名称:starter-public-edition-3,代码行数:6,代码来源:Template.php


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