Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
64dd801c
Commit
64dd801c
authored
May 21, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #334 from creocoder/bootstrap-alert-widget-bugfixes
yii\bootstrap\Alert bugfixes and commentfixes
parents
0c9a65e9
bff96357
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Alert.php
yii/bootstrap/Alert.php
+5
-5
No files found.
yii/bootstrap/Alert.php
View file @
64dd801c
...
...
@@ -8,7 +8,6 @@
namespace
yii\bootstrap
;
use
Yii
;
use
yii\base\Widget
;
use
yii\helpers\ArrayHelper
;
use
yii\helpers\Html
;
...
...
@@ -22,7 +21,7 @@ use yii\helpers\Html;
* 'body' => 'Say hello...',
* 'closeButton' => array(
* 'label' => '×',
*
'tag' => 'a'
*
'tag' => 'a',
* ),
* ));
* ```
...
...
@@ -33,8 +32,8 @@ use yii\helpers\Html;
* ```php
* Alert::begin(array(
* 'closeButton' => array(
*
'label' => '×'
*
)
*
'label' => '×',
*
),
* ));
*
* echo 'Say hello...';
...
...
@@ -42,7 +41,7 @@ use yii\helpers\Html;
* Alert::end();
* ```
*
* @see http://twitter.github.io/bootstrap/javascript.html#
modal
s
* @see http://twitter.github.io/bootstrap/javascript.html#
alert
s
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @since 2.0
*/
...
...
@@ -70,6 +69,7 @@ class Alert extends Widget
*/
public
$closeButton
=
array
();
/**
* Initializes the widget.
*/
...
...
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