mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-12 22:08:20 +03:00
39 lines
916 B
PHP
39 lines
916 B
PHP
<?php
|
|
/*-------------------------------------------------------
|
|
*
|
|
* LiveStreet Engine Social Networking
|
|
* Copyright © 2008 Mzhelskiy Maxim
|
|
*
|
|
*--------------------------------------------------------
|
|
*
|
|
* Official site: www.livestreet.ru
|
|
* Contact e-mail: rus.engine@gmail.com
|
|
*
|
|
* GNU General Public License, version 2:
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
*
|
|
---------------------------------------------------------
|
|
*/
|
|
|
|
/**
|
|
* Регистрация хуков
|
|
*
|
|
*/
|
|
class PluginProfiler_HookProfiler extends Hook {
|
|
|
|
public function RegisterHook() {
|
|
/**
|
|
* Хук для вставки HTML кода
|
|
*/
|
|
$this->AddHook('template_body_end', 'Profiler');
|
|
}
|
|
|
|
/**
|
|
* Выводим HTML
|
|
*
|
|
*/
|
|
public function Profiler() {
|
|
return $this->Viewer_Fetch(Plugin::GetTemplatePath(__CLASS__).'link.tpl');
|
|
}
|
|
}
|
|
?>
|