Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
Yii Bootstrap 3
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Common
Yii Bootstrap 3
Commits
21b46c23
Commit
21b46c23
authored
Apr 27, 2012
by
Sam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed using itemsCssClass in BootThumbnails
parent
5c014d8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
BootThumbnails.php
widgets/BootThumbnails.php
+4
-0
No files found.
widgets/BootThumbnails.php
View file @
21b46c23
...
@@ -21,6 +21,8 @@ class BootThumbnails extends BootListView
...
@@ -21,6 +21,8 @@ class BootThumbnails extends BootListView
*/
*/
public
function
renderItems
()
public
function
renderItems
()
{
{
echo
CHtml
::
openTag
(
$this
->
itemsTagName
,
array
(
'class'
=>
$this
->
itemsCssClass
))
.
"
\n
"
;
$data
=
$this
->
dataProvider
->
getData
();
$data
=
$this
->
dataProvider
->
getData
();
if
(
!
empty
(
$data
))
if
(
!
empty
(
$data
))
...
@@ -41,5 +43,7 @@ class BootThumbnails extends BootListView
...
@@ -41,5 +43,7 @@ class BootThumbnails extends BootListView
}
}
else
else
$this
->
renderEmptyText
();
$this
->
renderEmptyText
();
echo
CHtml
::
closeTag
(
$this
->
itemsTagName
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment