<?php
/**
* $Id: menu.php,v 1.5 2005/10/10 19:51:14 malanciault Exp $
* Module: SmartSection
* Author: The SmartFactory <www.smartfactory.ca>
* Licence: GNU
*/

// Index
$adminmenu[0]['title'] = _MI_SSECTION_ADMENU1;
$adminmenu[0]['link'] = "admin/index.php";
// Category
$adminmenu[1]['title'] = _MI_SSECTION_ADMENU2;
$adminmenu[1]['link'] = "admin/category.php";
// Items
$adminmenu[2]['title'] = _MI_SSECTION_ADMENU3;
$adminmenu[2]['link'] = "admin/item.php";
// Permissions
$adminmenu[3]['title'] = _MI_SSECTION_ADMENU4;
$adminmenu[3]['link'] = "admin/permissions.php";
// Blocks and Groups
$adminmenu[4]['title'] = _MI_SSECTION_ADMENU5;
$adminmenu[4]['link'] = "admin/myblocksadmin.php";
// Mimetypes
$adminmenu[5]['title'] = _MI_SSECTION_ADMENU6;
$adminmenu[5]['link'] = "admin/mimetypes.php";



if (isset($xoopsModule)) {
	$headermenu[0]['title'] = _PREFERENCES;
	$headermenu[0]['link'] = '../../system/admin.php?fct=preferences&amp;op=showmod&amp;mod=' . $xoopsModule->getVar('mid');

	$headermenu[1]['title'] = _AM_SSECTION_GOMOD;
	$headermenu[1]['link'] = SMARTSECTION_URL;
	
	$headermenu[2]['title'] = _AM_SSECTION_UPDATE_MODULE;
	$headermenu[2]['link'] = XOOPS_URL . "/modules/system/admin.php?fct=modulesadmin&op=update&module=" . $xoopsModule->getVar('dirname');
	
	$headermenu[3]['title'] = _AM_SSECTION_DB_CHECKTABLES;
	$headermenu[3]['link'] = SMARTSECTION_URL . "admin/upgrade.php?op=checkTables";	
	
	$headermenu[4]['title'] = _AM_SSECTION_IMPORT;
	$headermenu[4]['link'] = SMARTSECTION_URL . "admin/import.php";	
	
	$headermenu[5]['title'] = _AM_SSECTION_ABOUT;
	$headermenu[5]['link'] = SMARTSECTION_URL . "admin/about.php";
}
?>
