diff --git a/views/layouts/main.php b/views/layouts/main.php index 30246b1..3ffbf0f 100644 --- a/views/layouts/main.php +++ b/views/layouts/main.php @@ -14,8 +14,8 @@ app\config\AppAsset::register($this); - - <?php echo Html::encode($this->title); ?> + + <?=Html::encode($this->title); ?> head(); ?> @@ -45,16 +45,16 @@ app\config\AppAsset::register($this); ?>
- isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], ]); ?> - +
diff --git a/views/site/about.php b/views/site/about.php index 967b8fe..e4070a8 100644 --- a/views/site/about.php +++ b/views/site/about.php @@ -8,11 +8,11 @@ $this->title = 'About'; $this->params['breadcrumbs'][] = $this->title; ?>
-

title); ?>

+

title); ?>

This is the About page. You may modify the following file to customize its content:

- +
diff --git a/views/site/contact.php b/views/site/contact.php index 55113cc..450e06b 100644 --- a/views/site/contact.php +++ b/views/site/contact.php @@ -12,7 +12,7 @@ $this->title = 'Contact'; $this->params['breadcrumbs'][] = $this->title; ?>
-

title); ?>

+

title); ?>

session->hasFlash('contactFormSubmitted')): ?> @@ -29,16 +29,16 @@ $this->params['breadcrumbs'][] = $this->title;
'contact-form']); ?> - field($model, 'name'); ?> - field($model, 'email'); ?> - field($model, 'subject'); ?> - field($model, 'body')->textArea(['rows' => 6]); ?> - field($model, 'verifyCode')->widget(Captcha::className(), [ + field($model, 'name'); ?> + field($model, 'email'); ?> + field($model, 'subject'); ?> + field($model, 'body')->textArea(['rows' => 6]); ?> + field($model, 'verifyCode')->widget(Captcha::className(), [ 'options' => ['class' => 'form-control'], 'template' => '
{image}
{input}
', ]); ?>
- 'btn btn-primary']); ?> + 'btn btn-primary']); ?>
diff --git a/views/site/error.php b/views/site/error.php index 024e27d..eef87f6 100644 --- a/views/site/error.php +++ b/views/site/error.php @@ -13,10 +13,10 @@ $this->title = $name; ?>
-

title); ?>

+

title); ?>

- +

diff --git a/views/site/login.php b/views/site/login.php index 7efb8b7..34936af 100644 --- a/views/site/login.php +++ b/views/site/login.php @@ -11,7 +11,7 @@ $this->title = 'Login'; $this->params['breadcrumbs'][] = $this->title; ?>