Changeset 78


Ignore:
Timestamp:
Apr 28, 2003, 11:06:14 PM (19 years ago)
Author:
kake
Message:

Fixed up RDF output for category/locale indexes

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/rdf_index.tt

    r77 r78  
    77        >
    88
    9 [% IF category.name -%]
    10   <gs:category rdf:about="[% full_cgi_url %]?action=catindex;category=[% CGI.escape(category.name) %];format=rdf">
    11   <gs:name>[% CGI.escapeHTML(category.name) %]</gs:name>
     9[%- IF criterion -%]
     10  <gs:[% criterion.type %] rdf:about="[% full_cgi_url %]?action=index;index_type=[% CGI.escape(criterion.type) %];index_value=[% CGI.escape(criterion.value) %];format=rdf">
     11  <gs:name>[% CGI.escapeHTML(criterion.name) %]</gs:name>
    1212[% ELSE -%]
    1313  <gs:category rdf:about="[% full_cgi_url %]?action=index;format=rdf">
  • trunk/wiki.cgi

    r77 r78  
    336336            metadata_value => $args{value} );
    337337        $tt_vars{criterion} = {
     338            type => $args{type},
    338339            name => $q->escapeHTML(ucfirst($args{type}) . " $args{value}"),
    339340            url  => "$script_name?" . ucfirst($args{type}) . "_" . uri_escape($formatter->node_name_to_node_param($args{value})) };
Note: See TracChangeset for help on using the changeset viewer.