[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Smarty/templates/ -> PrintReport.tpl (source)

   1  {*<!--
   2  
   3  /*********************************************************************************
   4  ** The contents of this file are subject to the vtiger CRM Public License Version 1.0
   5   * ("License"); You may not use this file except in compliance with the License
   6   * The Original Code is:  vtiger CRM Open Source
   7   * The Initial Developer of the Original Code is vtiger.
   8   * Portions created by vtiger are Copyright (C) vtiger.
   9   * All Rights Reserved.
  10  *
  11   ********************************************************************************/
  12  
  13  -->*}
  14  
  15  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  16  "http://www.w3.org/TR/html4/loose.dtd">
  17  <html>
  18  <head>
  19  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  20  <link rel="stylesheet" media="print" href="print.css" type="text/css">
  21  <title>vtiger -  Print Report</title>
  22  <style>
  23  {literal}
  24  body{
  25      font-family:Arial, Helvetica, sans-serif;
  26      font-size:12px;
  27  }
  28  
  29  body table{
  30      border-collapse:collapse;
  31  }
  32  
  33  body table tr td{
  34      font-family:Arial, Helvetica, sans-serif;
  35      font-size:12px;
  36      border:0px solid #000000;
  37  }
  38                                                                                              
  39  .printReport{
  40      width:100%;
  41      border:1px solid #000000;
  42      border-collapse:collapse;
  43  }
  44  .printReport tr td{
  45      border:1px dotted #000000;
  46      text-align:left;
  47  }
  48  .printReport tr th{
  49      border-bottom:2px solid #000000;
  50      border-left:1px solid #000000;
  51      border-top:1px solid #000000;
  52      border-right:1px solid #000000;
  53  }
  54  {/literal}
  55  </style>
  56  </head>
  57  <body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" style="text-align:center;" onLoad="JavaScript:window.print()">
  58      <table width="80%" border="0" cellpadding="5" cellspacing="0" align="center">
  59      <tr>
  60          <td align="left" valign="top" style="border:0px solid #000000;">
  61          <h2>{$REPORT_NAME}</h2>
  62          <font  color="#666666"><div id="report_info"></div></font>
  63          </td>
  64          <td align="right" style="border:0px solid #000000;" valign="top"><h3 style="color:#CCCCCC">{$COUNT} {$APP.LBL_RECORDS}</h3></td>
  65      </tr>
  66      <tr>
  67          <td style="border:0px solid #000000;" colspan="2">
  68          <table width="100%" border="0" cellpadding="5" cellspacing="0" align="center" class="printReport" >
  69          {$PRINT_CONTENTS}
  70          </table>
  71          </td>
  72      </tr>
  73      <tr><td colspan="2">&nbsp;</td></tr>
  74      <tr>
  75      <td colspan="2">
  76      {$TOTAL_HTML}
  77      </td>
  78      <tr>
  79      </table>
  80  </body>
  81  <script>
  82  document.getElementById('report_info').innerHTML = window.opener.document.getElementById('report_info').innerHTML;
  83  </script>
  84  </html>
  85  


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7