cvs: smarty /docs getting-started.sgml programmers.sgml
| From: | Monte Ohrt | Date: | Mon, 31 Mar 2003 00:29:11 +0000 |
| Subject: | cvs: smarty /docs getting-started.sgml programmers.sgml | ||
| Groups: | php.smarty.cvs | ||
| Request: | Send a blank email to php-smarty-cvs+get-502@lists.php.net to get a copy of this message | ||
mohrt Sun Mar 30 19:29:11 2003 EDT
Modified files:
/smarty/docs getting-started.sgml programmers.sgml
Log:
fix typos
Index: smarty/docs/getting-started.sgml
diff -u smarty/docs/getting-started.sgml:1.16 smarty/docs/getting-started.sgml:1.17
--- smarty/docs/getting-started.sgml:1.16 Fri Feb 28 10:08:13 2003
+++ smarty/docs/getting-started.sgml Sun Mar 30 19:29:10 2003
@@ -153,7 +153,7 @@
<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 @@
<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 @@
<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
Index: smarty/docs/programmers.sgml
diff -u smarty/docs/programmers.sgml:1.29 smarty/docs/programmers.sgml:1.30
--- smarty/docs/programmers.sgml:1.29 Tue Mar 11 19:14:32 2003
+++ smarty/docs/programmers.sgml Sun Mar 30 19:29:10 2003
@@ -346,7 +346,7 @@
<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.