]> git.sur5r.net Git - contagged/blobdiff - templates/entry_show.tpl
Use leafletjs + OpenStreetMap instead of google maps
[contagged] / templates / entry_show.tpl
index 25c2b61c6ff37878065af683b65f7dfd9ed44100..b10b45f4c1eb49f6a69fcd6f12020ccd315593e2 100644 (file)
@@ -39,7 +39,7 @@
               {$entry.state|h}
 {/if}
 {if $entry.country}
-              {$entry.country|h}
+              {$iso3166[$entry.country]}
 {/if}
               <br /><br />
             </td>
@@ -47,7 +47,7 @@
 {if $entry.phone}
           <tr>
             <th>{$lang.phone}:</th>
-            <td>{$entry.phone|h}</td>
+            <td><a href="callto://{$entry.phone|escape:phone}">{$entry.phone|h}</a></td>
           </tr>
 {/if}
 {if $entry.switchboard}
 {if $entry.homephone}
           <tr>
             <th>{$lang.homephone}:</th>
-            <td>{$entry.homephone|h}</td>
+            <td><a href="callto://{$entry.homephone|escape:phone}">{$entry.homephone|h}</a></td>
           </tr>
 {/if}
 {if $entry.mobile}
           <tr>
             <th>{$lang.mobile}:</th>
-            <td>{$entry.mobile|h}</td>
+            <td><a href="callto://{$entry.mobile|escape:phone}">{$entry.mobile|h}</a></td>
           </tr>
 {/if}
 {if $entry.birthday}
           <tr>
             <th>{$lang.birthday}:</th>
-            <td>{$entry.birthday|h}</td>
+            <td>{$entry.birthday|date_format:$conf.dateformat|h}</td>
           </tr>
 {/if}
 {if $entry.anniversary}
   </tr>
 </table>
 
-
 </div>
 
 {include file="footer.tpl"}