perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-docs/tmpl/custom/html left_box page index
Date Sat, 13 Apr 2002 14:39:46 GMT
stas        02/04/13 07:39:45

  Modified:    tmpl/custom/html page index
  Added:       tmpl/custom/html left_box
  Log:
  move the duplicated code into a dedicated template left_box
  
  Revision  Changes    Path
  1.22      +2 -30     modperl-docs/tmpl/custom/html/page
  
  Index: page
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- page	8 Apr 2002 10:52:55 -0000	1.21
  +++ page	13 Apr 2002 14:39:45 -0000	1.22
  @@ -27,40 +27,12 @@
   
   <!-- left box begin -->
   <div class="leftbox">
  -    <!-- menu main begin -->
   
  -[%- INCLUDE menu_main
  +    [%- INCLUDE left_box
           nav=doc.nav
           rel_doc_root=doc.dir.rel_doc_root;
  --%]
  +    -%]
   
  -    <!-- menu main end -->
  -
  -    <br>
  -
  -    <!-- search begin -->
  -
  -[%- INCLUDE search -%]
  -
  -    <!-- search end -->
  -
  -    <br>
  -
  -    <!-- menu links begin -->
  -
  -[%- INCLUDE menu_links -%]
  -
  -    <!-- menu links end -->
  -
  -    <br>
  -
  -    <!-- ad begin -->
  -
  -[%- INCLUDE ad -%]
  -
  -    <!-- ad end -->
  -
  -    <br><br>
   </div>
   <!-- left box end -->
   
  
  
  
  1.21      +3 -29     modperl-docs/tmpl/custom/html/index
  
  Index: index
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- index	8 Apr 2002 10:52:55 -0000	1.20
  +++ index	13 Apr 2002 14:39:45 -0000	1.21
  @@ -26,37 +26,11 @@
   
   <!-- left box begin -->
   <div class="leftbox">
  -    <!-- menu main begin -->
   
  -[%-INCLUDE menu_main nav=doc.nav; -%]
  +    [%- INCLUDE left_box
  +        nav=doc.nav
  +    -%]
   
  -    <!-- menu main end -->
  -
  -    <br>
  -
  -    <!-- search begin -->
  -
  -[%- INCLUDE search -%]
  -
  -    <!-- search end -->
  -
  -    <br>
  -
  -    <!-- menu links begin -->
  -
  -[%- INCLUDE menu_links -%]
  -
  -    <!-- menu links end -->
  -
  -    <br>
  -
  -    <!-- ad begin -->
  -
  -[%- INCLUDE ad -%]
  -
  -    <!-- ad end -->
  -
  -    <br><br>
   </div>
   <!-- left box end -->
   
  
  
  
  1.1                  modperl-docs/tmpl/custom/html/left_box
  
  Index: left_box
  ===================================================================
  [%- # left box with menus and ads boxes
      # expects to be set:
      # nav          - cache navigator object
      # rel_doc_root - relative docs path (only for pages, not index!)
  -%]
      <!-- menu main begin -->
  [%- INCLUDE menu_main
  # these args must be set by the caller of this template
  #        nav=nav
  #        rel_doc_root=rel_doc_root
  -%]
  
      <!-- menu main end -->
  
      <br>
  
      <!-- search begin -->
  
  [%- INCLUDE search -%]
  
      <!-- search end -->
  
      <br>
  
      <!-- menu links begin -->
  
  [%- INCLUDE menu_links -%]
  
      <!-- menu links end -->
  
      <br>
  
      <!-- ad begin -->
  
  [%- INCLUDE ad -%]
  
      <!-- ad end -->
  
      <br><br>
  
  

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


Mime
View raw message