From c4f500f4fb08aa8201f8e1510b6566f0db1d6894 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 13 Mar 2022 15:22:48 -0400 Subject: libraries/Smarty: Wrap README at 72 columns. Signed-off-by: B. Watson --- libraries/Smarty/README | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'libraries/Smarty') diff --git a/libraries/Smarty/README b/libraries/Smarty/README index e7ebe18388..85246171b2 100644 --- a/libraries/Smarty/README +++ b/libraries/Smarty/README @@ -1,21 +1,22 @@ -Smarty is a template engine for PHP. More specifically, it facilitates a -manageable way to separate application logic and content from its -presentation. This is best described in a situation where the application -programmer and the template designer play different roles, or in most cases -are not the same person. +Smarty is a template engine for PHP. More specifically, it facilitates +a manageable way to separate application logic and content from +its presentation. This is best described in a situation where the +application programmer and the template designer play different roles, +or in most cases are not the same person. Some of Smarty's features: * It is extremely fast. * It is efficient since the PHP parser does the dirty work. * No template parsing overhead, only compiles once. -* It is smart about recompiling only the template files that have changed. -* You can easily create your own custom functions and variable modifiers, - so the template language is extremely extensible. +* It is smart about recompiling only the template files that have + changed. +* You can easily create your own custom functions and variable + modifiers, so the template language is extremely extensible. * Configurable template {delimiter} tag syntax, so you can use {$foo}, {{$foo}}, , etc. * The {if}..{elseif}..{else}..{/if} constructs are passed to the PHP - parser, so the {if...} expression syntax can be as simple or as complex - an evaluation as you like. + parser, so the {if...} expression syntax can be as simple or as + complex an evaluation as you like. * Allows unlimited nesting of sections, if's etc. * Built-in caching support * Arbitrary template sources @@ -26,6 +27,6 @@ Some of Smarty's features: See the Documentation at http://www.smarty.net/documentation for instructions on how to configure PHP & Smarty to work together. -Smarty gets installed under /usr/lib/php/Smarty, so to use it, in standard -configuration it should be enough to use the following PHP code: -require_once( 'Smarty/Smarty.class.php' ); +Smarty gets installed under /usr/lib/php/Smarty, so to use it, in +standard configuration it should be enough to use the following PHP +code: require_once( 'Smarty/Smarty.class.php' ); -- cgit v1.2.3-65-gdbad