mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-16 14:50:48 +03:00
fix #838
This commit is contained in:
parent
35118c0602
commit
51681605d9
|
@ -156,6 +156,7 @@ class ActionIndex extends Action
|
|||
$this->Viewer_Assign('topics', $aTopics);
|
||||
$this->Viewer_Assign('paging', $aPaging);
|
||||
$this->Viewer_Assign('periodSelectCurrent', $sPeriod);
|
||||
$this->Viewer_Assign('periodSelectCurrentTitle', $this->Lang_Get('blog.menu.top_period_' . $sPeriod));
|
||||
$this->Viewer_Assign('periodSelectRoot', Router::GetPath('index') . 'top/');
|
||||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
|
@ -217,6 +218,7 @@ class ActionIndex extends Action
|
|||
$this->Viewer_Assign('topics', $aTopics);
|
||||
$this->Viewer_Assign('paging', $aPaging);
|
||||
$this->Viewer_Assign('periodSelectCurrent', $sPeriod);
|
||||
$this->Viewer_Assign('periodSelectCurrentTitle', $this->Lang_Get('blog.menu.top_period_' . $sPeriod));
|
||||
$this->Viewer_Assign('periodSelectRoot', Router::GetPath('index') . 'discussed/');
|
||||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
|
|
|
@ -29,8 +29,7 @@
|
|||
activeItem => $periodSelectCurrent,
|
||||
items => [
|
||||
[
|
||||
'name' => 'good',
|
||||
'text' => {lang name='blog.menu.all_good'},
|
||||
'text' => $periodSelectCurrentTitle|escape,
|
||||
'menu' => [
|
||||
activeItem => $periodSelectCurrent,
|
||||
items => [
|
||||
|
|
|
@ -29,8 +29,7 @@
|
|||
activeItem => $periodSelectCurrent,
|
||||
items => [
|
||||
[
|
||||
'name' => 'good',
|
||||
'text' => {lang name='blog.menu.all_good'},
|
||||
'text' => $periodSelectCurrentTitle|escape,
|
||||
'menu' => [
|
||||
activeItem => $periodSelectCurrent,
|
||||
items => [
|
||||
|
|
Loading…
Reference in a new issue