Changeset 6715
- Timestamp:
- Jul 27, 2010, 2:49:29 PM (14 years ago)
- Location:
- branches/2.1/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/include/config_default.inc.php
r6511 r6715 632 632 $conf['menubar_tag_cloud_items_number'] = 100; 633 633 634 // content_tag_cloud_items_number: number of tags to show in the tag 635 // cloud on the content page. Only the most represented tags will be shown 634 // content_tag_cloud_items_number: number of related tags to show in the tag 635 // cloud on the content page, when the current section is not a set of 636 // tags. Only the most represented tags will be shown 636 637 $conf['content_tag_cloud_items_number'] = 12; 637 638 -
branches/2.1/include/menubar.inc.php
r6364 r6715 144 144 { 145 145 $selection = array_slice( $page['items'], $page['start'], $page['nb_image_page'] ); 146 $tags = add_level_to_tags( get_common_tags($selection, 12) );146 $tags = add_level_to_tags( get_common_tags($selection, $conf['content_tag_cloud_items_number']) ); 147 147 foreach ($tags as $tag) 148 148 {
Note: See TracChangeset
for help on using the changeset viewer.