File tree Expand file tree Collapse file tree 1 file changed +5
-27
lines changed
Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Original file line number Diff line number Diff line change 284284
285285;; Customization of header, add title attributes (overrides
286286;; dbcommon.dsl)
287- (define (default-header-nav-tbl-ff elemnode prev next prevsib nextsib )
287+ (define (default-header-nav-tbl-ff elemnode prev next)
288288 (let* ((r1? (nav-banner? elemnode))
289289 (r1-sosofo (make element gi: "TR"
290290 (make element gi: "TH"
298298 (nav-banner elemnode)))))
299299 (r2? (or (not (node-list-empty? prev))
300300 (not (node-list-empty? next))
301- (not (node-list-empty? prevsib))
302- (not (node-list-empty? nextsib))
303301 (nav-context? elemnode)))
304302 (r2-sosofo (make element gi: "TR"
305303 (make element gi: "TD"
323321 (list "WIDTH" "10%" )
324322 (list "ALIGN" "left" )
325323 (list "VALIGN" "top" ))
326- (if (node-list-empty? prevsib)
327- (make entity-ref name: "nbsp" )
328- (make element gi: "A"
329- attributes: (list
330- (list "TITLE" (element-title-string prevsib))
331- (list "HREF"
332- (href-to
333- prevsib)))
334- (gentext-nav-prev-sibling prevsib))))
324+ (if (nav-up? elemnode)
325+ (nav-up elemnode)
326+ (nav-home-link elemnode)))
335327 (make element gi: "TD"
336328 attributes: (list
337329 (list "WIDTH" "60%" )
340332 (nav-context elemnode))
341333 (make element gi: "TD"
342334 attributes: (list
343- (list "WIDTH" "10%" )
344- (list "ALIGN" "right" )
345- (list "VALIGN" "top" ))
346- (if (node-list-empty? nextsib)
347- (make entity-ref name: "nbsp" )
348- (make element gi: "A"
349- attributes: (list
350- (list "TITLE" (element-title-string nextsib))
351- (list "HREF"
352- (href-to
353- nextsib)))
354- (gentext-nav-next-sibling nextsib))))
355- (make element gi: "TD"
356- attributes: (list
357- (list "WIDTH" "10%" )
335+ (list "WIDTH" "20%" )
358336 (list "ALIGN" "right" )
359337 (list "VALIGN" "top" ))
360338 (if (node-list-empty? next)
You can’t perform that action at this time.
0 commit comments