From: Chris W. <la...@us...> - 2004-11-27 17:07:56
|
Update of /cvsroot/openinteract/OpenInteract2/extra_packages/delicious_tags/template In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9915/template Modified Files: related_tags.tmpl Log Message: move the tag listing out into a separate component and INCLUDE Index: related_tags.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/extra_packages/delicious_tags/template/related_tags.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** related_tags.tmpl 25 Nov 2004 03:54:27 -0000 1.2 --- related_tags.tmpl 27 Nov 2004 17:07:31 -0000 1.3 *************** *** 1,10 **** [% IF tag_and_count.size > 0 %] ! [% FOREACH tag_count = tag_and_count; ! tagged_objects_url = OI.make_url( ACTION = 'tags', ! TASK = 'show_tagged_objects', ! tag = tag_count.0 ); %] ! o <a href="[% tagged_objects_url %]">[% tag_count.0 %]</a> ([% tag_count.1 %]) <br /> ! [% END %] [% ELSE %] ! No related tags. [% END %] \ No newline at end of file --- 1,5 ---- [% IF tag_and_count.size > 0 %] ! [% INCLUDE delicious_tags::tag_listing %] [% ELSE %] ! [% MSG( 'tags.no_related_tags' ) %] [% END %] \ No newline at end of file |