66 lines
3.2 KiB
PHP
66 lines
3.2 KiB
PHP
<?php
|
|
|
|
/*
|
|
+---------------------------------------------------------------------------
|
|
| Invision Power Board
|
|
| ========================================
|
|
| by Matthew Mecham
|
|
| (c) 2004 Invision Power Services
|
|
| http://www.invisionpower.com
|
|
| ========================================
|
|
+---------------------------------------------------------------------------
|
|
| INVISION POWER BOARD IS NOT FREE SOFTWARE!
|
|
| http://www.invisionboard.com
|
|
+---------------------------------------------------------------------------
|
|
|
|
|
| > CONTROL PANEL (COMPONENTS) PAGES FILE
|
|
| > Script written by Matt Mecham
|
|
| > Date started: Tue. 15th February 2005
|
|
|
|
|
+---------------------------------------------------------------------------
|
|
*/
|
|
|
|
//===========================================================================
|
|
// Simple library that holds all the links for the admin cp
|
|
// THIS PAGE CLASS: Generate menu from DB
|
|
//===========================================================================
|
|
|
|
// CAT_ID => array( PAGE_ID => (PAGE_NAME, URL ) )
|
|
|
|
// $PAGES[ $cat_id ][$page_id][0] = Page name
|
|
// $PAGES[ $cat_id ][$page_id][1] = Url
|
|
// $PAGES[ $cat_id ][$page_id][2] = Look for folder before showing
|
|
// $PAGES[ $cat_id ][$page_id][3] = URL type: 1 = Board URL 0 = ACP URL
|
|
// $PAGES[ $cat_id ][$page_id][4] = Item icon: 1= redirect 0 = Normal
|
|
// $PAGES[ $cat_id ][$page_id][5] = Regular link - open exact link in new window
|
|
|
|
global $ipsclass;
|
|
|
|
$CATS = array();
|
|
$PAGES = array();
|
|
|
|
$CATS[] = array( 'Help & Support' );
|
|
|
|
$PAGES[] = array(
|
|
0 => array( 'Submit Support Ticket' , 'section=help&act=support&code=support' ),
|
|
1 => array( 'IPB Knowledgebase' , 'section=help&act=support&code=kb' ),
|
|
2 => array( 'IPB Documentation' , 'section=help&act=support&code=doctor' ),
|
|
3 => array( 'IPS Resources' , 'section=help&act=support&code=resources' ),
|
|
4 => array( 'Contact IPS' , 'section=help&act=support&code=contact' ),
|
|
5 => array( 'Feature Suggestions' , 'section=help&act=support&code=features' ),
|
|
6 => array( 'Bug Reports' , 'section=help&act=support&code=bugs' ),
|
|
);
|
|
|
|
$CATS[] = array( 'Diagnostics' );
|
|
|
|
$PAGES[] = array(
|
|
0 => array( 'System Overview' , "section=help&act=diag' onclick='xmlobj = new ajax_request();xmlobj.show_loading()'" ),
|
|
//2 => array( 'Version Checker' , "section=help&act=diag&code=fileversions' onclick='xmlobj = new ajax_request();xmlobj.show_loading()'" ),
|
|
3 => array( 'Database Checker' , "section=help&act=diag&code=dbchecker' onclick='xmlobj = new ajax_request();xmlobj.show_loading()'" ),
|
|
4 => array( 'Database Index Checker' , "section=help&act=diag&code=dbindex' onclick='xmlobj = new ajax_request();xmlobj.show_loading()'" ),
|
|
5 => array( 'File Permissions Checker' , "section=help&act=diag&code=filepermissions' onclick='xmlobj = new ajax_request();xmlobj.show_loading()'" ),
|
|
6 => array( 'Whitespace Checker' , "section=help&act=diag&code=whitespace' onclick='xmlobj = new ajax_request();xmlobj.show_loading()'" ),
|
|
7 => array( 'Security Center' , "section=admin&act=security", 0, 0, 1 ),
|
|
);
|
|
|
|
?>
|