summaryrefslogtreecommitdiff
path: root/template/logged_dump.st
blob: 897928b4f5eaccc44768c5fef3ead96730180c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<head> <script>

 function urlencode(turl)
           {
           var enurl=encodeURI(turl);
           var stem="http://www.tumblr.com/share?v=3&u=";
           var url = stem+enurl;

           newwindow=window.open(url,'name','height=400,width=200');
           if (window.focus) {newwindow.focus()}


           }


</script>
  
  <style type="text/css">
  
      .logged-dump {
img{
    max-width:650px;
    width: expression(this.width > 650 ? 650: true);
    max-height:400px;
    height: expression(this.width > 400 ? 400: true);
    max-width:400px;
      }
	    .content {
img{
    max-width:650px;
    width: expression(this.width > 650 ? 650: true);
    max-height:400px;
    height: expression(this.width > 400 ? 400: true);
    max-width:400px;
      }
	
img{
    max-width:650px;
    width: expression(this.width > 650 ? 650: true);
    max-height:400px;
    height: expression(this.width > 400 ? 400: true);
    max-width:400px;
    body {
	background-image: url(static/bg4.png);
}
    body,td,th {
	font-family: Arial, Helvetica, sans-serif;
}
    </style>
    
    </head>

<div class="logged-dump">    <a href="#">
  <div>$dump.created_on$  -- by <b><a href="/u/$dump.nick$">$dump.nick$</a></b></div>

  <a href="/u/$dump.nick$">
  
  <div id="logavatar">
  
  $if(dump.avatar)$<img height="50" width="50" src="$dump.avatar$" />
  
  $else$
  
  <img height="50" width="50" src="/static/noinfo.png">
  
  $endif$
  </div></a>
  <div class="content">$dump.content$</div>
  <hr />
  <div style="display:none;">
<a href="#" target="_blank" onclick:"urlencode('$dump.content$');"><img src="/static/tumblricon.png"></a></div>
  <a href="http://www.facebook.com/share.php?u=$dump.content$&t=via dump.fm" target="_blank"><img src="/static/fbbutton.png"></a>
<a href="http://twitter.com/home?status=via dump.fm $dump.content$" target="_blank"><img src="/static/twittericon.png"></a>
<a href="http://delicious.com/save?url=$dump.content$&notes=via dump.fm&title=$dump.content$" target="_blank"><img src="/static/delishicon.png"></a>
</div>
  </a>