Added a new reading type "html text". It's similar to "plain text"

except none of the auto-formatting is done, and all HTML code is
accepted.
This commit is contained in:
martin 2002-09-13 10:21:03 +00:00
parent ddd9a8969b
commit 73761dc9be
3 changed files with 5 additions and 2 deletions

View File

@ -168,6 +168,7 @@ $string[guestsyes] = "Allow guests without the key";
$string[guestuser] = "Guest User"; $string[guestuser] = "Guest User";
$string[guestuserinfo] = "This user is a special user that allows read-only access to some courses."; $string[guestuserinfo] = "This user is a special user that allows read-only access to some courses.";
$string[help] = "Help"; $string[help] = "Help";
$string[helphtml] = "How to write html";
$string[helppicture] = "How to upload a picture"; $string[helppicture] = "How to upload a picture";
$string[helptext] = "How to write text"; $string[helptext] = "How to write text";
$string[helpquestions] = "How to ask questions"; $string[helpquestions] = "How to ask questions";

View File

@ -12,6 +12,7 @@ $string[examplereference] = "Tobin, K. & Tippins, D (1993) Constructivism as a R
$string[exampleurl] = "http://www.example.com/somedirectory/somefile.html"; $string[exampleurl] = "http://www.example.com/somedirectory/somefile.html";
$string[filename] = "File name"; $string[filename] = "File name";
$string[fulltext] = "Full text"; $string[fulltext] = "Full text";
$string[htmlfragment] = "HTML fragment";
$string[neverread] = "Never read"; $string[neverread] = "Never read";
$string[note] = "Note"; $string[note] = "Note";
$string[notefile] = "To upload more files into the course (so they appear in this list) use the $string[notefile] = "To upload more files into the course (so they appear in this list) use the
@ -23,5 +24,6 @@ $string[readingtype2] = "Web Page";
$string[readingtype3] = "Uploaded File"; $string[readingtype3] = "Uploaded File";
$string[readingtype4] = "Plain text"; $string[readingtype4] = "Plain text";
$string[readingtype5] = "Web Link"; $string[readingtype5] = "Web Link";
$string[readingtype6] = "HTML text";
?> ?>

View File

@ -18,10 +18,10 @@
// If there's something it cannot do itself, it // If there's something it cannot do itself, it
// will tell you what you need to do. // will tell you what you need to do.
$version = 2002091000; // The current version is a date (YYYYMMDDXX) where $version = 2002091300; // The current version is a date (YYYYMMDDXX) where
// XX is a number that increments during the day // XX is a number that increments during the day
$release = "1.0.4"; // For humans only, not used for the upgrade process $release = "1.0.5 dev"; // For humans only, not used for the upgrade process
function upgrade_moodle($oldversion=0) { function upgrade_moodle($oldversion=0) {