summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/about_us.st15
-rw-r--r--[-rwxr-xr-x]template/banner.st0
-rw-r--r--[-rwxr-xr-x]template/browser.st0
-rw-r--r--[-rwxr-xr-x]template/chat.st226
-rw-r--r--template/chat_help_bubbles.st12
-rw-r--r--template/debug_log.st8
-rw-r--r--template/directory.st14
-rw-r--r--template/error_ie.st3
-rw-r--r--[-rwxr-xr-x]template/footer.st15
-rw-r--r--template/goodies.st2
-rw-r--r--template/google_analytics.st7
-rw-r--r--[-rwxr-xr-x]template/head.st93
-rw-r--r--template/help.st1
-rw-r--r--[-rwxr-xr-x]template/log.st84
-rw-r--r--template/log_dump.st32
-rw-r--r--template/privacy.st5
-rw-r--r--[-rwxr-xr-x]template/profile.st5
-rw-r--r--template/profile_dump.st3
-rw-r--r--template/share_buttons.st19
-rw-r--r--template/tagged_dumps.st49
-rw-r--r--template/terms.st1
-rw-r--r--template/thumbup.gifbin76 -> 0 bytes
22 files changed, 285 insertions, 309 deletions
diff --git a/template/about_us.st b/template/about_us.st
index 14cc454..7431eac 100644
--- a/template/about_us.st
+++ b/template/about_us.st
@@ -1,21 +1,16 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
- <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
- <script type="text/javascript" src="/static/js/win.js"></script>
-
- <script type="text/javascript">
+ <link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen" />
+ <link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen" />
+ <script type="text/javascript" src="/static/js/win.js"></script>
+ <script type="text/javascript">
jQuery(function()
{
jQuery('.scroll-pane').jScrollPane();
});
-
-
</script>
-
- <title>dump.fm</title>
+ <title>dump.fm: about us</title>
$head()$
</head>
<body style="font-family: Arial, Helvetica, sans-serif;
diff --git a/template/banner.st b/template/banner.st
index 1656ff1..1656ff1 100755..100644
--- a/template/banner.st
+++ b/template/banner.st
diff --git a/template/browser.st b/template/browser.st
index 8cb6403..8cb6403 100755..100644
--- a/template/browser.st
+++ b/template/browser.st
diff --git a/template/chat.st b/template/chat.st
index 9b5d706..2ab2369 100755..100644
--- a/template/chat.st
+++ b/template/chat.st
@@ -1,129 +1,111 @@
<html>
- <head>
- <title>dump.fm</title>
- <META NAME="keywords" CONTENT="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board">
-<META NAME="description" CONTENT="Talk with pictures!">
- $head()$
- $if(user_avatar)$
-
- $else$
- <link rel="stylesheet" type="text/css" href="/static/css/dumpnewuser.css">
- $endif$
- <script type="text/javascript" src="/static/webcam/webcam.js"></script>
- <script type="text/javascript" src="/static/js/tooltip.js"></script>
- <script>
- jQuery(document).ready(initChat);
- var Nick = $json_user_nick$;
- var Room = $json_room_key$;
- var Timestamp = $timestamp$;
- function showAlert() {
- alert('MUST LOGIN');
-}
- $if(isadmin)$
- var IsAdmin = true;
- $else$
- var IsAdmin = false;
- $endif$
- </script>
- <script src="/static/js/away.js"></script>
- <script src="/static/js/ajaxupload.js"></script>
- <script>
- if (Nick) {
- jQuery(document).ready(function() {
- setupUpload('upload', Room);
- });
- }
- var newwindow;
-function pop(url)
-{
- newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0');
- if (window.focus) {newwindow.focus()}
-}
- </script>
- </head>
-<body onload="MM_preloadImages('/static/img/thumbs_up_sm.gif')">
- $banner()$
- <div id="chatrap">
- <div id="logc">
- <div id="content">
- <div id="messagetabs"></div>
- <div id="rapper">
- <div id="loghead"></div>
- </div>
- <div id="userList">
- $users: { u |
- <div class="username"><a href="/u/$u.nick$" target="_blank">
- $if(u.avatar)$<img src="$u.avatar$" width="50" height="50">$else$<img src="/static/img/noinfo.png"> $endif$
- $u.nick$</a><br>
+<head>
+ <title>dump.fm</title>
+$head()$
+$if(!user_avatar)$
+ <link rel="stylesheet" type="text/css" href="/static/css/dumpnewuser.css">
+$endif$
+ <link rel="stylesheet" type="text/css" href="/static/css/dump.css">
+ <script type="text/javascript" src="/static/webcam/webcam.js"></script>
+ <script type="text/javascript" src="/static/js/tooltip.js"></script>
+ <script type="text/javascript" src="/static/js/away.js"></script>
+ <script type="text/javascript" src="/static/js/ajaxupload.js"></script>
+$if(user_nick)$
+ <script type="text/javascript" src="/json/$user_nick$/favorites"></script>
+$endif$
+ <script>
+ jQuery(document).ready(initChat);
+ var Nick = $json_user_nick$;
+ var Room = $json_room_key$;
+ var Timestamp = $timestamp$;
+$if(isadmin)$
+ var IsAdmin = true;
+$else$
+ var IsAdmin = false;
+$endif$
+ if (Nick) {
+ jQuery(document).ready(function() { setupUpload('upload', Room); });
+ }
+ function showAlert() { alert('MUST LOGIN'); }
+ var newwindow;
+ function pop(url) {
+ newwindow=window.open(url,'name','height=50,width=400,left=20,top=20,location=0,status=0,scrollbar=0,resizable=0');
+ if (window.focus) {newwindow.focus()}
+ }
+ </script>
+</head>
+<body>
+$banner()$
+ <div id="chatrap">
+ <div id="logc">
+ <div id="content">
+ <div id="messagetabs"></div>
+ <div id="rapper">
+ <div id="loghead"></div>
+ </div>
+ <div id="userList">
+$users: { u |
+ <div class="username"><a href="/u/$u.nick$" target="_blank">
+ $if(u.avatar)$
+ <img src="$u.avatar$" width="50" height="50">
+ $else$
+ <img src="/static/noinfo.png">
+ $endif$
+ $u.nick$</a><br>
</div>
- }$
- </div>
- <div id="messagePane">
- <div id="messageList">
- $messages: { m |
- <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 id="faving" style="display:none;">
-
-<img src="/static/img/thumbup.gif">
-</div>
-</div>
-
-
- }$
- <hr />
+}$
+ </div>
+ <div id="messagePane">
+ <div id="messageList">
+$messages: { m |
+ <div class="msgDiv oldmsg dump $if(m.favorited)$favorite$endif$" id="message-$m.message_id$" nick="$m.nick$">
+ <span class="nick">
+ <b><a href="/u/$m.nick$">$m.nick$</a></b>
+ $if(m.favorited)$
+ <img src="/static/img/thumbs/color.right.gif" class="thumb chat-thumb" onclick="Tag.favorite(this)">
+ $else$
+ <img src="/static/img/thumbs/pink.circle.gif" class="thumb chat-thumb" onclick="Tag.favorite(this)">
+ $endif$
+ </span>
+ <span class="content">$m.content$<span>
</div>
- $if(user_avatar)$
- <link rel="stylesheet" type="text/css" href="/static/css/dump.css">
- <div id="msgInputDiv">
- <div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
- <input id="msgSubmit" type="submit" value="Send"
- />
- <input id="upload" value="Upload" type="submit">
- <input id="webcam-button-upload" value="Webcam" type="submit">
- <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink">
- <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"><img src="/static/img/trophyicon.gif"></a></div>
- </div><div id="effects-msg"class="invisible">click on your face for effects!</div>
+}$
+ <hr />
+ </div>
+$if(user_avatar)$
+ <div id="msgInputDiv">
+ <div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
+ <input id="msgSubmit" type="submit" value="Send"/>
+ <button id="palette-button"><img src="/static/img/palette.gif"></button>
+ <input id="upload" value="Upload" type="submit">
+ <input id="webcam-button-upload" value="Webcam" type="submit">
+ <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink">
+ <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"><img src="/static/img/trophyicon.gif"></a></div>
+ </div><div id="effects-msg"class="invisible">click on your face for effects!</div>
+ </div>
$else$
-
- <link rel="stylesheet" type="text/css" href="/static/css/dump.css">
- <div id="msgInputDiv">
- <div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
- <input id="msgSubmit" type="submit" value="Send"onClick="showAlert();"
- />
+ <div id="msgInputDiv">
+ <div id="msginputrapper"> <input id="msgInput" class="msgInput" type="input" /> </div>
+ <input id="msgSubmit" type="submit" value="Send"onClick="showAlert();"/>
+ <button id="palette-button"><img src="/static/img/palette.gif"></button>
<input id="upload" value="Upload" type="submit"onClick="showAlert();">
- <input id="webcam-button-upload" value="Webcam" type="submit"onClick="showAlert();">
- <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink"onClick="showAlert();">
- <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"onClick="showAlert();"><img src="/static/img/trophyicon.gif"></a></div>
- </div>
-
+ <input id="webcam-button-upload" value="Webcam" type="submit"onClick="showAlert();">
+ <input id="webcam-button-snap" value="Send Pic" type="submit" class="invisible blink" onClick="showAlert();">
+ <div id="trophy"><a href="javascript:pop('http://www.likeneveralways.com/trash/count/index.php');"class="tooltip" title="Contest Counter"onClick="showAlert();"><img src="/static/img/trophyicon.gif"></a></div>
+ </div>
</div>
- </div>
- </div>
-
- </div>
- <div id="newuserwrap">
- <div id="posthelp"><img src="/static/img/blurbs/posthere.png"></div>
- <div id="webcamhelp"><img src="/static/img/blurbs/webcamhelp.png"></div>
- <div id="userlisthelp"><img src="/static/img/blurbs/userlisthelp.png"></div>
- <div id="imageboard"><img src="/static/img/blurbs/imageboard.png"></div>
- <div id="uploadstuff"><img src="/static/img/blurbs/uploadstuff.png"></div>
- <div id="signinblurb"><img src="/static/img/blurbs/signinblurb.png"></div>
- <div id="beingpostednow"><img src="/static/img/blurbs/beingpostednow.png"></div>
- <script>
- jQuery(document).ready(function(){ setTimeout( function(){ jQuery("#newuserwrap div").hide(1000) }, 10000 ) })
- </script>
-
- </div> $endif$
-
- <div id="footerc">
- <p>
- $footer()$
- <p>
+ $chat_help_bubbles()$
+$endif$
+ </div>
+ </div>
</div>
- $preload()$
- </body>
-</html>
+ </div>
+ <div id="palette"><div id="palette-thumbs"></div></div>
+ <div id="footerc">
+ <p>
+$footer()$
+ <p>
+ </div>
+$preload()$
+</body>
+</html> \ No newline at end of file
diff --git a/template/chat_help_bubbles.st b/template/chat_help_bubbles.st
new file mode 100644
index 0000000..77a3e7d
--- /dev/null
+++ b/template/chat_help_bubbles.st
@@ -0,0 +1,12 @@
+<div id="newuserwrap">
+<div id="posthelp"><img src="/static/img/blurbs/posthere.png"></div>
+<div id="webcamhelp"><img src="/static/img/blurbs/webcamhelp.png"></div>
+<div id="userlisthelp"><img src="/static/img/blurbs/userlisthelp.png"></div>
+<div id="imageboard"><img src="/static/img/blurbs/imageboard.png"></div>
+<div id="uploadstuff"><img src="/static/img/blurbs/uploadstuff.png"></div>
+<div id="signinblurb"><img src="/static/img/blurbs/signinblurb.png"></div>
+<div id="beingpostednow"><img src="/static/img/blurbs/beingpostednow.png"></div>
+<script>
+jQuery(document).ready(function(){ setTimeout( function(){ jQuery("#newuserwrap div").hide("puff", 1000) }, 10000 ) })
+</script>
+</div> \ No newline at end of file
diff --git a/template/debug_log.st b/template/debug_log.st
new file mode 100644
index 0000000..247eec1
--- /dev/null
+++ b/template/debug_log.st
@@ -0,0 +1,8 @@
+$if(isadmin)$
+$if(debug_log_items)$
+<!--
+$debug_log_items: { d | $d$
+}$
+-->
+$endif$
+$endif$ \ No newline at end of file
diff --git a/template/directory.st b/template/directory.st
index 05d13e2..bea2f58 100644
--- a/template/directory.st
+++ b/template/directory.st
@@ -29,13 +29,13 @@
</div>
</center>
$if(users)$
- $users:{ u |
- <div class="logged-dump" id="message-$u.message_id$">
- <a href="/u/$u.nick$">
- <div id="usernicks"> <b>$u.nick$</b></div>
- $if(u.avatar)$
+ $users:{ dump |
+ <div class="logged-dump" id="message-$dump.message_id$">
+ <a href="/u/$dump.nick$">
+ <div id="usernicks"> <b>$dump.nick$</b></div>
+ $if(dump.avatar)$
<div id="logavatar">
- <img height="50" width="50" src="$u.avatar$" />
+ <img height="50" width="50" src="$dump.avatar$" />
</div>
$else$
<div id="logavatar">
@@ -44,7 +44,7 @@
$endif$
</a>
<div id="infotxt"><b>last post</b></div>
- <span class="linkify">$u.content$</span>
+ <span class="linkify">$dump.content$</span>
<hr />
$share_buttons()$
</div>
diff --git a/template/error_ie.st b/template/error_ie.st
new file mode 100644
index 0000000..a4f5b66
--- /dev/null
+++ b/template/error_ie.st
@@ -0,0 +1,3 @@
+<div id="iesucks">
+WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari ... (possibly Opera) ... sorry dude...
+</DIV> \ No newline at end of file
diff --git a/template/footer.st b/template/footer.st
index 838d4bf..f737221 100755..100644
--- a/template/footer.st
+++ b/template/footer.st
@@ -1,19 +1,8 @@
<div id="footer" style="text-align: center">
@2010 <a href="/">dump.fm</a>
<a href="/about_us"><span style="word-spacing:normal;">About Us</span></a>
-
<a href="/help"><span style="word-spacing:normal;">Help FAQ</span></a>
<a href="/terms">Terms</a>
<a href="/privacy">Privacy</a></div>
-
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script>
-<script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-12364576-1");
-pageTracker._trackPageview();
-} catch(err) {}</script>
-
-
+$google_analytics()$
+$debug_log()$
diff --git a/template/goodies.st b/template/goodies.st
index 2bab2c7..4289c11 100644
--- a/template/goodies.st
+++ b/template/goodies.st
@@ -2,7 +2,7 @@
<head>
<title>dump.fm | Image Search Beta</title>
$head()$
- <link rel="stylesheet" type="text/css" href="/static/browser.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/browser.css">
<script type="text/javascript" src="/static/gritter/js/jquery.gritter.js"></script>
<link rel="stylesheet" type="text/css" href="/static/gritter/css/jquery.gritter.css" />
diff --git a/template/google_analytics.st b/template/google_analytics.st
new file mode 100644
index 0000000..1f2d6fc
--- /dev/null
+++ b/template/google_analytics.st
@@ -0,0 +1,7 @@
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try { var pageTracker = _gat._getTracker("UA-12364576-1"); pageTracker._trackPageview();} catch(err) {}
+</script> \ No newline at end of file
diff --git a/template/head.st b/template/head.st
index 84a0ec4..e77e454 100755..100644
--- a/template/head.st
+++ b/template/head.st
@@ -1,93 +1,20 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta content="dump.fm - Talk with pictures!" name="description" />
- <meta name="keywords" CONTENT="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board">
-<meta name="description" CONTENT="Talk with pictures!">
-<script type="text/javascript" src="/static/jquery-1.3.2.min.js"></script>
-<!-- <script type="text/javascript" src="/static/jquery.min.js"></script> -->
-<!--<script type="text/javascript" src="/static/js/underscore-min.js"></script> -->
-<script type="text/javascript" src="/static/js/sha1.js"></script>
+<meta name="keywords" content="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board">
+<meta name="description" content="dump.fm - Talk with pictures!" />
+<script type="text/javascript" src="/static/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/static/js/pichat.js"></script>
-<script type="text/javascript" src="/static/js/jquery.lavalamp.js"></script>
-<script type="text/javascript" src="/static/js/jquery.easing.1.1.js"></script>
+<script type="text/javascript" src="/static/js/jquery-ui-1.8.effects.min.js"></script>
+<script type="text/javascript" src="/static/js/sha1.js"></script>
<link rel="stylesheet" type="text/css" href="/static/css/reset.css">
<link rel="stylesheet" type="text/css" href="/static/css/header.css">
$if(!user_nick)$
<link href="/static/form_login/front.css" media="screen, projection" rel="stylesheet" type="text/css">
$endif$
<link rel="shortcut icon" href="/static/favicon.ico">
-
<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>
-
-
-<p><!--[if IE]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV>
-<![endif]-->
-<!--[if IE 5]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><br />
-<![endif]-->
-<!--[if IE 5.0]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><br />
-<![endif]-->
-<!--[if IE 5.5]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><br />
-<![endif]-->
-<!--[if IE 7]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><br />
-<![endif]-->
-<!--[if gte IE 5]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><br />
-<![endif]-->
-<!--[if lt IE 6]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><br />
-<![endif]-->
-<!--[if lte IE 5.5]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><br />
-<![endif]-->
-<!--[if gt IE 7]>
-<div id="iesucks">
-WHOA HOLD UP!! dump.fm only works with Firefox, Chrome or Safari... sorry dude...
-</DIV><![endif]-->
-<!--[if gt IE 8]>
-According to the conditional comment this is Internet Explorer greater than 6<br />
-<![endif]-->
-</p>
+<!--[if IE]>
+<script>
+window.location.pathname = "/error/ie"
+</script>
+<![endif]--> \ No newline at end of file
diff --git a/template/help.st b/template/help.st
index aa10652..d1a999c 100644
--- a/template/help.st
+++ b/template/help.st
@@ -1,6 +1,5 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
diff --git a/template/log.st b/template/log.st
index a30b28b..88ab991 100755..100644
--- a/template/log.st
+++ b/template/log.st
@@ -1,46 +1,48 @@
<html>
- <head>
- <title>dump.fm log</title>
- $head()$
- <link rel="stylesheet" type="text/css" href="/static/css/log.css">
- <script>
- jQuery(document).ready(initLog);
- </script>
- </head>
- <body>
- $banner()$
- <div id="chatrap">
- <div id="log">
- <div id="loghead"></div>
- <br>
-
- <div id="posts">
- <div id="lolbanner">
- <img src="/static/img/welcomebanner.gif">
- </div>
- $if(dumps)$
- $dumps: { d | $log_dump(dump=d)$ }$
- $else$
- No dumps!
- $endif$
- <div id="pnav">
-
- $if(next)$
- <div id="pnavn"><a href="/$roomkey$/log/$next$">next &#9758;</a></div>
- $endif$
-
+<head>
+ <title>dump.fm log</title>
+$head()$
+ <link rel="stylesheet" type="text/css" href="/static/css/log.css">
+ <script>
+ jQuery(document).ready(initLog);
+ </script>
+</head>
+<body>
+ $banner()$
+ <div id="chatrap">
+ <div id="log">
+ <div id="loghead"></div>
+ <br>
+ <div id="posts">
+ <div id="lolbanner">
+ <img src="/static/img/welcomebanner.gif">
+ </div>
+$if(dumps)$
+ $dumps: { d | $log_dump(dump=d)$ }$
+ $if(json_tags)$
+<script>
+ $json_tags: { j | $j$;
+}$
+</script>
+ $endif$
+$else$
+ No dumps!
+$endif$
+ <div id="pnav">
+$if(next)$
+ <div id="pnavn"><a href="/$roomkey$/log/$next$">next &#9758;</a></div>
+$endif$
&nbsp;
- $if(prev)$
- <div id="pnavo"> <a href="/$roomkey$/log/$prev$">&#9756; prev</a> </div>
- $endif$
-
- <br><br>
- </div>
+$if(prev)$
+ <div id="pnavo"> <a href="/$roomkey$/log/$prev$">&#9756; prev</a> </div>
+$endif$
+ <br><br>
</div>
+ </div>
- <div id="footer">
- $footer()$
- </div></div>
-
+ <div id="footer">
+$footer()$
+ </div>
+ </div>
</body>
-</html>
+</html> \ No newline at end of file
diff --git a/template/log_dump.st b/template/log_dump.st
index d48baf1..155981d 100644
--- a/template/log_dump.st
+++ b/template/log_dump.st
@@ -1,18 +1,18 @@
-<div class="logged-dump" id="message-$dump.message_id$" nick="$dump.nick$">
+$if(dump.ztags)$
+ <div class="logged-dump dump" id="message-$dump.message_id$" nick="$dump.nick$" tags="$dump.tags: { tag | $tag.nick$:$tag.tag$ }$">
+$else$
+ <div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+$endif$
- $dump.created_on$ -- by <b><a href="/u/$dump.nick$">$dump.nick$</b>
-
-
- <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>
+$dump.created_on$ -- by <b><a href="/u/$dump.nick$">$dump.nick$</b>
+ <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 />
- $share_buttons()$
-</div>
+ <!-- <hr /> -->
+$share_buttons()$
+ </div> \ No newline at end of file
diff --git a/template/privacy.st b/template/privacy.st
index e18666c..d904951 100644
--- a/template/privacy.st
+++ b/template/privacy.st
@@ -1,9 +1,10 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
- <script type="text/javascript" src="/static/js/win.js"></script>
+ <script type="text/javascript" src="/static/js/win.js"></script>
+ <script type="text/javascript" src="/static/jquery.em.js"></script>
+
<script type="text/javascript">
jQuery(function()
diff --git a/template/profile.st b/template/profile.st
index dba7aca..e89a285 100755..100644
--- a/template/profile.st
+++ b/template/profile.st
@@ -1,15 +1,10 @@
-
<html>
<head>
<title>$nick$'s dump.fm</title>
- <meta content="dump.fm - Talk with pictures!" name="description" />
- <meta name="keywords" CONTENT="dump.fm, image chat, realtime, internet 3.0, dump, dump fm, image dump, pictures, image links, image board">
-<meta name="description" CONTENT="Talk with pictures!">
$head()$
<link rel="stylesheet" type="text/css" media="screen" href="/static/css/profile.css">
<script src="/static/js/jquery.editinplace.1.0.1.packed.js" type="text/javascript"></script>
<script src="/static/js/ajaxupload.js"></script>
-
<script>
jQuery(document).ready(initProfile);
</script>
diff --git a/template/profile_dump.st b/template/profile_dump.st
index 184cd55..ff5ff8c 100644
--- a/template/profile_dump.st
+++ b/template/profile_dump.st
@@ -1,4 +1,4 @@
-<div class="logged-dump" id="message-$dump.message_id$" nick="$dump.nick$">
+<div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
<div>
$dump.created_on$ -- in <b><a href="/$dump.key$/chat">$dump.key$</a></b>
</div>
@@ -13,6 +13,5 @@
</div></a>
<div class="content">$dump.content$</div>
- <hr />
$share_buttons()$
</div>
diff --git a/template/share_buttons.st b/template/share_buttons.st
index b510db5..3f1f472 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -1,6 +1,15 @@
-<div class="share-buttons">
-<img src="/static/img/tumblricon.png" class="share-button" onclick="Share.tumblr(this)">
-<img src="/static/img/fbbutton.png" class="share-button" onclick="Share.facebook(this)">
-<img src="/static/img/twittericon.png" class="share-button" onclick="Share.twitter(this)">
-<img src="/static/img/delishicon.png" class="share-button" onclick="Share.delicious(this)">
+<div class="buttons">
+$if(dump)$
+ $if(dump.favorited)$
+ <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)">
+ $else$
+ <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)">
+ $endif$
+$endif$
+ <span class="other-sites">
+ <img src="/static/img/share/tumblricon.png" class="share" onclick="Share.tumblr(this)">
+ <img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
+ <img src="/static/img/share/twittericon.png" class="share" onclick="Share.twitter(this)">
+ <img src="/static/img/share/delishicon.png" class="share" onclick="Share.delicious(this)">
+ </span>
</div> \ No newline at end of file
diff --git a/template/tagged_dumps.st b/template/tagged_dumps.st
new file mode 100644
index 0000000..037a52b
--- /dev/null
+++ b/template/tagged_dumps.st
@@ -0,0 +1,49 @@
+<html>
+<head>
+ <title>dump.fm - $page_title$</title>
+$head()$
+ <link rel="stylesheet" type="text/css" href="/static/css/log.css">
+ <script>
+ jQuery(document).ready(initLog);
+ </script>
+</head>
+<body>
+ $banner()$
+ <div id="chatrap">
+ <div id="log">
+ <div id="loghead"></div>
+ <br>
+ <div id="posts">
+ <center><h2>$page_title$</h2></center>
+ <div id="lolbanner">
+ <img src="/static/img/welcomebanner.gif">
+ </div>
+$if(dumps)$
+ $dumps: { d | $log_dump(dump=d)$ }$
+ $if(json_tags)$
+<script>
+ $json_tags: { j | $j$;
+}$
+</script>
+ $endif$
+$else$
+ No dumps!
+$endif$
+ <div id="pnav">
+$if(next)$
+ <div id="pnavn"><a href="/$page_url$/$next$">next &#9758;</a></div>
+$endif$
+ &nbsp;
+$if(prev)$
+ <div id="pnavo"> <a href="/$page_url$/$prev$">&#9756; prev</a> </div>
+$endif$
+ <br><br>
+ </div>
+ </div>
+
+ <div id="footer">
+$footer()$
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/template/terms.st b/template/terms.st
index 306f940..286593c 100644
--- a/template/terms.st
+++ b/template/terms.st
@@ -1,6 +1,5 @@
<html>
<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/static/css/pages.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="/static/css/win.css" rel="stylesheet" type="text/css" media="screen"/>
<script type="text/javascript" src="/static/js/win.js"></script>
diff --git a/template/thumbup.gif b/template/thumbup.gif
deleted file mode 100644
index 5b50b08..0000000
--- a/template/thumbup.gif
+++ /dev/null
Binary files differ