?> <!-- 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();
<div class="page-bar"> <?php echo $this->breadcrumbs->show(); ?> </div> <?php template_body(); ?> </div> </div> </div> <!-- <div class="container-fluid">--> <?php file_partial('admin_footer'); echo js_jquery_extra_selectors(); echo js_bp_plugins(); echo js_mbp_helper(); echo js_scale_fix_ios(); echo js_imgsizer(); // BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) --> // BEGIN CORE PLUGINS --> //[if lt IE 9]> echo '<script src="../admin/assets/global/plugins/respond.min.js"></script>'; echo '<script src="../admin/assets/global/plugins/excanvas.min.js"></script>'; //[endif]--> // IMPORTANT! Load jquery-ui.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip --> echo '<script src="../admin/assets/global/plugins/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>'; echo '<script src="../admin/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>'; echo '<script src="../admin/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>';
<?php echo $module_details['description'] ? $module_details['description'] : ''; ?> <?php if ($this->uri->segment(2)) { echo '<span class="divider"> | </span>'; } ?> <?php if ($module_details['slug']) { ?> <?php echo anchor('admin/help/' . $module_details['slug'], lang('help_label'), array('title' => $module_details['name'] . ' ' . lang('help_label'), 'class' => 'modal')); ?> <?php } ?> </small> <?php file_partial('shortcuts'); ?> </div> </div> </div> <?php if (!empty($module_details['sections'])) { file_partial('sections'); }
<div class="container"> <div class="page-header"> <h1><?php echo $template['page_title']; ?> </h1> </div> <div class="row"> <div class="col-md-12"> <?php file_partial('messages'); ?> <?php echo form_open('', 'id="test_form" method="post" role="form"'); ?> <div class="form-group"> <label for="input">The input, JavaScript source:</label> <textarea id="input" name="input" class="form-control" rows="10" placeholder="Copy/paste your JavaScript source here."><?php echo $clear_form || $is_example ? form_prep($input, true) : set_value('input', $input, true); ?> </textarea> </div> <div class="form-group">
<div class="topbar" dir=<?php $vars = $this->load->_ci_cached_vars; echo $vars['lang']['direction']; ?>> <div class="wrapper"> <div id="logo"> <?php echo anchor('', $this->settings->site_name, 'target="_blank"'); ?> </div> <nav> <?php file_partial('navigation'); ?> </nav> </div> </div> <div class="subbar"> <div class="wrapper"> <h2><?php echo $module_details['name'] ? anchor('admin/'.$module_details['slug'], $module_details['name']) : lang('global:dashboard'); ?></h2> <small> <?php if ( $this->uri->segment(2) ) { echo ' | '; } ?> <?php echo $module_details['description'] ? $module_details['description'] : ''; ?> </small> <?php file_partial('shortcuts'); ?> </div> </div> <?php if ( ! empty($module_details['sections'])) file_partial('sections'); ?>
echo body_tag('id="page-top"'); ?> <!-- Wrap all page content here --> <div id="wrap"> <?php echo noscript(); echo unsupported_browser(); ?> <!-- Begin page content --> <div class="container"> <?php template_body(); ?> </div> </div> <?php 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'); file_partial('scripts'); template_partial('scripts'); echo div_debug(); echo body_close_tag(); echo html_close_tag();
</form> </div> <footer> Copyright © 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>
Administrator </header> <div id="profile"> <?php echo Asset::img('user.png', array('class' => 'user-icon'));?> Hello <span class="name">Jon Doe</span> </div> <!-- By default, this section is made for 4 icons, see the doc to learn how to change this, in "basic markup explained" --> <?php file_partial('access'); ?> <section class="navigable"> <!-- MENU SIDEBAR VERDE <?php file_partial('big-menu-users'); ?>--> </section> <ul class="unstyled-list"> </ul> </div> <!-- End content wrapper --> <!-- This is optional --> <footer id="menu-footer"> <form action="<?php echo current_url(); ?>" id="change_language" method="get"> <select id="validation-select" class="select validate[required]" name="lang" onchange="this.form.submit();"> <?php foreach($this->config->item('supported_languages') as $key => $lang): ?>
?> </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 © 2010 PyroCMS -- Version <?php echo CMS_VERSION; ?> --
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- Always force latest IE rendering engine & Chrome Frame --> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <?php Asset::js('jquery/jquery.js'); Asset::js('jquery/jquery.js'); Asset::css('admin/basic_layout.css'); echo Asset::render(); ?> <!-- metadata needs to load before some stuff --> <?php file_partial('metadata'); ?> <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> </head> <body> <?php $this->load->view('admin/partials/notices'); ?> <?php echo $template['body']; ?> </body> </html>
public function file_partial() { ob_start(); file_partial($this->get_attribute(0)); return ob_get_clean(); }