Typos in documentation (#914)

This commit is contained in:
Shad
2023-10-28 16:41:10 +02:00
committed by GitHub
parent 4d22803c32
commit ad73f4943b
2 changed files with 5 additions and 5 deletions

View File

@@ -85,11 +85,11 @@ The template above includes the example `links.tpl` below
```smarty ```smarty
<div id="box"> <div id="box">
<h3>{$title}{/h3> <h3>{$title}</h3>
<ul> <ul>
{foreach from=$links item=l} {foreach from=$links item=l}
.. do stuff ... .. do stuff ...
</foreach} {/foreach}
</ul> </ul>
</div> </div>
``` ```

View File

@@ -326,10 +326,10 @@ The template to output the database result in a HTML table
```smarty ```smarty
<table> <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} {section name=co loop=$contacts}
<tr> <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].name}</td>
<td>{$contacts[co].home}</td> <td>{$contacts[co].home}</td>
<td>{$contacts[co].cell}</td> <td>{$contacts[co].cell}</td>
@@ -465,7 +465,7 @@ header block every five rows.
<table> <table>
{section name=co loop=$contacts} {section name=co loop=$contacts}
{if $smarty.section.co.iteration is div by 5} {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} {/if}
<tr> <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>