]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13633 - (OOPS) Completed incomplete changes - simplified tag_print_cloud. (merge...
authorscyrma <scyrma>
Wed, 27 Feb 2008 05:55:28 +0000 (05:55 +0000)
committerscyrma <scyrma>
Wed, 27 Feb 2008 05:55:28 +0000 (05:55 +0000)
tag/locallib.php
tag/search.php

index e51431e6a36b55486c27e69f0ee836a4c5d82290..6d109ac63947bd68c7a658e345af2a15dd692c0f 100644 (file)
  * 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;
     
index 3358512ce3465d44141a301333928f9f0be81483..53d50fa62c5eb6b60d149ac8f25156d4910078e6 100644 (file)
@@ -40,7 +40,7 @@ if(!empty($query)) {
 echo '<br/><br/>';
 
 print_box_start('generalbox', 'big-tag-cloud-box');
-tag_print_cloud(150, false, 170,70);
+tag_print_cloud(150);
 print_box_end();
 
 print_footer();