[%# Interest search, based on code from LiveJournal. # # Authors: # Jen Griffin # # Copyright (c) 2010 by Dreamwidth Studios, LLC. # # This program is free software; you may redistribute it and/or modify it # under the same terms as Perl itself. For a copy of the license, please # reference 'perldoc perlartistic' or 'perldoc perlgpl'. # %] [%- sections.head = BLOCK %] [% END -%] [%- CALL dw.active_resource_group( "foundation" ) -%] [%- sections.title='.title' | ml -%]

[% '.popular.head' | ml %]

[% '.popular.text' | ml %] [%- IF no_text_mode -%] [% '.popular.textmode' | ml(aopts = "href='$site.root/interests?view=popular&mode=text'") %] [%- END -%]

[%- IF pop_ints -%] [%- IF no_text_mode; pop_cloud; ELSE -%] [%- FOREACH i = pop_ints -%] [%- END -%]
[% '.interest' | ml %] [% '.count' | ml %]
[% i.eint %] [% i.value %]
[%- END -%] [%- ELSE; '.error.nodata' | ml; END -%]