Adjusted short tags
This commit is contained in:
parent
4bf4751320
commit
e2e05c2383
@ -14,8 +14,8 @@ app\config\AppAsset::register($this);
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="<?=Yii::$app->charset; ?>"/>
|
<meta charset="<?= Yii::$app->charset ?>"/>
|
||||||
<title><?=Html::encode($this->title); ?></title>
|
<title><?= Html::encode($this->title) ?></title>
|
||||||
<?php $this->head(); ?>
|
<?php $this->head(); ?>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -48,13 +48,13 @@ app\config\AppAsset::register($this);
|
|||||||
<?=Breadcrumbs::widget([
|
<?=Breadcrumbs::widget([
|
||||||
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
|
'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],
|
||||||
]); ?>
|
]); ?>
|
||||||
<?=$content; ?>
|
<?= $content ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p class="pull-left">© My Company <?=date('Y'); ?></p>
|
<p class="pull-left">© My Company <?= date('Y') ?></p>
|
||||||
<p class="pull-right"><?=Yii::powered(); ?></p>
|
<p class="pull-right"><?= Yii::powered() ?></p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
@ -8,11 +8,11 @@ $this->title = 'About';
|
|||||||
$this->params['breadcrumbs'][] = $this->title;
|
$this->params['breadcrumbs'][] = $this->title;
|
||||||
?>
|
?>
|
||||||
<div class="site-about">
|
<div class="site-about">
|
||||||
<h1><?=Html::encode($this->title); ?></h1>
|
<h1><?= Html::encode($this->title) ?></h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
This is the About page. You may modify the following file to customize its content:
|
This is the About page. You may modify the following file to customize its content:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<code><?=__FILE__; ?></code>
|
<code><?= __FILE__ ?></code>
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,7 +12,7 @@ $this->title = 'Contact';
|
|||||||
$this->params['breadcrumbs'][] = $this->title;
|
$this->params['breadcrumbs'][] = $this->title;
|
||||||
?>
|
?>
|
||||||
<div class="site-contact">
|
<div class="site-contact">
|
||||||
<h1><?=Html::encode($this->title); ?></h1>
|
<h1><?= Html::encode($this->title) ?></h1>
|
||||||
|
|
||||||
<?php if (Yii::$app->session->hasFlash('contactFormSubmitted')): ?>
|
<?php if (Yii::$app->session->hasFlash('contactFormSubmitted')): ?>
|
||||||
|
|
||||||
@ -29,16 +29,16 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-5">
|
<div class="col-lg-5">
|
||||||
<?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
|
<?php $form = ActiveForm::begin(['id' => 'contact-form']); ?>
|
||||||
<?=$form->field($model, 'name'); ?>
|
<?= $form->field($model, 'name') ?>
|
||||||
<?=$form->field($model, 'email'); ?>
|
<?= $form->field($model, 'email') ?>
|
||||||
<?=$form->field($model, 'subject'); ?>
|
<?= $form->field($model, 'subject') ?>
|
||||||
<?=$form->field($model, 'body')->textArea(['rows' => 6]); ?>
|
<?= $form->field($model, 'body')->textArea(['rows' => 6]) ?>
|
||||||
<?=$form->field($model, 'verifyCode')->widget(Captcha::className(), [
|
<?=$form->field($model, 'verifyCode')->widget(Captcha::className(), [
|
||||||
'options' => ['class' => 'form-control'],
|
'options' => ['class' => 'form-control'],
|
||||||
'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
|
'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
|
||||||
]); ?>
|
]); ?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?=Html::submitButton('Submit', ['class' => 'btn btn-primary']); ?>
|
<?= Html::submitButton('Submit', ['class' => 'btn btn-primary']) ?>
|
||||||
</div>
|
</div>
|
||||||
<?php ActiveForm::end(); ?>
|
<?php ActiveForm::end(); ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -13,10 +13,10 @@ $this->title = $name;
|
|||||||
?>
|
?>
|
||||||
<div class="site-error">
|
<div class="site-error">
|
||||||
|
|
||||||
<h1><?=Html::encode($this->title); ?></h1>
|
<h1><?= Html::encode($this->title) ?></h1>
|
||||||
|
|
||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger">
|
||||||
<?=nl2br(Html::encode($message)); ?>
|
<?= nl2br(Html::encode($message)) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -11,7 +11,7 @@ $this->title = 'Login';
|
|||||||
$this->params['breadcrumbs'][] = $this->title;
|
$this->params['breadcrumbs'][] = $this->title;
|
||||||
?>
|
?>
|
||||||
<div class="site-login">
|
<div class="site-login">
|
||||||
<h1><?=Html::encode($this->title); ?></h1>
|
<h1><?= Html::encode($this->title) ?></h1>
|
||||||
|
|
||||||
<p>Please fill out the following fields to login:</p>
|
<p>Please fill out the following fields to login:</p>
|
||||||
|
|
||||||
@ -24,9 +24,9 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
],
|
],
|
||||||
]); ?>
|
]); ?>
|
||||||
|
|
||||||
<?=$form->field($model, 'username'); ?>
|
<?= $form->field($model, 'username') ?>
|
||||||
|
|
||||||
<?=$form->field($model, 'password')->passwordInput(); ?>
|
<?= $form->field($model, 'password')->passwordInput() ?>
|
||||||
|
|
||||||
<?=$form->field($model, 'rememberMe', [
|
<?=$form->field($model, 'rememberMe', [
|
||||||
'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
|
'template' => "<div class=\"col-lg-offset-1 col-lg-3\">{input}</div>\n<div class=\"col-lg-8\">{error}</div>",
|
||||||
@ -34,7 +34,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-lg-offset-1 col-lg-11">
|
<div class="col-lg-offset-1 col-lg-11">
|
||||||
<?=Html::submitButton('Login', ['class' => 'btn btn-primary']); ?>
|
<?= Html::submitButton('Login', ['class' => 'btn btn-primary']) ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user