//asterisk-stats/trunk/includes/common.php |
---|
8,7 → 8,7 |
$g_display = NULL; |
function Prolog() |
function Prolog($page_title = NULL) |
{ |
global $g_display; |
15,6 → 15,7 |
$g_display = new template_handler('template'); |
$g_display->add_template('header'); |
ShowMenu($g_display); |
SetPageTitle($page_title); |
} |
function ShowMenu($display) |
38,4 → 39,11 |
echo $g_display; |
} |
function SetPageTitle($page_title) |
{ |
global $g_display; |
$g_display->add_variables(array('PAGE_TITLE' => $page_title)); |
} |
?> |