Browse Source

Fix apps phpDoc and short tags

tags/2.0.0-beta
slavcodev 11 years ago
parent
commit
93dd629411
  1. 6
      apps/advanced/backend/views/layouts/main.php
  2. 8
      apps/advanced/frontend/views/layouts/main.php
  3. 9
      apps/basic/views/layouts/main.php

6
apps/advanced/backend/views/layouts/main.php

@ -6,8 +6,8 @@ use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
/**
* @var $this \yii\web\View
* @var $content string
* @var \yii\web\View $this
* @var string $content
*/
AppAsset::register($this);
?>
@ -47,7 +47,7 @@ AppAsset::register($this);
<div class="container">
<?= Breadcrumbs::widget([
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]); ?>
]) ?>
<?= $content ?>
</div>

8
apps/advanced/frontend/views/layouts/main.php

@ -1,14 +1,14 @@
<?php
use frontend\config\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use frontend\config\AppAsset;
use frontend\widgets\Alert;
/**
* @var $this \yii\web\View
* @var $content string
* @var \yii\web\View $this
* @var string $content
*/
AppAsset::register($this);
?>
@ -51,7 +51,7 @@ AppAsset::register($this);
<div class="container">
<?= Breadcrumbs::widget([
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]); ?>
]) ?>
<?= Alert::widget() ?>
<?= $content ?>
</div>

9
apps/basic/views/layouts/main.php

@ -3,12 +3,13 @@ use yii\helpers\Html;
use yii\bootstrap\Nav;
use yii\bootstrap\NavBar;
use yii\widgets\Breadcrumbs;
use app\config\AppAsset;
/**
* @var $this \yii\web\View
* @var $content string
* @var \yii\web\View $this
* @var string $content
*/
app\config\AppAsset::register($this);
AppAsset::register($this);
?>
<?php $this->beginPage(); ?>
<!DOCTYPE html>
@ -47,7 +48,7 @@ app\config\AppAsset::register($this);
<div class="container">
<?= Breadcrumbs::widget([
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
]); ?>
]) ?>
<?= $content ?>
</div>

Loading…
Cancel
Save