Index: trunk/extensions/SemanticResultFormats/TagCloud/SRF_TagCloud.php |
— | — | @@ -47,8 +47,8 @@ |
48 | 48 | |
49 | 49 | $this->sizeMode = $params['increase']; |
50 | 50 | |
51 | | - if ( !array_key_exists( 'tagorder', $params ) || !in_array( $params['tagorder'], array( 'alphabetic', 'asc', 'desc', 'random', 'unchanged' ) ) ) { |
52 | | - $params['tagorder'] = 'alphabetic'; |
| 51 | + if ( !array_key_exists( 'tagorder', $params ) || !in_array( $params['tagorder'], array( 'alphabetical', 'asc', 'desc', 'random', 'unchanged' ) ) ) { |
| 52 | + $params['tagorder'] = 'alphabetical'; |
53 | 53 | } |
54 | 54 | |
55 | 55 | $this->tagOrder = $params['tagorder']; |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | $this->minTagSize = $params['minsize']; |
74 | 74 | |
75 | 75 | if ( !array_key_exists( 'maxsize', $params ) || !ctype_digit( (string)$params['maxsize'] ) ) { |
76 | | - $params['maxsize'] = 177; |
| 76 | + $params['maxsize'] = 242; |
77 | 77 | } |
78 | 78 | |
79 | 79 | $this->maxSize = $params['maxsize']; |
— | — | @@ -188,7 +188,7 @@ |
189 | 189 | case 'asc' : |
190 | 190 | asort( $tags ); |
191 | 191 | break; |
192 | | - case 'alphabetic' : |
| 192 | + case 'alphabetical' : |
193 | 193 | $tagNames = array_keys( $tags ); |
194 | 194 | natcasesort( $tagNames ); |
195 | 195 | $newTags = array(); |