]> git.sur5r.net Git - contagged/blobdiff - templates/entry_show.tpl
Make phone multivalue aware
[contagged] / templates / entry_show.tpl
index 4fbe17ba1422ef9e7eb3fe2e4276d79b82ed33cf..f340caac77e858d671ad713c0b3ab13bfb3313e7 100644 (file)
 {if $entry.phone}
           <tr>
             <th>{$lang.phone}:</th>
-            <td><a href="callto://{$entry.phone|escape:phone}">{$entry.phone|h}</a></td>
+            <td>
+              {foreach from=$entry.phone item=phone}
+              <a href="callto://{$phone|escape:phone}">{$phone|h}</a><br />
+              {/foreach}
+            </td>
           </tr>
 {/if}
 {if $entry.switchboard}