diff options
| author | Tyler Bello <tylerbello@users.sourceforge.net> | 2009-10-15 20:37:28 +0000 |
|---|---|---|
| committer | Tyler Bello <tylerbello@users.sourceforge.net> | 2009-10-15 20:37:28 +0000 |
| commit | 05f37820bb7bf283f9e1399c3c4475f811a45165 (patch) | |
| tree | 15398413eed4c8f9a80dd646e56bc65944e8ef3d /templates | |
| parent | 4840869a4a569c64d44c6131d4c5bc780d53d4aa (diff) | |
| download | liberty-05f37820bb7bf283f9e1399c3c4475f811a45165.tar.gz liberty-05f37820bb7bf283f9e1399c3c4475f811a45165.tar.bz2 liberty-05f37820bb7bf283f9e1399c3c4475f811a45165.zip | |
sorround description in div tag so it doesnt break inline elements like the <p> :P
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mime/default/attachment.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mime/default/attachment.tpl b/templates/mime/default/attachment.tpl index 3d5eae2..a8d4f0a 100644 --- a/templates/mime/default/attachment.tpl +++ b/templates/mime/default/attachment.tpl @@ -12,7 +12,7 @@ <img class="thumb" src="{$attachment.thumbnail_url.$thumbsize}" alt="{$wrapper.alt|default:$wrapper.description|default:$attachment.filename|replace:"\r":""|replace:"\n":" "|escape}" title="{$wrapper.description|default:$wrapper.alt|default:$attachment.filename|replace:"\r":""|replace:"\n":" "|escape}" {if !empty($height) || !empty($width)} style="{if !empty($height)}height:{$height};{/if}{if !empty($width)}width:{$width}{/if}"{/if}/> {/if} {if $wrapper.description_parsed} - <p>{$wrapper.description_parsed}</p> + <div class="caption">{$wrapper.description_parsed}</div> {/if} {if $wrapper.display_url}</a>{/if} |
