stas        02/02/03 03:38:07

  Modified:    .        TODO
               tmpl/custom/html prev_next_link
  Added:       src/images/nav page_noparent.gif
  Log:
  - make the 'up' (parent) button linked only if there is a parent. Use the
  noparent image in the other case with no link.
  
  Revision  Changes    Path
  1.11      +13 -2     modperl-docs/TODO
  
  Index: TODO
  ===================================================================
  RCS file: /home/cvs/modperl-docs/TODO,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- TODO      3 Feb 2002 11:14:55 -0000       1.10
  +++ TODO      3 Feb 2002 11:38:07 -0000       1.11
  @@ -12,8 +12,6 @@
   
   - Internal links (e.g. in src/docs/1.0/guide) aren't hyperlinked.
   
  -- Think about porting the conferences stuff
  -
   - src/creation.html, should be completed and linked from somewhere
     (the tail?)
   
  @@ -26,5 +24,18 @@
   - consider passing the class name to the wrap_box template, so the
     'content' doesn't have to wrap itself in a <div> tag. If class is
     passed then we can use it in <td class="">
  +
  +- currently we have (page_no(prev|parent|next).gif which don't have
  +  the text on the them. We need this to make sure that the widget
  +  doesn't move left/right when there is no prev or next, or
  +  parent. But it doesn't look nice. Consider to use completely empty
  +  images which will just be of the same size (spacer image?). Not sure
  +  though.
  +
  +====================================================================
  +
  +Later:
  +
  +- Think about porting the conferences stuff
   
   
  
  
  
  1.1                  modperl-docs/src/images/nav/page_noparent.gif
  
        <<Binary file>>
  
  
  1.6       +8 -1      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- prev_next_link    3 Feb 2002 06:27:01 -0000       1.5
  +++ prev_next_link    3 Feb 2002 11:38:07 -0000       1.6
  @@ -12,7 +12,14 @@
      ELSE;
           "<img src='${doc.dir.abs_doc_root}/images/nav/page_noprev.gif' 
ALT='next' border=0 width=49 height=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 height=20 width=25></a>[% 
  +-%]
  +[% 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>";
  +   ELSE;
  +   "<img src='${doc.dir.abs_doc_root}/images/nav/page_noparent.gif' ALT='up' 
border=0 height=20 width=25>";
  +   END;
  +-%]
  +[%- 
      next = nav.next;
      IF next;
           link = INCLUDE link prefix=rel_doc_root link=next.meta.link;
  
  
  

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

Reply via email to