Commit 7ce47749 authored by Nigel McNie's avatar Nigel McNie Committed by Penny Leach
Browse files

Homepage and views MENUITEM constant changes for the new menu system.

parent 78acf13f
......@@ -26,7 +26,7 @@
define('INTERNAL', 1);
define('PUBLIC', 1);
define('MENUITEM', 'home');
define('MENUITEM', '');
require('init.php');
define('TITLE', get_string('home'));
......
......@@ -25,7 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'myviews');
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
......
......@@ -25,6 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'create2');
......@@ -57,8 +58,6 @@ if ( $template !== null ) {
redirect('/view/create3.php?createid=' . $createid);
}
define('MENUITEM', 'myviews');
$selecttemplate = get_string('usethistemplate', 'view');
$wwwroot = get_config('wwwroot');
......
......@@ -25,7 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'view');
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'create3');
......
......@@ -25,7 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'view');
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'create4');
......
......@@ -25,7 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'view');
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'edit');
......
......@@ -30,7 +30,7 @@
// This might need to be checked for. As it stands that just results in three rows in the database,
// which are collapsed when access to the view is edited
define('INTERNAL', 1);
define('MENUITEM', 'view');
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'editaccess');
......
......@@ -25,7 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'myviews');
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'editmetadata');
......
......@@ -25,7 +25,7 @@
*/
define('INTERNAL', 1);
define('MENUITEM', 'myviews');
define('MENUITEM', 'myportfolio/views');
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
......
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