PHP Classes

File: examples/inheritance/layout.html

Recommend this page to a friend!
  Classes of Cesar D. Rodas  >  Haanga  >  examples/inheritance/layout.html  >  Download  
File: examples/inheritance/layout.html
Role: Auxiliary data
Content type: text/plain
Description: Example template
Class: Haanga
Template engine to process Django style templates
Author: By
Last change: Update of examples/inheritance/layout.html
Date: 3 years ago
Size: 1,137 bytes


Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Frameset//EN"
    <title>{% block title %}Default title{% endblock %}</title>
    <style type="text/css">
      {% block style %}
      body {
        background-color: #333;
        color: #eee;
        font-family: 'Arial', sans-serif;
        font-size: 0.9em;

      a {
        color: #d00;
    {% endblock %}
    {% block body %}
      <div id="header">
        <h1>My Webpage</h1>
        <h2>My Subtitle</h2>
      <div id="navigation">
        {% block navigation %}
          <li><a href="index.html">My Home</a></li>
          <li><a href="downloads.html">Download</a></li>
          <li><a href="about.html">About us</a></li>
        {% endblock %}
      <div id="content">
        {% block content %}{% endblock %}
      <div id="footer">
        {% include 'shared/about.html' %}
        &copy; Copyright 2007 by Yourself
    {% endblock %}
For more information send a message to info at phpclasses dot org.