1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-29 04:55:02 +03:00
This commit is contained in:
Mzhelskiy Maxim 2010-08-05 09:44:08 +00:00
parent f3e7c62d98
commit 1c5b139019

View file

@ -165,8 +165,8 @@ class ModuleViewer extends Module {
* Инициализация модуля * Инициализация модуля
* *
*/ */
public function Init() { public function Init($bLocal=false) {
$this->Hook_Run('viewer_init_start'); $this->Hook_Run('viewer_init_start',compact('bLocal'));
/** /**
* Заголовок HTML страницы * Заголовок HTML страницы
*/ */
@ -216,7 +216,7 @@ class ModuleViewer extends Module {
*/ */
public function GetLocalViewer() { public function GetLocalViewer() {
$oViewerLocal=new ModuleViewer(Engine::getInstance()); $oViewerLocal=new ModuleViewer(Engine::getInstance());
$oViewerLocal->Init(); $oViewerLocal->Init(true);
$oViewerLocal->VarAssign(); $oViewerLocal->VarAssign();
$oViewerLocal->Assign('aLang',$this->Lang_GetLangMsg()); $oViewerLocal->Assign('aLang',$this->Lang_GetLangMsg());