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
77642af8
Commit
77642af8
authored
Feb 05, 2013
by
Sergey Klimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Обращённый набор изменений: 0d6c862b2fbe
parent
813fc479
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
TbAlert.php
widgets/TbAlert.php
+5
-3
No files found.
widgets/TbAlert.php
View file @
77642af8
...
@@ -113,11 +113,13 @@ class TbAlert extends CWidget
...
@@ -113,11 +113,13 @@ class TbAlert extends CWidget
echo
CHtml
::
openTag
(
'div'
,
$alert
[
'htmlOptions'
]);
echo
CHtml
::
openTag
(
'div'
,
$alert
[
'htmlOptions'
]);
if
(
!
isset
(
$alert
[
'closeText'
]))
if
(
$this
->
closeText
!==
false
&&
!
isset
(
$alert
[
'closeText'
]))
$alert
[
'closeText'
]
=
$this
->
closeText
;
$alert
[
'closeText'
]
=
$this
->
closeText
;
else
$alert
[
'closeText'
]
=
false
;
if
(
$alert
[
'closeText'
]
!==
false
)
if
(
$alert
[
'closeText'
]
!==
false
)
echo
'<a
href="#"
class="close" data-dismiss="alert">'
.
$alert
[
'closeText'
]
.
'</a>'
;
echo
'<a class="close" data-dismiss="alert">'
.
$alert
[
'closeText'
]
.
'</a>'
;
echo
Yii
::
app
()
->
user
->
getFlash
(
$type
);
echo
Yii
::
app
()
->
user
->
getFlash
(
$type
);
...
...
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