<?php
/** 
 * @package JCHAT::FORM::components::com_jchat
 * @subpackage views
 * @subpackage form
 * @subpackage tmpl
 * @author Joomla! Extensions Store
 * @Copyright (C) 2015 - Joomla! Extensions Store
 * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
 */
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Language\Text;

// Evaluate nonce csp feature
$appNonce = $this->app->get('csp_nonce', null);
$nonce = $appNonce ? ' nonce="' . $appNonce . '"' : '';
?>
<style type="text/css"<?php echo $nonce;?>>
	div.jchat_joined_chat {
		height: 50px;
		font-size: 16px;
		position: relative;
		background-color: #AF4E4E;
		color: #FFF;
		border-radius: 6px;
		padding: 6px;
		float: left;
		text-align: center;
		line-height: 45px;
	}
	div.jchat_joined_chat + * {
		clear: left;
	}
</style>
<div class="item-page<?php echo $this->cparams->get('pageclass_sfx', null);?>">
	<?php if ($this->cparams->get('show_page_heading', 1)) : ?>
		<div class="page-header">
			<h3> <?php echo $this->escape($this->cparams->get('page_heading', $this->menuTitle)); ?> </h3>
		</div>
	<?php endif;?>
</div>
	
<div class="jchat_joined_chat"><?php echo Text::_('COM_JCHAT_FORM_NOTAVAILABLE');?></div>