summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Producers.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2009-12-28 17:45:47 +0100
committerYorhel <git@yorhel.nl>2009-12-28 17:45:47 +0100
commitc5bf1eec6899e143753d470f433df5f5bb980a4b (patch)
treef530aa7697c73b25d2766274e5f5d635037ebc95 /lib/VNDB/Handler/Producers.pm
parent31508415ce5eb6cd5c3de48a60e8a211dea22803 (diff)
Highlight opened VN/producer in relation graphs
The warnbg and warnborder colors from the skins are used for highlighting.
Diffstat (limited to 'lib/VNDB/Handler/Producers.pm')
-rw-r--r--lib/VNDB/Handler/Producers.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNDB/Handler/Producers.pm b/lib/VNDB/Handler/Producers.pm
index d3f570ab..339fe8e0 100644
--- a/lib/VNDB/Handler/Producers.pm
+++ b/lib/VNDB/Handler/Producers.pm
@@ -26,6 +26,7 @@ sub rg {
my $title = mt '_prodrg_title', $p->{name};
return if $self->htmlRGHeader($title, 'p', $p);
+ $p->{svg} =~ s/id="node_p$pid"/id="graph_current"/;
$p->{svg} =~ s/\$___(_prodrel_[a-z]+)____\$/mt $1/eg;
$p->{svg} =~ s/\$(_lang_[a-z]+)_\$/mt $1/eg;
$p->{svg} =~ s/\$(_ptype_[a-z]+)_\$/mt $1/eg;