Development

Changeset 6742

You must first sign up to be able to contribute.

Changeset 6742

Show
Ignore:
Timestamp:
12/27/07 09:14:40 (1 year ago)
Author:
fabien
Message:

doc: fixed typos (closes #2580, #2596, #2518)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • doc/branches/1.1/book/04-The-Basics-of-Page-Creation.txt

    r4908 r6742  
    190190    <?php if ($hour >= 18): ?> 
    191191    <p>Or should I say good evening? It's already <?php echo $hour ?>.</p> 
    192     <?php endif; ?>   
    193     <form method="post" target="/myapp_dev.php/mymodule/anotherAction"> 
     192    <?php endif; ?> 
     193    <form method="post" action="/myapp_dev.php/mymodule/anotherAction"> 
    194194      <label for="name">What is your name?</label> 
    195195      <input type="text" name="name" id="name" value="" /> 
  • doc/branches/1.1/book/09-Links-and-the-Routing-System.txt

    r6613 r6742  
    275275    <?php echo link_to('delete item', 'item/delete?id=123', 'confirm=Are you sure?') ?> 
    276276     => <a onclick="return confirm('Are you sure?');" 
    277            href="/routed/url/to/delete/123.html">add to cart</a> 
     277           href="/routed/url/to/delete/123.html">delete item</a> 
    278278 
    279279    <?php echo link_to('add to cart', 'shoppingCart/add?id=100', 'popup=true') ?> 
     
    581581    http://myapp.example.com/article/Finance_in_France.html 
    582582 
    583 Even if it is the same page, users and (robots) may see it differently because of the URL. The second URL evokes a deep and well-organized web directory of static pages, which is exactly the kind of websites that search engines know how to index. 
     583Even if it is the same page, users (and robots) may see it differently because of the URL. The second URL evokes a deep and well-organized web directory of static pages, which is exactly the kind of websites that search engines know how to index. 
    584584 
    585585To add a suffix to every external URL generated by the routing system, change the `suffix` value in the application `settings.yml`, as shown in Listing 9-22.