PHP Classes

File: examples/inheritance/page.html

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

Contents

Class file image Download
{% extends 'section.html' %} {% block title %}Userlist | {{ block.super }} -- {{title}}{% endblock %} {% block content %} {% spaceless %} <h2>Userlist</h2> <ul> {% for user in users %} <li><a href="/users/{{ user.username|urlencode|safe }}">{{ user.username|escape }}</a></li> {% if user.username != 'foobar' %} haha {% endif %} {% endfor %} </ul> [{{ block.super }}] {% endspaceless %} {% endblock %}