PHP Classes

File: admin/menu.php

Recommend this page to a friend!
  Classes of Gregory Mage   xmdoc   admin/menu.php   Download  
File: admin/menu.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: xmdoc
XOOPS CMS module to manage files attached to posts
Author: By
Last change:
Date: 3 years ago
Size: 1,599 bytes
 

Contents

Class file image Download
<?php
/*
 You may not change or alter any portion of this comment or credits
 of supporting developers from this source code or any supporting source code
 which is considered copyrighted (c) material of the original comment or credit authors.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

/**
 * xmdoc module
 *
 * @copyright XOOPS Project (https://xoops.org)
 * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
 * @author Mage Gregory (AKA Mage)
 */
use Xmf\Module\Admin;
defined('XOOPS_ROOT_PATH') || die('XOOPS root path not defined');

// get path to icons
$pathIcon32 = Admin::menuIconPath('');

$adminmenu=array();
// Index
$adminmenu[] = array(
   
'title' => _MI_XMDOC_MENU_HOME ,
   
'link' => 'admin/index.php' ,
   
'icon' => $pathIcon32 . 'home.png'
) ;
// Category
$adminmenu[] = array(
   
'title' => _MI_XMDOC_MENU_CATEGORY ,
   
'link' => 'admin/category.php' ,
   
'icon' => $pathIcon32 . 'category.png'
) ;
// Document
$adminmenu[] = array(
   
'title' => _MI_XMDOC_MENU_DOCUMENT ,
   
'link' => 'admin/document.php' ,
   
'icon' => $pathIcon32 . 'attach.png'
) ;
// Permission
$adminmenu[] = array(
   
'title' => _MI_XMDOC_MENU_PERMISSION ,
   
'link' => 'admin/permission.php' ,
   
'icon' => $pathIcon32 . 'permissions.png'
) ;
// About
$adminmenu[] = array(
   
'title' => _MI_XMDOC_MENU_ABOUT ,
   
'link' => 'admin/about.php' ,
   
'icon' => $pathIcon32 . 'about.png'
) ;