enhancements

This commit is contained in:
Abdulrahman
2019-01-18 23:42:23 +03:00
parent edacb37c79
commit 1e09a96da4
5 changed files with 29 additions and 21 deletions

14
go.php
View File

@@ -18,10 +18,10 @@ require_once 'includes/common.php';
$current_go_case = g('go');
$show_style = true;
is_array($plugin_run_result = Plugins::getInstance()->run('begin_go_page', get_defined_vars())) ? extract($plugin_run_result) : null; //run hook
switch($current_go_case)
{
//
@@ -671,10 +671,10 @@ is_array($plugin_run_result = Plugins::getInstance()->run('end_go_page', get_def
$stylee = empty($stylee) ? 'info' : $stylee;
$titlee = empty($titlee) ? '' : $titlee;
//header
Saaheader($titlee);
//tpl
//show style
if($show_style)
{
Saaheader($titlee);
echo $tpl->display($stylee);
//footer
Saafooter();
Saafooter();
}