diff --git a/classes/actions/ActionLogin.class.php b/classes/actions/ActionLogin.class.php index 92213b36..c3fec6ac 100644 --- a/classes/actions/ActionLogin.class.php +++ b/classes/actions/ActionLogin.class.php @@ -149,7 +149,7 @@ class ActionLogin extends Action { protected function EventExit() { $this->Security_ValidateSendForm(); $this->User_Logout(); - $this->Viewer_Assign('bRefreshToHome',true); + Router::Location(Config::Get('path.root.web').'/'); } /** * Ajax запрос на восстановление пароля diff --git a/classes/actions/ActionRegistration.class.php b/classes/actions/ActionRegistration.class.php index 536393a2..14ee6f51 100644 --- a/classes/actions/ActionRegistration.class.php +++ b/classes/actions/ActionRegistration.class.php @@ -278,7 +278,6 @@ class ActionRegistration extends Action { */ if ($this->User_Update($oUser)) { $this->DropInviteRegister(); - $this->Viewer_Assign('bRefreshToHome',true); $this->User_Authorization($oUser,false); return; } else { diff --git a/templates/skin/developer/actions/ActionLogin/exit.tpl b/templates/skin/developer/actions/ActionLogin/exit.tpl deleted file mode 100644 index ab2dbef4..00000000 --- a/templates/skin/developer/actions/ActionLogin/exit.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{extends file='layout.base.tpl'} - -{block name='layout_options'} - {$bNoSidebar = true} -{/block} - -{block name='layout_content'} - -{/block} \ No newline at end of file diff --git a/templates/skin/developer/layout.base.tpl b/templates/skin/developer/layout.base.tpl index 4f291e4e..3aa84dc9 100644 --- a/templates/skin/developer/layout.base.tpl +++ b/templates/skin/developer/layout.base.tpl @@ -14,11 +14,11 @@ - {block name='layout_title'}{$sHtmlTitle}{/block} - + {block name='layout_title'}{$sHtmlTitle}{/block} + {** * Стили * CSS файлы подключаются в конфиге шаблона (ваш_шаблон/settings/config.php) @@ -39,10 +39,6 @@ {/if} - {if $bRefreshToHome} - - {/if} -