85 lines
4.0 KiB
PHP
85 lines
4.0 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( 'System Settings' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'View All General Settings', 'section=tools&act=op' ),
|
|
2 => array( 'Add New General Setting' , 'section=tools&act=op&code=settingnew' ),
|
|
3 => array( 'Manage Portal Plug-ins', 'section=tools&act=portal' ),
|
|
7 => array( 'Turn Board On / Off' , 'section=tools&act=op&code=findsetting&key='.urlencode('boardoffline/online'), '', 0, 1 ),
|
|
8 => array( 'Board Guidelines' , 'section=tools&act=op&code=findsetting&key='.urlencode('boardguidelines'), '', 0, 1 ),
|
|
9 => array( 'General Configuration' , 'section=tools&act=op&code=findsetting&key='.urlencode('generalconfiguration'), '', 0, 1 ),
|
|
10 => array( 'CPU Saving' , 'section=tools&act=op&code=findsetting&key='.urlencode('cpusaving'), '', 0, 1 ),
|
|
// 11 => array( 'IP Chat' , 'section=tools&act=pin&code=ipchat' ),
|
|
//12 => array( 'IPB License' , 'section=tools&act=pin&code=reg' ),
|
|
//14 => array( 'IPB Copyright Removal' , 'section=tools&act=pin&code=copy' ),
|
|
);
|
|
|
|
$CATS[] = array( 'Maintenance' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Manage Help Files' , 'section=tools&act=help' ),
|
|
2 => array( 'Cache Control' , 'section=tools&act=admin&code=cache' ),
|
|
3 => array( 'Recount & Rebuild' , 'section=tools&act=rebuild' ),
|
|
4 => array( 'Clean-up Tools' , 'section=tools&act=rebuild&code=tools' ),
|
|
);
|
|
|
|
$CATS[] = array( 'Post Office' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Manage Bulk Mail' , 'section=tools&act=postoffice' ),
|
|
2 => array( 'Create New Email' , 'section=tools&act=postoffice&code=mail_new' ),
|
|
3 => array( 'View Email Logs' , 'section=admin&act=emaillog', '', 0, 1 ),
|
|
4 => array( 'View Email Error Logs' , 'section=admin&act=emailerror', '', 0, 1 ),
|
|
5 => array( 'Email Settings' , 'section=tools&act=op&code=findsetting&key=emailset-up', '', 0, 1 ),
|
|
);
|
|
|
|
$CATS[] = array( 'Log In Manager' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Log In Manager' , 'section=tools&act=loginauth' ),
|
|
2 => array( 'Create New Log In' , 'section=tools&act=loginauth&code=login_add' ),
|
|
);
|
|
|
|
$CATS[] = array( 'Task Manager' );
|
|
|
|
$PAGES[] = array(
|
|
1 => array( 'Task Manager' , 'section=tools&act=task' ),
|
|
2 => array( 'View Task Logs' , 'section=tools&act=task&code=log' ),
|
|
);
|
|
|
|
|
|
|
|
?>
|