1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* This file is part of the Cjt Terabyte LLC [yii2-extension]. |
5
|
|
|
* |
6
|
|
|
* (c) Cjt Terabyte LLC [yii2-extension] <http://github.com/cjtterabytesoft>. |
7
|
|
|
* For the full copyright and license information, please view the LICENSE.md. |
8
|
|
|
* file that was distributed with this source code. |
9
|
|
|
* |
10
|
|
|
* @link http://www.cjtterabyte.com. |
11
|
|
|
* @author Wilmer Arámbula <[email protected]>. |
12
|
|
|
* @copyright (c) 2015 Cjt Terabyte LLC. |
13
|
|
|
* @Extension: [yii2-adminlte-advanced]. |
14
|
|
|
* @Themes: AdminLTE - Views [Frontend - site/about]. |
15
|
|
|
* @since 1.0 |
16
|
|
|
*/ |
17
|
|
|
|
18
|
|
|
use yii\helpers\Html; |
19
|
|
|
|
20
|
|
|
/* @var $this yii\web\View */ |
21
|
|
|
$this->title = 'About Us'; |
22
|
|
|
$this->params['breadcrumbs'][] = Yii::t('adminlte',$this->title); |
23
|
|
|
|
24
|
|
|
?> |
25
|
|
|
|
26
|
|
|
<?= Html::beginTag('div', ['class' => 'form-box', 'id' => 'site-about','style' => 'min-width: 280px']) ?> |
27
|
|
|
<?= Html::beginTag('div', ['class' => 'header']) ?> |
28
|
|
|
<?= Html::tag('h3', Html::encode(Yii::t('adminlte',$this->title)), ['class' => 'panel-title-custom']) ?> |
29
|
|
|
<?= Html::endTag('div') ?> |
30
|
|
|
<?= Html::beginTag('div', ['class' => 'body']) ?> |
31
|
|
|
<?= Html::tag('p', '') ?> |
32
|
|
|
<?= Html::tag('p', Yii::t('adminlte', 'This is the About page. You may modify the following file to customize its content:'), ['style' => ' text-align: justify;']) ?> |
33
|
|
|
<?= Html::tag('p', '') ?> |
34
|
|
|
<?= Html::tag('code', __FILE__) ?> |
35
|
|
|
<?= Html::tag('p', '') ?> |
36
|
|
|
<?= Html::endTag('div') ?> |
37
|
|
|
<?= Html::endTag('div') ?> |
|
|
|
|
38
|
|
|
|
Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.
A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.