From: Chris W. <la...@us...> - 2005-03-29 05:10:47
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/object_tags/template In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30046/object_tags/template Added Files: related_tags.tmpl tag_listing.tmpl tagged_objects.tmpl tagged_objects_page.tmpl Log Message: OIN-37: migrate delicious_tags package to core --- NEW FILE: related_tags.tmpl --- [% IF tag_and_count.size > 0 %] [% INCLUDE object_tags::tag_listing %] [% ELSE %] [% MSG( 'tags.no_related_tags' ) %] [% END %] --- NEW FILE: tag_listing.tmpl --- [% 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 %] --- NEW FILE: tagged_objects.tmpl --- [% FOREACH info = tag_info; item_url = OI.make_url( BASE = info.url, do_not_escape = 1 ) %] o <span class="taggedObject">[% info.object_type %]: <a href="[% item_url %]">[% info.name %]</a></span><br /> [% END %] --- NEW FILE: tagged_objects_page.tmpl --- [% PROCESS error_message %] <h2>Objects by Tag</h2> <p><b>Tag:</b> [% tag %]</p> <p> [% INCLUDE object_tags::tagged_objects %] </p> |