Commit 78630e56fc2f269c8fbee7a79e7f2746df4e0773
1 parent
6fabfc65
- footer links
- bug fix package
Showing
2 changed files
with
43 additions
and
3 deletions
Show diff stats
console/migrations/m180601_112037_alter_table_package.php
0 → 100644
| 1 | +<?php | |
| 2 | + | |
| 3 | +use yii\db\Migration; | |
| 4 | + | |
| 5 | +/** | |
| 6 | + * Class m180601_112037_alter_table_package | |
| 7 | + */ | |
| 8 | +class m180601_112037_alter_table_package extends Migration | |
| 9 | +{ | |
| 10 | + /** | |
| 11 | + * {@inheritdoc} | |
| 12 | + */ | |
| 13 | + public function safeUp() | |
| 14 | + { | |
| 15 | + $this->addColumn('package', 'image_id', $this->integer()); | |
| 16 | + } | |
| 17 | + | |
| 18 | + /** | |
| 19 | + * {@inheritdoc} | |
| 20 | + */ | |
| 21 | + public function safeDown() | |
| 22 | + { | |
| 23 | + $this->dropColumn('package', 'image_id'); | |
| 24 | + } | |
| 25 | + | |
| 26 | + /* | |
| 27 | + // Use up()/down() to run migration code without a transaction. | |
| 28 | + public function up() | |
| 29 | + { | |
| 30 | + | |
| 31 | + } | |
| 32 | + | |
| 33 | + public function down() | |
| 34 | + { | |
| 35 | + echo "m180601_112037_alter_table_package cannot be reverted.\n"; | |
| 36 | + | |
| 37 | + return false; | |
| 38 | + } | |
| 39 | + */ | |
| 40 | +} | ... | ... |
frontend/views/layouts/main.php
| ... | ... | @@ -317,8 +317,8 @@ |
| 317 | 317 | <li><a href="<?=Url::to(['site/about'])?>">О нас</a></li> |
| 318 | 318 | <li><a href="<?=Url::to(['site/about'])?>">Контакты</a></li> |
| 319 | 319 | <li><a href="#" class="new"><span>Второе мнение</span></a></li> |
| 320 | - <li><a href="#">Вопрос-ответ</a></li> | |
| 321 | - <li><a href="#">Отзывы</a></li> | |
| 320 | + <li><a href="<?=Url::to(['site/questions'])?>">Вопрос-ответ</a></li> | |
| 321 | + <li><a href="<?=Url::to(['site/comments'])?>">Отзывы</a></li> | |
| 322 | 322 | </ul> |
| 323 | 323 | </div> |
| 324 | 324 | |
| ... | ... | @@ -358,7 +358,7 @@ |
| 358 | 358 | <div class="col-xs-12 col-sm-12 studio-wrapp"> |
| 359 | 359 | <div class="all-rights-txt">© Все права защищены, 2018. ABClinic</div> |
| 360 | 360 | <div class="link-studio"> |
| 361 | - <a href="#">Создание сайтов</a> | |
| 361 | + <a href="http://artweb.ua">Создание сайтов</a> | |
| 362 | 362 | </div> |
| 363 | 363 | </div> |
| 364 | 364 | </div> | ... | ... |