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

PHP theme_view函数代码示例

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

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



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

示例1: theme_view

<?php

echo theme_view('general/header');
echo theme_view('general/nav');
?>


<div id="page-wrapper">
	<div class="container-fluid">
		<?php 
echo Template::content();
?>
	</div><!-- /.container-fluid -->
</div><!-- /#page-wrapper -->
<?php 
echo theme_view('general/footer');
?>
 
开发者ID:lhzhou,项目名称:weng_anchor_admin,代码行数:17,代码来源:index.php


示例2: theme_view

<?php

Assets::add_js(array('bootstrap.min.js', 'jwerty.js'), 'external', true);
echo theme_view('partials/_header');
?>

<div class="body">
	<div class="container-fluid">
	        <?php 
echo Template::message();
?>
	
	        <?php 
echo isset($content) ? $content : Template::content();
?>
	</div>
</div>

<?php 
echo theme_view('partials/_footer');
开发者ID:brkrishna,项目名称:freelance,代码行数:20,代码来源:index.php


示例3: theme_view

<?php

echo theme_view('header');
?>
<div class="container"><!-- Start of Main Container -->
    <?php 
echo theme_view('_sitenav');
echo Template::message();
echo isset($content) ? $content : Template::content();
echo theme_view('footer');
开发者ID:ivantcholakov,项目名称:Bonfire,代码行数:10,代码来源:index.php


示例4: theme_view

<?php

echo theme_view('_header');
?>
<style>body { background: #f5f5f5; }</style>

<div class="container"> <!-- Start of Main Container -->

    <?php 
echo isset($content) ? $content : Template::content();
?>

<?php 
echo theme_view('_footer', array('show' => false));
开发者ID:brkrishna,项目名称:freelance,代码行数:14,代码来源:login.php


示例5: function

<?php

/*
|--------------------------------------------------------------------------
| Custom Theme Routes
|--------------------------------------------------------------------------
|
| In this file you can over ride any [routes](src/Wardrobe/routes.php) and
| add new ones based on your needs. For information on routing please see
| the following documentation:
| http://laravel.com/docs/routing
| http://laravel.com/docs/controllers
|
*/
$wardrobeControllers = 'Wardrobe\\Core\\Controllers\\';
Route::get('/tags', function () {
    return View::make(theme_view('tags'));
});
// Example of over riding a default route:
// Route::get('enviar/{slug}', array('uses' => $wardrobeControllers.'PostController@show', 'as' => 'wardrobe.posts.show'));
// Route::get('post/{slug}', function()
// {
//     return App::abort(404, 'Page not found');
// });
开发者ID:ryanrobertsname,项目名称:giftertipster.com,代码行数:24,代码来源:routes.php


示例6: theme_style

 /**
  * Generate a link to a CSS file.
  *
  * @param  string  $url
  * @param  array   $attributes
  * @param  bool    $secure
  * @return string
  */
 function theme_style($url, $attributes = array(), $secure = null)
 {
     $url = theme_view() . $url;
     $defaults = array('media' => 'all', 'type' => 'text/css', 'rel' => 'stylesheet');
     $attributes = $attributes + $defaults;
     $attributes['href'] = $this->url->asset($url, $secure);
     return '<link' . $this->attributes($attributes) . '>' . PHP_EOL;
 }
开发者ID:Aylchen,项目名称:laravel5,代码行数:16,代码来源:HtmlBuilder.php


示例7: theme_view

<html lang="en">
<?php 
echo theme_view('header');
?>
<body id="home">
<div class="splash">
<div class="container">
<?php 
echo theme_view('navbar');
?>
	<section class="content">
		<?php 
if (isset($enable_breadcrumb) && !empty($enable_breadcrumb)) {
    ?>
			<?php 
    echo theme_view('breadcrumb');
    ?>
		<?php 
}
?>
		<?php 
echo Template::message();
echo isset($content) ? $content : Template::content();
?>
	</section>
</div>
<div class="footer">
	<div class="container">
		<?php 
if (ENVIRONMENT == 'development') {
    ?>
开发者ID:ci-blox,项目名称:Ignition-Go,代码行数:31,代码来源:index.php


示例8: theme_view

if (ENVIRONMENT == 'development') {
    ?>
				<p style="float: right; margin-right: 80px;">Page rendered in {elapsed_time} seconds, using {memory_usage}.</p>
			<?php 
}
?>
	
			<p>Powered Proudly by <a href="http://cibonfire.com" target="_blank">Bonfire <?php 
echo BONFIRE_VERSION;
?>
</a></p>
		</div>
	</footer>
	
	<?php 
echo theme_view('parts/modal_login');
?>

	<div id="debug"></div>
  <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  <script>window.jQuery || document.write('<script src="<?php 
echo js_path();
?>
jquery-1.7.2.min.js"><\/script>')</script>

  <!-- This would be a good place to use a CDN version of jQueryUI if needed -->
	<?php 
echo Assets::js();
?>
开发者ID:triasfahrudin,项目名称:siska21,代码行数:30,代码来源:_footer.php


示例9: isset

      <!-- Main Header -->
  <header class="main-header">

    <!-- Logo -->
    <a href="/admin/dashboard/index" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><strong>IGO</strong></span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><strong><?php 
echo isset($site_title) ? $site_title : 'Ignition Go';
?>
</strong></span>
    </a>
<?php 
echo theme_view('navbar');
echo theme_view('sidebar');
?>
  
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
     <section class="content-header">
      <h1>
        <strong><?php 
echo isset($page_title) ? $page_title : 'Admin Dashboard';
?>
        <small><strong><?php 
echo isset($page_subtitle) ? $page_subtitle : '';
?>
</small>
      </h1>
开发者ID:ci-blox,项目名称:Ignition-Go,代码行数:31,代码来源:index.php


示例10: function

            return Redirect::to('wardrobe');
        });
    });
});
Route::group(Config::get('core::routes.admin_group_rules'), function () use($wardrobeControllers) {
    Route::get('/', array('uses' => $wardrobeControllers . 'AdminController@index', 'as' => 'wardrobe.admin.index'));
    Route::get('logout', array('uses' => $wardrobeControllers . 'LoginController@destroy', 'as' => 'wardrobe.admin.logout'));
    Route::get('login', array('uses' => $wardrobeControllers . 'LoginController@create', 'as' => 'wardrobe.admin.login'));
    Route::post('login', array('uses' => $wardrobeControllers . 'LoginController@store'));
    Route::get('login/remind', array('uses' => $wardrobeControllers . 'LoginController@remindForm', 'as' => 'wardrobe.admin.remindForm'));
    Route::post('login/remind', array('uses' => $wardrobeControllers . 'LoginController@remindSend'));
});
Route::group(Config::get('core::routes.api_group_rules'), function () use($wardrobeControllers) {
    Route::get('/', array('as' => 'wardrobe.api.index'));
    Route::resource('post', $wardrobeControllers . 'Api\\PostController');
    Route::resource('tag', $wardrobeControllers . 'Api\\TagController');
    Route::resource('user', $wardrobeControllers . 'Api\\UserController');
    Route::controller('dropzone', $wardrobeControllers . 'Api\\DropzoneController');
});
if (Config::get('core::wardrobe.handles_404')) {
    App::missing(function ($exception) {
        View::addLocation(public_path() . '/' . Config::get('core::wardrobe.theme_dir'));
        return Response::view(theme_view('404'), array(), 404);
    });
}
/**
 * Allows themes complete control to over ride routes or add new ones.
 */
if (file_exists($theme_routes = public_path() . '/' . Config::get('core::wardrobe.theme_dir') . '/' . Config::get('core::wardrobe.theme') . '/routes.php')) {
    include $theme_routes;
}
开发者ID:sekouzed,项目名称:core,代码行数:31,代码来源:routes.php


示例11: view

 function view($view = null, $data = [], $mergeData = [])
 {
     $factory = app('Illuminate\\Contracts\\View\\Factory');
     if (func_num_args() === 0) {
         return $factory;
     }
     return $factory->make(theme_view() . '.' . $view, $data, $mergeData);
 }
开发者ID:Aylchen,项目名称:laravel5,代码行数:8,代码来源:helpers.php


示例12: function

<?php

/*
|--------------------------------------------------------------------------
| Custom Theme Routes
|--------------------------------------------------------------------------
|
| In this file you can override any routes and add new ones based on your
| needs. For information on routing please see the following documentation:
| http://laravel.com/docs/routing
| http://laravel.com/docs/controllers
|
*/
Route::get('/about', function () {
    return View::make(theme_view('about'));
});
Route::get('/work', function () {
    return View::make(theme_view('work'));
});
开发者ID:koomai,项目名称:wardrobe-themes,代码行数:19,代码来源:routes.php


示例13: function

<?php

/*
|--------------------------------------------------------------------------
| Custom Theme Routes
|--------------------------------------------------------------------------
|
| In this file you can over ride any [routes](src/Wardrobe/routes.php) and
| add new ones based on your needs. For information on routing please see
| the following documentation:
| http://laravel.com/docs/routing
| http://laravel.com/docs/controllers
|
*/
$wardrobeControllers = 'Wardrobe\\Core\\Controllers\\';
Route::get('/blog/tags', function () {
    return View::make(theme_view('tags'));
});
Route::get('/blog/about', function () {
    return View::make(theme_view('pages.about'));
});
// Example of over riding a default route:
// Route::get('enviar/{slug}', array('uses' => $wardrobeControllers.'PostController@show', 'as' => 'wardrobe.posts.show'));
// Route::get('post/{slug}', function()
// {
//     return App::abort(404, 'Page not found');
// });
开发者ID:sevenredreturns,项目名称:ffxivcrafting,代码行数:27,代码来源:routes.php


示例14: theme_view

|               | skin-red                                |
|               | skin-green                              |
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed                                   |
|               | layout-boxed                            |
|               | layout-top-nav                          |
|               | sidebar-collapse                        |
|               | sidebar-mini                            |
|---------------------------------------------------------|
-->
*/
?>
<!DOCTYPE html>
<html lang="en">
<?php 
echo theme_view('header', array('adm_url' => $adm_url, 'adm_skincolor' => $adm_skincolor));
?>
<body class="hold-transition skin-<?php 
echo $adm_skincolor;
?>
 <?php 
echo $adm_layout;
?>
">
<div class="wrapper">
 <?php 
echo Template::message();
echo isset($content) ? $content : Template::content();
?>
   
</div>
开发者ID:ci-blox,项目名称:Ignition-Go,代码行数:31,代码来源:blank.php


示例15: anchor

        <p>Javascript is required to use Bonfire's admin.</p>
    </noscript>

    <!-- Navigation -->

    <nav class="navbar-static-top navbar-inverse navbar navbar-default navbar-custom">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header page-scroll">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>                
                <?php 
echo anchor('/', html_escape($this->settings_lib->item('site.title')), 'class="navbar-brand"');
if (isset($shortcut_data) && is_array($shortcut_data['shortcuts']) && is_array($shortcut_data['shortcut_keys']) && count($shortcut_data['shortcut_keys'])) {
    ?>
                <?php 
}
?>
            </div>
            <?php 
echo theme_view('_sitenav');
?>
        </div>
        <!-- /.container -->        
    </nav>    

    
开发者ID:bhushan0206,项目名称:KnowledgeDesk,代码行数:29,代码来源:header.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

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

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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