PHP Classes

File: CoffeeStats/hook_admin_menu_left.php

Recommend this page to a friend!
  Classes of James Brows   Coffee Stats   CoffeeStats/hook_admin_menu_left.php   Download  
File: CoffeeStats/hook_admin_menu_left.php
Role: Application script
Content type: text/plain
Description: Application script
Class: Coffee Stats
Plugin to Coffee CMS to track Web site visitors
Author: By
Last change:
Date: 2 years ago
Size: 767 bytes
 

Contents

Class file image Download
<?php

$str
= '

<li class="nav-item menu-cf-commerce">
  <a href="#" class="nav-link">
    <i class="nav-icon fas fa-chart-bar"></i>
    <p>
    '
.get_text_by_lang('Coffee Stats','admin').' <i class="right fas fa-angle-left"></i>
    </p>
  </a>

  <ul class="nav nav-treeview" style="display: none;">
  
    <li class="nav-item">
    <a href="'
.SITE_URL.'admin/plugin_page_url?plugin=coffeestats&page=trackings" class="nav-link">
    <i class="nav-icon fas fa-tag"></i>
    <p>'
.get_text_by_lang('Trackings','admin').'</p>
    </a>
    </li>
                 
  </ul>
</li>



'
;

if(!isset(
Configs::$_['admin_panel_after_menu_11011011']))
{
   
Configs::$_['admin_panel_after_menu_11011011']=[];
}

array_push(Configs::$_['admin_panel_after_menu_11011011'],$str);