You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/02/03 06:58:02 UTC

cvs commit: modperl-docs/tmpl/custom/html prev_next_link

stas        02/02/02 21:58:02

  Modified:    .        TODO
               src/images/nav page_nonext.gif page_noprev.gif
               tmpl/custom/html prev_next_link
  Log:
  - add the empty images for prev|next with no link and adjust the template
  to use these. This will ensure that the widget won't jiggle when there is
  no prev or next doc.
  
  Revision  Changes    Path
  1.8       +4 -0      modperl-docs/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /home/cvs/modperl-docs/TODO,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- TODO	30 Jan 2002 16:51:48 -0000	1.7
  +++ TODO	3 Feb 2002 05:58:02 -0000	1.8
  @@ -1,5 +1,9 @@
   # things to do for mod_perl site infrastructure
   
  +- Basic
  +
  + o The ads crash NS4 (any version)
  +
   - Menu: 
   
     o Need to try to make the menu smaller
  
  
  
  1.2       +1 -2      modperl-docs/src/images/nav/page_nonext.gif
  
  	<<Binary file>>
  
  
  1.2       +1 -1      modperl-docs/src/images/nav/page_noprev.gif
  
  	<<Binary file>>
  
  
  1.4       +4 -0      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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- prev_next_link	3 Feb 2002 04:47:01 -0000	1.3
  +++ prev_next_link	3 Feb 2002 05:58:02 -0000	1.4
  @@ -9,12 +9,16 @@
      IF prev;
           link = INCLUDE link prefix=rel_doc_root link=prev.meta.link;
           "<a href='$link'><img src='${doc.dir.abs_doc_root}/images/nav/page_prev.gif' ALT='prev' border=0 width=48 heigth=20></a>";
  +   ELSE;
  +        "<img src='${doc.dir.abs_doc_root}/images/nav/page_noprev.gif' ALT='next' border=0 width=49 heigth=20>";
      END;
   %]<a href='[% rel_doc_root %]/index.html'><img src='[% doc.dir.abs_doc_root %]/images/nav/page_parent.gif' ALT='up' border=0 heigth=20 width=25></a>[% 
      next = nav.next;
      IF next;
           link = INCLUDE link prefix=rel_doc_root link=next.meta.link;
           "<a href='$link'><img src='${doc.dir.abs_doc_root}/images/nav/page_next.gif' ALT='next' border=0 width=49 heigth=20></a>";
  +   ELSE;
  +        "<img src='${doc.dir.abs_doc_root}/images/nav/page_nonext.gif' ALT='next' border=0 width=49 heigth=20>";
      END;
   %]
   </div>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org