From: scyrma Date: Wed, 27 Feb 2008 05:55:28 +0000 (+0000) Subject: MDL-13633 - (OOPS) Completed incomplete changes - simplified tag_print_cloud. (merge... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cf79f661cbc34116eb4c53daaa44dd62e7707560;p=moodle.git MDL-13633 - (OOPS) Completed incomplete changes - simplified tag_print_cloud. (merge from 1.9) --- diff --git a/tag/locallib.php b/tag/locallib.php index e51431e6a3..6d109ac639 100644 --- a/tag/locallib.php +++ b/tag/locallib.php @@ -13,12 +13,9 @@ * Prints a tag cloud * * @param array $tagcloud array of tag objects (fields: id, name, rawname, count and flag) - * @param boolean $shuffle wether or not to shuffle the array passed - * @param int $max_size maximum text size, in percentage - * @param int $min_size minimum text size, in percentage * @param $return if true return html string */ -function tag_print_cloud($nr_of_tags=150, $max_size=170, $min_size=70, $return=false) { +function tag_print_cloud($nr_of_tags=150, $return=false) { global $CFG; diff --git a/tag/search.php b/tag/search.php index 3358512ce3..53d50fa62c 100644 --- a/tag/search.php +++ b/tag/search.php @@ -40,7 +40,7 @@ if(!empty($query)) { echo '

'; print_box_start('generalbox', 'big-tag-cloud-box'); -tag_print_cloud(150, false, 170,70); +tag_print_cloud(150); print_box_end(); print_footer();