PHP Classes

File: view/melis-messenger/melis-messenger/header-messenger.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Messenger   view/melis-messenger/melis-messenger/header-messenger.phtml   Download  
File: view/melis-messenger/melis-messenger/header-messenger.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis Messenger
Exchange messages between Melis platform users
Author: By
Last change:
Date: 7 days ago
Size: 1,047 bytes
 

Contents

Class file image Download
<?php
    $id
= '';
    if (!empty(
$this->zoneconfig['conf']['id']))
      
$id = ' id="' . $this->zoneconfig['conf']['id'] . '"';
   
$namePlugin = '';
    if (!empty(
$this->zoneconfig['conf']['name']))
       
$namePlugin = ' data-title="' . $this->zoneconfig['conf']['name'] . '"';
   
$data_melisKey = $this->melisKey;

?>
<?php
if($this->isAccessible) { ?>
<!-- START melis messager message container -->
    <li class="dropdown notification" <?= $id; ?> data-melisKey='<?= $data_melisKey; ?>' <?= $namePlugin; ?>>

        <a href="#" class="dropdown-toggle menu-icon dropdown-hover">
            <i class="fa fa-fw fa-comment"></i>
            <span class="badge badge-success hidden">0</span>
        </a>
        <ul id="melis-messenger-messages" class="dropdown-menu inbox empty-notif">
            <li class="empty-notif-li">
                <div class="media">
                     <span><?= $this->translate('tr_melismessenger_tool_no_message_notification'); ?></span>
                </div>
            </li>
        </ul>
    </li>
<?php } ?>