<?php
/* $Id: handler_header.inc,v 1.17 2006/12/04 16:31:14 priyanga Exp $ */
/**
*
* Sahana HTML header
*
* PHP version 4 and 5
*
* LICENSE: This source file is subject to LGPL license
* that is available through the world-wide-web at the following URI:
* http://www.gnu.org/copyleft/lesser.html
*
* @package moduleAPI
* @subpackage form
* @author Chamindra de Silva (hide@address.com>
* @author Janaka Wickramasinghe <hide@address.com>
* @copyright Lanka Software Foundation - http://www.opensource.lk
* @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
*
*/
?>
<div id="header">
<?php
global $conf;
$extension_logo_name = $conf['extension_logo_name'];
$extension_logo_url = $conf['extension_logo_url'];
if($extension_logo_name != null) {
if($extension_logo_url != null) {
echo "<a href=\"$extension_logo_url\"><img src=\"theme/{$conf['theme']}/img/$extension_logo_name\" /></a>";
} else {
echo "<img src=\"theme/{$conf['theme']}/img/$extension_logo_name\" />";
}
echo "<img src=\"theme/default/img/extension_of.jpg\" />";
}
?>
<table class="invisibleTable" style="display: inline;">
<tr>
<td><a href="http://www.hfoss.org"><img src="theme/default/img/vmoss.jpg" /></a></td>
</tr>
<tr>
<td><a href="http://www.sahana.lk"><img src="theme/default/img/powered_by_sahana.jpg" /></a></td>
</tr>
</table>
<?php
/*
global $conf;
if(file_exists($global['approot'].'conf/sysconf.inc'))
{
shn_db_get_incident_select();
_shn_lc_lang_list();
}
*/
?>
</div>
<!-- /header -->