stas        2004/08/25 00:56:08

  Modified:    src      config.cfg Changes.pod
               tmpl/custom/html headers index navbar_global
                        navbar_local_bottom navbar_local_top page sitemap
                        tail title top_link
  Added:       src      print.css
  Log:
  Add support for "pretty print" w/o the logos and menus
  Submitted by: allan juul <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.41      +1 -0      modperl-docs/src/config.cfg
  
  Index: config.cfg
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/config.cfg,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -u -r1.40 -r1.41
  --- config.cfg        9 Aug 2004 05:58:59 -0000       1.40
  +++ config.cfg        25 Aug 2004 07:56:08 -0000      1.41
  @@ -49,6 +49,7 @@
       # non-pod/html files or dirs to be copied unmodified
       copy_glob => [qw(
           style.css
  +        print.css
           images/*
           robots.txt
           STATUS
  
  
  
  1.3       +6 -0      modperl-docs/src/Changes.pod
  
  Index: Changes.pod
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/Changes.pod,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -u -r1.2 -r1.3
  --- Changes.pod       2 Jul 2002 13:18:01 -0000       1.2
  +++ Changes.pod       25 Aug 2004 07:56:08 -0000      1.3
  @@ -9,6 +9,12 @@
   
   The most recent changes are listed first.
   
  +=head1 Ongoing
  +
  +Add support for "pretty print" w/o the logos and menus: [allan juul
  +<lambretta /at/ inet.uni2.dk>]
  +
  +
   =head1 July 2, 2002
   
   The new site has been released as Release Candidate 1.
  
  
  
  1.1                  modperl-docs/src/print.css
  
  Index: print.css
  ===================================================================
  /*** main elements ***/
  
  /* body specs */
  
  
  .body-margins {
      position: absolute;
      top: 0px;
      left: 0px;
  
      /* this border MUST be _0px_ for ns4 and others */
      border: 0px;
  
      padding: 0px 0px 0px 0px;
      margin: 0px 10px 0px 10px;
      background-image: none;
  
  }
  
  /* opera */
  body[class="body-margins"] {
      width: auto !important;
  }
  
  .noPrint {
      display:none;
  }
  
  div.rightbox {
      position: inherit; /*this can not be relative, absolute or unspecifed*/
      padding: 0px 0px 0px 0px;
      margin: 0px 0px 0px 0px;
      border: 1px; /* this border MUST be _1px_ for ns4 */
      background-color: #ffffff;
      color: #000000;
  }
  
  
  
  1.8       +2 -1      modperl-docs/tmpl/custom/html/headers
  
  Index: headers
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/headers,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -u -r1.7 -r1.8
  --- headers   12 Jul 2002 07:54:49 -0000      1.7
  +++ headers   25 Aug 2004 07:56:08 -0000      1.8
  @@ -11,6 +11,7 @@
                   },
           },
           link => "<link href=\"${doc.dir.abs_doc_root}/style.css\" 
rel=\"stylesheet\" type=\"text/css\" title=\"refstyle\">",
  +        link_print => "<link href=\"${doc.dir.abs_doc_root}/print.css\" 
rel=\"stylesheet\" type=\"text/css\" title=\"refstyle\" media=\"print\">",
   
   };
   
  @@ -22,7 +23,7 @@
           <base href="[% doc.headers.base | uri | html %]">
   [%- END -%]
   
  -[%- "        $l\n" FOREACH l = [ doc.headers.link, default_headers.link ] -%]
  +[%- "        $l\n" FOREACH l = [ doc.headers.link, default_headers.link, 
default_headers.link_print ] -%]
           <meta name="description" content="mod_perl documentation: [% 
abstract | html %]">
   [%- FOREACH m = ["name", "http-equiv"];
           SET merge = {};
  
  
  
  1.24      +2 -2      modperl-docs/tmpl/custom/html/index
  
  Index: index
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -u -r1.23 -r1.24
  --- index     29 Jul 2002 08:19:18 -0000      1.23
  +++ index     25 Aug 2004 07:56:08 -0000      1.24
  @@ -9,7 +9,7 @@
   <!-- logobox begin -->
   <div class="logobox">
       <table border="0" cellspacing="0" cellpadding="0" width="100%">
  -        <tr valign="top">
  +        <tr valign="top" class="noPrint">
   
               [%- INCLUDE logo;
               
  @@ -27,7 +27,7 @@
   <!-- logobox end -->
   
   <!-- left box begin -->
  -<div class="leftbox">
  +<div class="leftbox noPrint">
   
       [%- INCLUDE left_box
           nav=doc.nav
  
  
  
  1.13      +4 -4      modperl-docs/tmpl/custom/html/navbar_global
  
  Index: navbar_global
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_global,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -u -r1.12 -r1.13
  --- navbar_global     28 Jun 2002 06:36:57 -0000      1.12
  +++ navbar_global     25 Aug 2004 07:56:08 -0000      1.13
  @@ -68,22 +68,22 @@
           <td rowspan="2" width="1"><small class="nbr"><br 
class="smallbr"></small></td>
           <!-- camel end -->
       </tr>
  -    <tr valign="top">
  +    <tr valign="top" class="noPrint">
           <td colspan="2" height="6"><small class="nbr"><br 
class="smallbr"></small></td>
       </tr>
   
       <!-- topline begin -->
  -    <tr valign="top">
  +    <tr valign="top" class="noPrint">
           <td colspan="3" height="1" class="camel-line-top"><small 
class="nbr"><br class="smallbr"></small></td>
           <td><small class="nbr"><br class="smallbr"></small></td>
      </tr>
  -    <tr valign="top">
  +    <tr valign="top" class="noPrint">
           <td colspan="3" height="1" class="camel-line-bottom"><small 
class="nbr"><br class="smallbr"></small></td>
           <td><small class="nbr"><br class="smallbr"></small></td>
       </tr>
       <!-- topline end -->
   
  -    <tr valign="top">
  +    <tr valign="top" class="noPrint">
           <td height="3" colspan="4"><small class="nbr"><br 
class="smallbr"></small></td>
       </tr>
   
  
  
  
  1.12      +1 -1      modperl-docs/tmpl/custom/html/navbar_local_bottom
  
  Index: navbar_local_bottom
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_local_bottom,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -u -r1.11 -r1.12
  --- navbar_local_bottom       3 Jul 2002 19:21:16 -0000       1.11
  +++ navbar_local_bottom       25 Aug 2004 07:56:08 -0000      1.12
  @@ -3,7 +3,7 @@
      # nav          - cache navigator object
      # rel_doc_root - relative docs path
   -%]
  -   <table width="100%" border="0" cellspacing="0" cellpadding="0">
  +   <table width="100%" border="0" cellspacing="0" cellpadding="0" 
class="noPrint">
          <tr>
              <!-- this height must be 1px more than the highest gif ns6/mac -->
              <td width="195" nowrap height="17">
  
  
  
  1.18      +1 -1      modperl-docs/tmpl/custom/html/navbar_local_top
  
  Index: navbar_local_top
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_local_top,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -u -r1.17 -r1.18
  --- navbar_local_top  28 Jun 2002 06:36:57 -0000      1.17
  +++ navbar_local_top  25 Aug 2004 07:56:08 -0000      1.18
  @@ -4,7 +4,7 @@
      # rel_doc_root - relative docs path
   -%]
           <!-- local navigation begin -->
  -        <tr valign="top">
  +        <tr valign="top" class="noPrint">
               <!-- this particular first cell is here due to a strange bug in 
IE5 for mac -->
               <td><small class="nbr"><br class="smallbr"></small></td>
               <td colspan="2" align="right" valign="top" height="16" 
nowrap>[%- INCLUDE prev_next_link -%]</td>
  
  
  
  1.25      +2 -2      modperl-docs/tmpl/custom/html/page
  
  Index: page
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -u -r1.24 -r1.25
  --- page      29 Jul 2002 08:19:18 -0000      1.24
  +++ page      25 Aug 2004 07:56:08 -0000      1.25
  @@ -9,7 +9,7 @@
   <!-- logobox begin -->
   <div class="logobox">
       <table border="0" cellspacing="0" cellpadding="0" width="100%">
  -        <tr valign="top">
  +        <tr valign="top" class="noPrint">
   
               [%- INCLUDE logo;
               
  @@ -28,7 +28,7 @@
   <!-- logobox end -->
   
   <!-- left box begin -->
  -<div class="leftbox">
  +<div class="leftbox noPrint">
   
       [%- INCLUDE left_box
           nav=doc.nav
  
  
  
  1.7       +2 -2      modperl-docs/tmpl/custom/html/sitemap
  
  Index: sitemap
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/sitemap,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -u -r1.6 -r1.7
  --- sitemap   28 Jun 2002 06:36:57 -0000      1.6
  +++ sitemap   25 Aug 2004 07:56:08 -0000      1.7
  @@ -9,7 +9,7 @@
   <!-- logobox begin -->
   <div class="logobox">
       <table border="0" cellspacing="0" cellpadding="0" width="100%">
  -        <tr valign="top">
  +        <tr valign="top" class="noPrint">
   
               [%- INCLUDE logo -%]
               
  @@ -32,7 +32,7 @@
   <!-- logobox end -->
   
   <!-- left box begin -->
  -<div class="leftbox">
  +<div class="leftbox noPrint">
   
       [%- INCLUDE left_box
           nav=doc.nav
  
  
  
  1.23      +1 -1      modperl-docs/tmpl/custom/html/tail
  
  Index: tail
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/tail,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -u -r1.22 -r1.23
  --- tail      17 Jan 2003 00:30:57 -0000      1.22
  +++ tail      25 Aug 2004 07:56:08 -0000      1.23
  @@ -2,7 +2,7 @@
      # nav             - cache navigator object
      # docset_rel_root - relative docs path
   -%]
  -        <div class="footer">
  +        <div class="footer noPrint">
               <hr noshade size="1">
               <!-- footer (tail )-->
               <p class="modified">Last modified [% doc.last_modified %]</p>
  
  
  
  1.11      +1 -1      modperl-docs/tmpl/custom/html/title
  
  Index: title
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/title,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -u -r1.10 -r1.11
  --- title     28 Jun 2002 06:36:57 -0000      1.10
  +++ title     25 Aug 2004 07:56:08 -0000      1.11
  @@ -28,7 +28,7 @@
               <td height="2" colspan="4"><small class="nbr"><br 
class="smallbr"></small></td>
           </tr>
   
  -        <tr>
  +        <tr class="noPrint">
               <!-- download begin -->
               <td colspan="3" align="right" valign="bottom" nowrap>[%- INCLUDE 
download_link -%]</td>
               <td width="1"><small class="nbr"><br 
class="smallbr"></small></td>
  
  
  
  1.6       +1 -1      modperl-docs/tmpl/custom/html/top_link
  
  Index: top_link
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/top_link,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -u -r1.5 -r1.6
  --- top_link  28 Jun 2002 06:36:57 -0000      1.5
  +++ top_link  25 Aug 2004 07:56:08 -0000      1.6
  @@ -1 +1 @@
  -<a href="#top"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_top.gif" width="48" height="16" border="0" alt="TOP"></a>
  \ No newline at end of file
  +<a href="#top" class="noPrint"><img src="[%- doc.dir.abs_doc_root 
-%]/images/nav/page_top.gif" width="48" height="16" border="0" alt="TOP"></a>
  \ No newline at end of file
  
  
  

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

Reply via email to