update everything to 1.3.1

This commit is contained in:
mohrt
2001-03-07 04:52:27 +00:00
parent 856f77e646
commit 48653c260d
10 changed files with 90 additions and 11 deletions

3
BUGS
View File

@@ -5,7 +5,8 @@ a built-in workaround for. PHP 4.0.4 has a bug with user callbacks which would
cause this syntax in Smarty to crash PHP: {$varname|@modname} Use PHP 4.0.4pl1
to fix this, or avoid using the "@" with modifiers. if you are passing variables
to {include} statements, you will need PHP 4.0.4 or later, which requires the
use of get_defined_vars() function.
use of get_defined_vars() function. Some versions of Windows 2k have a problem
with flock(). Comment out the flock() command in _write_file to get around this.
To be absolutely safe, use 4.0.4pl or later with Smarty.

View File

@@ -11,8 +11,8 @@ libraries is included in your php include_path. Unix users check
INSTALLATION:
* copy the Smarty.class.php, Smarty.addons.php and Config_File.class.php
scripts to a directory that is in your PHP include_path.
* copy the Smarty.class.php, Smarty.addons.php, Smarty_Compile.class.php and
Config_File.class.php scripts to a directory that is in your PHP include_path.
* in the same directory as your php application, create a "templates"
directory, "configs" directory and a "templates_c" directory. Be sure the

2
NEWS
View File

@@ -1,3 +1,5 @@
Version 1.3.1
-------------
- document first, last, index_prev, index_next (Monte)
- added 'first' and 'last' section properties. (Andrei)
- split out compiling code to separate class for faster template execution

View File

@@ -13,10 +13,10 @@ understand the difference in your OS regarding file permissions.
INSTALLATION
------------
Unpack the Smarty tarball. You will see three class files: Smarty.class.php,
Smarty.addons.php and Config_File.class.php. You will need to have all three of
these files somewhere in your PHP include path, so when you call
require("Smarty.class.php") from within your application, it can find the
Unpack the Smarty tarball. You will see fou: class files: Smarty.class.php,
Smarty.addons.php, Smarty_Compiler.class.php and Config_File.class.php. You will
need to have all three of these files somewhere in your PHP include path, so when
you call require("Smarty.class.php") from within your application, it can find the
class.
Smarty uses the PEAR libraries for some of its error handling routines. PEAR

2
README
View File

@@ -2,7 +2,7 @@ NAME:
Smarty - the PHP compiling template engine
VERSION: 1.3.0
VERSION: 1.3.1
AUTHORS:

View File

@@ -4,7 +4,7 @@
* File: Smarty.addons.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
* Version: 1.3.0
* Version: 1.3.1
* Copyright: 2001 ispi of Lincoln, Inc.
*
* This library is free software; you can redistribute it and/or

View File

@@ -5,7 +5,7 @@
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
*
* Version: 1.3.0
* Version: 1.3.1
* Copyright: 2001 ispi of Lincoln, Inc.
*
* This library is free software; you can redistribute it and/or

View File

@@ -1,5 +1,43 @@
<?php
/*
* Project: Smarty: the PHP compiling template engine
* File: Smarty_Compiler.class.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
*
* Version: 1.3.1
* Copyright: 2001 ispi of Lincoln, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* You may contact the authors of Smarty by e-mail at:
* monte@ispi.net
* andrei@ispi.net
*
* Or, write to:
* Monte Ohrt
* CTO, ispi
* 237 S. 70th suite 220
* Lincoln, NE 68510
*
* The latest version of Smarty can be obtained from:
* http://www.phpinsider.com/
*
*/
class Smarty_Compiler extends Smarty {
// internal vars

View File

@@ -5,7 +5,7 @@
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
*
* Version: 1.3.0
* Version: 1.3.1
* Copyright: 2001 ispi of Lincoln, Inc.
*
* This library is free software; you can redistribute it and/or

View File

@@ -1,5 +1,43 @@
<?php
/*
* Project: Smarty: the PHP compiling template engine
* File: Smarty_Compiler.class.php
* Author: Monte Ohrt <monte@ispi.net>
* Andrei Zmievski <andrei@ispi.net>
*
* Version: 1.3.1
* Copyright: 2001 ispi of Lincoln, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* You may contact the authors of Smarty by e-mail at:
* monte@ispi.net
* andrei@ispi.net
*
* Or, write to:
* Monte Ohrt
* CTO, ispi
* 237 S. 70th suite 220
* Lincoln, NE 68510
*
* The latest version of Smarty can be obtained from:
* http://www.phpinsider.com/
*
*/
class Smarty_Compiler extends Smarty {
// internal vars