]> git.sur5r.net Git - contagged/blobdiff - templates/entry_show.tpl
Add Korean translation
[contagged] / templates / entry_show.tpl
index 18cc419847da23b7ed9767c9396e884ad9e342cc..1c4da29b327846c59c815912a1bfa4bae6f34b78 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}
 {if $entry.url}
           <tr>
             <th>{$lang.url}:</th>
-            <td><a href="{$entry.url|http}" target="_blank">{$entry.url|h}</a></td>
+            <td>{$entry.url|http}</td>
           </tr>
 {/if}
 {if $entry.mail}
   </tr>
 </table>
 
-
 </div>
 
 {include file="footer.tpl"}