]> git.sur5r.net Git - contagged/blobdiff - templates/entry_show.tpl
Added QR Code export
[contagged] / templates / entry_show.tpl
index e94d2dbce197c37ed121c74a727adc617ba8b92d..69ec28d02659bce2558ac935253d17aec7046e00 100644 (file)
@@ -5,7 +5,7 @@
 {if $entry.photo != ''}
     <a href="img.php?dn={$entry.dn|escape:url}&amp;.jpg" rel="imagebox"
        title="{$entry.givenname|h} {$entry.name|h}"><img src="img.php?dn={$entry.dn|escape:url}"
-       align="right" class="photo" width="130" /></a>
+       align="right" class="photo" width="130" alt="" /></a>
 {/if}
 <h1>
     <img src="pix/{$entry.type|h}.png" border="0" width="22" height="22"
@@ -21,6 +21,7 @@
         <table width="100%">
           <tr>
             <td colspan="2">
+
               {$entry.title|h} {$entry.givenname|h} {$entry.name|h}<br />
 {if $entry.organization}
               <a href="index.php?org={$entry.organization|escape:url}">{$entry.organization|h}</a><br />
@@ -32,7 +33,7 @@
               {$entry.street|h}<br />
 {/if}
 {if $entry.location}
-              {$entry.zip} {$entry.location|h}<br />
+              {$entry.zip|h} {$entry.location|h}<br />
 {/if}
 {if $entry.state}
               {$entry.state|h}
@@ -46,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"}