mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 13:33:18 +00:00
34 lines
774 B
PHP
34 lines
774 B
PHP
<?php
|
|
/*
|
|
Copyright (C) 2008 by Pauli Nieminen <paniemin@cc.hut.fi>
|
|
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License version 2
|
|
or at your option any later version.
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY.
|
|
|
|
See the COPYING file for more details.
|
|
*/
|
|
|
|
|
|
class Header
|
|
{
|
|
private $file;
|
|
private $smarty;
|
|
function __construct($file)
|
|
{
|
|
global $smarty;
|
|
$this->file = $file;
|
|
$this->smarty = $smarty;
|
|
}
|
|
|
|
public function show()
|
|
{
|
|
$this->smarty->assign('extra_title', "| The report site for automated unit tests");
|
|
$this->smarty->display('header.tpl');
|
|
}
|
|
}
|
|
?>
|