MDL-14518 - changed $SESSION->feedback->current_tab to $current_tab
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
require_once("lib.php");
|
||||
require_once('delete_template_form.php');
|
||||
|
||||
$SESSION->feedback->current_tab = 'templates';
|
||||
// $SESSION->feedback->current_tab = 'templates';
|
||||
$current_tab = 'templates';
|
||||
|
||||
$id = required_param('id', PARAM_INT);
|
||||
$canceldelete = optional_param('canceldelete', false, PARAM_INT);
|
||||
@@ -80,6 +81,9 @@
|
||||
print_header_simple(format_string($feedback->name), "",
|
||||
$navigation, "", "", true, $buttontext, navmenu($course, $cm));
|
||||
|
||||
/// print the tabs
|
||||
include('tabs.php');
|
||||
|
||||
/// Print the main part of the page
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
|
||||
$module->version = 2008042902; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->version = 2008042903; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->requires = 2007101503; // Requires this Moodle version
|
||||
$feedback_version_intern = 1; //this version is used for restore older backups
|
||||
$module->cron = 0; // Period for cron to check this module (secs)
|
||||
|
||||
Reference in New Issue
Block a user