<?php

/*

# ------------------------------------------------------------------------

# JA T3v2 Plugin - Template framework for Joomla 1.5

# ------------------------------------------------------------------------

# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.

# @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. For details 

# on licensing, Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.

# Author: JoomlArt.com

# Websites: http://www.joomlart.com - http://www.joomlancers.com.

# ------------------------------------------------------------------------

*/

?>

<?php

$app = & JFactory::getApplication();

$siteName = $app->getCfg('sitename');

if ($this->getParam('logoType', 'image')=='image'): ?>

<h1 class="logo">

	<a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>

</h1>

<?php else:

$logoText = (trim($this->getParam('logoText'))=='') ? $siteName : JText::_(trim($this->getParam('logoText')));

$sloganText = JText::_(trim($this->getParam('sloganText'))); ?>

<div class="logo-text">

	<h1><a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a></h1>

	<p class="site-slogan"><?php echo $sloganText;?></p>

</div>

<?php endif; ?>



<?php if($this->countModules('search')) : ?>

<div id="ja-search">

	<jdoc:include type="modules" name="search" />

</div>

<?php endif; ?>

