summaryrefslogtreecommitdiff
path: root/template/profile.st
diff options
context:
space:
mode:
authorScott Ostler <sostler@deathmachine.local>2010-02-23 10:00:55 -0500
committerScott Ostler <sostler@deathmachine.local>2010-02-23 10:00:55 -0500
commitaf3d49a9c3092f600e62a66cc78a462ef9a70e7e (patch)
tree6f6e2f7576eea87c7d45fa4d8a63a835c253ac22 /template/profile.st
parent8a981f390c286cb9c5935290e7846df903148278 (diff)
parent2b6c2cef9a3398dbafb1f6cfbc0323c0b83e2053 (diff)
Merge
Diffstat (limited to 'template/profile.st')
-rwxr-xr-xtemplate/profile.st23
1 files changed, 10 insertions, 13 deletions
diff --git a/template/profile.st b/template/profile.st
index 071b888..b5d3f38 100755
--- a/template/profile.st
+++ b/template/profile.st
@@ -10,16 +10,11 @@
<script type="text/javascript" src="/static/jquery.editinplace.1.0.1.packed.js"></script>
<link type="text/css" href="http://jqueryui.com/latest/themes/base/ui.all.css" rel="stylesheet" />
- <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.core.js"></script>
- <script type="text/javascript" src="http://jqueryui.com/latest/ui/ui.datepicker.js"></script>
+
<script>
jQuery(document).ready(function(){
initProfile();
- jQuery(".linkify").each(function() {
- var text = jQuery(this).text();
- jQuery(this).html(linkify(text));
- });
});
</script>
@@ -46,7 +41,7 @@
$if(avatar)$
<img id="avatarPic" src="$avatar$" width="150px"/>
$else$
- <b id="avatarPic">No avatar</b>
+ <b id="avatarPic"><img src="/static/noinfo.png"></b>
$endif$
$if(is_home)$
@@ -63,20 +58,21 @@
<h3>contact info</h3>
<div id="contact" class="linkify">$contact$</div>
$else$
- <div>No contact info</div>
+ <br><br>
+ <div><img src="/static/noinfo.png"></div>
$endif$
<br>
$if(is_home)$
- <h3>biography</h3>
+ <h3>bio</h3>
<div id="bio" class="editable">$bio$</div>
- $elseif(contact)$
- <h3>biography</h3>
+ $elseif(bio)$
+ <h3>bio</h3>
<div id="bio" class="linkify">$bio$</div>
$else$
- <div>No bio</div>
+ <div><img src="/static/noinfo.png"></div>
$endif$
@@ -146,6 +142,7 @@
$footer()$
</div>
</div>
- </div></div>
+ </div></div></div>
+$preload()$
</body>
</html>