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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
Alert.php
yii/bootstrap/Alert.php
+6
-7
No files found.
yii/bootstrap/Alert.php
View file @
64dd801c
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
namespace
yii\bootstrap
;
namespace
yii\bootstrap
;
use
Yii
;
use
Yii
;
use
yii\base\Widget
;
use
yii\helpers\ArrayHelper
;
use
yii\helpers\ArrayHelper
;
use
yii\helpers\Html
;
use
yii\helpers\Html
;
...
@@ -22,7 +21,7 @@ use yii\helpers\Html;
...
@@ -22,7 +21,7 @@ use yii\helpers\Html;
* 'body' => 'Say hello...',
* 'body' => 'Say hello...',
* 'closeButton' => array(
* 'closeButton' => array(
* 'label' => '×',
* 'label' => '×',
*
'tag' => 'a'
*
'tag' => 'a',
* ),
* ),
* ));
* ));
* ```
* ```
...
@@ -33,8 +32,8 @@ use yii\helpers\Html;
...
@@ -33,8 +32,8 @@ use yii\helpers\Html;
* ```php
* ```php
* Alert::begin(array(
* Alert::begin(array(
* 'closeButton' => array(
* 'closeButton' => array(
*
'label' => '×'
*
'label' => '×',
*
)
*
),
* ));
* ));
*
*
* echo 'Say hello...';
* echo 'Say hello...';
...
@@ -42,7 +41,7 @@ use yii\helpers\Html;
...
@@ -42,7 +41,7 @@ use yii\helpers\Html;
* Alert::end();
* 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>
* @author Antonio Ramirez <amigo.cobos@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
...
@@ -70,6 +69,7 @@ class Alert extends Widget
...
@@ -70,6 +69,7 @@ class Alert extends Widget
*/
*/
public
$closeButton
=
array
();
public
$closeButton
=
array
();
/**
/**
* Initializes the widget.
* Initializes the widget.
*/
*/
...
@@ -150,4 +150,4 @@ class Alert extends Widget
...
@@ -150,4 +150,4 @@ class Alert extends Widget
),
$this
->
closeButton
);
),
$this
->
closeButton
);
}
}
}
}
}
}
\ No newline at end of file
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