summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorShad <shadow.walker@free.fr>2023-10-28 16:41:10 +0200
committerGitHub <noreply@github.com>2023-10-28 16:41:10 +0200
commitad73f4943be05bbd2c63fe74b5966abd5be43eb9 (patch)
treeea458912ebb6407be729f3b5ee15630ee6914498 /docs
parent4d22803c32f5a8260472b397e938863177030c97 (diff)
downloadsmarty-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.md4
-rw-r--r--docs/designers/language-builtin-functions/language-function-section.md6
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>&nbsp;</th><th>Name></th><th>Home</th><th>Cell</th><th>Email</th></tr>
+ <tr><th>&nbsp;</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>&nbsp;</th><th>Name></th><th>Home</th><th>Cell</th><th>Email</th></tr>
+ <tr><th>&nbsp;</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>