File: //opt/cloudlinux/alt-php54/root/usr/share/pear/RVSeagullMod/modules/newsletter/data/navigation.php
<?php
/*
Data setup in navigation files such as this one will allow you to add sections
to the 'Admin menu' that only the admin user can see. There are 2 types of
nodes you can add:
(1) a SGL_NODE_ADMIN node
These will appear at the top level in the admin menu
(2) a SGL_NODE_GROUP node
These will appear as a subsection of the node inserted previously
Using this logic you can create node groups that correspond to modules, with a
SGL_NODE_ADMIN as the designated parent, and all children designated as
SGL_NODE_GROUP nodes.
*/
$aSections = array(
array (
'title' => 'Newsletter',
'parent_id' => SGL_NODE_ADMIN,
'uriType' => 'dynamic',
'module' => 'newsletter',
'manager' => 'ListMgr.php',
'actionMapping' => 'listSubscribers',// eg: "edit"
'add_params' => '', // eg: "frmArticleID/23"
'is_enabled' => 1,
'perms' => SGL_ADMIN, // role id or constant, eg: 1 for admin
// multiple possible, as comma-separated string
// eg: "2,4,6,7"
),
array (
'title' => 'Manage Subscribers',
'parent_id' => SGL_NODE_GROUP,
'uriType' => 'dynamic',
'module' => 'newsletter',
'manager' => 'ListMgr.php',
'actionMapping' => 'listSubscribers',
'add_params' => '',
'is_enabled' => 1,
'perms' => SGL_ADMIN,
),
array (
'title' => 'Manage Lists',
'parent_id' => SGL_NODE_GROUP,
'uriType' => 'dynamic',
'module' => 'newsletter',
'manager' => 'ListMgr.php',
'actionMapping' => 'listLists',
'add_params' => '',
'is_enabled' => 1,
'perms' => SGL_ADMIN,
),
array (
'title' => 'Compose Newsletter',
'parent_id' => SGL_NODE_GROUP,
'uriType' => 'dynamic',
'module' => 'newsletter',
'manager' => 'ListMgr.php',
'actionMapping' => 'list',
'add_params' => '',
'is_enabled' => 1,
'perms' => SGL_ADMIN,
),
);
?>