logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: smarty /docs/en getting-started.xml: msg#00031

Subject: cvs: smarty /docs/en getting-started.xml
freespace               Sun Sep 12 18:44:08 2004 EDT

  Modified files:              
    /smarty/docs/en     getting-started.xml 
  Log:
  Some typos fix.
  
http://cvs.php.net/diff.php/smarty/docs/en/getting-started.xml?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/en/getting-started.xml
diff -u smarty/docs/en/getting-started.xml:1.4 
smarty/docs/en/getting-started.xml:1.5
--- smarty/docs/en/getting-started.xml:1.4      Sun Apr 18 13:02:23 2004
+++ smarty/docs/en/getting-started.xml  Sun Sep 12 18:44:08 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <part id="getting.started">
  <title>Getting Started</title>
 
@@ -39,7 +39,7 @@
    content down to text and variables only.
   </para>
   <para>
-   One of the unique aspects about Smarty is the template compling. This means
+   One of the unique aspects about Smarty is the template compiling. This means
    Smarty reads the template files and creates PHP scripts from them. Once
    they are created, they are executed from then on. Therefore there is no
    costly template file parsing for each request, and each template can take
@@ -170,7 +170,7 @@
    <para>
     Here is how you create an instance of Smarty in your PHP scripts:
    </para>
-   
+
    <example>
     <title>Create Smarty instance of Smarty</title>
     <programlisting role="php">
@@ -202,7 +202,7 @@
    </example>
 
    <example>
-    <title>Add library directory to php_include path</title>
+    <title>Add library directory to PHP include_path</title>
     <programlisting role="php">
 <![CDATA[
 <?php
@@ -263,7 +263,7 @@
     and place it in a subdirectory under the document root called
     "/guestbook/".
    </para>
-    
+
    <note>
     <title>Technical Note</title>
     <para>
@@ -275,7 +275,7 @@
      entry with a space.)
     </para>
    </note>
-    
+
    <para>
     Lets take a look at the file structure so far:
    </para>
@@ -445,9 +445,9 @@
 
 class Smarty_GuestBook extends Smarty {
 
-   function Smarty_GuestBook() 
+   function Smarty_GuestBook()
    {
-   
+
         // Class Constructor. These automatically get set with each new 
instance.
 
         $this->Smarty();
@@ -455,8 +455,8 @@
         $this->template_dir = 
'/web/www.mydomain.com/smarty/guestbook/templates/';
         $this->compile_dir = 
'/web/www.mydomain.com/smarty/guestbook/templates_c/';
         $this->config_dir = '/web/www.mydomain.com/smarty/guestbook/configs/';
-        $this->cache_dir = '/web/www.mydomain.com/smarty/guestbook/cache/'; 
-        
+        $this->cache_dir = '/web/www.mydomain.com/smarty/guestbook/cache/';
+
         $this->caching = true;
         $this->assign('app_name','Guest Book');
    }
@@ -470,7 +470,7 @@
   <para>
    Now lets alter the index.php file to use setup.php:
   </para>
-   
+
   <example>
    <title>Editing /web/www.mydomain.com/docs/guestbook/index.php</title>
    <programlisting role="php">
@@ -493,7 +493,7 @@
    Now you see it is quite simple to bring up an instance of Smarty, just use
    Smarty_GuestBook which automatically initializes everything for our 
application.
   </para>
-   
+
   </sect1>
 
  </chapter>

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>