2809 |
rexy |
1 |
Smarty: 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
|
|
|
24 |
the terms and conditions of version 3 of the GNU General Public
|
|
|
25 |
License, 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
|
|
|
30 |
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
|
31 |
General Public License.
|
|
|
32 |
|
|
|
33 |
"The Library" refers to a covered work governed by this License,
|
|
|
34 |
other than an Application or a Combined Work as defined below.
|
|
|
35 |
|
|
|
36 |
An "Application" is any work that makes use of an interface provided
|
|
|
37 |
by the Library, but which is not otherwise based on the Library.
|
|
|
38 |
Defining a subclass of a class defined by the Library is deemed a mode
|
|
|
39 |
of using an interface provided by the Library.
|
|
|
40 |
|
|
|
41 |
A "Combined Work" is a work produced by combining or linking an
|
|
|
42 |
Application with the Library. The particular version of the Library
|
|
|
43 |
with which the Combined Work was made is also called the "Linked
|
|
|
44 |
Version".
|
|
|
45 |
|
|
|
46 |
The "Minimal Corresponding Source" for a Combined Work means the
|
|
|
47 |
Corresponding Source for the Combined Work, excluding any source code
|
|
|
48 |
for portions of the Combined Work that, considered in isolation, are
|
|
|
49 |
based on the Application, and not on the Linked Version.
|
|
|
50 |
|
|
|
51 |
The "Corresponding Application Code" for a Combined Work means the
|
|
|
52 |
object code and/or source code for the Application, including any data
|
|
|
53 |
and utility programs needed for reproducing the Combined Work from the
|
|
|
54 |
Application, 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
|
|
|
59 |
without 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
|
|
|
64 |
facility refers to a function or data to be supplied by an Application
|
|
|
65 |
that uses the facility (other than as an argument passed when the
|
|
|
66 |
facility is invoked), then you may convey a copy of the modified
|
|
|
67 |
version:
|
|
|
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
|
|
|
80 |
a header file that is part of the Library. You may convey such object
|
|
|
81 |
code under terms of your choice, provided that, if the incorporated
|
|
|
82 |
material is not limited to numerical parameters, data structure
|
|
|
83 |
layouts 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,
|
|
|
96 |
taken together, effectively do not restrict modification of the
|
|
|
97 |
portions of the Library contained in the Combined Work and reverse
|
|
|
98 |
engineering for debugging such modifications, if you also do each of
|
|
|
99 |
the 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
|
|
|
145 |
Library side by side in a single library together with other library
|
|
|
146 |
facilities that are not Applications and are not covered by this
|
|
|
147 |
License, and convey such a combined library under terms of your
|
|
|
148 |
choice, 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
|
|
|
161 |
of the GNU Lesser General Public License from time to time. Such new
|
|
|
162 |
versions will be similar in spirit to the present version, but may
|
|
|
163 |
differ in detail to address new problems or concerns.
|
|
|
164 |
|
|
|
165 |
Each version is given a distinguishing version number. If the
|
|
|
166 |
Library as you received it specifies that a certain numbered version
|
|
|
167 |
of the GNU Lesser General Public License "or any later version"
|
|
|
168 |
applies to it, you have the option of following the terms and
|
|
|
169 |
conditions either of that published version or of any later version
|
|
|
170 |
published by the Free Software Foundation. If the Library as you
|
|
|
171 |
received it does not specify a version number of the GNU Lesser
|
|
|
172 |
General Public License, you may choose any version of the GNU Lesser
|
|
|
173 |
General Public License ever published by the Free Software Foundation.
|
|
|
174 |
|
|
|
175 |
If the Library as you received it specifies that a proxy can decide
|
|
|
176 |
whether future versions of the GNU Lesser General Public License shall
|
|
|
177 |
apply, that proxy's public statement of acceptance of any version is
|
|
|
178 |
permanent authorization for you to choose that version for the
|
|
|
179 |
Library.
|