• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

demo/H03-Nov-2017-12488

libs/H03-Nov-2017-9,9175,601

BUGSH A D03-Nov-2017370 86

COPYING.libH A D03-Nov-201723.8 KiB

ChangeLogH A D03-Nov-2017283.4 KiB9,2206,678

FAQH A D03-Nov-201712.4 KiB285231

INSTALLH A D03-Nov-20171.4 KiB3023

NEWSH A D03-Nov-201747.9 KiB1,066964

QUICK_STARTH A D03-Nov-20173 KiB10474

READMEH A D03-Nov-20173.3 KiB8764

README.mdH A D03-Nov-2017521 2414

RELEASE_NOTESH A D03-Nov-201718.5 KiB429321

TODOH A D03-Nov-2017421 1110

composer.jsonH A D03-Nov-2017951 4038

README

1
2NAME:
3
4    Smarty - the PHP compiling template engine
5
6VERSION: 2.6.18
7
8AUTHORS:
9
10    Monte Ohrt <monte at ohrt dot com>
11    Andrei Zmievski <andrei@php.net>
12
13MAILING LISTS:
14
15    We have a few mailing lists. "discussion" for you to share your ideas or ask
16	questions, "developers" for those interested in the development efforts of Smarty,
17	and "svn" for those that would like to track the updates made in the svn
18	repository.
19
20    send a blank e-mail message to:
21      smarty-discussion-subscribe@googlecode.com(subscribe to the general discussion list)
22      smarty-discussion-unsubscribe@googlecode.com (unsubscribe from the general discussion list)
23      smarty-discussion-digest-subscribe@googlecode.com (subscribe to digest)
24      smarty-discussion-digest-unsubscribe@googlecode.com (unsubscribe from digest)
25      smarty-developers-subscribe@googlecode.com (subscribe to the dev list)
26      smarty-developers-unsubscribe@googlecode.com (unsubscribe from the dev list)
27      smarty-svn-subscribe@googlecode.com (subscribe to the svn list)
28      smarty-svn-unsubscribe@googlecode.com (unsubscribe from the svn list)
29
30    You can also browse the mailing list archives at
31    http://groups.google.com/group/smarty-discussion
32    http://groups.google.com/group/smarty-developers
33
34    and the OLD list archives at
35    http://marc.theaimsgroup.com/?l=smarty&r=1&w=2
36
37SYNOPSIS:
38
39    require("Smarty.class.php");
40
41    $smarty = new Smarty;
42
43    $smarty->assign("Title","My Homepage");
44    $smarty->assign("Names",array("John","Gary","Gregg","James"));
45
46    $smarty->display("index.tpl");
47
48
49DESCRIPTION:
50
51    What is Smarty?
52
53    Smarty is a template engine for PHP. Many other template engines for PHP
54    provide basic variable substitution and dynamic block functionality.
55    Smarty takes a step further to be a "smart" template engine, adding
56    features such as configuration files, template functions, and variable
57    modifiers, and making all of this functionality as easy as possible to
58    use for both programmers and template designers. Smarty also converts
59    the templates into PHP scripts, eliminating the need to parse the
60    templates on every invocation. This makes Smarty extremely scalable and
61    manageable for large application needs.
62
63    Some of Smarty's features:
64
65    * it is extremely fast
66    * no template parsing overhead, only compiles once.
67	* it is smart about recompiling only the template files that have
68	  changed.
69    * the template language is remarkably extensible via the plugin
70      architecture.
71    * configurable template delimiter tag syntax, so you can use
72      {}, {{}}, <!--{}-->, or whatever you like.
73    * built-in caching of template output.
74    * arbitrary template sources (filesystem, databases, etc.)
75    * template if/elseif/else/endif constructs are passed to the PHP parser,
76      so the if syntax can be as simple or as complex as you like.
77    * unlimited nesting of sections, conditionals, etc. allowed
78    * it is possible to embed PHP code right in your template files,
79      although not recommended and doubtfully needed since the engine
80      is so customizable.
81    * and many more.
82
83COPYRIGHT:
84    Copyright (c) 2001-2005 New Digital Group, Inc. All rights reserved.
85    This software is released under the GNU Lesser General Public License.
86    Please read the disclaimer at the top of the Smarty.class.php file.
87

README.md

1#Smarty 2 template engine
2##Distribution repository
3Starting with Smarty 2.6.23 Composer has been configured to load the packages from github.
4
5**NOTE: Because of this change you must clear your local composer cache with the "composer clearcache" command**
6
7To get the latest stable version use
8
9	"require": {
10	   "smarty/smarty": "~2.6"
11	}
12
13in your composer.json file.
14
15 To get the trunk version use
16
17	"require": {
18	   "smarty/smarty": "~2.6@dev"
19	}
20
21The "smarty/smarty" package will start at libs/....   subfolder.
22
23
24