--- /dev/null
+<H3> Release notes for Moodle 1.0.5 </H3>
+
+<P> New features (since 1.0.4): </P>
+
+<UL><DL>
+<DT> Configuration
+<DD> Most variables are now stored in the database and modifed using an
+ admin form - this means config.php can be much shorter (only 8 items).
+ The GD version is now auto-detected on all versions of PHP.
+ New authentication plug-ins are now supported (auth directory).
+
+<DT> Language improvements
+<DD> We have three new languages! French, Finnish and Portuguese (Brazil).
+ The authors are on the credits page in the Moodle documentation.
+ Also, languages can now be easily edited directly via an admin web page.
+
+<DT> Theme improvements
+<DD> The standard theme code has been tidied up. It is now easier to
+ hack them and make your own themes. Existing themes are 100%
+ compatible. One new feature is that the home page can have a
+ different look to the other pages. A new standardlogo theme has
+ been added that shows you how to put your logo on the front page
+ (eg like moodle.com does)
+
+<DT> User improvements
+<DD> The user profile editing page now has a better layout.
+ The list of participants now switches to various "condensed modes"
+ when displaying larger classes. All user listings now support
+ sorting by column. The admin user can now delete (disable) user
+ accounts so that the user isn't displayed anywhere. Individual
+ users can choose their own display language (so that all web pages
+ and mailouts will be in that language).
+
+<DT> Activity improvements
+<DD> The "recent activity" box now also shows journal entries and
+ submitted assignments and surveys. The guest user can no longer
+ edit *anything* at all. A new reading type called "HTML text"
+ allows experienced users to use pure HTML.
+
+<DT> Miscellaneous
+<DD> Many tweaks to the interface and small bugs fixed.
+
+</DL></UL>
+
$a->newversion = $version;
$strdatabasechecking = get_string("databasechecking", "", $a);
$strdatabasesuccess = get_string("databasesuccess");
- print_header($strdatabaseupgrades, $strdatabaseupgrades, $strdatabaseupgrades);
+ print_header($strdatabasechecking, $strdatabasechecking, $strdatabasechecking);
notify($strdatabasechecking);
$db->debug=true;
if (upgrade_moodle($CFG->version)) {
$db->debug=false;
- if (set_field("config", "value", "$version", "name", "version")) {
+ if (set_config("version", $version)) {
notify($strdatabasesuccess);
print_continue("index.php");
die;
}
} else {
- $dversion->name = "version";
- $dversion->value = $version;
$strdatabaseupgrades = get_string("databaseupgrades");
print_header($strdatabaseupgrades, $strdatabaseupgrades, $strdatabaseupgrades);
- if (insert_record("config", $dversion)) {
- notify("You are currently using Moodle version $release ($version)");
+
+ if (set_config("version", $version)) {
+ notify("You are currently using Moodle version $version (Release $release)");
print_continue("index.php");
die;
} else {
/// Updated human-readable release version if necessary
- if ($CFG->release) {
- if ($release <> $drelease) { // Update the release version
- set_field("config", "value", "$release", "name", "release");
+ if ($release <> $CFG->release) { // Update the release version
+ $strdatabaseupgrades = get_string("databaseupgrades");
+ print_header($strdatabaseupgrades, $strdatabaseupgrades, $strdatabaseupgrades);
+ print_heading($release);
+ if (!set_config("release", $release)) {
+ notify("ERROR: Could not update release version in database!!");
}
- } else {
- $drelease->name = "release";
- $drelease->value = $release;
- insert_record("config", $drelease);
+ print_continue("index.php");
+ print_simple_box_start("CENTER");
+ include("$CFG->dirroot/RELEASE.html");
+ print_simple_box_end();
+ print_continue("index.php");
+ exit;
}