MDL-14518 - changed $SESSION->feedback->current_tab to $current_tab

This commit is contained in:
agrabs
2008-05-08 12:09:59 +00:00
parent 3cad95693b
commit bf5ebe7366
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -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
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
+1 -1
View File
@@ -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)