stas        2002/07/03 21:58:58

  Modified:    tmpl/custom/html changes_link
  Log:
  - use a relative path to the docset root when linking to Changes.html
  - restore the lost change wiped out by the last commit, which was
  preventing the changes page linking to itself
  
  Revision  Changes    Path
  1.6       +8 -8      modperl-docs/tmpl/custom/html/changes_link
  
  Index: changes_link
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/changes_link,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- changes_link      3 Jul 2002 19:21:16 -0000       1.5
  +++ changes_link      4 Jul 2002 04:58:58 -0000       1.6
  @@ -1,8 +1,8 @@
  -[%
  -    changes_id = doc.nav.index_node.extra.changes;
  -    IF changes_id;
  -       changes_nav = doc.nav.by_id(changes_id);
  --%]
  -<a href="[% changes_nav.meta.link %]"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_changes.gif" width="60" height="16" border="0" alt="Changes 
file"></a>
  -<br><br>
  -[%  END -%]
  +[%
  +    changes_id = doc.nav.index_node.extra.changes;
  +    IF changes_id && changes_id != doc.nav.id;
  +       changes_nav = doc.nav.by_id(changes_id);
  +-%]
  +<a href="[% doc.dir.rel_doc_root %]/[% changes_nav.meta.link %]"><img 
src="[%- doc.dir.abs_doc_root -%]/images/nav/page_changes.gif" width="60" 
height="16" border="0" alt="Changes file"></a>
  +<br><br>
  +[%  END -%]
  
  
  

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

Reply via email to