/[suikacvs]/test/html-webhacc/cc.cgi
Suika

Diff of /test/html-webhacc/cc.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by wakaba, Fri Mar 21 08:59:47 2008 UTC revision 1.46 by wakaba, Fri Mar 21 09:17:45 2008 UTC
# Line 1032  sub print_rdf_section ($$$) { Line 1032  sub print_rdf_section ($$$) {
1032    
1033  sub get_rdf_resource_html ($) {  sub get_rdf_resource_html ($) {
1034    my $resource = shift;    my $resource = shift;
1035    if ($resource->{uri}) {    if (defined $resource->{uri}) {
1036      my $euri = htescape ($resource->{uri});      my $euri = htescape ($resource->{uri});
1037      return '<code class=uri>&lt;<a href="' . $euri . '">' . $euri .      return '<code class=uri>&lt;<a href="' . $euri . '">' . $euri .
1038          '</a>></code>';          '</a>></code>';
1039    } elsif ($resource->{bnodeid}) {    } elsif (defined $resource->{bnodeid}) {
1040      return htescape ('_:' . $resource->{bnodeid});      return htescape ('_:' . $resource->{bnodeid});
1041    } elsif ($resource->{nodes}) {    } elsif ($resource->{nodes}) {
1042      return '(rdf:XMLLiteral)';      return '(rdf:XMLLiteral)';

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24