Advertisement
christiansalazarh

la vista column1 que usa cruge y bootstrap

Nov 23rd, 2012
967
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.76 KB | None | 0 0
  1. <?php $this->beginContent('//layouts/main'); ?>
  2.         <!-- menu principal de cabecera inicio -->
  3.         <?php $this->widget('bootstrap.widgets.BootNavbar', array(
  4.                 'fixed'=>false,
  5.                 'brand'=>Yii::app()->name,
  6.                 'brandUrl'=>'index.php?r=site/index',
  7.                 'collapse'=>true, // requires bootstrap-responsive.css
  8.                 'items'=>array(
  9.                         array(
  10.                                 'class'=>'bootstrap.widgets.BootMenu',
  11.                                 'items'=>array(
  12.                                         array('label'=>'Inicio', 'url'=>array('/site/index'), 'active'=>true),
  13.                                         Yii::app()->uimanager->menuCurrentUser,
  14.                                 ),
  15.                         ),
  16.                         array(
  17.                                 'class'=>'bootstrap.widgets.BootMenu',
  18.                                 'htmlOptions'=>array('class'=>'pull-left'),
  19.                                 'items'=>Yii::app()->uimanager->menuAdministradorUsuarios,
  20.                         ),
  21.                         array(
  22.                                 'class'=>'bootstrap.widgets.BootMenu',
  23.                                 'htmlOptions'=>array('class'=>'pull-left'),
  24.                                 'items'=>Yii::app()->uimanager->menuSistema,
  25.                         ),
  26.                 ),
  27.         )); ?>
  28.         <!-- menu principal de cabecera fin -->
  29.        
  30.         <!-- menu lateral inicio -->
  31.         <div class="container-fluid">
  32.                 <div class="row-fluid">
  33.                         <?php echo $content; ?>
  34.                 </div>
  35.         </div>
  36.         <!-- menu lateral fin -->
  37.        
  38. <?php $this->endContent(); ?>
  39. </body>
  40. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement