From 4bf475132013128c51d7ff7f7798a2b7dba06a79 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Fri, 18 Oct 2013 14:04:15 +0400 Subject: [PATCH] Replaced " - - <?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; ?>