File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,23 +141,25 @@ ($)
141141 . " height='32' alt='$text ' width='32'>" ;
142142}
143143
144- sub use_my_icon ($) {
145- my $s = $_ [0] ;
144+ sub use_my_icon ($$ ) {
145+ my ( $s , $rel ) = @_ ;
146146 if ($s =~ / \< tex2html_([a-z_]+)_visible_mark\> / ) {
147147 my $r = get_my_icon($1 );
148148 $s =~ s /\< tex2html_[a-z_]+_visible_mark\> / $r / ;
149149 }
150+ $s =~ s / <[aA] / <a rel="$rel " / ;
150151 return $s ;
151152}
152153
153154sub make_nav_panel () {
154155 my $s ;
155156 my $BLANK_ICON = get_my_icon(' blank' );
156- $NEXT = $NEXT_TITLE ? use_my_icon(" $NEXT " ) : $BLANK_ICON ;
157- $UP = $UP_TITLE ? use_my_icon(" $UP " ) : $BLANK_ICON ;
158- $PREVIOUS = $PREVIOUS_TITLE ? use_my_icon(" $PREVIOUS " ) : $BLANK_ICON ;
159- $CONTENTS = use_my_icon(" $CONTENTS " );
160- $INDEX = $INDEX ? use_my_icon(" $INDEX " ) : $BLANK_ICON ;
157+ $NEXT = $NEXT_TITLE ? use_my_icon(" $NEXT " , ' next' ) : $BLANK_ICON ;
158+ $UP = $UP_TITLE ? use_my_icon(" $UP " , ' parent' ) : $BLANK_ICON ;
159+ $PREVIOUS = ($PREVIOUS_TITLE
160+ ? use_my_icon(" $PREVIOUS " , ' prev' ) : $BLANK_ICON );
161+ $CONTENTS = use_my_icon(" $CONTENTS " , ' contents' );
162+ $INDEX = $INDEX ? use_my_icon(" $INDEX " , ' index' ) : $BLANK_ICON ;
161163 if (!$CUSTOM_BUTTONS ) {
162164 $CUSTOM_BUTTONS = $BLANK_ICON ;
163165 }
You can’t perform that action at this time.
0 commit comments