From 83e4d6bba7add855baef313f3527fcadb6de3846 Mon Sep 17 00:00:00 2001 From: mohrt Date: Thu, 6 Dec 2001 22:34:43 +0000 Subject: [PATCH] commit 1.5.0 release --- Config_File.class.php | 2 +- NEWS | 10 ++++++---- README | 2 +- RELEASE_NOTES | 11 +++++++++++ Smarty.addons.php | 2 +- Smarty.class.php | 4 ++-- Smarty_Compiler.class.php | 2 +- docs.sgml | 2 +- libs/Config_File.class.php | 2 +- libs/Smarty.class.php | 4 ++-- libs/Smarty_Compiler.class.php | 2 +- 11 files changed, 28 insertions(+), 15 deletions(-) diff --git a/Config_File.class.php b/Config_File.class.php index e752c3a8..af16f562 100644 --- a/Config_File.class.php +++ b/Config_File.class.php @@ -5,7 +5,7 @@ require_once "PEAR.php"; /** * Config_File class. * - * @version 1.4.6 + * @version 1.5.0 * @author Andrei Zmievski * @access public * diff --git a/NEWS b/NEWS index d034687a..4444b648 100644 --- a/NEWS +++ b/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 diff --git a/README b/README index 15257610..db9c9e32 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ NAME: Smarty - the PHP compiling template engine -VERSION: 1.4.6 +VERSION: 1.5.0 AUTHORS: diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 5d1bd4e1..490d8294 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -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 ----- diff --git a/Smarty.addons.php b/Smarty.addons.php index ef61fb52..fb47f0ff 100644 --- a/Smarty.addons.php +++ b/Smarty.addons.php @@ -4,7 +4,7 @@ * File: Smarty.addons.php * Author: Monte Ohrt * Andrei Zmievski - * 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 diff --git a/Smarty.class.php b/Smarty.class.php index 4091187f..17498b3f 100644 --- a/Smarty.class.php +++ b/Smarty.class.php @@ -6,7 +6,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * 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 diff --git a/Smarty_Compiler.class.php b/Smarty_Compiler.class.php index 6741c811..43334bef 100644 --- a/Smarty_Compiler.class.php +++ b/Smarty_Compiler.class.php @@ -6,7 +6,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * 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 diff --git a/docs.sgml b/docs.sgml index 42731d7b..583378f1 100644 --- a/docs.sgml +++ b/docs.sgml @@ -14,7 +14,7 @@
andrei@php.net
- Version 1.4.6 + Version 1.5.0 2001ispi of Lincoln, Inc. diff --git a/libs/Config_File.class.php b/libs/Config_File.class.php index e752c3a8..af16f562 100644 --- a/libs/Config_File.class.php +++ b/libs/Config_File.class.php @@ -5,7 +5,7 @@ require_once "PEAR.php"; /** * Config_File class. * - * @version 1.4.6 + * @version 1.5.0 * @author Andrei Zmievski * @access public * diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 4091187f..17498b3f 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -6,7 +6,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * 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 diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index 6741c811..43334bef 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -6,7 +6,7 @@ * Author: Monte Ohrt * Andrei Zmievski * - * 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