Browse Source

Comments cleanup.

Cleaned up a few comments ... hope its not my OCD again... :-)
tags/2.0.0-beta
Kartik Visweswaran 11 years ago
parent
commit
817cbc175a
  1. 4
      apps/advanced/frontend/widgets/Alert.php

4
apps/advanced/frontend/widgets/Alert.php

@ -48,10 +48,10 @@ class Alert extends \yii\bootstrap\Widget
$appendCss = isset($this->options['class']) ? ' ' . $this->options['class'] : '';
foreach ($flashes as $type => $message) {
/* initialize css class for each alert box in loop */
/* initialize css class for each alert box */
$this->options['class'] = 'alert-' . $this->alertTypes[$type] . $appendCss;
/* assign unique id to each alert box in the loop */
/* assign unique id to each alert box */
$this->options['id'] = $this->getId() . '-' . $type;
echo \yii\bootstrap\Alert::widget([

Loading…
Cancel
Save