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
90f77392
Commit
90f77392
authored
Oct 26, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1443: Правки по сайту 25.10.2016
parent
57e9f329
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
common/modules/sessions/models/Session.php
common/modules/sessions/models/Session.php
+1
-1
common/modules/sessions/views/statistics-admin/details.php
common/modules/sessions/views/statistics-admin/details.php
+7
-1
common/modules/sessions/views/statistics-admin/manage.php
common/modules/sessions/views/statistics-admin/manage.php
+7
-1
frontend/web/js/custom.js
frontend/web/js/custom.js
+1
-1
No files found.
common/modules/sessions/models/Session.php
View file @
90f77392
...
...
@@ -72,7 +72,7 @@ class Session extends \common\components\ActiveRecordModel
'PHPSESSID'
=>
'Сессия'
,
'user_id'
=>
'Пользователь'
,
'ip'
=>
'IP'
,
'created_at'
=>
'Дата
добавления
'
,
'created_at'
=>
'Дата
создания сессии
'
,
'time'
=>
'Общее время просмотра'
];
}
...
...
common/modules/sessions/views/statistics-admin/details.php
View file @
90f77392
...
...
@@ -18,6 +18,12 @@ $this->params['breadcrumbs'][] = $this->title;
'columns'
=>
[
// ['class' => 'yii\grid\SerialColumn'],
[
'attributes'
=>
'created_at'
,
'value'
=>
function
(
$model
)
{
return
date
(
'd.m.Y H:i:s'
,
$model
->
created_at
);
}
],
[
'attribute'
=>
'session_id'
,
'value'
=>
function
(
$model
)
...
...
common/modules/sessions/views/statistics-admin/manage.php
View file @
90f77392
...
...
@@ -19,6 +19,12 @@ $this->params['breadcrumbs'][] = $this->title;
'columns'
=>
[
// ['class' => 'yii\grid\SerialColumn'],
[
'attributes'
=>
'created_at'
,
'value'
=>
function
(
$model
)
{
return
date
(
'd.m.Y H:i:s'
,
$model
->
created_at
);
}
],
'PHPSESSID'
,
[
'attribute'
=>
'user_id'
,
...
...
frontend/web/js/custom.js
View file @
90f77392
...
...
@@ -78,7 +78,7 @@ $(document).ready(function() {
$
.
ajax
({
url
:
"
/sessions/default/update
"
});
},
1000
*
60
*
5
);
},
1000
*
1
5
);
$
(
'
form#error-testing-form
'
).
on
(
'
beforeSubmit
'
,
function
(
e
)
{
...
...
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