#1443: Правки по сайту 25.10.2016

parent 57e9f329
......@@ -72,7 +72,7 @@ class Session extends \common\components\ActiveRecordModel
'PHPSESSID' => 'Сессия',
'user_id' => 'Пользователь',
'ip' => 'IP',
'created_at' => 'Дата добавления',
'created_at' => 'Дата создания сессии',
'time' => 'Общее время просмотра'
];
}
......
......@@ -17,7 +17,13 @@ $this->params['breadcrumbs'][] = $this->title;
'filterModel' => $searchModel,
'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)
......
......@@ -18,7 +18,13 @@ $this->params['breadcrumbs'][] = $this->title;
'filterModel' => $searchModel,
'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',
......
......@@ -78,7 +78,7 @@ $(document).ready(function() {
$.ajax({
url: "/sessions/default/update"
});
}, 1000 * 60 * 5);
}, 1000 * 15);
$('form#error-testing-form').on('beforeSubmit', function(e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment