diff options
| author | Shad <shadow.walker@free.fr> | 2023-10-28 16:41:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-28 16:41:10 +0200 |
| commit | ad73f4943be05bbd2c63fe74b5966abd5be43eb9 (patch) | |
| tree | ea458912ebb6407be729f3b5ee15630ee6914498 /docs | |
| parent | 4d22803c32f5a8260472b397e938863177030c97 (diff) | |
| download | smarty-ad73f4943be05bbd2c63fe74b5966abd5be43eb9.tar.gz smarty-ad73f4943be05bbd2c63fe74b5966abd5be43eb9.tar.bz2 smarty-ad73f4943be05bbd2c63fe74b5966abd5be43eb9.zip | |
Typos in documentation (#914)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/designers/language-builtin-functions/language-function-include.md | 4 | ||||
| -rw-r--r-- | docs/designers/language-builtin-functions/language-function-section.md | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/docs/designers/language-builtin-functions/language-function-include.md b/docs/designers/language-builtin-functions/language-function-include.md index bb481f79..0710db7d 100644 --- a/docs/designers/language-builtin-functions/language-function-include.md +++ b/docs/designers/language-builtin-functions/language-function-include.md @@ -85,11 +85,11 @@ The template above includes the example `links.tpl` below ```smarty <div id="box"> - <h3>{$title}{/h3> + <h3>{$title}</h3> <ul> {foreach from=$links item=l} .. do stuff ... - </foreach} + {/foreach} </ul> </div> ``` diff --git a/docs/designers/language-builtin-functions/language-function-section.md b/docs/designers/language-builtin-functions/language-function-section.md index ba17224c..ff57e560 100644 --- a/docs/designers/language-builtin-functions/language-function-section.md +++ b/docs/designers/language-builtin-functions/language-function-section.md @@ -326,10 +326,10 @@ The template to output the database result in a HTML table ```smarty <table> - <tr><th> </th><th>Name></th><th>Home</th><th>Cell</th><th>Email</th></tr> + <tr><th> </th><th>Name</th><th>Home</th><th>Cell</th><th>Email</th></tr> {section name=co loop=$contacts} <tr> - <td><a href="view.php?id={$contacts[co].id}">view<a></td> + <td><a href="view.php?id={$contacts[co].id}">view</a></td> <td>{$contacts[co].name}</td> <td>{$contacts[co].home}</td> <td>{$contacts[co].cell}</td> @@ -465,7 +465,7 @@ header block every five rows. <table> {section name=co loop=$contacts} {if $smarty.section.co.iteration is div by 5} - <tr><th> </th><th>Name></th><th>Home</th><th>Cell</th><th>Email</th></tr> + <tr><th> </th><th>Name</th><th>Home</th><th>Cell</th><th>Email</th></tr> {/if} <tr> <td><a href="view.php?id={$contacts[co].id}">view<a></td> |
