Login   Register  
PHP Classes
elePHPant
Icontem

File: examples/templates/custom.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jin Nguyen  >  Puja  >  examples/templates/custom.tpl  >  Download  
File: examples/templates/custom.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Puja
Template engine that compiles templates into PHP
Author: By
Last change:
Date: 2013-09-30 23:20
Size: 246 bytes
 

Contents

Class file image Download
{% extends master.tpl %}
{% block body %}
Custom filters:
	normal: {{ name }} => filter: {{ name|urlize:10 }}
	normal: {{ file_name }} => filter: {{ file_name|ext }}
Custom tags:
	{% js_tag jquery.js v=1 %}
	{% css_tag style.css %}
{% endblock %}