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
b393ab97
Commit
b393ab97
authored
Jan 23, 2017
by
Ruslan Karimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bfcd250d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
frontend/views/layouts/head.php
frontend/views/layouts/head.php
+6
-3
frontend/views/layouts/main.php
frontend/views/layouts/main.php
+1
-0
frontend/web/.htaccess
frontend/web/.htaccess
+4
-0
frontend/web/css/custom.css
frontend/web/css/custom.css
+1
-1
No files found.
frontend/views/layouts/head.php
View file @
b393ab97
<?php
<?php
use
common\modules\languages\models\Languages
;
use
common\modules\languages\models\Languages
;
$currentLang
=
Languages
::
getCurrent
();
$langs
=
Languages
::
find
()
->
where
([
'!='
,
'id'
,
Languages
::
getCurrent
()
->
id
])
->
all
();
$langs
=
Languages
::
find
()
->
where
([
'!='
,
'id'
,
$currentLang
->
id
])
->
all
();
?>
?>
<meta
name=
"keywords"
content=
"
<?php
echo
\Yii
::
$app
->
controller
->
meta_keywords
?>
"
>
<meta
name=
"keywords"
content=
"
<?php
echo
\Yii
::
$app
->
controller
->
meta_keywords
?>
"
>
...
@@ -14,7 +14,10 @@ $langs = Languages::find()->where(['!=', 'id', Languages::getCurrent()->id])->al
...
@@ -14,7 +14,10 @@ $langs = Languages::find()->where(['!=', 'id', Languages::getCurrent()->id])->al
foreach
(
$langs
as
$lang
)
:
$url
=
\Yii
::
$app
->
request
->
getLangUrl
();
?>
foreach
(
$langs
as
$lang
)
:
$url
=
\Yii
::
$app
->
request
->
getLangUrl
();
?>
<link
rel=
"alternate"
hreflang=
"
<?=
$lang
->
url
?>
"
href=
"
<?=
yii\helpers\Url
::
to
((
!
$lang
->
default
?
'/'
.
$lang
->
url
:
''
)
.
$url
,
true
)
?>
"
/>
<link
rel=
"alternate"
hreflang=
"
<?=
$lang
->
url
?>
"
href=
"
<?=
yii\helpers\Url
::
to
((
!
$lang
->
default
?
'/'
.
$lang
->
url
:
''
)
.
$url
,
true
)
?>
"
/>
<?php
endforeach
;
<?php
endforeach
;
endif
;
?>
if
(
$currentLang
->
default
)
:
?>
<link
rel=
"canonical"
href=
"
<?=
yii\helpers\Url
::
to
(
\Yii
::
$app
->
request
->
getLangUrl
(),
true
)
?>
"
/>
<?php
endif
;
endif
;
?>
<link
rel=
"shortcut icon"
href=
"/favicon.ico"
type=
"image/x-icon"
>
<link
rel=
"shortcut icon"
href=
"/favicon.ico"
type=
"image/x-icon"
>
<link
rel=
"apple-touch-icon"
href=
"/images/favicon/apple-touch-icon.png"
>
<link
rel=
"apple-touch-icon"
href=
"/images/favicon/apple-touch-icon.png"
>
...
...
frontend/views/layouts/main.php
View file @
b393ab97
<?php
<?php
use
common\modules\languages\models\Languages
;
use
yii\helpers\Html
;
use
yii\helpers\Html
;
use
yii\bootstrap\Nav
;
use
yii\bootstrap\Nav
;
use
yii\bootstrap\NavBar
;
use
yii\bootstrap\NavBar
;
...
...
frontend/web/.htaccess
View file @
b393ab97
...
@@ -12,6 +12,10 @@ RewriteCond %{REQUEST_FILENAME} !-d
...
@@ -12,6 +12,10 @@ RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule
. index.php
RewriteRule
. index.php
RewriteCond
%{REQUEST_URI} /index.php
RewriteCond
%{QUERY_STRING} ^\z
RewriteRule
^(.*)$ https://task-on.com/? [R=301,L]
<
IfModule
mod_expires.c
>
<
IfModule
mod_expires.c
>
<
FilesMatch
\.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$
>
<
FilesMatch
\.(gif|png|jpg|jpeg|ogg|mp4|mkv|flv|swf|wmv|asf|asx|wma|wax|wmx|wm)$
>
ExpiresDefault
"access plus 1 year"
ExpiresDefault
"access plus 1 year"
...
...
frontend/web/css/custom.css
View file @
b393ab97
...
@@ -2733,7 +2733,7 @@ width: 95%;
...
@@ -2733,7 +2733,7 @@ width: 95%;
.round_schedule_ins_ul
{
.round_schedule_ins_ul
{
padding-left
:
0
;
padding-left
:
0
;
}
}
.
.
round_schedule_ins_ul
li
{
.round_schedule_ins_ul
li
{
line-height
:
24px
;
line-height
:
24px
;
}
}
/*#chart-container text, #chart-container tspan {
/*#chart-container text, #chart-container tspan {
...
...
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