Commit e86afa78 authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Robert Lyon
Browse files

Bug 1833158: Fix sub-headings in SmartEvidence

added correct sub-headings

behatnotneeded

Change-Id: I06ef9fc0c0c3d69996ecf5f68f033400181628df
parent 6439c6c4
...@@ -53,7 +53,7 @@ if ($uploadmatrix) { ...@@ -53,7 +53,7 @@ if ($uploadmatrix) {
else if ($upload) { else if ($upload) {
//jsoneditor page: //jsoneditor page:
//get existing frameworks. //get existing frameworks.
define('MENUITEM-SUBPAGE', 'editor'); define('SUBSECTIONHEADING', get_string('editor', 'module.framework'));
$active_tab = 'editor'; $active_tab = 'editor';
$fw = array(); $fw = array();
array_push($fw, get_string('copyframework', 'module.framework')); array_push($fw, get_string('copyframework', 'module.framework'));
...@@ -168,6 +168,7 @@ else { ...@@ -168,6 +168,7 @@ else {
$active_tab = 'overview'; $active_tab = 'overview';
} }
define('SUBSECTIONHEADING', get_string('Management', 'module.framework'));
$frameworks = Framework::get_frameworks('any'); $frameworks = Framework::get_frameworks('any');
if ($frameworks) { if ($frameworks) {
foreach ($frameworks as $framework) { foreach ($frameworks as $framework) {
......
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