summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorScott Ostler <sostler@deathmachine.local>2010-03-18 08:34:36 -0400
committerScott Ostler <sostler@deathmachine.local>2010-03-18 08:34:36 -0400
commit63cee2279579e2a16496d060e203cd8bf48e5685 (patch)
tree74e38725f2ad3f9c63d69f3a94da989ab8a49ac6 /template
parent2ddc59c4f515e5d93fc861390428e01b564547ab (diff)
Fixed broken html
Diffstat (limited to 'template')
-rw-r--r--template/directory.st15
1 files changed, 6 insertions, 9 deletions
diff --git a/template/directory.st b/template/directory.st
index b21d2ad..85d6a8c 100644
--- a/template/directory.st
+++ b/template/directory.st
@@ -31,21 +31,18 @@
<a href="/u/$u.nick$">
<b>$u.nick$</b>
$if(u.avatar)$
- <div style="border-image:url($u.avatar$)">
- <div id="logavatar">
- <img height="50" width="50" src="$u.avatar$"></img>
- </div>
+ <div id="logavatar">
+ <img height="50" width="50" src="$u.avatar$" />
+ </div>
$else$
- <div style="border-image:url(/static/noinfo.png)">
- <div id="logavatar">
- <img height="50" width="50" src="/static/noinfo.png"></img>
- </div>
+ <div id="logavatar">
+ <img height="50" width="50" src="/static/noinfo.png" />
+ </div>
$endif$
</a>
<div id="infotxt"><b>last post</b></div>
<span class="linkify">$u.content$</span>
<hr />
- </div>
$share_buttons()$
</div>
}$