Commit 73c51873 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Fix menu highlighting for group pages and shared pages (bug #815685)"

parents a739ba12 8792c787
......@@ -2108,8 +2108,8 @@ function mahara_standard_nav() {
'title' => get_string('findfriends'),
'weight' => 40,
),
'groups/views' => array(
'path' => 'groups/views',
'groups/sharedviews' => array(
'path' => 'groups/sharedviews',
'url' => 'view/sharedviews.php',
'title' => get_string('sharedviews', 'view'),
'weight' => 50,
......
......@@ -27,7 +27,7 @@
define('INTERNAL', 1);
define('PUBLIC', 1);
define('MENUITEM', 'groups');
define('MENUITEM', 'groups/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
......
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'groups/views');
define('MENUITEM', 'groups/sharedviews');
require(dirname(dirname(__FILE__)) . '/init.php');
require_once(get_config('libroot') . 'view.php');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment