Cheetah
Functions | Variables
categories.php File Reference

Go to the source code of this file.

Functions

 actionAllCategories ()
 
 actionPending ()
 
 actionSettings ()
 
 getCategoryForm ()
 
 getAddCategoryForm ()
 

Variables

const CH_SECURITY_EXCEPTIONS true
 
 $aChSecurityExceptions = array ()
 
if(ch_get('pathes') !==false$logged ['admin'] = member_auth( 1, true, true )
 
 $iNameIndex = 9
 
 $aMenu
 
 $sAction = ch_get('action') !== false ? ch_get('action') : 'all'
 
 $aMenu [$sAction]['active'] = 1
 
 $sContent = call_user_func_array($aMenu[$sAction]['_func']['name'], $aMenu[$sAction]['_func']['params'])
 
 $_page
 
 $_page_cont [$iNameIndex]['page_main_code']
 

Function Documentation

◆ actionAllCategories()

actionAllCategories ( )

Definition at line 33 of file categories.php.

◆ actionPending()

actionPending ( )

Definition at line 106 of file categories.php.

◆ actionSettings()

actionSettings ( )

Definition at line 145 of file categories.php.

◆ getAddCategoryForm()

getAddCategoryForm ( )

Definition at line 231 of file categories.php.

◆ getCategoryForm()

getCategoryForm ( )

Definition at line 161 of file categories.php.

Variable Documentation

◆ $_page

$_page
Initial value:
= array(
'name_index' => $iNameIndex,
'css_name' => array('forms_adv.css', 'settings.css', 'categories.css'),
'header' => _t('_CategoriesSettings'),
)

Definition at line 278 of file categories.php.

◆ $_page_cont

$_page_cont[ $iNameIndex][ 'page_main_code']
Initial value:

Definition at line 284 of file categories.php.

◆ $aChSecurityExceptions

$aChSecurityExceptions = array ()

Definition at line 20 of file categories.php.

◆ $aMenu [1/2]

$aMenu
Initial value:
= array(
'all' => array(
'title' => _t('_categ_all'),
'href' => $GLOBALS['site']['url_admin'] . 'categories.php?action=all',
'_func' => array ('name' => 'actionAllCategories', 'params' => array()),
),
'pending' => array(
'title' => _t('_categ_admin_pending'),
'href' => $GLOBALS['site']['url_admin'] . 'categories.php?action=pending',
'_func' => array ('name' => 'actionPending', 'params' => array()),
),
'settings' => array(
'title' => _t('_categ_admin_settings'),
'href' => $GLOBALS['site']['url_admin'] . 'categories.php?action=settings',
'_func' => array ('name' => 'actionSettings', 'params' => array()),
),
)

Definition at line 257 of file categories.php.

◆ $aMenu [2/2]

$aMenu[ $sAction][ 'active'] = 1

Definition at line 275 of file categories.php.

◆ $iNameIndex

$iNameIndex = 9

Definition at line 256 of file categories.php.

◆ $logged

if (ch_get( 'pathes') !==false) $logged[ 'admin'] = member_auth( 1, true, true )

Definition at line 31 of file categories.php.

◆ $sAction

$sAction = ch_get('action') !== false ? ch_get('action') : 'all'

Definition at line 274 of file categories.php.

◆ $sContent

$sContent = call_user_func_array($aMenu[$sAction]['_func']['name'], $aMenu[$sAction]['_func']['params'])

Definition at line 276 of file categories.php.

◆ CH_SECURITY_EXCEPTIONS

const CH_SECURITY_EXCEPTIONS true

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

Definition at line 8 of file categories.php.

DesignBoxAdmin
DesignBoxAdmin($sTitle, $sContent, $mixedTopItems='', $sBottomItems='', $iIndex=1)
Definition: admin_design.inc.php:50
_t
_t($key, $arg0="", $arg1="", $arg2="")
Definition: languages.inc.php:509
getAddCategoryForm
getAddCategoryForm()
Definition: categories.php:231
$aMenu
$aMenu
Definition: categories.php:257
$iNameIndex
$iNameIndex
Definition: categories.php:256
$sContent
$sContent
Definition: categories.php:276
$sAction
$sAction
Definition: categories.php:274
$GLOBALS
$GLOBALS['iAdminPage']
Definition: advanced_settings.php:10