90 lines
3.7 KiB
PHP
90 lines
3.7 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 PAGES FILE
|
|
| > Script written by Matt Mecham
|
|
| > Date started: Fri 8th April 2005 (12:07)
|
|
|
|
|
+---------------------------------------------------------------------------
|
|
*/
|
|
|
|
//===========================================================================
|
|
// Simple library that holds all the links for the admin cp
|
|
//===========================================================================
|
|
|
|
// 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
|
|
|
|
$CATS[] = array( 'Security Center' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Security Center' , 'section=admin&act=security' ),
|
|
2 => array( 'List All Administrators', 'section=admin&act=security&code=list_admins' ),
|
|
3 => array( 'Manage Restrictions' , 'section=admin&act=acpperms&code=acpp_list' ),
|
|
);
|
|
|
|
$CATS[] = array( 'Board Logs' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'View Moderator Logs' , 'section=admin&act=modlog' ),
|
|
2 => array( 'View Admin Logs' , 'section=admin&act=adminlog' ),
|
|
3 => array( 'View Email Logs' , 'section=admin&act=emaillog' ),
|
|
4 => array( 'View Email Error Logs', 'section=admin&act=emailerror' ),
|
|
5 => array( 'View Bot Logs' , 'section=admin&act=spiderlog' ),
|
|
6 => array( 'View Warn Logs' , 'section=admin&act=warnlog' ),
|
|
7 => array( 'View ACP Log In Logs' , 'section=admin&act=loginlog' ),
|
|
);
|
|
|
|
$CATS[] = array( 'Components' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Manage Components' , 'section=admin&act=components' ),
|
|
2 => array( 'Register New Component' , 'section=admin&act=components&code=component_add' ),
|
|
);
|
|
|
|
$CATS[] = array( 'Statistic Center' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Registration Stats' , 'section=admin&act=stats&code=reg' ),
|
|
2 => array( 'New Topic Stats' , 'section=admin&act=stats&code=topic' ),
|
|
3 => array( 'Post Stats' , 'section=admin&act=stats&code=post' ),
|
|
4 => array( 'Personal Message' , 'section=admin&act=stats&code=msg' ),
|
|
5 => array( 'Topic Views' , 'section=admin&act=stats&code=views' ),
|
|
);
|
|
|
|
|
|
$CATS[] = array( 'SQL Management' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'SQL Toolbox' , 'section=admin&act=sql' ),
|
|
2 => array( 'SQL Back Up' , 'section=admin&act=sql&code=backup' ),
|
|
3 => array( 'SQL Runtime Info', 'section=admin&act=sql&code=runtime' ),
|
|
4 => array( 'SQL System Vars' , 'section=admin&act=sql&code=system' ),
|
|
5 => array( 'SQL Processes' , 'section=admin&act=sql&code=processes' ),
|
|
);
|
|
|
|
$CATS[] = array( 'API Management' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Manage XML-RPC Users', 'section=admin&act=api&code=api_list' ),
|
|
2 => array( 'View XML-RPC Logs' , 'section=admin&act=api&code=log_list' ),
|
|
);
|
|
|
|
?>
|