Example #1
0
/**
 * Status Bar Page
 *
 * @category   WebApp.Page.StatusBar
 * @package    /pages/status_bar.php
 * @author     Huw Jones <*****@*****.**>
 * @copyright  2014 Huw Jones
 */
/*
 * /resources/breadcrumb.php
 */
$user = $page->parent->user;
require_once __MODULE__ . '/core/resources/breadcrumb.php';
$breadcrumb = new Breadcrumb($page, $page->mySQL_r);
$breadcrumb->build();
?>
<div class="container">
<div class="row" id="status_bar">
  <div class="col-sm-9" style="padding-left:0px;">
<?php 
print $breadcrumb->getBreadcrumb();
?>
  </div>
  <div class="col-sm-3">
    <div class="btn-group pull-right">
<?php 
if ($page->parent->config->config['core']['database']) {
    if ($user->is_loggedIn()) {
        print '      <a href="#" class="btn btn-default">' . $user->get_fullName() . '</a>' . PHP_EOL;
        print '      <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">' . PHP_EOL;