]> git.mjollnir.org Git - moodle.git/commitdiff
Minor fix with display of %% in language strings
authormoodler <moodler>
Wed, 15 Jan 2003 11:28:54 +0000 (11:28 +0000)
committermoodler <moodler>
Wed, 15 Jan 2003 11:28:54 +0000 (11:28 +0000)
admin/lang.php

index 309e6bf91cc5b9e220fb134fb09cf72bdfa0e7f0..a068b19b3cf2b4648f91a7e2b6b1ed9b40db4513 100644 (file)
             foreach ($enstring as $key => $envalue) {
                 $envalue = nl2br(htmlspecialchars($envalue));
                 $envalue = str_replace("\$a","<B>\$a</B>", $envalue);  // Make variables bold
+                $envalue = str_replace("%%","%",$envalue);
                 // TODO:  It would be nice if all the $a->something variables were bold too
 
                 echo "<TR>";