Commit 6a3ecf3a authored by Stacey Walker's avatar Stacey Walker
Browse files

Move My Plans to My Portfolio section (bug: 619130)


Signed-off-by: default avatarStacey Walker <stacey@catalyst.net.nz>
parent f25bca75
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/plans');
define('MENUITEM', 'myportfolio/plans');
require_once(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/plans');
define('MENUITEM', 'myportfolio/plans');
require_once(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myplans');
define('MENUITEM', 'myportfolio/myplans');
require_once(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', true);
define('MENUITEM', 'profile/myplans');
define('MENUITEM', 'myportfolio/myplans');
require_once(dirname(dirname(dirname(dirname(__FILE__)))) . '/init.php');
require_once('pieforms/pieform.php');
......
......@@ -27,7 +27,7 @@
define('INTERNAL', 1);
define('MENUITEM', 'profile/plans');
define('MENUITEM', 'myportfolio/plans');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'plans');
define('SECTION_PAGE', 'index');
......
......@@ -46,7 +46,7 @@ class PluginArtefactPlans extends PluginArtefact {
public static function menu_items() {
return array(
array(
'path' => 'profile/plans',
'path' => 'myportfolio/plans',
'url' => 'artefact/plans/',
'title' => get_string('myplans', 'artefact.plans'),
'weight' => 40,
......
......@@ -26,7 +26,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'profile/plans');
define('MENUITEM', 'myportfolio/plans');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'plans');
......
......@@ -27,7 +27,7 @@
define('INTERNAL', 1);
define('MENUITEM', 'profile/plans');
define('MENUITEM', 'myportfolio/plans');
define('SECTION_PLUGINTYPE', 'artefact');
define('SECTION_PLUGINNAME', 'plans');
define('SECTION_PAGE', 'plans');
......
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