diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php index 588b307..e36311f 100644 --- a/common/messages/ru/app.php +++ b/common/messages/ru/app.php @@ -15,6 +15,8 @@ return [ 'Purchase' => 'Заказать', 'dev1' => 'заводы', + + 'Name' => 'Имя', 'Preferred' => 'Избранное', 'do time' => 'изготовления', 'and size' => 'и размера', @@ -78,7 +80,10 @@ return [ 'Thanks for request' => 'Спасибо за Ваш запрос!', 'from 2004' => 'с 2004 года', 'build/montage' => 'строительно-монтажные', + 'build' => 'строительные', + + 'Phone' => 'Телефон', 'typographers' => 'типографии', 'textyle' => 'текстильные', 'transport' => 'транспортные', @@ -90,7 +95,7 @@ return [ 'Company Title' => 'ArtPlast', - + 'Email' => 'Email', 'Description 1' => 'Завод-производитель «Артпласт» предлагает отличный профессиональный скотч. Наш продукт выдерживает растяжение, высокие нагрузки, не теряет своих качеств при низких и высоких температурах.', diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php index 555812a..e464a27 100644 --- a/common/messages/ua/app.php +++ b/common/messages/ua/app.php @@ -28,8 +28,9 @@ return [ 'do time' => 'виготовлення', 'and size' => 'та розміру', 'and logos' => 'та логотипи', - 'and many other dev' => 'і багато інших підприємств', + 'and many other dev' => 'та багато інших підприємств', + 'build' => 'будiвельнi', 'Companies' => 'компанії', @@ -60,8 +61,8 @@ return [ 'Support' => 'Допомога', - 'Call me!' => 'перетелефонувати мені', - 'Call me' => 'Перетелефонувати мені', + 'Call me!' => 'передзвонити мені', + 'Call me' => 'Передзвонити мені', 'Advantages!' => 'Переваги', 'of production' => 'продукції', @@ -87,11 +88,12 @@ return [ 'Thanks for request' => 'Дякуємо за Ваш запит!', 'from 2004' => 'з 2004 року', 'build/montage' => 'будівельно-монтажні', - + 'Name' => 'Iм`я', 'typographers' => 'типографії', 'textyle' => 'текстильні', 'transport' => 'транспортні', - + 'Phone' => 'Телефон', + 'Email' => 'Email', 'Ukr' => 'укр', 'Packing tape' => 'Пакувальний скотч', diff --git a/frontend/assets/AppAsset.php b/frontend/assets/AppAsset.php index 577d5f4..0602e23 100755 --- a/frontend/assets/AppAsset.php +++ b/frontend/assets/AppAsset.php @@ -13,6 +13,7 @@ public $baseUrl = '@web'; public $css = [ "css/style.css", + 'css/change.css' ]; public $js = [ diff --git a/frontend/config/main.php b/frontend/config/main.php index 965f790..5ad2bb6 100755 --- a/frontend/config/main.php +++ b/frontend/config/main.php @@ -8,6 +8,13 @@ require( __DIR__ . '/params.php' ), require( __DIR__ . '/params-local.php' ) ); + + $send="Отправить"; + if(strpos($_SERVER['REQUEST_URI'],"/ua")!==false) { + $send = "Вiдправити"; + } + + return [ 'id' => 'app-frontend', @@ -117,7 +124,7 @@ ], 'buttonTemplate' => '
{button}
', - 'buttonContent' => ' Отправить', + 'buttonContent' => ''.$send, 'sendEmail' => true, 'email' => 'alkhonko@gmail.com', 'subject' => 'test tt22', diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 67b93ea..7607fe0 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -27,7 +27,7 @@ $seo=\Yii::$app->get('seo'); - + <?= Html::encode($seo->title) ?> diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php index f3e3df8..70a3154 100755 --- a/frontend/views/site/index.php +++ b/frontend/views/site/index.php @@ -3,7 +3,7 @@ use common\models\Settings; use frontend\widgets\LanguageWidget; use yii\helpers\Html; -use yii\widgets\ActiveForm; +use artbox\core\models\Language; @@ -88,7 +88,7 @@ $module=\Yii::$app->getModule('contact'); - + @@ -196,7 +196,7 @@ $module=\Yii::$app->getModule('contact');
-
+
@@ -300,7 +300,7 @@ $module=\Yii::$app->getModule('contact');
-
+

diff --git a/frontend/web/css/change.css b/frontend/web/css/change.css new file mode 100644 index 0000000..bbbab36 --- /dev/null +++ b/frontend/web/css/change.css @@ -0,0 +1,10 @@ +.phone-header .modal-link { + bottom:0; +} +.fixed-header .phone-header .modal-link { + bottom:-15px; +} +.mail-header table tr td a.sep-lang-a{ + color:#333; + text-decoration: none; +} diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css index aa8a825..ed1ce06 100644 --- a/frontend/web/css/style.css +++ b/frontend/web/css/style.css @@ -661,7 +661,9 @@ section, header, nav, article, aside, footer, address { height: 51px; } .fixed-header .phone-header .modal-link { font-size: 14px; - bottom: -12px; } + bottom: -12px; + bottom:0; +} .section-header { padding-top: 15px; } diff --git a/frontend/web/images/favicon.ico b/frontend/web/images/favicon.ico new file mode 100644 index 0000000..308249a Binary files /dev/null and b/frontend/web/images/favicon.ico differ diff --git a/plast/css/style.css b/plast/css/style.css index aa8a825..4ed5392 100644 --- a/plast/css/style.css +++ b/plast/css/style.css @@ -765,7 +765,7 @@ section, header, nav, article, aside, footer, address { text-decoration: underline; position: absolute; left: 23px; - bottom: 5px; } + bottom: 10px; } .phone-header .modal-link:hover { text-decoration: none; } -- libgit2 0.21.4