From fa9f6bf6446b0d96cb29e21c235a4ab97ab03044 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 22 May 2010 20:31:11 +0000 Subject: [PATCH] a bit more comment typo fixes --- lib/weblib.php | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 6aa83c5b818..5f369f87726 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -185,7 +185,7 @@ function addslashes_js($var) { * * @uses $_SERVER * @param boolean $stripquery if true, also removes the query part of the url. - * @return string The resulting referer or emtpy string + * @return string The resulting referer or empty string */ function get_referer($stripquery=true) { if (isset($_SERVER['HTTP_REFERER'])) { @@ -241,7 +241,7 @@ function qualified_me() { * It can be used in moodle pages where config.php has been included without any further includes. * * It is useful for manipulating urls with long lists of params. - * One situation where it will be useful is a page which links to itself to perfrom various actions + * One situation where it will be useful is a page which links to itself to perform various actions * and / or to process form data. A moodle_url object : * can be created for a page to refer to itself with all the proper get params being passed from page call to * page call and methods can be used to output a url including all the params, optionally adding and overriding @@ -1596,7 +1596,7 @@ function cleanAttributes2($htmlArray){ * @staticvar array $e * @staticvar array $img * @staticvar array $emoticons - * @param string $text Passed by reference. The string to search for smily strings. + * @param string $text Passed by reference. The string to search for smiley strings. * @return string */ function replace_smilies(&$text) { @@ -1638,7 +1638,7 @@ function replace_smilies(&$text) { // Exclude from transformations all the code inside