Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/default/template.xtpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Stefan Gabos  >  PHP Printer Friendly Pages Generator  >  templates/default/template.xtpl  >  Download  
File: templates/default/template.xtpl
Role: Auxiliary data
Content type: text/plain
Description: default template
Class: PHP Printer Friendly Pages Generator
Generate HTML pages adjusted for printing
Author: By
Last change:
Date: 2006-10-03 13:51
Size: 1,201 bytes
 

Contents

Class file image Download
<!-- BEGIN: main -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="{templatePath}style.css" type="text/css">
        
        <!-- note that set the <base> tage AFTER we include the template's stylesheet file -->
        
        <base href="{BASE_HREF}">
        
        <!-- you can place a link here to the stylesheet of your site to ensure that everything looks and feels the same -->
        
    </head>
    <body>
        <table style="width:100%;height:100%">
            <tr>
                <td id="header">
                    <h1>customize the header from the template</h1>
                </td>
            </tr>
            <tr>
                <td style="width:100%;height:100%" valign="top">
                    {printContent}
                </td>
            </tr>
            <tr>
                <td id="footer">
                    <span class="footer">customize the footer from the template</span>
                </td>
            </tr>
        </table>
    </body>
</html>
<!-- END: main -->