Skip to content

Commit

Permalink
updated yii-bootstrap components (prefix-change)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Sep 7, 2012
1 parent dbf402f commit d316ee6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion views/layouts/column2.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div id="sidebar">
<h4>Operations</h4>
<?php
$this->widget('bootstrap.widgets.BootMenu', array(
$this->widget('bootstrap.widgets.TbMenu', array(
'items' => $this->menu,
'htmlOptions' => array('class' => 'operations'),
));
Expand Down
8 changes: 4 additions & 4 deletions views/layouts/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
Yii::import('p3pages.modules.*');

$rootNode = P3Page::model()->findByAttributes(array('layout' => '_BootMenu'));
$this->widget('ext.crisu83.yii-bootstrap.widgets.BootNavbar', array(
$this->widget('ext.crisu83.yii-bootstrap.widgets.TbNavbar', array(
//'fluid' => true,
'collapse' => true,
'items' => array(
array(
'class' => 'bootstrap.widgets.BootMenu',
'class' => 'bootstrap.widgets.TbMenu',
/* 'items' => array(
array('label' => 'Home', 'url' => array('/site/index')),
array('label' => 'About', 'url' => array('/site/page', 'view' => 'about')),
Expand All @@ -51,7 +51,7 @@
),
//'<form class="navbar-search pull-left" action=""><input type="text" class="search-query span2" placeholder="Search"></form>',
array(
'class' => 'bootstrap.widgets.BootMenu',
'class' => 'bootstrap.widgets.TbMenu',
'htmlOptions' => array('class' => 'pull-right'),
'items' => array(
array(
Expand All @@ -67,7 +67,7 @@
)
),
array(
'class' => 'bootstrap.widgets.BootMenu',
'class' => 'bootstrap.widgets.TbMenu',
'htmlOptions' => array('class' => 'pull-right'),
'items' => array(
array('label' => 'Phundament 3', 'url' => '#', 'visible' => !Yii::app()->user->isGuest, 'items' => array(
Expand Down
4 changes: 2 additions & 2 deletions views/p3media/ckeditor/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<div class="row">
<div class="span12">
<?php
$this->widget('bootstrap.widgets.BootThumbnails', array(
$this->widget('bootstrap.widgets.TbThumbnails', array(
'dataProvider' => $model->search(),
'template' => "{pager}\n{items}",
'itemView' => '_thumb',
Expand All @@ -117,7 +117,7 @@ function select(id,title){
return false;
}
var identifier = $('#preset').val();
if (confirm('Select #'+id+' as \''+identifier+'\'?')) {
if (confirm('Select #'+id+' as \''+identifier+'\'?')) {
//alert(id+'-'+preset);
var split;
split = identifier.split('|')
Expand Down
4 changes: 2 additions & 2 deletions views/p3media/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<div class="row">
<div class="span12">
<?php
$this->widget('bootstrap.widgets.BootThumbnails', array(
$this->widget('bootstrap.widgets.TbThumbnails', array(
'dataProvider' => $model->search(),
'template' => "{pager}\n{items}",
'itemView' => '_thumb',
Expand All @@ -117,7 +117,7 @@ function select(id,title){
return false;
}
var identifier = $('#preset').val();
if (confirm('Select #'+id+' as \''+identifier+'\'?')) {
if (confirm('Select #'+id+' as \''+identifier+'\'?')) {
//alert(id+'-'+preset);
var split;
split = identifier.split('|')
Expand Down
4 changes: 2 additions & 2 deletions views/wiki/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
<div class="span10 offset2">

<?php
$this->widget('bootstrap.widgets.BootBreadcrumbs', array(
$this->widget('bootstrap.widgets.TbBreadcrumbs', array(
'links' => array($this->id => array('/wiki'), $page),
));
?>
</div>
<div class="span2">
<?php
$this->widget('bootstrap.widgets.BootMenu', array(
$this->widget('bootstrap.widgets.TbMenu', array(
'type' => 'list',
'items' => array_merge(array(array('label' => 'WIKI PAGES')), $items)
));
Expand Down

0 comments on commit d316ee6

Please sign in to comment.