From b848be302b462ddf5d646bd1a808e0a21a9e90c1 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 9 Mar 2013 15:24:32 -0800 Subject: [PATCH] Closes #138 - Preferences page set to Main admin only and all the rest to plugin access. --- e107_plugins/faqs/admin_config.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107_plugins/faqs/admin_config.php b/e107_plugins/faqs/admin_config.php index 0520f1b80..06ea459e8 100644 --- a/e107_plugins/faqs/admin_config.php +++ b/e107_plugins/faqs/admin_config.php @@ -39,10 +39,10 @@ class faq_admin extends e_admin_dispatcher ); protected $adminMenu = array( - 'main/list' => array('caption'=> LAN_MANAGE, 'perm' => '0'), - 'main/create' => array('caption'=> LANA_FAQ_CREATE_ITEM, 'perm' => '0'), - 'cat/list' => array('caption'=> LANA_FAQ_CATEGORIES, 'perm' => '0'), - 'cat/create' => array('caption'=> LANA_FAQ_CREATE_CATEGORY, 'perm' => '0'), + 'main/list' => array('caption'=> LAN_MANAGE, 'perm' => 'P'), + 'main/create' => array('caption'=> LANA_FAQ_CREATE_ITEM, 'perm' => 'P'), + 'cat/list' => array('caption'=> LANA_FAQ_CATEGORIES, 'perm' => 'P'), + 'cat/create' => array('caption'=> LANA_FAQ_CREATE_CATEGORY, 'perm' => 'P'), 'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => '0'), // 'main/custom' => array('caption'=> 'Custom Page', 'perm' => '0') );