Render the primary category as bold in cross reference listings.
This commit is contained in:
parent
d9673d368a
commit
61a99983b1
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=1121
2 changed files with 12 additions and 2 deletions
|
@ -95,7 +95,12 @@ sub main {
|
||||||
$data{$i} .= "<BR><EM>Also listed in:</EM> ";
|
$data{$i} .= "<BR><EM>Also listed in:</EM> ";
|
||||||
foreach $j (@cat) {
|
foreach $j (@cat) {
|
||||||
if ($j ne $i) {
|
if ($j ne $i) {
|
||||||
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
|
if ($j eq $cat[0]) {
|
||||||
|
$data{$i} .= " <STRONG><A HREF=\"$j.html#$name\">\u$j</A></STRONG>,";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# remove the trailing comma
|
# remove the trailing comma
|
||||||
|
|
|
@ -95,7 +95,12 @@ sub main {
|
||||||
$data{$i} .= "<BR><EM>Also listed in:</EM> ";
|
$data{$i} .= "<BR><EM>Also listed in:</EM> ";
|
||||||
foreach $j (@cat) {
|
foreach $j (@cat) {
|
||||||
if ($j ne $i) {
|
if ($j ne $i) {
|
||||||
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
|
if ($j eq $cat[0]) {
|
||||||
|
$data{$i} .= " <STRONG><A HREF=\"$j.html#$name\">\u$j</A></STRONG>,";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$data{$i} .= " <A HREF=\"$j.html#$name\">\u$j</A>,";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# remove the trailing comma
|
# remove the trailing comma
|
||||||
|
|
Loading…
Reference in a new issue