stas        02/04/15 08:22:59

  Modified:    tmpl/custom/html prev_next_link
  Log:
  add the real titles to the alt tags of prev|up|next
  
  Revision  Changes    Path
  1.13      +6 -6      modperl-docs/tmpl/custom/html/prev_next_link
  
  Index: prev_next_link
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/prev_next_link,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- prev_next_link    8 Apr 2002 10:52:55 -0000       1.12
  +++ prev_next_link    15 Apr 2002 15:22:59 -0000      1.13
  @@ -15,19 +15,19 @@
   -%]
   [%- IF prev_link || next_link || (rel_doc_root && rel_doc_root != '.') -%]
       [%- IF prev_link -%]
  -<a href="[%- prev_link -%]"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_prev.gif" alt="previous page" border="0" width="48" 
height="20"></a>
  +<a href="[%- prev_link -%]"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_prev.gif" alt="previous page: [% prev.meta.title | html %]" 
border="0" width="48" height="20"></a>
       [%- ELSE -%]
  -<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noprev.gif" alt="next 
page" border="0" width="48" height="20">
  +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noprev.gif" alt="no 
next page" border="0" width="48" height="20">
       [%- END -%]
       [%- IF rel_doc_root -%]
  -<a href="[%- rel_doc_root -%]/index.html"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_parent.gif" alt="up" border="0" height="20" width="25"></a>
  +<a href="[%- rel_doc_root -%]/index.html"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_parent.gif" alt="page up: [% nav.up.meta.title | html %]" 
border="0" height="20" width="25"></a>
       [%- ELSE -%]
  -<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noparent.gif" 
alt="parent page" border="0" height="20" width="25">
  +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noparent.gif" alt="no 
parent page" border="0" height="20" width="25">
       [%- END -%]
       [%- IF next_link -%]
  -<a href="[%- next_link -%]"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_next.gif" alt="next page" border="0" width="48" 
height="20"></a>
  +<a href="[%- next_link -%]"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_next.gif" alt="next page: [% next.meta.title | html %]" 
border="0" width="48" height="20"></a>
       [%- ELSE -%]
  -<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_nonext.gif" alt="next 
page" border="0" width="48" height="20">
  +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_nonext.gif" alt="no 
next page" border="0" width="48" height="20">
       [%- END -%]
   [%- ELSE -%]
   <img src="[%- doc.dir.abs_doc_root -%]/images/trans_pix.gif" 
alt="navigation" border="0" width="123" height="20">
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to