Commit 64aac2e6acdbc009a3b87da32cede2c5c6d7b17d
1 parent
72084890
+ fix после восстановления git файлов Ярика
Showing
2 changed files
with
5 additions
and
4 deletions
Show diff stats
frontend/controllers/SiteController.php
... | ... | @@ -261,7 +261,7 @@ class SiteController extends Controller |
261 | 261 | 'model' => $model, |
262 | 262 | ]); |
263 | 263 | } |
264 | -<<<<<<< 1fd2bdb43fc5cfdcf100cac8b72e67fd81e7f0fa | |
264 | + | |
265 | 265 | public function actionOptions() { |
266 | 266 | $option_model = new Options(); |
267 | 267 | $option_list = $option_model->find()->where(1)->all(); |
... | ... | @@ -303,7 +303,7 @@ class SiteController extends Controller |
303 | 303 | $data['option_values'] = $option_values; |
304 | 304 | return $this->render('options', ['options' => $data, 'post' => $post]); |
305 | 305 | } |
306 | -======= | |
306 | + } | |
307 | 307 | |
308 | 308 | public function actionFeedback() { |
309 | 309 | $form[0] = Option::create(\Yii::$app->request->post(), 'Feedback', 1, [['name' => 'one_name', 'template' => 'text', 'translate' => false], ['name' => 'phone', 'template' => 'text', 'translate' => false], ['name' => 'message', 'template' => 'text', 'translate' => false]], false); |
... | ... | @@ -312,6 +312,6 @@ class SiteController extends Controller |
312 | 312 | } else { |
313 | 313 | return $this->render('index'); |
314 | 314 | } |
315 | ->>>>>>> 0e0edb85a79343e4d020ff05378179e2323b21bd | |
315 | + | |
316 | 316 | } |
317 | 317 | } | ... | ... |
frontend/views/layouts/main.php
... | ... | @@ -35,11 +35,12 @@ AppAsset::register($this); |
35 | 35 | ] |
36 | 36 | ]); |
37 | 37 | |
38 | +/* | |
38 | 39 | echo Nav::widget([ |
39 | 40 | 'options' => ['class' => 'navbar-nav navbar-right'], |
40 | 41 | 'items' => (new MenuTree())->build('TOP') |
41 | 42 | ]); |
42 | -/* | |
43 | + | |
43 | 44 | $menuItems = [ |
44 | 45 | ['label' => 'Home', 'url' => ['/site/index']], |
45 | 46 | ['label' => 'About', 'url' => ['/site/about']], | ... | ... |