File: examples/templates/build_compress.tpl

Recommend this page to a friend!
  Classes of Jin Nguyen  >  Puja  >  examples/templates/build_compress.tpl  >  Download  
File: examples/templates/build_compress.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: 7 years ago
Size: 881 bytes



Class file image Download
{% extends master.tpl %}
{% block javascript %}
<script type="text/javascript" src="templates/jquery-1.3.2.min.js"></script>
	function checkCompress(doc){
			alert('Please enter the target folder');
			return false;
		return false;
{% endblock %}
{% block master %}
<form name="export" method="post" onsubmit="return checkCompress(this);">
	Target: <br />
	{{ target }}{{ directory_separator }}<input name="folder" value="cache" />{{ directory_separator }}<br />
	<input type="submit" value="Compress &gt;&gt;">
	<div id="list_file"></div>
{% endblock %}

For more information send a message to info at phpclasses dot org.