diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-02-10 01:28:42 -0500 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-02-10 01:28:42 -0500 |
| commit | 71de79d5c650fab0bbaffe24f450e7fed9605c42 (patch) | |
| tree | 92344f9db649a70de6427f0efe74bd28d929c6b8 /template | |
| parent | 9484fb8528cddb2fc1ea177c32a945c719ebcabc (diff) | |
Commit prod
Diffstat (limited to 'template')
| -rwxr-xr-x | template/browser.st | 8 | ||||
| -rwxr-xr-x | template/chat.st | 39 | ||||
| -rw-r--r-- | template/form_login.st | 2 | ||||
| -rwxr-xr-x | template/profile.st | 6 | ||||
| -rw-r--r-- | template/thumbup.gif | bin | 0 -> 76 bytes |
5 files changed, 41 insertions, 14 deletions
diff --git a/template/browser.st b/template/browser.st index 75e6294..26dcb8b 100755 --- a/template/browser.st +++ b/template/browser.st @@ -47,13 +47,7 @@ </div> - $if(user_nick)$ - <div id="msgInputDiv"> - <input id="msgInput" class="msgInput" type="input" /> - <input id="msgSubmit" type="submit" value="Send Image URL" - /> - </div> - $endif$ + </div> </div> </div> diff --git a/template/chat.st b/template/chat.st index 522a2ac..3b0da41 100755 --- a/template/chat.st +++ b/template/chat.st @@ -14,7 +14,31 @@ var IsAdmin = false; $endif$ </script> - + <script type="text/javascript"> +<!-- +function MM_swapImgRestore() { //v3.0 + var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; +} +function MM_preloadImages() { //v3.0 + var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); + var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) + if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} +} + +function MM_findObj(n, d) { //v4.01 + var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { + d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} + if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; + for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); + if(!x && d.getElementById) x=d.getElementById(n); return x; +} + +function MM_swapImage() { //v3.0 + var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) + if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} +} +//--> +</script> $if(isadminroom)$ <style> iframe { @@ -36,7 +60,7 @@ } </script> </head> - <body> +<body onload="MM_preloadImages('/static/thumbs_up_sm.gif')"> $banner()$ <div id="chatrap"> <div id="logc"> @@ -59,7 +83,16 @@ <div class="msgDiv oldmsg" id="message-$m.message_id$"><b> <a href="/u/$m.nick$">$m.nick$</a>: </b> - <span class="content">$m.content$<span></div> + <span class="content">$m.content$ +</a><span> + +<div id="faving"> + +<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('like','','/static/thumbs_up_sm.gif',1)"><img src="/static/thumbup.gif" alt="like it!" name="like" width="14" height="15" border="0" id="like" /></a> +</div> +</div> + + }$ <hr /> </div> diff --git a/template/form_login.st b/template/form_login.st index 014ea87..ea2d020 100644 --- a/template/form_login.st +++ b/template/form_login.st @@ -8,7 +8,7 @@ </p> - <i>dumps like a truck, truck, truck.</i> + <i></i> <input id="nickInput" name="nickInput" title="username" tabindex="4" type="text"> </p> <p> diff --git a/template/profile.st b/template/profile.st index a735b2a..e753203 100755 --- a/template/profile.st +++ b/template/profile.st @@ -27,14 +27,14 @@ </head> <body> $banner()$ - <div id="chatrap"> + <div id="chatrap"> <div id="headerbar"></div> <div id="log"> <div id="loghead"> </div> <br> - <div id="posts"> + <div id="posts"> <div id="cats"> $if(dumps)$ $dumps:{ d | $logged_dump(dump=d)$ }$ @@ -145,6 +145,6 @@ $footer()$ </div> </div> - </div> + </div></div> </body> </html> diff --git a/template/thumbup.gif b/template/thumbup.gif Binary files differnew file mode 100644 index 0000000..5b50b08 --- /dev/null +++ b/template/thumbup.gif |
