Commit 78acf13f authored by Nigel McNie's avatar Nigel McNie Committed by Penny Leach
Browse files

Changed MENUITEM constants for the contacts section for the new menu system.

parent 036b167c
......@@ -25,8 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'mycontacts');
define('SUBMENUITEM', 'myownedgroups');
define('MENUITEM', 'groups/groupsiown');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('pieforms/pieform.php');
define('TITLE', get_string('creategroup'));
......
......@@ -25,8 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'mycontacts');
define('SUBMENUITEM', 'myownedgroups');
define('MENUITEM', 'groups/groupsiown');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('pieforms/pieform.php');
define('TITLE', get_string('editgroup'));
......
......@@ -25,14 +25,13 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'mycontacts');
define('SUBMENUITEM', 'mygroups');
define('MENUITEM', 'groups/groupsimin');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'contacts');
define('SECTION_PAGE', 'groups');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('mygroups'));
define('TITLE', get_string('groupsimin'));
$viewurl = get_config('wwwroot') . 'contacts/groups/view.php?id=';
$leftsuccess = get_string('leftgroup');
......
......@@ -25,14 +25,13 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'mycontacts');
define('SUBMENUITEM', 'myownedgroups');
define('MENUITEM', 'groups/groupsiown');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'contacts');
define('SECTION_PAGE', 'ownedgroups');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myownedgroups'));
define('TITLE', get_string('groupsiown'));
$viewurl = get_config('wwwroot') . 'contacts/groups/view.php?id=';
$editurl = get_config('wwwroot') . 'contacts/groups/edit.php?id=';
......
......@@ -25,10 +25,9 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'mycontacts');
define('SUBMENUITEM', 'mygroups');
define('MENUITEM', 'groups');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('mygroups'));
define('TITLE', get_string('groups'));
require_once('group.php');
$id = param_integer('id');
......
......@@ -25,8 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'mycontacts');
define('SUBMENUITEM', 'myfriends');
define('MENUITEM', 'groups/myfriends');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'contacts');
define('SECTION_PAGE', 'friends');
......
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