fix typos

This commit is contained in:
mohrt
2003-03-31 00:29:10 +00:00
parent bd7f263118
commit 5985ce2862
2 changed files with 4 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ $smarty = new Smarty;</screen>
<para>
Now that the library files are in place, it's time to setup the Smarty
directories for your application. Smarty requires four directories which
are (by default) named <emphasis>tempalates</emphasis>,
are (by default) named <emphasis>templates</emphasis>,
<emphasis>templates_c</emphasis>, <emphasis>configs</emphasis> and
<emphasis>cache</emphasis>. Each of these are definable by the Smarty class
properties <emphasis>$template_dir</emphasis>,
@@ -278,7 +278,7 @@ Hello, {$name}!</screen>
<title>Editing /web/www.mydomain.com/docs/guestbook/index.php</title>
<screen>
// load Smarty library
require(Smarty.class.php');
require('Smarty.class.php');
$smarty = new Smarty;
@@ -334,7 +334,7 @@ $smarty->display('index.tpl');</screen>
<screen>
// load Smarty library
require(Smarty.class.php');
require('Smarty.class.php');
// The setup.php file is a good place to load
// required application library files, and you

View File

@@ -346,7 +346,7 @@ $smarty-&gt;autoload_filters = array('pre' =&gt; array('trim', 'stamp'),
<title>$php_handling</title>
<para>
This tells Smarty how to handle PHP code embedded in the
tempalates. There are four possible settings, default being
templates. There are four possible settings, default being
SMARTY_PHP_PASSTHRU. Note that this does NOT affect php code
within <link linkend="language.function.php">{php}{/php}</link>
tags in the template.