*** empty log message ***

This commit is contained in:
andrey
2001-04-25 15:49:51 +00:00
parent f73ca11dda
commit 6432cc941f
13 changed files with 34 additions and 25 deletions

View File

@@ -2,7 +2,7 @@ Monte Ohrt <monte@ispi.net>
- Idea of compiling into PHP scripts
- Initial implementation
- Documentation
Andrei Zmievski <andrei@ispi.net>
Andrei Zmievski <andrei@php.net>
- Rewrote parser from scratch
- added much other functionality
- wrote Config_File class

View File

@@ -2,7 +2,7 @@ Monte Ohrt <monte@ispi.net>:
Concepted compiling templates into PHP scripts, wrote initial "proof of
concept" implementation, and maintains documentation & code base.
Andrei Zmievski <andrei@ispi.net>:
Andrei Zmievski <andrei@php.net>:
Rewrote parser from scratch and maintains code base.
Anne Holz <anne@ispi.net>:
@@ -14,9 +14,9 @@ Frank Kromann <fmk@php.net>:
A special thanks goes to the people that have contributed other templating
solutions to the PHP community which we learned a lot from.
A special thanks goes to the members of the php-template mailing list and
the smarty mailing list, whom sharing and bringing many ideas to the table and
contributing source code, too numerous to list.
A special thanks goes to the members of the php-template mailing list and the
smarty mailing list, too numerous to list, who are sharing and bringing many
ideas to the table and contributing source code.
Rasmus Lerdorf <rasmus@php.net>: For starting what eventually became
the coolest programming language ever.

View File

@@ -6,7 +6,7 @@ require_once "PEAR.php";
* Config_File class.
*
* @version 1.2.3
* @author Andrei Zmievski <andrei@ispi.net>
* @author Andrei Zmievski <andrei@php.net>
* @access public
*
* Copyright: 2001 ispi of Lincoln, Inc.
@@ -26,7 +26,7 @@ require_once "PEAR.php";
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* You may contact the author of Config_File by e-mail at:
* andrei@ispi.net
* andrei@php.net
*
* Or, write to:
* Andrei Zmievski

6
NEWS
View File

@@ -10,14 +10,14 @@ Version 1.4.0
in one shot with an array. (Monte, Roman Neuhauser)
- added template filters, register_filer() and unregister_filter() API
functions. (Monte)
- added RELEASE_NOTES file to distribution (Monte)
- moved CREDITS out of manual into its own file (Monte)
- added RELEASE_NOTES file to distribution. (Monte)
- moved CREDITS out of manual into its own file. (Monte)
- added register_resource() and unregister_resource() API functions. (Monte)
- changed the syntax of indexing template variables, thus supporting
structures of arbitrary complexity; supplied fix_vars.php script to fix
old syntax. (Andrei)
- added $insert_tag_check to speed up cached pages if {insert ...} is not
used (Monte)
used. (Monte)
- added $compiler_class variable to allow specifying a different compiler
class. (Andrei)
- changed Smarty to compile templates at runtime, allowing for arbitrary

2
README
View File

@@ -7,7 +7,7 @@ VERSION: 1.4.0
AUTHORS:
Monte Ohrt <monte@ispi.net>
Andrei Zmievski <andrei@ispi.net>
Andrei Zmievski <andrei@php.net>
MAILING LIST:

View File

@@ -19,7 +19,7 @@ cd /path/to/templates
cp /path/to/fix_vars.php .
find . -name "*.tpl" -exec php -q ./fix_vars.php {} \;
NEW AND IMPROVED COMPILER
NEW AND IMPROVED COMPILATION PROCESS
Smarty 1.4.0 also has a new compilation process. Instead of compiling all the
templates up front, it now compiles them at runtime. This has several
@@ -55,6 +55,15 @@ removing unwanted comments, keeping an eye on words or functionality people are
putting in templates, translating XML -> HTML, etc. See the register_filter
documentation for more info.
Another addition are the so-called compiler functions. These are custom
functions registered by the user that are executed at compilation time of the
template. They can be used to inject PHP code or time-sensitive static content
into the compiled template.
The run-time custom functions are now passed Smarty object as the second
parameter. This can be used, for example, to assign or clear template variables
from inside the custom function.
UPGRADE NOTES
The format of the files created in the $compile_dir are now a bit different.

View File

@@ -3,7 +3,7 @@
* Project: Smarty: the PHP compiled template engine
* File: Smarty.addons.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
* Andrei Zmievski <andrei@php.net>
* Version: 1.4.0
* Copyright: 2001 ispi of Lincoln, Inc.
*
@@ -23,7 +23,7 @@
*
* You may contact the authors of Smarty by e-mail at:
* monte@ispi.net
* andrei@ispi.net
* andrei@php.net
*
* Or, write to:
* Monte Ohrt

View File

@@ -3,7 +3,7 @@
* Project: Smarty: the PHP compiling template engine
* File: Smarty.class.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
* Andrei Zmievski <andrei@php.net>
*
* Version: 1.4.0
* Copyright: 2001 ispi of Lincoln, Inc.
@@ -27,7 +27,7 @@
*
* You may contact the authors of Smarty by e-mail at:
* monte@ispi.net
* andrei@ispi.net
* andrei@php.net
*
* Or, write to:
* Monte Ohrt

View File

@@ -4,7 +4,7 @@
* Project: Smarty: the PHP compiling template engine
* File: Smarty_Compiler.class.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
* Andrei Zmievski <andrei@php.net>
*
* Version: 1.4.0
* Copyright: 2001 ispi of Lincoln, Inc.
@@ -25,7 +25,7 @@
*
* You may contact the authors of Smarty by e-mail at:
* monte@ispi.net
* andrei@ispi.net
* andrei@php.net
*
* Or, write to:
* Monte Ohrt

View File

@@ -11,7 +11,7 @@
<author>
<firstname>Andrei</firstname><surname>Zmievski</surname>
<affiliation>
<address><email>andrei@ispi.net</email></address>
<address><email>andrei@php.net</email></address>
</affiliation>
</author>
<edition>Version 1.3.0</edition>

View File

@@ -6,7 +6,7 @@ require_once "PEAR.php";
* Config_File class.
*
* @version 1.2.3
* @author Andrei Zmievski <andrei@ispi.net>
* @author Andrei Zmievski <andrei@php.net>
* @access public
*
* Copyright: 2001 ispi of Lincoln, Inc.
@@ -26,7 +26,7 @@ require_once "PEAR.php";
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* You may contact the author of Config_File by e-mail at:
* andrei@ispi.net
* andrei@php.net
*
* Or, write to:
* Andrei Zmievski

View File

@@ -3,7 +3,7 @@
* Project: Smarty: the PHP compiling template engine
* File: Smarty.class.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
* Andrei Zmievski <andrei@php.net>
*
* Version: 1.4.0
* Copyright: 2001 ispi of Lincoln, Inc.
@@ -27,7 +27,7 @@
*
* You may contact the authors of Smarty by e-mail at:
* monte@ispi.net
* andrei@ispi.net
* andrei@php.net
*
* Or, write to:
* Monte Ohrt

View File

@@ -4,7 +4,7 @@
* Project: Smarty: the PHP compiling template engine
* File: Smarty_Compiler.class.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
* Andrei Zmievski <andrei@php.net>
*
* Version: 1.4.0
* Copyright: 2001 ispi of Lincoln, Inc.
@@ -25,7 +25,7 @@
*
* You may contact the authors of Smarty by e-mail at:
* monte@ispi.net
* andrei@ispi.net
* andrei@php.net
*
* Or, write to:
* Monte Ohrt