1Smarty: the PHP compiling template engine
2
3 This library is free software; you can redistribute it and/or
4 modify it under the terms of the GNU Lesser General Public
5 License as published by the Free Software Foundation; either
6 version 2.1 of the License, or (at your option) any later version.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12 See the GNU Lesser General Public License below for more details.
13
14
15 GNU LESSER GENERAL PUBLIC LICENSE
16 Version 3, 29 June 2007
17
18 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
19 Everyone is permitted to copy and distribute verbatim copies
20 of this license document, but changing it is not allowed.
21
22
23 This version of the GNU Lesser General Public License incorporates
24the terms and conditions of version 3 of the GNU General Public
25License, supplemented by the additional permissions listed below.
26
27 0. Additional Definitions.
28
29 As used herein, "this License" refers to version 3 of the GNU Lesser
30General Public License, and the "GNU GPL" refers to version 3 of the GNU
31General Public License.
32
33 "The Library" refers to a covered work governed by this License,
34other than an Application or a Combined Work as defined below.
35
36 An "Application" is any work that makes use of an interface provided
37by the Library, but which is not otherwise based on the Library.
38Defining a subclass of a class defined by the Library is deemed a mode
39of using an interface provided by the Library.
40
41 A "Combined Work" is a work produced by combining or linking an
42Application with the Library. The particular version of the Library
43with which the Combined Work was made is also called the "Linked
44Version".
45
46 The "Minimal Corresponding Source" for a Combined Work means the
47Corresponding Source for the Combined Work, excluding any source code
48for portions of the Combined Work that, considered in isolation, are
49based on the Application, and not on the Linked Version.
50
51 The "Corresponding Application Code" for a Combined Work means the
52object code and/or source code for the Application, including any data
53and utility programs needed for reproducing the Combined Work from the
54Application, but excluding the System Libraries of the Combined Work.
55
56 1. Exception to Section 3 of the GNU GPL.
57
58 You may convey a covered work under sections 3 and 4 of this License
59without being bound by section 3 of the GNU GPL.
60
61 2. Conveying Modified Versions.
62
63 If you modify a copy of the Library, and, in your modifications, a
64facility refers to a function or data to be supplied by an Application
65that uses the facility (other than as an argument passed when the
66facility is invoked), then you may convey a copy of the modified
67version:
68
69 a) under this License, provided that you make a good faith effort to
70 ensure that, in the event an Application does not supply the
71 function or data, the facility still operates, and performs
72 whatever part of its purpose remains meaningful, or
73
74 b) under the GNU GPL, with none of the additional permissions of
75 this License applicable to that copy.
76
77 3. Object Code Incorporating Material from Library Header Files.
78
79 The object code form of an Application may incorporate material from
80a header file that is part of the Library. You may convey such object
81code under terms of your choice, provided that, if the incorporated
82material is not limited to numerical parameters, data structure
83layouts and accessors, or small macros, inline functions and templates
84(ten or fewer lines in length), you do both of the following:
85
86 a) Give prominent notice with each copy of the object code that the
87 Library is used in it and that the Library and its use are
88 covered by this License.
89
90 b) Accompany the object code with a copy of the GNU GPL and this license
91 document.
92
93 4. Combined Works.
94
95 You may convey a Combined Work under terms of your choice that,
96taken together, effectively do not restrict modification of the
97portions of the Library contained in the Combined Work and reverse
98engineering for debugging such modifications, if you also do each of
99the following:
100
101 a) Give prominent notice with each copy of the Combined Work that
102 the Library is used in it and that the Library and its use are
103 covered by this License.
104
105 b) Accompany the Combined Work with a copy of the GNU GPL and this license
106 document.
107
108 c) For a Combined Work that displays copyright notices during
109 execution, include the copyright notice for the Library among
110 these notices, as well as a reference directing the user to the
111 copies of the GNU GPL and this license document.
112
113 d) Do one of the following:
114
115 0) Convey the Minimal Corresponding Source under the terms of this
116 License, and the Corresponding Application Code in a form
117 suitable for, and under terms that permit, the user to
118 recombine or relink the Application with a modified version of
119 the Linked Version to produce a modified Combined Work, in the
120 manner specified by section 6 of the GNU GPL for conveying
121 Corresponding Source.
122
123 1) Use a suitable shared library mechanism for linking with the
124 Library. A suitable mechanism is one that (a) uses at run time
125 a copy of the Library already present on the user's computer
126 system, and (b) will operate properly with a modified version
127 of the Library that is interface-compatible with the Linked
128 Version.
129
130 e) Provide Installation Information, but only if you would otherwise
131 be required to provide such information under section 6 of the
132 GNU GPL, and only to the extent that such information is
133 necessary to install and execute a modified version of the
134 Combined Work produced by recombining or relinking the
135 Application with a modified version of the Linked Version. (If
136 you use option 4d0, the Installation Information must accompany
137 the Minimal Corresponding Source and Corresponding Application
138 Code. If you use option 4d1, you must provide the Installation
139 Information in the manner specified by section 6 of the GNU GPL
140 for conveying Corresponding Source.)
141
142 5. Combined Libraries.
143
144 You may place library facilities that are a work based on the
145Library side by side in a single library together with other library
146facilities that are not Applications and are not covered by this
147License, and convey such a combined library under terms of your
148choice, if you do both of the following:
149
150 a) Accompany the combined library with a copy of the same work based
151 on the Library, uncombined with any other library facilities,
152 conveyed under the terms of this License.
153
154 b) Give prominent notice with the combined library that part of it
155 is a work based on the Library, and explaining where to find the
156 accompanying uncombined form of the same work.
157
158 6. Revised Versions of the GNU Lesser General Public License.
159
160 The Free Software Foundation may publish revised and/or new versions
161of the GNU Lesser General Public License from time to time. Such new
162versions will be similar in spirit to the present version, but may
163differ in detail to address new problems or concerns.
164
165 Each version is given a distinguishing version number. If the
166Library as you received it specifies that a certain numbered version
167of the GNU Lesser General Public License "or any later version"
168applies to it, you have the option of following the terms and
169conditions either of that published version or of any later version
170published by the Free Software Foundation. If the Library as you
171received it does not specify a version number of the GNU Lesser
172General Public License, you may choose any version of the GNU Lesser
173General Public License ever published by the Free Software Foundation.
174
175 If the Library as you received it specifies that a proxy can decide
176whether future versions of the GNU Lesser General Public License shall
177apply, that proxy's public statement of acceptance of any version is
178permanent authorization for you to choose that version for the
179Library.
180