Update of /cvsroot/openinteract/OpenInteract2/pkg/object_tags/template
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8168/template
Modified Files:
tag_listing.tmpl related_tags.tmpl
Log Message:
add HTML::TagCloud option
Index: tag_listing.tmpl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/pkg/object_tags/template/tag_listing.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tag_listing.tmpl 29 Mar 2005 05:10:38 -0000 1.1
--- tag_listing.tmpl 21 Sep 2005 04:06:27 -0000 1.2
***************
*** 1,6 ****
! [% FOREACH tag_count = tag_and_count;
! tagged_objects_url = OI.make_url( ACTION = 'tags',
! TASK = 'show_tagged_objects',
! tag = tag_count.0 ); %]
o <span class="tagListing"><a href="[% tagged_objects_url %]">[% tag_count.0 %]</a> ([% tag_count.1 %])</span><br />
! [% END %]
--- 1,11 ----
! [%- IF ACTION.use_cloud -%]
! [%- tag_cloud = TAGS.build_cloud( tag_and_count );
! tag_cloud.html_and_css; -%]
! [%- ELSE -%]
! [%- FOREACH tag_count = tag_and_count;
! tagged_objects_url = OI.make_url( ACTION = 'tags',
! TASK = 'show_tagged_objects',
! tag = tag_count.0 ); %]
o <span class="tagListing"><a href="[% tagged_objects_url %]">[% tag_count.0 %]</a> ([% tag_count.1 %])</span><br />
! [% END -%]
! [%- END -%]
\ No newline at end of file
Index: related_tags.tmpl
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/pkg/object_tags/template/related_tags.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** related_tags.tmpl 29 Mar 2005 05:10:38 -0000 1.1
--- related_tags.tmpl 21 Sep 2005 04:06:27 -0000 1.2
***************
*** 2,5 ****
[% INCLUDE object_tags::tag_listing %]
[% ELSE %]
! [% MSG( 'tags.no_related_tags' ) %]
[% END %]
\ No newline at end of file
--- 2,5 ----
[% INCLUDE object_tags::tag_listing %]
[% ELSE %]
! [% MSG( 'object_tags.no_related' ) %]
[% END %]
\ No newline at end of file
|