Commit 7d68e4a7 by Crisu83

updated the demo

parent 947106a4
...@@ -1220,12 +1220,14 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin ...@@ -1220,12 +1220,14 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<?php $this->beginWidget('bootstrap.widgets.BootHero', array( <?php $this->beginWidget('bootstrap.widgets.BootHero', array(
'heading'=>'Hello, world!', 'heading'=>'Hello, world!',
)); ?> )); ?>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<p><?php $this->widget('bootstrap.widgets.BootButton', array( <p><?php $this->widget('bootstrap.widgets.BootButton', array(
'type'=>'primary', 'type'=>'primary',
'size'=>'large', 'size'=>'large',
'label'=>'Learn more', 'label'=>'Learn more',
)); ?></p> )); ?></p>
<?php $this->endWidget(); ?> <?php $this->endWidget(); ?>
<h4>Source code</h4> <h4>Source code</h4>
...@@ -1233,12 +1235,14 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin ...@@ -1233,12 +1235,14 @@ Yii::app()->user->setFlash('error', '<strong>Oh snap!</strong> Change a few thin
<?php echo $phpLighter->highlight("<?php \$this->beginWidget('bootstrap.widgets.BootHero', array( <?php echo $phpLighter->highlight("<?php \$this->beginWidget('bootstrap.widgets.BootHero', array(
'heading'=>'Hello, world!', 'heading'=>'Hello, world!',
)); ?> )); ?>
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
<p><?php \$this->widget('bootstrap.widgets.BootButton', array( <p><?php \$this->widget('bootstrap.widgets.BootButton', array(
'type'=>'primary', 'type'=>'primary',
'size'=>'large', 'size'=>'large',
'label'=>'Learn more', 'label'=>'Learn more',
)); ?></p> )); ?></p>
<?php \$this->endWidget(); ?>"); ?> <?php \$this->endWidget(); ?>"); ?>
<a class="top" href="#top">Back to top &uarr;</a> <a class="top" href="#top">Back to top &uarr;</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment