Skip to content

Commit

Permalink
Typos in documentation (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowwa authored Oct 28, 2023
1 parent 4d22803 commit ad73f49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit ad73f49

Please sign in to comment.