summaryrefslogtreecommitdiff
path: root/modules/unit_test/controllers/unit_test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-26 10:27:13 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-26 10:27:13 +0000
commit98ee16ca49c70d12225677999b7534744d13f168 (patch)
tree644a2449f249586382b20449fecac5389c71e860 /modules/unit_test/controllers/unit_test.php
parente1f39ac13f587c6c6fbf5c5ab522b8422f992366 (diff)
Simplify tags code some more:
1) change buckets to be 1-7 not 0-6.. zero-based indicies don't make sense in the real world and are liable to confuse themers. 2) Change tag API to popular_tags($count) which just returns the popular tags. Let the block code massage it into the right format for the view. 3) Move alphasort into the block code, simplify it and rename it to sort_by_name so that it's more descriptive 4) Do the bucketing in the view; this allows the themer to override it and create their own bucketing algorithm to go with the theme's CSS. 5) Don't create any temporary objects.
Diffstat (limited to 'modules/unit_test/controllers/unit_test.php')
0 files changed, 0 insertions, 0 deletions