Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
4d0111a1
Commit
4d0111a1
authored
Mar 22, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1103 - Правки английской версии 0.1
parent
57694e89
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
81 additions
and
25 deletions
+81
-25
common/modules/blog/views/post/_sidebar.php
common/modules/blog/views/post/_sidebar.php
+4
-4
frontend/messages/ru-RU/blog.php
frontend/messages/ru-RU/blog.php
+7
-0
frontend/messages/ru-RU/contacts.php
frontend/messages/ru-RU/contacts.php
+21
-0
frontend/messages/ru-RU/footer.php
frontend/messages/ru-RU/footer.php
+4
-0
frontend/messages/ru-RU/form.php
frontend/messages/ru-RU/form.php
+15
-0
frontend/messages/ru-RU/index.php
frontend/messages/ru-RU/index.php
+6
-0
frontend/views/layouts/footer-index.php
frontend/views/layouts/footer-index.php
+10
-10
frontend/views/layouts/footer-short.php
frontend/views/layouts/footer-short.php
+1
-1
frontend/views/layouts/footer.php
frontend/views/layouts/footer.php
+1
-1
frontend/views/site/contacts.php
frontend/views/site/contacts.php
+12
-9
No files found.
common/modules/blog/views/post/_sidebar.php
View file @
4d0111a1
...
...
@@ -11,7 +11,7 @@ use common\models\Settings;
<div
class=
"col-md-4 col-xs-4 col-sm-12"
>
<aside
class=
"sidebar"
>
<div
class=
"sidebar_module"
>
<h2>
Категории
</h2>
<h2>
<?=
\Yii
::
t
(
'blog'
,
'Categories'
);
?>
</h2>
<div
class=
"sidebar_module_body"
>
<?php
$tags
=
PostTag
::
find
()
...
...
@@ -32,10 +32,10 @@ use common\models\Settings;
<div
class=
"sidebar_module"
>
<div
class=
"sidebar_module_body"
>
<a
href=
"#feedback"
class=
"sidebar_btn popup-form"
>
Предложить тему
<?=
\Yii
::
t
(
'blog'
,
'Offer a subject'
);
?>
<div
class=
"blog_toltip_right"
>
Предложите свою тему и мы напишем
</div>
</a>
<a
href=
"#article"
class=
"sidebar_btn popup-form"
>
Послать статью
</a>
<a
href=
"#article"
class=
"sidebar_btn popup-form"
>
<?=
\Yii
::
t
(
'blog'
,
'Send an article'
)
?>
</a>
</div>
</div>
...
...
@@ -47,7 +47,7 @@ use common\models\Settings;
$posts
=
$posts
->
andWhere
([
'active'
=>
1
])
->
orderBy
(
'RAND()'
)
->
limit
(
3
)
->
all
();
if
(
$posts
)
:
?>
<div
class=
"sidebar_module"
>
<h2>
Популярные
</h2>
<h2>
<?=
\Yii
::
t
(
'blog'
,
'Most popular'
)
?>
</h2>
<div
class=
"sidebar_module_body"
>
<?php
foreach
(
$posts
as
$post
)
:
?>
...
...
frontend/messages/ru-RU/blog.php
0 → 100644
View file @
4d0111a1
<?php
return
[
'Categories'
=>
'Категории'
,
'Offer a subject'
=>
'Предложить тему'
,
'Send an article'
=>
'Предложите свою тему и мы напишем'
,
'Most popular'
=>
'Популярные'
,
];
\ No newline at end of file
frontend/messages/ru-RU/contacts.php
0 → 100644
View file @
4d0111a1
<?php
return
[
'Contacts'
=>
'Контакная информация'
,
'Moscow'
=>
'Москва'
,
'Phone'
=>
'Телефон'
,
'Address'
=>
'Адрес'
,
'Kazan'
=>
'Казань'
,
'Call me'
=>
'Заказать обратный звонок'
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
];
\ No newline at end of file
frontend/messages/ru-RU/footer.php
0 → 100644
View file @
4d0111a1
<?php
return
[
'Powered by Taskon'
=>
'Powered by Taskon <br /> Собственная разработка Арт Проект'
,
];
\ No newline at end of file
frontend/messages/ru-RU/form.php
0 → 100644
View file @
4d0111a1
<?php
return
[
'Your name'
=>
'Ваше имя'
,
'Telephone'
=>
'Телефон'
,
'Short text about your project or idea'
=>
'Опишите в двух словах ваш проект'
,
'Choose file'
=>
'Выбрать файл'
,
'Drag any files here or choose in folder'
=>
'Перетащите файл в данную область<br/> или выберите файл с компьютера'
,
'Call me'
=>
'Заказать звонок'
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
''
=>
''
,
];
\ No newline at end of file
frontend/messages/ru-RU/index.php
0 → 100644
View file @
4d0111a1
<?php
return
[
'Have a project or idea - send us'
=>
'Рассчитать проект'
,
'We are ready to talk about any idea or can prepare an offer for your project'
=>
'Готовы обсудить любой проект. Есть идея или готовое ТЗ по проекту - отправьте его нам!'
,
'Submit'
=>
'Рассчитать проект'
,
];
\ No newline at end of file
frontend/views/layouts/footer-index.php
View file @
4d0111a1
...
...
@@ -15,8 +15,8 @@ FileUploadBundle::register($this);
<div
class=
"row"
>
<div
class=
"col-md-12 col-sm-12"
>
<div
class=
"calk_form"
>
<span
class=
"calk_form__title"
>
Рассчитать проект
</span>
<span
class=
"calk_form_subtitle"
>
Готовы обсудить любой проект. Есть идея или готовое ТЗ по проекту - отправьте его нам!
</span>
<span
class=
"calk_form__title"
>
<?=
\Yii
::
t
(
'index'
,
'Have a project or idea - send us'
);
?>
</span>
<span
class=
"calk_form_subtitle"
>
<?=
\Yii
::
t
(
'index'
,
'We are ready to talk about any idea or can prepare an offer for your project'
);
?>
</span>
<?php
...
...
@@ -50,7 +50,7 @@ FileUploadBundle::register($this);
'template'
=>
'<div class="row"><div class="col-sm-4">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
'Ваше имя'
,
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Your name'
)
,
'class'
=>
'footer_form__input'
]);
?>
...
...
@@ -58,7 +58,7 @@ FileUploadBundle::register($this);
'template'
=>
'<div class="row"><div class="col-sm-4">{input}</div></div>'
,
'errorOptions'
=>
[]
])
->
textInput
([
'placeholder'
=>
'Телефон'
,
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Telephone'
)
,
'class'
=>
'footer_form__input'
]);
?>
...
...
@@ -71,7 +71,7 @@ FileUploadBundle::register($this);
]);
?>
<?php
echo
$form
->
field
(
$model
,
'text'
)
->
textArea
([
'placeholder'
=>
'Опишите в двух словах ваш проект'
,
'placeholder'
=>
\Yii
::
t
(
'form'
,
'Short text about your project or idea'
)
,
'class'
=>
'footer_form__textarea'
])
->
label
(
false
);
?>
...
...
@@ -79,17 +79,17 @@ FileUploadBundle::register($this);
<div
class=
"file_upload_bt"
>
<div
class=
"file-upload"
>
<label>
<span>
Выбрать файл
</span>
<span>
<?=
\Yii
::
t
(
'form'
,
'Choose file'
)
?>
</span>
</label>
</div>
<!--<input type="text" id="filename" class="filename" disabled>-->
<div
class=
"file_drop"
>
Перетащите файл в данную область
<br/>
или выберите файл с компьютера
</div>
<div
class=
"file_drop"
>
<?=
\Yii
::
t
(
'form'
,
'Drag any files here or choose in folder'
)
?>
</div>
</div>
</div>
<div
id=
"files-zone"
>
</div>
<?php
echo
Html
::
submitButton
(
'Рассчитать проект'
,
[
'class'
=>
'btn-default save-button'
]);
?>
<?php
echo
Html
::
submitButton
(
\Yii
::
t
(
'index'
,
'Submit'
)
,
[
'class'
=>
'btn-default save-button'
]);
?>
</div>
...
...
@@ -101,7 +101,7 @@ FileUploadBundle::register($this);
<div
class=
"col-md-4 col-xs-4 col-sm-12"
>
<a
href=
"mailto:info@task-on.com"
class=
"foot_mail"
>
info@task-on.com
</a>
</div>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
><a
href=
"#zvonok_form"
class=
"zvonok_bt popup-form"
><span>
Заказать звонок
</span></a></div>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
><a
href=
"#zvonok_form"
class=
"zvonok_bt popup-form"
><span>
<?=
\Yii
::
t
(
'form'
,
'Call me'
)
?>
</span></a></div>
<div
class=
"col-md-4 col-xs-4 col-sm-12"
>
<!-- <div class="phone_hover_foot">Стоимость звонка 0 руб,<br/> в том числе с мобильного</div> -->
<span
class=
"foot_phone"
>
<?=
\common\models\Settings
::
getValue
(
'content-phone'
);
?>
</span>
...
...
@@ -121,7 +121,7 @@ FileUploadBundle::register($this);
</div>
<div
class=
"col-md-3 col-xs-3 col-sm-12"
>
<div
class=
"taskon"
><img
src=
"/images/taskon.png"
height=
"31"
width=
"100"
alt=
""
></div>
<div
class=
"copyring"
>
Powered by Taskon
<br
/>
Собственная разработка Арт Проект
</div>
<div
class=
"copyring"
>
<?=
\Yii
::
t
(
'footer'
,
'Powered by Taskon'
)
?>
</div>
</div>
</div>
</div>
...
...
frontend/views/layouts/footer-short.php
View file @
4d0111a1
...
...
@@ -15,7 +15,7 @@
</div>
<div
class=
"col-md-3 col-xs-3 col-sm-12"
>
<div
class=
"taskon"
><img
src=
"/images/taskon.png"
height=
"31"
width=
"100"
alt=
""
></div>
<div
class=
"copyring"
>
Powered by Taskon
<br>
Собственная разработка Арт Проект
</div>
<div
class=
"copyring"
>
<?=
\Yii
::
t
(
'footer'
,
'Powered by Taskon'
)
?>
</div>
</div>
</div>
</div>
...
...
frontend/views/layouts/footer.php
View file @
4d0111a1
...
...
@@ -24,7 +24,7 @@
</div>
<div
class=
"col-md-3 col-xs-3 col-sm-12"
>
<div
class=
"taskon"
><img
src=
"/images/taskon.png"
height=
"31"
width=
"100"
alt=
""
></div>
<div
class=
"copyring"
>
Powered by Taskon
<br
/>
Собственная разработка Арт Проект
</div>
<div
class=
"copyring"
>
<?=
\Yii
::
t
(
'footer'
,
'Powered by Taskon'
)
?>
</div>
</div>
</div>
</div>
...
...
frontend/views/site/contacts.php
View file @
4d0111a1
...
...
@@ -4,10 +4,13 @@ use yii\helpers\Html;
use
\common\models\Settings
;
use
\common\modules\bids\models\Bid
;
use
\common\modules\languages\models\Languages
;
use
frontend\assets\FileUploadBundle
;
FileUploadBundle
::
register
(
$this
);
$lang
=
Languages
::
getCurrent
();
?>
<script
type=
"text/javascript"
>
...
...
@@ -21,27 +24,27 @@ FileUploadBundle::register($this);
<div
class=
"container"
>
<div
class=
"row"
>
<duv
class=
"col-md-5 col-xs-12 col-sm-12"
>
<h1>
Контакная информация
</h1>
<h1>
<?=
\Yii
::
t
(
'contacts'
,
'Contacts'
)
?>
</h1>
</duv>
</div>
<div
class=
"row"
>
<div
class=
"col-md-6 col-xs-6 col-sm 12"
>
<div
class=
"cont_block"
>
<div
class=
"cont_block__city"
>
Москва
</div>
<div
class=
"cont_block__phone"
><strong>
Телефон
:
</strong>
<?=
Settings
::
getValue
(
'contacts-phone-moscow'
)
?>
</div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
Заказать обратный звонок
</a></div>
<div
class=
"cont_block__city"
>
<?=
\Yii
::
t
(
'contacts'
,
'Moscow'
)
?>
</div>
<div
class=
"cont_block__phone"
><strong>
<?=
\Yii
::
t
(
'contacts'
,
'Phone'
)
?>
:
</strong>
<?=
Settings
::
getValue
(
'contacts-phone-moscow'
)
?>
</div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
<?=
\Yii
::
t
(
'contacts'
,
'Call me'
)
?>
</a></div>
<div
class=
"cont_block__email"
><strong>
E-mail:
</strong>
<?=
Settings
::
getValue
(
'contacts-email-moscow'
)
?>
</div>
<div
class=
"cont_block__adr"
><strong>
Адрес:
</strong>
<?=
Settings
::
getValue
(
'contacts-address-moscow'
)
?>
</div>
<div
class=
"cont_block__adr"
><strong>
<?=
\Yii
::
t
(
'contacts'
,
'Address'
)
?>
:
</strong>
<?=
Settings
::
getValue
(
'contacts-address-moscow'
.
(
!
$lang
->
default
?
'-'
.
$lang
->
url
:
''
)
)
?>
</div>
</div>
<a
href=
"#tabmap"
class=
"view_sheme_link scrollto show-scheme"
data-tab=
"moscow"
>
Смотреть схему
</a>
</div>
<div
class=
"col-md-6 col-xs-6 col-sm 12"
>
<div
class=
"cont_block"
>
<div
class=
"cont_block__city"
>
Казань
</div>
<div
class=
"cont_block__phone"
><strong>
Телефон
:
</strong>
<?=
Settings
::
getValue
(
'contacts-phone-kazan'
)
?>
</div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
Заказать обратный звонок
</a></div>
<div
class=
"cont_block__city"
>
<?=
\Yii
::
t
(
'contacts'
,
'Kazan'
)
?>
</div>
<div
class=
"cont_block__phone"
><strong>
<?=
\Yii
::
t
(
'contacts'
,
'Phone'
)
?>
:
</strong>
<?=
Settings
::
getValue
(
'contacts-phone-kazan'
)
?>
</div>
<div
class=
"cont_block__link_pp"
><a
href=
"#zvonok_form"
class=
"popup-form"
>
<?=
\Yii
::
t
(
'contacts'
,
'Call me'
)
?>
</a></div>
<div
class=
"cont_block__email"
><strong>
E-mail:
</strong>
<?=
Settings
::
getValue
(
'contacts-email-kazan'
)
?>
</div>
<div
class=
"cont_block__adr"
><strong>
Адрес:
</strong>
<?=
Settings
::
getValue
(
'contacts-address-kazan'
)
?>
</div>
<div
class=
"cont_block__adr"
><strong>
<?=
\Yii
::
t
(
'contacts'
,
'Address'
)
?>
:
</strong>
<?=
Settings
::
getValue
(
'contacts-address-kazan'
.
(
!
$lang
->
default
?
'-'
.
$lang
->
url
:
''
)
)
?>
</div>
</div>
<a
href=
"#tabmap"
class=
"view_sheme_link scrollto show-scheme"
data-tab=
"kazan"
>
Смотреть схему
</a>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment