]> git.sur5r.net Git - contagged/blobdiff - templates/entry_show.tpl
added default escaping for smarty
[contagged] / templates / entry_show.tpl
index e9678b60ef87d3e1fcec345c084f36a0acc9619d..3f0c5f22dfdc619475b0c8755e1e7cf66bc30987 100644 (file)
@@ -1,7 +1,7 @@
 {include file="header.tpl"}
 
 {if $entry.photo != ''}
-  <a href="img.php?dn={$entry.dn|escape:url}"><img src="img.php?dn={$entry.dn|escape:url}" align="right" class="photo" width="130" /></a>
+  <a href="img.php?dn={$entry.dn|escape:url}&amp;.jpg" rel="imagebox" title="{$entry.givenname} {$entry.name}"><img src="img.php?dn={$entry.dn|escape:url}" align="right" class="photo" width="130" /></a>
 {/if}
 <h1>
   <img src="pix/{$entry.type}.png" border="0" width="22" height="22" align="middle" title="{$entry.type}" />