Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 616b23b

Browse files
committed
img_tag(), top_navigation_panel(): Generate markup the same case as other
functions in this file.
1 parent 8da9e6a commit 616b23b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Doc/.latex2html-init

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ sub img_tag {
2020
( ($icon =~ /(gif)/) ?
2121
do {
2222
$icon =~ /(up|next|previous|next_page|previous_page|change_begin|change_end|change_delete|contents|index)/;
23-
join('','<IMG ',$iconsizes{$1},' ALIGN=BOTTOM ALT="',$1,
24-
'" SRC="',$ICONSERVER,"/$icon",'" BORDER=0>')
23+
join('','<img ',$iconsizes{$1},' align=bottom alt="',$1,
24+
'" src="',$ICONSERVER,"/$icon",'" border=0>')
2525
} :
2626
$icon);
2727
}
@@ -98,22 +98,22 @@ sub process_command {
9898
sub top_navigation_panel {
9999

100100
# Now add a few buttons with a space between them
101-
"<DIV CLASS=navigation>\n" .
101+
"<div class=navigation>\n" .
102102
"$NEXT $UP $PREVIOUS $CONTENTS $INDEX $CUSTOM_BUTTONS" .
103103

104104
"<BR>\n" . # Line break
105105

106106
# If ``next'' section exists, add its title to the navigation panel
107-
($NEXT_TITLE ? "<B> Next:</B> $NEXT_TITLE\n" : undef) .
107+
($NEXT_TITLE ? "<b> Next:</b> $NEXT_TITLE\n" : undef) .
108108

109109
# Similarly with the ``up'' title ...
110-
($UP_TITLE ? "<B>Up:</B> $UP_TITLE\n" : undef) .
110+
($UP_TITLE ? "<b>Up:</b> $UP_TITLE\n" : undef) .
111111

112112
# ... and the ``previous'' title
113-
($PREVIOUS_TITLE ? "<B> Previous:</B> $PREVIOUS_TITLE\n" : undef) .
113+
($PREVIOUS_TITLE ? "<b> Previous:</b> $PREVIOUS_TITLE\n" : undef) .
114114

115115
# Line Break, horizontal rule (3-d dividing line) and new paragraph
116-
"<BR><HR><P></DIV>\n"
116+
"<br><hr><p></div>\n"
117117
}
118118

119119
sub bot_navigation_panel {

0 commit comments

Comments
 (0)