| Current Path : /var/www/html/components/com_jchat/tmpl/form/ |
| Current File : /var/www/html/components/com_jchat/tmpl/form/default_joined.php |
<?php
/**
* @package JCHAT::FORM::components::com_jchat
* @subpackage views
* @subpackage form
* @subpackage tmpl
* @author Joomla! Extensions Store
* @copyright (C) 2024 - 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;
max-width: 300px;
font-size: 24px;
position: relative;
background-color: #67AE62;
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>
<?php if($meetingHash = $this->getModel()->getState('meeting_hash', null)):?>
<div class="jchat_joined_chat"><?php echo Text::_('COM_JCHAT_MEETING_JOINEDMEETING');?></div>
<?php else:?>
<div class="jchat_joined_chat"><?php echo Text::_('COM_JCHAT_FORM_JOINED');?></div>
<?php endif;?>