Commit 8c194d7c3db8339d3ce5081d8b9d8b75ce132382
1 parent
b6558af1
Устранен баг после восстановления #1
Showing
4 changed files
with
5 additions
and
8 deletions
Show diff stats
backend/views/layouts/left.php
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | [ |
31 | 31 | 'options' => ['class' => 'sidebar-menu'], |
32 | 32 | 'items' => [ |
33 | - ['label' => 'Страница', 'icon' => 'fa fa-file-code-o', 'url' => ['/page/']], | |
33 | + ['label' => Yii::t('app', 'Pages'), 'icon' => 'fa fa-file-code-o', 'url' => ['/page/']], | |
34 | 34 | ['label' => 'Каталог', 'icon' => 'fa fa-file-code-o', 'url' => ['/catalog/']], |
35 | 35 | ['label' => 'Меню', 'icon' => 'fa fa-file-code-o', 'url' => ['/menu/']], |
36 | 36 | ['label' => 'Заявки', 'icon' => 'fa fa-file-code-o', 'url' => ['/site/requests/']], | ... | ... |
common/modules/blog/controllers/DefaultController.php
common/translation/ru/app.php
frontend/models/Option.php
... | ... | @@ -126,13 +126,9 @@ class Option extends \yii\db\ActiveRecord |
126 | 126 | 'success' => false |
127 | 127 | ); |
128 | 128 | } |
129 | - | |
130 | -<<<<<<< 1fd2bdb43fc5cfdcf100cac8b72e67fd81e7f0fa | |
131 | - public static function create($post, $modeldb, $model_id, $fields) { | |
132 | -======= | |
129 | + | |
133 | 130 | public static function create($post, $modeldb, $model_id, $fields, $multiple) { |
134 | 131 | $multiple = boolval($multiple); |
135 | ->>>>>>> 0e0edb85a79343e4d020ff05378179e2323b21bd | |
136 | 132 | $model = new Option(); |
137 | 133 | $modellang = new OptionLang(); |
138 | 134 | if(!empty($post['Option'])) { | ... | ... |