header.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <html lang="es">
  3. <head>
  4. <title><?php echo (empty($this->titulo) ? '' : ($this->titulo . ' | ')) . $this->webApp()->getConfig('TITULO');?></title>
  5. <?php $this->renderInclude("head");?>
  6. </head>
  7. <body class="theme-<?php echo $this->webApp()->getTheme();?>">
  8. <div id="wrapper"<?php echo (isset($_COOKIE["sidebar-contracted"]) and $_COOKIE["sidebar-contracted"] == "1") ? ' class="contracted"' : '';?>>
  9. <?php $this->renderInclude("menu");?>
  10. <!-- Page Content -->
  11. <div id="page-wrapper">
  12. <div class="container-fluid">
  13. <?php if (isset($nav)) { ?>
  14. <div class="row">
  15. <div class="col-sm-4">
  16. <?php } ?>
  17. <h1 class="page-title"><?php echo $this->titulo;?></h1>
  18. <?php if (isset($nav)) { ?>
  19. </div>
  20. <div class="col-sm-8">
  21. <nav class="btn-toolbar"><?php echo $nav;?></nav>
  22. </div>
  23. </div>
  24. <?php } ?>
  25. <?php $this->renderInclude("notifications");?>