Show version number to aid in debugging

This commit is contained in:
moodler 2003-11-03 03:22:52 +00:00
parent 8a55c98423
commit 1e16942739
2 changed files with 7 additions and 5 deletions

View file

@ -24,6 +24,7 @@
$strconfiguration = get_string("configuration"); $strconfiguration = get_string("configuration");
$strmanagemodules = get_string("managemodules"); $strmanagemodules = get_string("managemodules");
$strdelete = get_string("delete"); $strdelete = get_string("delete");
$strversion = get_string("version");
$strhide = get_string("hide"); $strhide = get_string("hide");
$strshow = get_string("show"); $strshow = get_string("show");
$strsettings = get_string("settings"); $strsettings = get_string("settings");
@ -148,10 +149,10 @@
$modpixpath = "../theme/$CFG->theme/pix/mod"; $modpixpath = "../theme/$CFG->theme/pix/mod";
} }
$table->head = array ($stractivitymodule, "$strhide/$strshow", $strdelete, $strsettings); $table->head = array ($stractivitymodule, $strversion, "$strhide/$strshow", $strdelete, $strsettings);
$table->align = array ("LEFT", "CENTER", "CENTER", "CENTER"); $table->align = array ("LEFT", "LEFT", "CENTER", "CENTER", "CENTER");
$table->wrap = array ("NOWRAP", "", "",""); $table->wrap = array ("NOWRAP", "", "", "","");
$table->size = array ("100%", "10", "10","12"); $table->size = array ("100%", "10", "10", "10","12");
$table->width = "100"; $table->width = "100";
foreach ($modulebyname as $modulename => $module) { foreach ($modulebyname as $modulename => $module) {
@ -180,7 +181,7 @@
$visible = ""; $visible = "";
$class = ""; $class = "";
} }
$table->data[] = array ("<p $class>$icon $modulename</p>", $visible, $delete, $settings); $table->data[] = array ("<p $class>$icon $modulename</p>", $module->version, $visible, $delete, $settings);
} }
print_table($table); print_table($table);

View file

@ -788,6 +788,7 @@ $string['userprofilefor'] = "User profile for \$a";
$string['users'] = "Users"; $string['users'] = "Users";
$string['usingexistingcourse'] = "Using existing course"; $string['usingexistingcourse'] = "Using existing course";
$string['userzones'] = "User zones"; $string['userzones'] = "User zones";
$string['version'] = "Version";
$string['view'] = "View"; $string['view'] = "View";
$string['webpage'] = "Web page"; $string['webpage'] = "Web page";
$string['week'] = "Week"; $string['week'] = "Week";