mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
commit 1.5.0 release
This commit is contained in:
@@ -5,7 +5,7 @@ require_once "PEAR.php";
|
||||
/**
|
||||
* Config_File class.
|
||||
*
|
||||
* @version 1.4.6
|
||||
* @version 1.5.0
|
||||
* @author Andrei Zmievski <andrei@php.net>
|
||||
* @access public
|
||||
*
|
||||
|
10
NEWS
10
NEWS
@@ -1,5 +1,7 @@
|
||||
- added assign attribute to include and include_php, documented (Monte)
|
||||
- added include_php built-in function. (Monte)
|
||||
Version 1.5.0
|
||||
-------------
|
||||
|
||||
- added include_php built-in function, documented. (Monte)
|
||||
- added trusted_dir functionality, documented. (Monte)
|
||||
- consolidated secure_dir tests to one function. (Monte)
|
||||
- prepended _smarty_ to variable names in fetch() class function to avoid
|
||||
@@ -10,8 +12,8 @@
|
||||
- added $smarty.section.* syntax for accessing section properties,
|
||||
documented. (Andrei)
|
||||
- added custom cache handling function ability, documented. (Monte)
|
||||
- added assign attribute to insert, fetch, math, and counter functions,
|
||||
documented. (Monte)
|
||||
- added assign attribute to include, include_php, insert, fetch, math, and
|
||||
counter functions, documented. (Monte)
|
||||
- fixed bug with fetch testing for local file when http address. (Monte)
|
||||
- fixed bug with counter and skipval setting. (Monte)
|
||||
- made {config_load ...} merge globals from each config file only once per
|
||||
|
2
README
2
README
@@ -2,7 +2,7 @@ NAME:
|
||||
|
||||
Smarty - the PHP compiling template engine
|
||||
|
||||
VERSION: 1.4.6
|
||||
VERSION: 1.5.0
|
||||
|
||||
AUTHORS:
|
||||
|
||||
|
@@ -1,3 +1,14 @@
|
||||
1.5.0
|
||||
-----
|
||||
|
||||
Several feature enhancements were made to this version, most notably the
|
||||
{foreach ...} command which is an alternative to {section ...} with an easier
|
||||
syntax for looping through a single array of values. Several functions were
|
||||
enhanced so that the output can be automatically assigned to a template
|
||||
variable instead of displayed (assign attribute). Cache files can now be
|
||||
controlled with a custom function as an alternative to the built-in file based
|
||||
method. Many code cleanups and bug fixed went into this release as well.
|
||||
|
||||
1.4.6
|
||||
-----
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
* File: Smarty.addons.php
|
||||
* Author: Monte Ohrt <monte@ispi.net>
|
||||
* Andrei Zmievski <andrei@php.net>
|
||||
* Version: 1.4.6
|
||||
* Version: 1.5.0
|
||||
* Copyright: 2001 ispi of Lincoln, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
@@ -6,7 +6,7 @@
|
||||
* Author: Monte Ohrt <monte@ispi.net>
|
||||
* Andrei Zmievski <andrei@php.net>
|
||||
*
|
||||
* Version: 1.4.6
|
||||
* Version: 1.5.0
|
||||
* Copyright: 2001 ispi of Lincoln, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -201,7 +201,7 @@ class Smarty
|
||||
var $_conf_obj = null; // configuration object
|
||||
var $_config = array(); // loaded configuration settings
|
||||
var $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'; // md5 checksum of the string 'Smarty'
|
||||
var $_version = '1.4.6'; // Smarty version number
|
||||
var $_version = '1.5.0'; // Smarty version number
|
||||
var $_extract = false; // flag for custom functions
|
||||
var $_inclusion_depth = 0; // current template inclusion depth
|
||||
var $_compile_id = null; // for different compiled templates
|
||||
|
@@ -6,7 +6,7 @@
|
||||
* Author: Monte Ohrt <monte@ispi.net>
|
||||
* Andrei Zmievski <andrei@php.net>
|
||||
*
|
||||
* Version: 1.4.6
|
||||
* Version: 1.5.0
|
||||
* Copyright: 2001 ispi of Lincoln, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
@@ -14,7 +14,7 @@
|
||||
<address><email>andrei@php.net</email></address>
|
||||
</affiliation>
|
||||
</author>
|
||||
<edition>Version 1.4.6</edition>
|
||||
<edition>Version 1.5.0</edition>
|
||||
<copyright><year>2001</year><holder>ispi of Lincoln, Inc.</holder></copyright>
|
||||
</bookinfo>
|
||||
<chapter>
|
||||
|
@@ -5,7 +5,7 @@ require_once "PEAR.php";
|
||||
/**
|
||||
* Config_File class.
|
||||
*
|
||||
* @version 1.4.6
|
||||
* @version 1.5.0
|
||||
* @author Andrei Zmievski <andrei@php.net>
|
||||
* @access public
|
||||
*
|
||||
|
@@ -6,7 +6,7 @@
|
||||
* Author: Monte Ohrt <monte@ispi.net>
|
||||
* Andrei Zmievski <andrei@php.net>
|
||||
*
|
||||
* Version: 1.4.6
|
||||
* Version: 1.5.0
|
||||
* Copyright: 2001 ispi of Lincoln, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -201,7 +201,7 @@ class Smarty
|
||||
var $_conf_obj = null; // configuration object
|
||||
var $_config = array(); // loaded configuration settings
|
||||
var $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'; // md5 checksum of the string 'Smarty'
|
||||
var $_version = '1.4.6'; // Smarty version number
|
||||
var $_version = '1.5.0'; // Smarty version number
|
||||
var $_extract = false; // flag for custom functions
|
||||
var $_inclusion_depth = 0; // current template inclusion depth
|
||||
var $_compile_id = null; // for different compiled templates
|
||||
|
@@ -6,7 +6,7 @@
|
||||
* Author: Monte Ohrt <monte@ispi.net>
|
||||
* Andrei Zmievski <andrei@php.net>
|
||||
*
|
||||
* Version: 1.4.6
|
||||
* Version: 1.5.0
|
||||
* Copyright: 2001 ispi of Lincoln, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
|
Reference in New Issue
Block a user